/foundation/communication/bluetooth/frameworks/inner/src/ |
H A D | bluetooth_pbap_pse.cpp | 149 CHECK_AND_RETURN_LOG_RET(device.IsValidBluetoothRemoteDevice(), BT_ERR_INVALID_PARAM, "device param error");
in GetDeviceState() 179 CHECK_AND_RETURN_LOG_RET(device.IsValidBluetoothRemoteDevice(), BT_ERR_INVALID_PARAM, "device param error");
in Disconnect() 190 CHECK_AND_RETURN_LOG_RET(device.IsValidBluetoothRemoteDevice(), BT_ERR_INVALID_PARAM, "device param error");
in SetConnectionStrategy() 191 CHECK_AND_RETURN_LOG_RET(CheckConnectionStrategyInvalid(strategy), BT_ERR_INVALID_PARAM, "strategy param error");
in SetConnectionStrategy() local 202 CHECK_AND_RETURN_LOG_RET(device.IsValidBluetoothRemoteDevice(), BT_ERR_INVALID_PARAM, "device param error");
in GetConnectionStrategy() 223 CHECK_AND_RETURN_LOG_RET(device.IsValidBluetoothRemoteDevice(), BT_ERR_INVALID_PARAM, "device param error");
in SetShareType() 224 CHECK_AND_RETURN_LOG_RET(CheckShareTypeInvalid(shareType), BT_ERR_INVALID_PARAM, "shareType param error");
in SetShareType() local 235 CHECK_AND_RETURN_LOG_RET(device.IsValidBluetoothRemoteDevice(), BT_ERR_INVALID_PARAM, "device param error");
in GetShareType() 247 CHECK_AND_RETURN_LOG_RET(device.IsValidBluetoothRemoteDevice(), BT_ERR_INVALID_PARAM, "device param error");
in SetPhoneBookAccessAuthorization() 249 BT_ERR_INVALID_PARAM, "accessAuthorizatio in SetPhoneBookAccessAuthorization() local [all...] |
H A D | bluetooth_map_mse.cpp | 145 CHECK_AND_RETURN_LOG_RET(device.IsValidBluetoothRemoteDevice(), BT_ERR_INVALID_PARAM, "device param error");
in GetDeviceState() 174 CHECK_AND_RETURN_LOG_RET(device.IsValidBluetoothRemoteDevice(), BT_ERR_INVALID_PARAM, "device param error");
in Disconnect() 185 CHECK_AND_RETURN_LOG_RET(device.IsValidBluetoothRemoteDevice(), BT_ERR_INVALID_PARAM, "device param error");
in SetConnectionStrategy() 186 CHECK_AND_RETURN_LOG_RET(CheckConnectionStrategyInvalid(strategy), BT_ERR_INVALID_PARAM, "strategy param error");
in SetConnectionStrategy() local 197 CHECK_AND_RETURN_LOG_RET(device.IsValidBluetoothRemoteDevice(), BT_ERR_INVALID_PARAM, "device param error");
in GetConnectionStrategy() 208 CHECK_AND_RETURN_LOG_RET(device.IsValidBluetoothRemoteDevice(), BT_ERR_INVALID_PARAM, "device param error");
in SetMessageAccessAuthorization() 210 BT_ERR_INVALID_PARAM, "metaData param error");
in SetMessageAccessAuthorization() local 222 CHECK_AND_RETURN_LOG_RET(device.IsValidBluetoothRemoteDevice(), BT_ERR_INVALID_PARAM, "device param error");
in GetMessageAccessAuthorization()
|
H A D | bluetooth_a2dp_src.cpp | 207 return BT_ERR_INVALID_PARAM; in GetDeviceState() 248 return BT_ERR_INVALID_PARAM; in GetPlayingState() 267 return BT_ERR_INVALID_PARAM; in Connect() 285 return BT_ERR_INVALID_PARAM; in Disconnect() 351 return BT_ERR_INVALID_PARAM; in SetConnectStrategy() 369 return BT_ERR_INVALID_PARAM; in GetConnectStrategy() 431 return BT_ERR_INVALID_PARAM; in GetCodecPreference() 459 return BT_ERR_INVALID_PARAM; in SetCodecPreference() 591 CHECK_AND_RETURN_LOG_RET(device.IsValidBluetoothRemoteDevice(), BT_ERR_INVALID_PARAM, "device err"); in GetRenderPosition() 600 CHECK_AND_RETURN_LOG_RET(device.IsValidBluetoothRemoteDevice(), BT_ERR_INVALID_PARAM, "devic in OffloadStartPlaying() [all...] |
H A D | bluetooth_hfp_ag.cpp | 158 return BT_ERR_INVALID_PARAM; in GetDeviceState() 170 return BT_ERR_INVALID_PARAM; in Connect() 181 return BT_ERR_INVALID_PARAM; in Disconnect() 199 CHECK_AND_RETURN_LOG_RET(proxy != nullptr, BT_ERR_INVALID_PARAM, "failed: no proxy"); in ConnectSco() 206 CHECK_AND_RETURN_LOG_RET(proxy != nullptr, BT_ERR_INVALID_PARAM, "failed: no proxy"); in DisconnectSco() 531 CHECK_AND_RETURN_LOG_RET((pimpl->IsValidCallType(callType)), BT_ERR_INVALID_PARAM, in ConnectSco() 543 CHECK_AND_RETURN_LOG_RET((pimpl->IsValidCallType(callType)), BT_ERR_INVALID_PARAM, in DisconnectSco() 661 return BT_ERR_INVALID_PARAM; in SetConnectStrategy() 679 return BT_ERR_INVALID_PARAM; in GetConnectStrategy() 715 CHECK_AND_RETURN_LOG_RET(device.IsValidBluetoothRemoteDevice(), BT_ERR_INVALID_PARAM, "inpu in IsVgsSupported() [all...] |
H A D | bluetooth_hid_host.cpp | 94 return BT_ERR_INVALID_PARAM; in GetDeviceState() 105 return BT_ERR_INVALID_PARAM; in Connect() 117 return BT_ERR_INVALID_PARAM; in Disconnect() 302 return BT_ERR_INVALID_PARAM; in SetConnectStrategy() 320 return BT_ERR_INVALID_PARAM; in GetConnectStrategy()
|
H A D | bluetooth_audio_manager.cpp | 127 return BT_ERR_INVALID_PARAM;
in IsWearDetectionSupported() 149 return BT_ERR_INVALID_PARAM;
in SendDeviceSelection()
|
H A D | bluetooth_remote_device.cpp | 148 IsValidBluetoothRemoteDevice() && aliasName != INVALID_NAME, BT_ERR_INVALID_PARAM, "Invalid remote device"); in SetDeviceAlias() local 328 CHECK_AND_RETURN_LOG_RET(IsValidBluetoothRemoteDevice(), BT_ERR_INVALID_PARAM, "Invalid remote device"); in GetDeviceProductType() local 354 deviceType <= DeviceType::DEVICE_TYPE_SPEAKER, BT_ERR_INVALID_PARAM, in SetDeviceCustomType() local 366 CHECK_AND_RETURN_LOG_RET(IsValidBluetoothRemoteDevice(), BT_ERR_INVALID_PARAM, "Invalid remote device"); in GetDeviceCustomType() local
|
/foundation/communication/bluetooth/frameworks/js/napi/src/map/ |
H A D | napi_bluetooth_map_mse.cpp | 89 NAPI_BT_ASSERT_RETURN_UNDEF(env, status == napi_ok, BT_ERR_INVALID_PARAM);
in On() 98 NAPI_BT_ASSERT_RETURN_UNDEF(env, status == napi_ok, BT_ERR_INVALID_PARAM);
in Off() 109 NAPI_BT_ASSERT_RETURN(env, checkRet == napi_ok, BT_ERR_INVALID_PARAM, ret);
in GetConnectedDevices() 132 NAPI_BT_ASSERT_RETURN_UNDEF(env, checkRet, BT_ERR_INVALID_PARAM);
in GetConnectionState() 152 NAPI_BT_ASSERT_RETURN_FALSE(env, checkRet, BT_ERR_INVALID_PARAM);
in Disconnect() 168 NAPI_BT_ASSERT_RETURN_UNDEF(env, status == napi_ok, BT_ERR_INVALID_PARAM);
in SetConnectionStrategy() 188 NAPI_BT_ASSERT_RETURN_UNDEF(env, status == napi_ok, BT_ERR_INVALID_PARAM);
in GetConnectionStrategy() 210 NAPI_BT_ASSERT_RETURN_UNDEF(env, status == napi_ok, BT_ERR_INVALID_PARAM);
in SetMessageAccessAuthorization() 229 NAPI_BT_ASSERT_RETURN_UNDEF(env, status == napi_ok, BT_ERR_INVALID_PARAM);
in GetMessageAccessAuthorization()
|
/foundation/communication/bluetooth/frameworks/cj/connection/src/ |
H A D | bluetooth_connection_impl.cpp | 30 using Bluetooth::BT_ERR_INVALID_PARAM; 44 *errCode = BT_ERR_INVALID_PARAM; in PairDevice() 56 *errCode = BT_ERR_INVALID_PARAM; in GetRemoteDeviceName() 68 *errCode = BT_ERR_INVALID_PARAM; in GetRemoteDeviceClass() 89 *errCode = BT_ERR_INVALID_PARAM; in GetRemoteProfileUuids() 135 *errCode = BT_ERR_INVALID_PARAM; in GetPairState() 158 *errCode = BT_ERR_INVALID_PARAM; in SetDevicePairingConfirmation() 228 *errCode = BT_ERR_INVALID_PARAM; in SetRemoteDeviceName() 240 *errCode = BT_ERR_INVALID_PARAM; in GetRemoteDeviceBatteryInfo()
|
/foundation/communication/bluetooth/frameworks/js/napi/src/ |
H A D | napi_bluetooth_host.cpp | 53 NAPI_BT_ASSERT_RETURN_UNDEF(env, status == napi_ok, BT_ERR_INVALID_PARAM); in RegisterHostObserver() 62 NAPI_BT_ASSERT_RETURN_UNDEF(env, false, BT_ERR_INVALID_PARAM); in RegisterHostObserver() 74 NAPI_BT_ASSERT_RETURN_UNDEF(env, status == napi_ok, BT_ERR_INVALID_PARAM); in DeregisterHostObserver() 84 NAPI_BT_ASSERT_RETURN_UNDEF(env, false, BT_ERR_INVALID_PARAM); in DeregisterHostObserver()
|
/foundation/communication/bluetooth/frameworks/js/napi/src/audio_manager/ |
H A D | napi_bluetooth_audio_manager.cpp | 55 NAPI_BT_ASSERT_RETURN_UNDEF(env, status == napi_ok, BT_ERR_INVALID_PARAM);
in EnableWearDetection() 73 NAPI_BT_ASSERT_RETURN_UNDEF(env, status == napi_ok, BT_ERR_INVALID_PARAM);
in DisableWearDetection() 91 NAPI_BT_ASSERT_RETURN_UNDEF(env, status == napi_ok, BT_ERR_INVALID_PARAM);
in IsWearDetectionEnabled() 113 NAPI_BT_ASSERT_RETURN_UNDEF(env, status == napi_ok, BT_ERR_INVALID_PARAM);
in IsWearDetectionSupported()
|
/foundation/communication/bluetooth/frameworks/js/napi/src/hid/ |
H A D | napi_bluetooth_hid_host.cpp | 105 NAPI_BT_ASSERT_RETURN_UNDEF(env, status == napi_ok, BT_ERR_INVALID_PARAM); in On() 114 NAPI_BT_ASSERT_RETURN_UNDEF(env, status == napi_ok, BT_ERR_INVALID_PARAM); in Off() 128 NAPI_BT_ASSERT_RETURN(env, checkRet == napi_ok, BT_ERR_INVALID_PARAM, ret); in GetConnectionDevices() 155 NAPI_BT_ASSERT_RETURN(env, checkRet, BT_ERR_INVALID_PARAM, result); in GetDeviceState() 175 NAPI_BT_ASSERT_RETURN_FALSE(env, checkRet, BT_ERR_INVALID_PARAM); in Connect() 190 NAPI_BT_ASSERT_RETURN_FALSE(env, checkRet, BT_ERR_INVALID_PARAM); in Disconnect() 206 NAPI_BT_ASSERT_RETURN_UNDEF(env, status == napi_ok, BT_ERR_INVALID_PARAM); in SetConnectionStrategy() 226 NAPI_BT_ASSERT_RETURN_UNDEF(env, status == napi_ok, BT_ERR_INVALID_PARAM); in GetConnectionStrategy()
|
/foundation/communication/bluetooth/frameworks/js/napi/src/opp/ |
H A D | napi_bluetooth_opp.cpp | 91 NAPI_BT_ASSERT_RETURN_UNDEF(env, status == napi_ok, BT_ERR_INVALID_PARAM);
in On() 100 NAPI_BT_ASSERT_RETURN_UNDEF(env, status == napi_ok, BT_ERR_INVALID_PARAM);
in Off() 137 NAPI_BT_ASSERT_RETURN_UNDEF(env, status == napi_ok, BT_ERR_INVALID_PARAM);
in SendFile() 158 NAPI_BT_ASSERT_RETURN_UNDEF(env, status == napi_ok, BT_ERR_INVALID_PARAM);
in SetIncomingFileConfirmation() 179 NAPI_BT_ASSERT_RETURN(env, checkRet == napi_ok, BT_ERR_INVALID_PARAM, ret);
in GetCurrentTransferInformation() 200 NAPI_BT_ASSERT_RETURN(env, checkRet == napi_ok, BT_ERR_INVALID_PARAM, ret);
in CancelTransfer() 215 NAPI_BT_ASSERT_RETURN(env, checkRet == napi_ok, BT_ERR_INVALID_PARAM, ret);
in GetConnectionDevices() 237 NAPI_BT_ASSERT_RETURN_UNDEF(env, checkRet, BT_ERR_INVALID_PARAM);
in GetDeviceState()
|
/foundation/communication/bluetooth/frameworks/inner/ipc/src/ |
H A D | bluetooth_avrcp_ct_observer_stub.cpp | 176 return BT_ERR_INVALID_PARAM; in OnSetBrowsedPlayerInner() 196 return BT_ERR_INVALID_PARAM; in OnGetCapabilitiesInner() 206 return BT_ERR_INVALID_PARAM; in OnGetCapabilitiesInner() 227 return BT_ERR_INVALID_PARAM; in OnGetPlayerAppSettingAttributesInner() 249 return BT_ERR_INVALID_PARAM; in OnGetPlayerAppSettingValuesInner() 268 return BT_ERR_INVALID_PARAM; in OnGetPlayerAppSettingCurrentValueInner() 278 return BT_ERR_INVALID_PARAM; in OnGetPlayerAppSettingCurrentValueInner() 307 return BT_ERR_INVALID_PARAM; in OnGetPlayerAppSettingAttributeTextInner() 317 return BT_ERR_INVALID_PARAM; in OnGetPlayerAppSettingAttributeTextInner() 337 return BT_ERR_INVALID_PARAM; in OnGetPlayerAppSettingValueTextInner() [all...] |
/foundation/communication/bluetooth/frameworks/js/napi/src/pbap/ |
H A D | napi_bluetooth_pbap_pse.cpp | 122 NAPI_BT_ASSERT_RETURN_UNDEF(env, status == napi_ok, BT_ERR_INVALID_PARAM);
in On() 131 NAPI_BT_ASSERT_RETURN_UNDEF(env, status == napi_ok, BT_ERR_INVALID_PARAM);
in Off() 142 NAPI_BT_ASSERT_RETURN(env, checkRet == napi_ok, BT_ERR_INVALID_PARAM, ret);
in GetConnectedDevices() 165 NAPI_BT_ASSERT_RETURN_UNDEF(env, checkRet, BT_ERR_INVALID_PARAM);
in GetConnectionState() 185 NAPI_BT_ASSERT_RETURN_FALSE(env, checkRet, BT_ERR_INVALID_PARAM);
in Disconnect() 201 NAPI_BT_ASSERT_RETURN_UNDEF(env, status == napi_ok, BT_ERR_INVALID_PARAM);
in SetConnectionStrategy() 221 NAPI_BT_ASSERT_RETURN_UNDEF(env, status == napi_ok, BT_ERR_INVALID_PARAM);
in GetConnectionStrategy() 263 NAPI_BT_ASSERT_RETURN_UNDEF(env, status == napi_ok, BT_ERR_INVALID_PARAM);
in SetShareType() 283 NAPI_BT_ASSERT_RETURN_UNDEF(env, status == napi_ok, BT_ERR_INVALID_PARAM);
in GetShareType() 306 NAPI_BT_ASSERT_RETURN_UNDEF(env, status == napi_ok, BT_ERR_INVALID_PARAM);
in SetPhoneBookAccessAuthorization() [all...] |
/foundation/communication/bluetooth/frameworks/js/napi/src/connection/ |
H A D | napi_bluetooth_connection.cpp | 156 NAPI_BT_ASSERT_RETURN_UNDEF(env, status == napi_ok, BT_ERR_INVALID_PARAM); in RegisterConnectionObserver() 170 NAPI_BT_ASSERT_RETURN_UNDEF(env, status == napi_ok, BT_ERR_INVALID_PARAM); in DeRegisterConnectionObserver() 192 NAPI_BT_ASSERT_RETURN_FALSE(env, checkRet, BT_ERR_INVALID_PARAM); in PairDevice() 205 NAPI_BT_ASSERT_RETURN_FALSE(env, checkRet, BT_ERR_INVALID_PARAM); in CancelPairedDevice() 223 NAPI_BT_ASSERT_RETURN(env, checkRet == true, BT_ERR_INVALID_PARAM, result); in GetRemoteDeviceName() 237 NAPI_BT_ASSERT_RETURN_UNDEF(env, checkRet, BT_ERR_INVALID_PARAM); in GetRemoteDeviceClass() 297 NAPI_BT_ASSERT_RETURN_UNDEF(env, checkRet, BT_ERR_INVALID_PARAM); in GetProfileConnectionState() 316 NAPI_BT_ASSERT_RETURN_UNDEF(env, checkRet, BT_ERR_INVALID_PARAM); in GetProfileConnectionStateEx() 333 NAPI_BT_ASSERT_RETURN_FALSE(env, checkRet, BT_ERR_INVALID_PARAM); in SetDevicePairingConfirmation() 352 NAPI_BT_ASSERT_RETURN_FALSE(env, checkRet, BT_ERR_INVALID_PARAM); in SetLocalName() [all...] |
/foundation/communication/bluetooth/frameworks/js/napi/src/pan/ |
H A D | napi_bluetooth_pan.cpp | 119 NAPI_BT_ASSERT_RETURN_UNDEF(env, status == napi_ok, BT_ERR_INVALID_PARAM); in On() 128 NAPI_BT_ASSERT_RETURN_UNDEF(env, status == napi_ok, BT_ERR_INVALID_PARAM); in Off() 142 NAPI_BT_ASSERT_RETURN(env, checkRet == napi_ok, BT_ERR_INVALID_PARAM, ret); in GetConnectionDevices() 170 NAPI_BT_ASSERT_RETURN(env, checkRet, BT_ERR_INVALID_PARAM, result); in GetDeviceState() 196 NAPI_BT_ASSERT_RETURN(env, checkRet == napi_ok, BT_ERR_INVALID_PARAM, ret); in GetConnectedDevices() 224 NAPI_BT_ASSERT_RETURN(env, checkRet, BT_ERR_INVALID_PARAM, result); in GetConnectionState() 246 NAPI_BT_ASSERT_RETURN_FALSE(env, checkRet, BT_ERR_INVALID_PARAM); in Disconnect() 272 NAPI_BT_ASSERT_RETURN_UNDEF(env, checkRet, BT_ERR_INVALID_PARAM); in SetTethering() 286 NAPI_BT_ASSERT_RETURN_FALSE(env, checkRet == napi_ok, BT_ERR_INVALID_PARAM); in IsTetheringOn()
|
/foundation/communication/bluetooth/frameworks/js/napi/src/hfp/ |
H A D | napi_bluetooth_hfp_ag.cpp | 104 NAPI_BT_ASSERT_RETURN_UNDEF(env, status == napi_ok, BT_ERR_INVALID_PARAM); in On() 118 NAPI_BT_ASSERT_RETURN_UNDEF(env, status == napi_ok, BT_ERR_INVALID_PARAM); in Off() 131 NAPI_BT_ASSERT_RETURN(env, checkRet == napi_ok, BT_ERR_INVALID_PARAM, ret); in GetConnectionDevices() 158 NAPI_BT_ASSERT_RETURN(env, checkRet, BT_ERR_INVALID_PARAM, result); in GetDeviceState() 340 NAPI_BT_ASSERT_RETURN_FALSE(env, checkRet, BT_ERR_INVALID_PARAM); in Connect() 355 NAPI_BT_ASSERT_RETURN_FALSE(env, checkRet, BT_ERR_INVALID_PARAM); in Disconnect() 371 NAPI_BT_ASSERT_RETURN_UNDEF(env, status == napi_ok, BT_ERR_INVALID_PARAM); in SetConnectionStrategy() 391 NAPI_BT_ASSERT_RETURN_UNDEF(env, status == napi_ok, BT_ERR_INVALID_PARAM); in GetConnectionStrategy()
|
/foundation/communication/bluetooth/frameworks/js/napi/src/ble/ |
H A D | napi_bluetooth_gatt_server.cpp | 116 NAPI_BT_ASSERT_RETURN_UNDEF(env, status == napi_ok, BT_ERR_INVALID_PARAM); in On() 126 NAPI_BT_ASSERT_RETURN_UNDEF(env, status == napi_ok, BT_ERR_INVALID_PARAM); in Off() 173 NAPI_BT_ASSERT_RETURN_FALSE(env, (status == napi_ok && server != nullptr), BT_ERR_INVALID_PARAM); in AddService() 198 NAPI_BT_ASSERT_RETURN_UNDEF(env, (status == napi_ok && server != nullptr), BT_ERR_INVALID_PARAM); in Close() 230 NAPI_BT_ASSERT_RETURN_FALSE(env, (status == napi_ok && server != nullptr), BT_ERR_INVALID_PARAM); in RemoveGattService() 243 NAPI_BT_ASSERT_RETURN_FALSE(env, (primaryService.has_value() || secondService.has_value()), BT_ERR_INVALID_PARAM); in RemoveGattService() 272 NAPI_BT_ASSERT_RETURN_FALSE(env, (status == napi_ok && server != nullptr), BT_ERR_INVALID_PARAM); in SendResponse() 328 BT_ERR_INVALID_PARAM); in NotifyCharacteristicChangedEx() 382 NAPI_BT_ASSERT_RETURN_FALSE(env, (status == napi_ok && server != nullptr), BT_ERR_INVALID_PARAM); in NotifyCharacteristicChanged() 385 NAPI_BT_ASSERT_RETURN_FALSE(env, character != nullptr, BT_ERR_INVALID_PARAM); in NotifyCharacteristicChanged() [all...] |
H A D | napi_bluetooth_gatt_client.cpp | 66 NAPI_BT_ASSERT_RETURN_UNDEF(env, status == napi_ok, BT_ERR_INVALID_PARAM); in CreateGattClientDevice() 201 NAPI_BT_ASSERT_RETURN_UNDEF(env, status == napi_ok, BT_ERR_INVALID_PARAM); in On() 211 NAPI_BT_ASSERT_RETURN_UNDEF(env, status == napi_ok, BT_ERR_INVALID_PARAM); in Off() 234 NAPI_BT_ASSERT_RETURN_FALSE(env, status == napi_ok, BT_ERR_INVALID_PARAM); in Connect() 251 NAPI_BT_ASSERT_RETURN_FALSE(env, status == napi_ok, BT_ERR_INVALID_PARAM); in Disconnect() 291 NAPI_BT_ASSERT_RETURN_UNDEF(env, status == napi_ok && client && character, BT_ERR_INVALID_PARAM); in ReadCharacteristicValue() 344 NAPI_BT_ASSERT_RETURN_UNDEF(env, status == napi_ok && client && descriptor, BT_ERR_INVALID_PARAM); in ReadDescriptorValue() 386 NAPI_BT_ASSERT_RETURN_UNDEF(env, status == napi_ok && client, BT_ERR_INVALID_PARAM); in GetServices() 414 NAPI_BT_ASSERT_RETURN_FALSE(env, status == napi_ok, BT_ERR_INVALID_PARAM); in Close() 450 NAPI_BT_ASSERT_RETURN_FALSE(env, status == napi_ok, BT_ERR_INVALID_PARAM); in SetBLEMtuSize() [all...] |
H A D | napi_bluetooth_ble.cpp | 297 NAPI_BT_ASSERT_RETURN_UNDEF(env, status == napi_ok, BT_ERR_INVALID_PARAM); in On() 311 NAPI_BT_ASSERT_RETURN_UNDEF(env, status == napi_ok, BT_ERR_INVALID_PARAM); in Off() 629 NAPI_BT_ASSERT_RETURN_UNDEF(env, status == napi_ok, BT_ERR_INVALID_PARAM); in StartBLEScan() 641 NAPI_BT_ASSERT_RETURN_UNDEF(env, status == napi_ok, BT_ERR_INVALID_PARAM); in StopBLEScan() 831 NAPI_BT_ASSERT_RETURN_UNDEF(env, checkRes == napi_ok, BT_ERR_INVALID_PARAM); in StartAdvertising() 842 NAPI_BT_ASSERT_RETURN_UNDEF(env, status == napi_ok, BT_ERR_INVALID_PARAM); in StartAdvertising() 859 NAPI_BT_ASSERT_RETURN_UNDEF(env, status == napi_ok, BT_ERR_INVALID_PARAM); in StartAdvertising() 908 NAPI_BT_ASSERT_RETURN_UNDEF(env, status == napi_ok, BT_ERR_INVALID_PARAM); in EnableAdvertising() 953 NAPI_BT_ASSERT_RETURN_UNDEF(env, status == napi_ok, BT_ERR_INVALID_PARAM); in DisableAdvertising() 1002 NAPI_BT_ASSERT_RETURN_UNDEF(env, checkRes == napi_ok, BT_ERR_INVALID_PARAM); in StopAdvertising() [all...] |
/foundation/communication/bluetooth/frameworks/js/napi/src/a2dp/ |
H A D | napi_bluetooth_a2dp_src.cpp | 159 NAPI_BT_ASSERT_RETURN_UNDEF(env, status == napi_ok, BT_ERR_INVALID_PARAM); in On() 174 NAPI_BT_ASSERT_RETURN_UNDEF(env, status == napi_ok, BT_ERR_INVALID_PARAM); in Off() 188 NAPI_BT_ASSERT_RETURN(env, checkRet, BT_ERR_INVALID_PARAM, ret); in GetPlayingState() 205 NAPI_BT_ASSERT_RETURN_FALSE(env, checkRet, BT_ERR_INVALID_PARAM); in Connect() 221 NAPI_BT_ASSERT_RETURN_FALSE(env, checkRet, BT_ERR_INVALID_PARAM); in Disconnect() 410 NAPI_BT_ASSERT_RETURN_UNDEF(env, status == napi_ok, BT_ERR_INVALID_PARAM); in SetConnectionStrategy() 431 NAPI_BT_ASSERT_RETURN_UNDEF(env, status == napi_ok, BT_ERR_INVALID_PARAM); in GetConnectionStrategy() 463 NAPI_BT_ASSERT_RETURN_UNDEF(env, status == napi_ok, BT_ERR_INVALID_PARAM); in IsAbsoluteVolumeSupported() 485 NAPI_BT_ASSERT_RETURN_UNDEF(env, status == napi_ok, BT_ERR_INVALID_PARAM); in IsAbsoluteVolumeEnabled() 507 NAPI_BT_ASSERT_RETURN_UNDEF(env, status == napi_ok, BT_ERR_INVALID_PARAM); in EnableAbsoluteVolume() [all...] |
/foundation/communication/bluetooth/interfaces/inner_api/include/ |
H A D | bluetooth_errorcode.h | 28 BT_ERR_INVALID_PARAM = 401, enumerator
|
/foundation/communication/bluetooth/frameworks/js/napi/src/socket/ |
H A D | napi_bluetooth_spp_server.cpp | 115 NAPI_BT_ASSERT_RETURN_UNDEF(env, callbackInfo != nullptr, BT_ERR_INVALID_PARAM); in SppListen() 121 NAPI_BT_ASSERT_RETURN_UNDEF(env, status == napi_ok, BT_ERR_INVALID_PARAM); in SppListen() 234 NAPI_BT_ASSERT_RETURN_UNDEF(env, callbackInfo != nullptr, BT_ERR_INVALID_PARAM); in SppAccept() 240 NAPI_BT_ASSERT_RETURN_UNDEF(env, status == napi_ok, BT_ERR_INVALID_PARAM); in SppAccept() 318 NAPI_BT_ASSERT_RETURN_UNDEF(env, status == napi_ok, BT_ERR_INVALID_PARAM); in SppCloseServerSocket()
|
H A D | napi_bluetooth_spp_client.cpp | 107 NAPI_BT_ASSERT_RETURN_UNDEF(env, status == napi_ok, BT_ERR_INVALID_PARAM); in SppConnect() 203 NAPI_BT_ASSERT_RETURN_UNDEF(env, status == napi_ok, BT_ERR_INVALID_PARAM); in SppCloseClientSocket() 245 NAPI_BT_ASSERT_RETURN_FALSE(env, status == napi_ok, BT_ERR_INVALID_PARAM); in SppWrite() 347 NAPI_BT_ASSERT_RETURN_UNDEF(env, status == napi_ok, BT_ERR_INVALID_PARAM); in On() 384 NAPI_BT_ASSERT_RETURN_UNDEF(env, status == napi_ok, BT_ERR_INVALID_PARAM); in Off()
|