Home
last modified time | relevance | path

Searched refs:GetDeviceAddr (Results 1 - 25 of 62) sorted by relevance

123

/foundation/multimedia/audio_framework/frameworks/native/bluetoothclient/
H A Dbluetooth_device_manager.cpp127 BluetoothAudioManager::GetInstance().GetWearDetectionState(device.GetDeviceAddr(), wearEnabledAbility); in IsBTWearDetectionEnable()
128 BluetoothAudioManager::GetInstance().IsWearDetectionSupported(device.GetDeviceAddr(), isWearSupported); in IsBTWearDetectionEnable()
196 if (IsA2dpBluetoothDeviceExist(device.GetDeviceAddr())) { in HandleConnectingDevice()
204 if (IsA2dpBluetoothDeviceExist(device.GetDeviceAddr())) { in HandleConnectDevice()
243 if (!IsA2dpBluetoothDeviceExist(device.GetDeviceAddr())) { in HandleDisconnectDevice()
252 wearDetectionStateMap_.erase(device.GetDeviceAddr()); in HandleDisconnectDevice()
261 bool isDeviceExist = IsA2dpBluetoothDeviceExist(device.GetDeviceAddr()); in HandleWearDevice()
269 wearDetectionStateMap_[device.GetDeviceAddr()] = BluetoothDeviceAction::WEAR_ACTION; in HandleWearDevice()
273 desc.macAddress_ = device.GetDeviceAddr(); in HandleWearDevice()
283 bool isDeviceExist = IsA2dpBluetoothDeviceExist(device.GetDeviceAddr()); in HandleUnwearDevice()
[all...]
H A Daudio_bluetooth_manager.cpp134 virtualDevice.GetDeviceAddr()); in DisconnectBluetoothA2dpSink()
144 GetEncryptAddr(macAddress).c_str(), GetEncryptAddr(activeA2dpDevice_.GetDeviceAddr()).c_str()); in SetActiveA2dpDevice()
166 return device.GetDeviceAddr(); in GetActiveA2dpDevice()
206 CHECK_AND_RETURN_RET_LOG(activeA2dpDevice_.GetDeviceAddr() != "00:00:00:00:00:00", A2DP_NOT_OFFLOAD, in A2dpOffloadSessionRequest()
215 CHECK_AND_RETURN_RET_LOG(activeA2dpDevice_.GetDeviceAddr() != "00:00:00:00:00:00", ERROR, in OffloadStartPlaying()
223 if (activeA2dpDevice_.GetDeviceAddr() == "00:00:00:00:00:00") { in OffloadStopPlaying()
233 if (activeA2dpDevice_.GetDeviceAddr() == "00:00:00:00:00:00") { in GetRenderPosition()
276 GetEncryptAddr(device.GetDeviceAddr()).c_str(), wearState); in CheckA2dpDeviceReconnect()
340 AudioA2dpManager::OnA2dpPlayingStateChanged(device.GetDeviceAddr(), playingState); in OnPlayingStatusChanged()
401 GetEncryptAddr(device.GetDeviceAddr()) in CheckHfpDeviceReconnect()
[all...]
/foundation/communication/bluetooth/frameworks/js/napi/src/ble/
H A Dnapi_bluetooth_gatt_server_callback.cpp42 std::make_shared<NapiNativeGattsCharacterReadRequest>(requestId, device.GetDeviceAddr(), characteristic); in OnCharacteristicReadRequest()
52 std::make_shared<NapiNativeGattsCharacterWriteRequest>(requestId, device.GetDeviceAddr(), characteristic); in OnCharacteristicWriteRequest()
64 if (*it == device.GetDeviceAddr()) { in OnConnectionStateUpdate()
71 NapiGattServer::deviceList_.push_back(device.GetDeviceAddr()); in OnConnectionStateUpdate()
76 if (*it == device.GetDeviceAddr()) { in OnConnectionStateUpdate()
85 std::make_shared<NapiNativeBleConnectionStateChangeParam>(device.GetDeviceAddr(), state); in OnConnectionStateUpdate()
95 std::make_shared<NapiNativeGattsDescriptorWriteRequest>(requestId, device.GetDeviceAddr(), descriptor); in OnDescriptorWriteRequest()
105 std::make_shared<NapiNativeGattsDescriptorReadRequest>(requestId, device.GetDeviceAddr(), descriptor); in OnDescriptorReadRequest()
/foundation/communication/bluetooth/frameworks/inner/src/
H A Dbluetooth_a2dp_src.cpp210 int ret = proxy->GetDeviceState(RawAddress(device.GetDeviceAddr()), state); in GetDeviceState()
231 proxy->GetPlayingState(RawAddress(device.GetDeviceAddr()), ret); in GetPlayingState()
251 return proxy->GetPlayingState(RawAddress(device.GetDeviceAddr()), state); in GetPlayingState()
269 return proxy->Connect(RawAddress(device.GetDeviceAddr())); in Connect()
288 return proxy->Disconnect(RawAddress(device.GetDeviceAddr())); in Disconnect()
318 return proxy->SetActiveSinkDevice(RawAddress(device.GetDeviceAddr())); in SetActiveSinkDevice()
354 return proxy->SetConnectStrategy(RawAddress(device.GetDeviceAddr()), strategy); in SetConnectStrategy()
372 return proxy->GetConnectStrategy(RawAddress(device.GetDeviceAddr()), strategy); in GetConnectStrategy()
391 BluetoothA2dpCodecStatus codecStatus = proxy->GetCodecStatus(RawAddress(device.GetDeviceAddr())); in GetCodecStatus()
435 int ret = proxy->GetCodecPreference(RawAddress(device.GetDeviceAddr()), serviceInf in GetCodecPreference()
[all...]
H A Dbluetooth_hfp_hf.cpp163 return proxy->ConnectSco(BluetoothRawAddress(device.GetDeviceAddr())); in ConnectSco()
173 return proxy->DisconnectSco(BluetoothRawAddress(device.GetDeviceAddr())); in DisconnectSco()
204 return proxy->GetDeviceState(BluetoothRawAddress(device.GetDeviceAddr())); in GetDeviceState()
214 return proxy->GetScoState(BluetoothRawAddress(device.GetDeviceAddr())); in GetScoState()
224 return proxy->SendDTMFTone(BluetoothRawAddress(device.GetDeviceAddr()), code); in SendDTMFTone()
236 return proxy->Connect(BluetoothRawAddress(device.GetDeviceAddr())); in Connect()
247 return proxy->Disconnect(BluetoothRawAddress(device.GetDeviceAddr())); in Disconnect()
258 return proxy->OpenVoiceRecognition(BluetoothRawAddress(device.GetDeviceAddr())); in OpenVoiceRecognition()
268 return proxy->CloseVoiceRecognition(BluetoothRawAddress(device.GetDeviceAddr())); in CloseVoiceRecognition()
280 proxy->GetCurrentCallList(BluetoothRawAddress(device.GetDeviceAddr()), callsLis in GetExistingCalls()
[all...]
H A Dbluetooth_map_mse.cpp147 return proxy->GetDeviceState(BluetoothRawAddress(device.GetDeviceAddr()), state); in GetDeviceState()
176 return proxy->Disconnect(BluetoothRawAddress(device.GetDeviceAddr())); in Disconnect()
188 return proxy->SetConnectionStrategy(BluetoothRawAddress(device.GetDeviceAddr()), strategy); in SetConnectionStrategy()
199 return proxy->GetConnectionStrategy(BluetoothRawAddress(device.GetDeviceAddr()), strategy); in GetConnectionStrategy()
213 BluetoothRawAddress(device.GetDeviceAddr()), accessAuthorization); in SetMessageAccessAuthorization()
225 BluetoothRawAddress(device.GetDeviceAddr()), accessAuthorization); in GetMessageAccessAuthorization()
H A Dbluetooth_a2dp_snk.cpp152 return proxy->GetDeviceState(RawAddress(device.GetDeviceAddr())); in GetDeviceState()
198 proxy->GetPlayingState(RawAddress(device.GetDeviceAddr()), ret); in GetPlayingState()
218 return proxy->GetPlayingState(RawAddress(device.GetDeviceAddr()), state); in GetPlayingState()
237 int ret = proxy->Connect(RawAddress(device.GetDeviceAddr())); in Connect()
257 int ret = proxy->Disconnect(RawAddress(device.GetDeviceAddr())); in Disconnect()
290 int ret = proxy->SetConnectStrategy(RawAddress(device.GetDeviceAddr()), strategy); in SetConnectStrategy()
309 int ret = proxy->GetConnectStrategy(RawAddress(device.GetDeviceAddr())); in GetConnectStrategy()
328 int ret = proxy->SendDelay(RawAddress(device.GetDeviceAddr()), (int32_t)delayValue); in SendDelay()
H A Dbluetooth_pbap_pse.cpp151 return proxy->GetDeviceState(BluetoothRawAddress(device.GetDeviceAddr()), state); in GetDeviceState()
181 return proxy->Disconnect(BluetoothRawAddress(device.GetDeviceAddr())); in Disconnect()
193 return proxy->SetConnectionStrategy(BluetoothRawAddress(device.GetDeviceAddr()), strategy); in SetConnectionStrategy()
204 return proxy->GetConnectionStrategy(BluetoothRawAddress(device.GetDeviceAddr()), strategy); in GetConnectionStrategy()
226 return proxy->SetShareType(BluetoothRawAddress(device.GetDeviceAddr()), shareType); in SetShareType()
237 return proxy->GetShareType(BluetoothRawAddress(device.GetDeviceAddr()), shareType); in GetShareType()
251 return proxy->SetPhoneBookAccessAuthorization(BluetoothRawAddress(device.GetDeviceAddr()), in SetPhoneBookAccessAuthorization()
264 return proxy->GetPhoneBookAccessAuthorization(BluetoothRawAddress(device.GetDeviceAddr()), in GetPhoneBookAccessAuthorization()
H A Dbluetooth_audio_manager.cpp68 return proxy->IsDeviceWearing(BluetoothRawAddress(device.GetDeviceAddr())); in IsDeviceWearing()
75 return proxy->IsWearDetectionSupported(BluetoothRawAddress(device.GetDeviceAddr()), isSupported); in IsWearDetectionSupported()
83 return proxy->SendDeviceSelection(BluetoothRawAddress(device.GetDeviceAddr()), useA2dp, useHfp, userSelection); in SendDeviceSelection()
H A Dbluetooth_avrcp_ct.cpp997 BluetoothRawAddress rawAddr(device.GetDeviceAddr()); in GetDeviceState()
1013 BluetoothRawAddress rawAddr(device.GetDeviceAddr()); in Connect()
1030 BluetoothRawAddress rawAddr(device.GetDeviceAddr()); in Disconnect()
1063 BluetoothRawAddress rawAddr(device.GetDeviceAddr()); in PressButton()
1101 BluetoothRawAddress rawAddr(device.GetDeviceAddr()); in ReleaseButton()
1131 BluetoothRawAddress rawAddr(device.GetDeviceAddr()); in GetUnitInfo()
1147 BluetoothRawAddress rawAddr(device.GetDeviceAddr()); in GetSubUnitInfo()
1167 BluetoothRawAddress rawAddr(device.GetDeviceAddr()); in GetSupportedCompanies()
1183 BluetoothRawAddress rawAddr(device.GetDeviceAddr()); in GetSupportedEvents()
1203 BluetoothRawAddress rawAddr(device.GetDeviceAddr()); in GetPlayerAppSettingAttributes()
[all...]
H A Dbluetooth_hfp_ag.cpp161 return proxy->GetDeviceState(BluetoothRawAddress(device.GetDeviceAddr()), state); in GetDeviceState()
172 return proxy->Connect(BluetoothRawAddress(device.GetDeviceAddr())); in Connect()
183 return proxy->Disconnect(BluetoothRawAddress(device.GetDeviceAddr())); in Disconnect()
191 return proxy->GetScoState(BluetoothRawAddress(device.GetDeviceAddr())); in GetScoState()
259 return proxy->OpenVoiceRecognition(BluetoothRawAddress(device.GetDeviceAddr())); in OpenVoiceRecognition()
269 return proxy->CloseVoiceRecognition(BluetoothRawAddress(device.GetDeviceAddr())); in CloseVoiceRecognition()
279 return proxy->SetActiveDevice(BluetoothRawAddress(device.GetDeviceAddr())); in SetActiveDevice()
289 return proxy->IntoMock(BluetoothRawAddress(device.GetDeviceAddr()), state); in IntoMock()
299 return proxy->SendNoCarrier(BluetoothRawAddress(device.GetDeviceAddr())); in SendNoCarrier()
322 return proxy->SetConnectStrategy(BluetoothRawAddress(device.GetDeviceAddr()), strateg in SetConnectStrategy()
[all...]
H A Dbluetooth_avrcp_tg.cpp117 return proxy->SetDeviceAbsoluteVolume(BluetoothRawAddress(device.GetDeviceAddr()), volumeLevel); in SetDeviceAbsoluteVolume()
130 return proxy->SetDeviceAbsVolumeAbility(BluetoothRawAddress(device.GetDeviceAddr()), ability); in SetDeviceAbsVolumeAbility()
143 return proxy->GetDeviceAbsVolumeAbility(BluetoothRawAddress(device.GetDeviceAddr()), ability); in GetDeviceAbsVolumeAbility()
180 BluetoothRawAddress rawAddr(device.GetDeviceAddr()); in SetActiveDevice()
239 BluetoothRawAddress rawAddr(device.GetDeviceAddr()); in GetDeviceState()
255 BluetoothRawAddress rawAddr(device.GetDeviceAddr()); in Connect()
272 BluetoothRawAddress rawAddr(device.GetDeviceAddr()); in Disconnect()
/foundation/communication/bluetooth_service/test/unittest/spp/
H A Dspp_test.cpp103 ClientSocket *pfd_SppClientSocket = new ClientSocket(fd, device_.GetDeviceAddr(), TYPE_RFCOMM); in HWTEST_F()
125 ClientSocket *pfd_SppClientSocket = new ClientSocket(fd, device_.GetDeviceAddr(), TYPE_RFCOMM); in HWTEST_F()
142 ClientSocket *pfd_SppClientSocket = new ClientSocket(fd, device_.GetDeviceAddr(), TYPE_RFCOMM); in HWTEST_F()
157 ClientSocket *pfd_SppClientSocket = new ClientSocket(fd, device_.GetDeviceAddr(), TYPE_RFCOMM); in HWTEST_F()
/foundation/communication/bluetooth/frameworks/js/napi/src/hfp/
H A Dnapi_bluetooth_hfp_ag_observer.cpp33 auto nativeObject = std::make_shared<NapiNativeStateChangeParam>(device.GetDeviceAddr(), state, cause); in OnConnectionStateChanged()
40 auto nativeObject = std::make_shared<NapiNativeStateChangeParam>(device.GetDeviceAddr(), state); in OnScoStateChanged()
H A Dnapi_bluetooth_hfp_hf_observer.cpp33 auto nativeObject = std::make_shared<NapiNativeStateChangeParam>(device.GetDeviceAddr(), state, cause); in OnConnectionStateChanged()
40 auto nativeObject = std::make_shared<NapiNativeStateChangeParam>(device.GetDeviceAddr(), state); in OnScoStateChanged()
/foundation/communication/bluetooth/frameworks/js/napi/src/connection/
H A Dnapi_bluetooth_connection_observer.cpp67 remoteDevice = BluetoothHost::GetDefaultHost().GetRemoteDevice(device.GetDeviceAddr(), BT_TRANSPORT_BREDR); in OnPairRequested()
69 remoteDevice = BluetoothHost::GetDefaultHost().GetRemoteDevice(device.GetDeviceAddr(), BT_TRANSPORT_BLE); in OnPairRequested()
78 std::make_shared<PairConfirmedCallBackInfo>(number, reqType, device.GetDeviceAddr()); in OnPairConfirmed()
/foundation/communication/bluetooth/frameworks/cj/connection/src/
H A Dbluetooth_connection_callback.cpp55 retValue[i] = MallocCString(remoteDevice->GetDeviceAddr()); in OnDiscoveryResult()
76 char* deviceAddr = MallocCString(device.GetDeviceAddr()); in OnPairConfirmed()
114 char* deviceAddr = MallocCString(device.GetDeviceAddr()); in OnPairStatusChanged()
/foundation/communication/bluetooth/frameworks/js/napi/src/hid/
H A Dnapi_bluetooth_hid_host_observer.cpp33 auto nativeObject = std::make_shared<NapiNativeStateChangeParam>(device.GetDeviceAddr(), state, cause); in OnConnectionStateChanged()
/foundation/communication/bluetooth/frameworks/js/napi/src/pan/
H A Dnapi_bluetooth_pan_observer.cpp34 auto nativeObject = std::make_shared<NapiNativeStateChangeParam>(device.GetDeviceAddr(), state, cause); in OnConnectionStateChanged()
/foundation/communication/bluetooth/frameworks/js/napi/src/pbap/
H A Dnapi_bluetooth_pbap_pse_observer.cpp32 auto nativeObject = std::make_shared<NapiNativeStateChangeParam>(device.GetDeviceAddr(), state, cause); in OnConnectionStateChanged()
/foundation/communication/bluetooth/frameworks/js/napi/src/a2dp/
H A Dnapi_bluetooth_a2dp_src_observer.cpp30 auto nativeObject = std::make_shared<NapiNativeStateChangeParam>(device.GetDeviceAddr(), state, cause); in OnConnectionStateChanged()
/foundation/communication/bluetooth/frameworks/js/napi/src/map/
H A Dnapi_bluetooth_map_mse_observer.cpp31 auto nativeObject = std::make_shared<NapiNativeStateChangeParam>(device.GetDeviceAddr(), state, cause); in OnConnectionStateChanged()
/foundation/communication/bluetooth/frameworks/js/napi/src/
H A Dnapi_bluetooth_avrcp_ct_observer.cpp31 auto nativeObject = std::make_shared<NapiNativeStateChangeParam>(device.GetDeviceAddr(), state, cause); in OnConnectionStateChanged()
H A Dnapi_bluetooth_avrcp_tg_observer.cpp31 auto nativeObject = std::make_shared<NapiNativeStateChangeParam>(device.GetDeviceAddr(), state, cause); in OnConnectionStateChanged()
H A Dnapi_bluetooth_a2dp_snk_observer.cpp31 auto nativeObject = std::make_shared<NapiNativeStateChangeParam>(device.GetDeviceAddr(), state, cause); in OnConnectionStateChanged()

Completed in 15 milliseconds

123