Home
last modified time | relevance | path

Searched refs:role_ (Results 1 - 25 of 32) sorted by relevance

12

/foundation/communication/bluetooth_service/services/bluetooth/service/src/gavdp/
H A Da2dp_service_connection.cpp26 role_ = role; in A2dpConnectManager()
31 HILOGI("[address:%{public}s] role[%{public}u]", GET_ENCRYPT_ADDR(device), role_); in A2dpConnect()
33 A2dpService *service = GetServiceInstance(role_); in A2dpConnect()
53 LOG_ERROR("[A2dpConnectManager] %{public}s role[%u] Can't add new device\n", __func__, role_); in A2dpConnect()
57 utility::Message msg(A2DP_MSG_CONNECT, role_, &deviceObj); in A2dpConnect()
69 A2dpService *service = GetServiceInstance(role_); in A2dpDisconnect()
78 LOG_ERROR("[A2dpConnectManager] %{public}s role[%u] Not find the device\n", __func__, role_); in A2dpDisconnect()
82 utility::Message msg(A2DP_MSG_DISCONNECT, role_, &const_cast<RawAddress &>(device)); in A2dpDisconnect()
94 A2dpService *service = GetServiceInstance(role_); in JudgeConnectedNum()
125 LOG_INFO("[A2dpConnectManager] %{public}s role[%u]\n", __func__, role_); in AddDevice()
[all...]
H A Da2dp_service.cpp35 role_ = role; in ObserverProfile()
40 LOG_INFO("[ObserverProfile] %{public}s: state[%{public}d] role[%u]\n", __func__, state, role_); in OnConnectStateChanged()
42 A2dpService *service = GetServiceInstance(role_); in OnConnectStateChanged()
43 A2dpProfile *pflA2dp = GetProfileInstance(role_); in OnConnectStateChanged()
89 A2dpService *service = GetServiceInstance(role_); in ProcessA2dpHdfLoad()
118 utility::Message msg(A2DP_MSG_PROFILE_DISCONNECTED, role_, &(btAddr)); in ProcessConnectStateMessage()
176 LOG_INFO("[ObserverProfile] %{public}s role(%u) state(%{public}d)\n", __func__, role_, state); in OnAudioStateChanged()
178 A2dpService *service = GetServiceInstance(role_); in OnAudioStateChanged()
188 utility::Message msgData(state, role_, &(btAddr)); in OnAudioStateChanged()
199 LOG_INFO("[ObserverProfile] %{public}s role[%u] Not find the device\n", __func__, role_); in OnAudioStateChanged()
[all...]
H A Da2dp_sdp.cpp26 role_ = role; in SetProfileRole()
31 LOG_INFO("[A2dpSdpManager]%{public}s role[%u]\n", __func__, role_); in RegisterService()
38 if (role_ == A2DP_ROLE_SOURCE) { in RegisterService()
116 if (role_ == A2DP_ROLE_SOURCE) { in FindSnkService()
H A Da2dp_service_connection.h97 return role_; in GetRole()
122 uint8_t role_ {};
H A Da2dp_sdp.h75 uint8_t role_ = A2DP_ROLE_SOURCE; member in OHOS::bluetooth::A2dpSdpManager
H A Da2dp_service.h131 uint8_t role_ {};
625 uint8_t role_ = A2DP_ROLE_SOURCE; // A2DP role member in OHOS::bluetooth::A2dpService
H A Da2dp_service_state_machine.h228 uint8_t role_ = A2DP_ROLE_SOURCE; member in OHOS::bluetooth::A2dpStateManager
H A Da2dp_profile.h618 uint8_t role_ = A2DP_ROLE_SOURCE; member in OHOS::bluetooth::A2dpProfile
H A Da2dp_service_state_machine.cpp186 role_ = role; in SetRole()
H A Da2dp_profile.cpp67 role_ = role; in A2dpProfile()
68 sdpInstance_.SetProfileRole(role_); in A2dpProfile()
96 LOG_INFO("[A2dpProfile]%{public}s role(%u)\n", __func__, role_); in GetRole()
98 return role_; in GetRole()
/foundation/communication/bluetooth_service/services/bluetooth/service/src/hfp_ag/
H A Dhfp_ag_data_connection.cpp162 role_ = role; in SetRole()
167 return role_; in GetRole()
H A Dhfp_ag_data_connection.h211 int role_ {HFP_AG_ACCEPTOR};
/foundation/communication/bluetooth_service/services/bluetooth/service/src/hfp_hf/
H A Dhfp_hf_data_connection.cpp143 role_ = role; in SetRole()
148 return role_; in GetRole()
H A Dhfp_hf_data_connection.h215 int role_ {HFP_HF_ACCEPTOR};
/foundation/multimedia/audio_framework/services/audio_policy/server/include/service/common/
H A Daudio_adapter_info.h159 std::string role_ = STR_INIT; member in OHOS::AudioStandard::AudioAdapterDeviceInfo
206 std::string role_ = STR_INIT; member in OHOS::AudioStandard::AudioPipeDeviceInfo
219 std::string role_ = STR_INIT; member in OHOS::AudioStandard::ModuleInfo
/foundation/communication/bluetooth_service/services/bluetooth/service/src/gatt/
H A Dgatt_connection_manager.cpp520 device->Info().role_ = GATT_ROLE_MASTER; in DisconnectAllDevice()
531 event, "ROLE", device.role_); in NotifyObserver()
751 device.Info().role_ = GATT_ROLE_MASTER; in DoConnect()
760 device.Info().role_ = GATT_ROLE_MASTER; in DoConnect()
774 device.Info().role_ = GATT_ROLE_INVALID; in DoConnect()
778 device.Info().role_ = GATT_ROLE_INVALID; in DoConnect()
797 if (device.Info().role_ != GATT_ROLE_MASTER) { in DoConnectComplete()
798 device.Info().role_ = GATT_ROLE_SLAVE; in DoConnectComplete()
805 device.Info().role_ = ((AttLeConnectCallback *)msg.arg2_)->role; in DoConnectComplete()
807 if (device.Info().role_ in DoConnectComplete()
[all...]
H A Dgatt_connection_manager.h135 uint8_t role_; member in OHOS::bluetooth::GattConnectionManager::Device
H A Dgatt_client_service.cpp1120 __FILE__, __LINE__, __FUNCTION__, device.role_); in OnConnect()
1127 if (device.role_ == GATT_ROLE_MASTER) { in OnConnect()
1136 LOG_INFO("%{public}s: client service dev_role: %{public}d, ret: %{public}d", __FUNCTION__, device.role_, ret); in OnDisconnect()
1145 if (device.role_ == GATT_ROLE_MASTER) { in OnDisconnect()
1155 if (device.role_ != GATT_ROLE_MASTER) { in OnConnectionChanged()
1156 LOG_ERROR("%{public}s: device role is %{public}d", __FUNCTION__, device.role_); in OnConnectionChanged()
H A Dgatt_server_service.cpp1085 LOG_INFO("%{public}s: server service dev_role: %{public}d, ret: %{public}d", __FUNCTION__, device.role_, ret); in OnConnect()
1095 if (device.role_ == GATT_ROLE_SLAVE) { in OnConnect()
1134 if (device.role_ == GATT_ROLE_SLAVE) { in OnDisconnect()
1135 LOG_INFO("%{public}s: server service dev_role: %{public}d", __FUNCTION__, device.role_); in OnDisconnect()
1149 if (device.role_ != GATT_ROLE_SLAVE) { in OnConnectionChanged()
1150 LOG_ERROR("%{public}s: device role is %{public}d", __FUNCTION__, device.role_); in OnConnectionChanged()
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/
H A Drdb_store_config.cpp520 role_ = role; in SetRoleType()
525 return role_; in GetRoleType()
/foundation/communication/bluetooth_service/services/bluetooth/service/src/avrcp_tg/
H A Davrcp_tg_connection.h57 uint8_t role_; // The role of the connection.(Initiator or Acceptor) member in OHOS::bluetooth::AvrcTgConnectInfo
/foundation/communication/bluetooth/frameworks/inner/ipc/common/
H A Dgatt_data.h175 uint8_t role_ = GATT_ROLE_INVALID; member
/foundation/communication/bluetooth_service/services/bluetooth/service/src/avrcp_ct/
H A Davrcp_ct_connection.h62 uint8_t role_; // The role of the connection.(Initiator or Acceptor) member in OHOS::bluetooth::AvrcCtConnectInfo
H A Davrcp_ct_state_machine.cpp426 AvctConnectParam param = {info->eventCallback_, info->msgCallback_, AVRC_CT_AV_REMOTE_CONTROL, info->role_, in Entry()
734 if (AVCT_BrConnectReq(info->connectId_, info->role_) != AVCT_SUCCESS) { in Entry()
/foundation/distributeddatamgr/relational_store/interfaces/inner_api/rdb/mock/include/
H A Drdb_store_config.h278 RoleType role_ = OWNER; member in OHOS::NativeRdb::RdbStoreConfig

Completed in 25 milliseconds

12