/ohos5.0/foundation/communication/bluetooth/frameworks/inner/src/ |
H A D | bluetooth_remote_device.cpp | 48 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 D | bluetooth_a2dp_src.cpp | 208 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 D | bluetooth_hfp_hf.cpp | 165 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 D | bluetooth_a2dp_snk.cpp | 151 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 D | bluetooth_pbap_pse.cpp | 152 …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 D | bluetooth_map_mse.cpp | 148 …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 D | bluetooth_hfp_ag.cpp | 159 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 D | bluetooth_audio_manager.cpp | 114 …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 D | bluetooth_hid_host.cpp | 95 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 D | bluetooth_pan.cpp | 95 if (proxy == nullptr || !device.IsValidBluetoothRemoteDevice()) { in GetDeviceState() 107 if (proxy == nullptr || !device.IsValidBluetoothRemoteDevice()) { in Disconnect()
|
H A D | bluetooth_gatt_server.cpp | 663 …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 D | bluetooth_opp.cpp | 291 …CHECK_AND_RETURN_LOG_RET(device.IsValidBluetoothRemoteDevice(), BT_ERR_INVALID_PARAM, "device para… in GetDeviceState()
|
H A D | bluetooth_socket.cpp | 879 if (device.IsValidBluetoothRemoteDevice()) { in BuildInsecureRfcommDataSocketByServiceRecord() 891 if (device.IsValidBluetoothRemoteDevice()) { in BuildRfcommDataSocketByServiceRecord()
|
H A D | bluetooth_gatt_client.cpp | 629 if (!pimpl->device_.IsValidBluetoothRemoteDevice()) { in Connect()
|
H A D | bluetooth_host.cpp | 1072 …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 D | bluetooth_remote_device.h | 328 bool IsValidBluetoothRemoteDevice() const;
|
/ohos5.0/foundation/communication/bluetooth_service/test/unittest/host/ |
H A D | host_test.cpp | 824 EXPECT_FALSE(device0_.IsValidBluetoothRemoteDevice()); 827 EXPECT_FALSE(device1_.IsValidBluetoothRemoteDevice());
|