Home
last modified time | relevance | path

Searched refs:IsValidBluetoothRemoteDevice (Results 1 – 17 of 17) sorted by relevance

/ohos5.0/foundation/communication/bluetooth/frameworks/inner/src/
H A Dbluetooth_remote_device.cpp48 CHECK_AND_RETURN_LOG_RET(IsValidBluetoothRemoteDevice(), type, "Invalid remote device."); in GetDeviceType()
56 bool BluetoothRemoteDevice::IsValidBluetoothRemoteDevice() const in IsValidBluetoothRemoteDevice() function in OHOS::Bluetooth::BluetoothRemoteDevice
85 CHECK_AND_RETURN_LOG_RET(IsValidBluetoothRemoteDevice(), false, "Invalid remote device."); in SetPhonebookPermission()
103 CHECK_AND_RETURN_LOG_RET(IsValidBluetoothRemoteDevice(), false, "Invalid remote device."); in SetMessagePermission()
120 CHECK_AND_RETURN_LOG_RET(IsValidBluetoothRemoteDevice(), INVALID_NAME, "Invalid remote device"); in GetDeviceName()
224 CHECK_AND_RETURN_LOG_RET(IsValidBluetoothRemoteDevice(), false, "Invalid remote device"); in IsBondedFromLocal()
232 CHECK_AND_RETURN_LOG_RET(IsValidBluetoothRemoteDevice(), false, "Invalid remote device"); in IsAclConnected()
241 CHECK_AND_RETURN_LOG_RET(IsValidBluetoothRemoteDevice(), false, "Invalid remote device"); in IsAclEncrypted()
305 CHECK_AND_RETURN_LOG_RET(IsValidBluetoothRemoteDevice(), false, "Invalid remote device"); in SetDevicePasskey()
314 CHECK_AND_RETURN_LOG_RET(IsValidBluetoothRemoteDevice(), false, "Invalid remote device"); in PairRequestReply()
[all …]
H A Dbluetooth_a2dp_src.cpp208 if (!device.IsValidBluetoothRemoteDevice()) { in GetDeviceState()
228 if (!device.IsValidBluetoothRemoteDevice()) { in GetPlayingState()
249 if (!device.IsValidBluetoothRemoteDevice()) { in GetPlayingState()
268 if (!device.IsValidBluetoothRemoteDevice()) { in Connect()
286 if (!device.IsValidBluetoothRemoteDevice()) { in Disconnect()
316 if (!device.IsValidBluetoothRemoteDevice()) { in SetActiveSinkDevice()
370 if (!device.IsValidBluetoothRemoteDevice()) { in GetConnectStrategy()
389 if (!device.IsValidBluetoothRemoteDevice()) { in GetCodecStatus()
432 if (!device.IsValidBluetoothRemoteDevice()) { in GetCodecPreference()
460 if (!device.IsValidBluetoothRemoteDevice()) { in SetCodecPreference()
[all …]
H A Dbluetooth_hfp_hf.cpp165 if (proxy != nullptr && device.IsValidBluetoothRemoteDevice()) { in ConnectSco()
175 if (proxy != nullptr && device.IsValidBluetoothRemoteDevice()) { in DisconnectSco()
206 if (proxy != nullptr && device.IsValidBluetoothRemoteDevice()) { in GetDeviceState()
216 if (proxy != nullptr && device.IsValidBluetoothRemoteDevice()) { in GetScoState()
226 if (proxy != nullptr && device.IsValidBluetoothRemoteDevice()) { in SendDTMFTone()
249 if (proxy != nullptr && device.IsValidBluetoothRemoteDevice()) { in Disconnect()
260 if (proxy != nullptr && device.IsValidBluetoothRemoteDevice()) { in OpenVoiceRecognition()
270 if (proxy != nullptr && device.IsValidBluetoothRemoteDevice()) { in CloseVoiceRecognition()
282 if (proxy != nullptr && device.IsValidBluetoothRemoteDevice()) { in GetExistingCalls()
305 if (proxy != nullptr && device.IsValidBluetoothRemoteDevice()) { in AcceptIncomingCall()
[all …]
H A Dbluetooth_a2dp_snk.cpp151 if (!device.IsValidBluetoothRemoteDevice()) { in GetDeviceState()
196 if (!device.IsValidBluetoothRemoteDevice()) { in GetPlayingState()
217 if (!device.IsValidBluetoothRemoteDevice()) { in GetPlayingState()
236 if (!device.IsValidBluetoothRemoteDevice()) { in Connect()
256 if (!device.IsValidBluetoothRemoteDevice()) { in Disconnect()
287 if ((!device.IsValidBluetoothRemoteDevice()) || in SetConnectStrategy()
308 if (!device.IsValidBluetoothRemoteDevice()) { in GetConnectStrategy()
327 if (!device.IsValidBluetoothRemoteDevice()) { in SendDelay()
H A Dbluetooth_pbap_pse.cpp152 …CHECK_AND_RETURN_LOG_RET(device.IsValidBluetoothRemoteDevice(), BT_ERR_INVALID_PARAM, "device para… in GetDeviceState()
182 …CHECK_AND_RETURN_LOG_RET(device.IsValidBluetoothRemoteDevice(), BT_ERR_INVALID_PARAM, "device para… in Disconnect()
193 …CHECK_AND_RETURN_LOG_RET(device.IsValidBluetoothRemoteDevice(), BT_ERR_INVALID_PARAM, "device para… in SetConnectionStrategy()
205 …CHECK_AND_RETURN_LOG_RET(device.IsValidBluetoothRemoteDevice(), BT_ERR_INVALID_PARAM, "device para… in GetConnectionStrategy()
226 …CHECK_AND_RETURN_LOG_RET(device.IsValidBluetoothRemoteDevice(), BT_ERR_INVALID_PARAM, "device para… in SetShareType()
238 …CHECK_AND_RETURN_LOG_RET(device.IsValidBluetoothRemoteDevice(), BT_ERR_INVALID_PARAM, "device para… in GetShareType()
250 …CHECK_AND_RETURN_LOG_RET(device.IsValidBluetoothRemoteDevice(), BT_ERR_INVALID_PARAM, "device para… in SetPhoneBookAccessAuthorization()
265 …CHECK_AND_RETURN_LOG_RET(device.IsValidBluetoothRemoteDevice(), BT_ERR_INVALID_PARAM, "device para… in GetPhoneBookAccessAuthorization()
H A Dbluetooth_map_mse.cpp148 …CHECK_AND_RETURN_LOG_RET(device.IsValidBluetoothRemoteDevice(), BT_ERR_INVALID_PARAM, "device para… in GetDeviceState()
177 …CHECK_AND_RETURN_LOG_RET(device.IsValidBluetoothRemoteDevice(), BT_ERR_INVALID_PARAM, "device para… in Disconnect()
188 …CHECK_AND_RETURN_LOG_RET(device.IsValidBluetoothRemoteDevice(), BT_ERR_INVALID_PARAM, "device para… in SetConnectionStrategy()
200 …CHECK_AND_RETURN_LOG_RET(device.IsValidBluetoothRemoteDevice(), BT_ERR_INVALID_PARAM, "device para… in GetConnectionStrategy()
211 …CHECK_AND_RETURN_LOG_RET(device.IsValidBluetoothRemoteDevice(), BT_ERR_INVALID_PARAM, "device para… in SetMessageAccessAuthorization()
225 …CHECK_AND_RETURN_LOG_RET(device.IsValidBluetoothRemoteDevice(), BT_ERR_INVALID_PARAM, "device para… in GetMessageAccessAuthorization()
H A Dbluetooth_hfp_ag.cpp159 if (proxy == nullptr || !device.IsValidBluetoothRemoteDevice()) { in GetDeviceState()
171 if (proxy == nullptr || !device.IsValidBluetoothRemoteDevice()) { in Connect()
182 if (proxy == nullptr || !device.IsValidBluetoothRemoteDevice()) { in Disconnect()
193 if (proxy != nullptr && IS_BT_ENABLED() && device.IsValidBluetoothRemoteDevice()) { in GetScoState()
261 if (proxy != nullptr && device.IsValidBluetoothRemoteDevice()) { in OpenVoiceRecognition()
271 if (proxy != nullptr && device.IsValidBluetoothRemoteDevice()) { in CloseVoiceRecognition()
281 if (proxy != nullptr && device.IsValidBluetoothRemoteDevice()) { in SetActiveDevice()
301 if (proxy != nullptr && IS_BT_ENABLED() && device.IsValidBluetoothRemoteDevice()) { in SendNoCarrier()
660 if ((!device.IsValidBluetoothRemoteDevice()) || ( in SetConnectStrategy()
680 if (!device.IsValidBluetoothRemoteDevice()) { in GetConnectStrategy()
[all …]
H A Dbluetooth_audio_manager.cpp114 …CHECK_AND_RETURN_LOG_RET(device.IsValidBluetoothRemoteDevice(), BT_ERR_INVALID_STATE, "input param… in IsDeviceWearing()
128 if (!device.IsValidBluetoothRemoteDevice()) { in IsWearDetectionSupported()
150 if (!device.IsValidBluetoothRemoteDevice()) { in SendDeviceSelection()
H A Dbluetooth_hid_host.cpp95 if (proxy == nullptr || !device.IsValidBluetoothRemoteDevice()) { in GetDeviceState()
106 if (proxy == nullptr || !device.IsValidBluetoothRemoteDevice()) { in Connect()
118 if (proxy == nullptr || !device.IsValidBluetoothRemoteDevice()) { in Disconnect()
301 if ((!device.IsValidBluetoothRemoteDevice()) || ( in SetConnectStrategy()
321 if (!device.IsValidBluetoothRemoteDevice()) { in GetConnectStrategy()
H A Dbluetooth_pan.cpp95 if (proxy == nullptr || !device.IsValidBluetoothRemoteDevice()) { in GetDeviceState()
107 if (proxy == nullptr || !device.IsValidBluetoothRemoteDevice()) { in Disconnect()
H A Dbluetooth_gatt_server.cpp663 …CHECK_AND_RETURN_LOG_RET(device.IsValidBluetoothRemoteDevice(), BT_ERR_INTERNAL_ERROR, "Invalid re… in Connect()
677 …CHECK_AND_RETURN_LOG_RET(device.IsValidBluetoothRemoteDevice(), BT_ERR_INTERNAL_ERROR, "Invalid re… in CancelConnection()
737 if (!device.IsValidBluetoothRemoteDevice()) { in NotifyCharacteristicChanged()
790 if (!device.IsValidBluetoothRemoteDevice()) { in SendResponse()
H A Dbluetooth_opp.cpp291 …CHECK_AND_RETURN_LOG_RET(device.IsValidBluetoothRemoteDevice(), BT_ERR_INVALID_PARAM, "device para… in GetDeviceState()
H A Dbluetooth_socket.cpp879 if (device.IsValidBluetoothRemoteDevice()) { in BuildInsecureRfcommDataSocketByServiceRecord()
891 if (device.IsValidBluetoothRemoteDevice()) { in BuildRfcommDataSocketByServiceRecord()
H A Dbluetooth_gatt_client.cpp629 if (!pimpl->device_.IsValidBluetoothRemoteDevice()) { in Connect()
H A Dbluetooth_host.cpp1072 …CHECK_AND_RETURN_LOG_RET(device.IsValidBluetoothRemoteDevice(), BT_ERR_INTERNAL_ERROR, "Invalid re… in RemovePair()
/ohos5.0/foundation/communication/bluetooth/interfaces/inner_api/include/
H A Dbluetooth_remote_device.h328 bool IsValidBluetoothRemoteDevice() const;
/ohos5.0/foundation/communication/bluetooth_service/test/unittest/host/
H A Dhost_test.cpp824 EXPECT_FALSE(device0_.IsValidBluetoothRemoteDevice());
827 EXPECT_FALSE(device1_.IsValidBluetoothRemoteDevice());