/foundation/communication/bluetooth/frameworks/inner/ipc/src/ |
H A D | bluetooth_opp_proxy.cpp | 45 CHECK_AND_RETURN_LOG_RET((error == BT_NO_ERROR), BT_ERR_INTERNAL_ERROR, "error: %{public}d", error); in SendFile() 47 CHECK_AND_RETURN_LOG_RET((ret == BT_NO_ERROR), ret, "reply errCode: %{public}d", ret); in SendFile() 49 return BT_NO_ERROR; in SendFile() 67 CHECK_AND_RETURN_LOG_RET((error == BT_NO_ERROR), BT_ERR_INTERNAL_ERROR, "error: %{public}d", error); in SetIncomingFileConfirmation() 81 CHECK_AND_RETURN_LOG_RET((error == BT_NO_ERROR), BT_ERR_INTERNAL_ERROR, "error: %{public}d", error); in GetCurrentTransferInformation() 86 return BT_NO_ERROR; in GetCurrentTransferInformation() 101 CHECK_AND_RETURN_LOG_RET((error == BT_NO_ERROR), BT_ERR_INTERNAL_ERROR, "error: %{public}d", error); in CancelTransfer() 103 result = reply.ReadInt32() == BT_NO_ERROR ? true : false; in CancelTransfer() 104 return BT_NO_ERROR; in CancelTransfer() 120 CHECK_AND_RETURN_LOG((error == BT_NO_ERROR), "erro in RegisterObserver() [all...] |
H A D | bluetooth_pan_proxy.cpp | 53 if (errCode != BT_NO_ERROR) { in GetDeviceState() 59 return BT_NO_ERROR; in GetDeviceState() 78 if (errCode != BT_NO_ERROR) { in GetDevicesByStates() 94 return BT_NO_ERROR; in GetDevicesByStates() 111 return BT_NO_ERROR; in RegisterObserver() 128 return BT_NO_ERROR; in DeregisterObserver() 160 if (ret != BT_NO_ERROR) { in IsTetheringOn() 166 return BT_NO_ERROR; in IsTetheringOn()
|
H A D | bluetooth_audio_manager_proxy.cpp | 51 if (error != BT_NO_ERROR) {
in SetWearDetection() 74 if (error != BT_NO_ERROR) {
in GetWearDetectionState() 80 if (ret == BT_NO_ERROR) {
in GetWearDetectionState() 99 CHECK_AND_RETURN_LOG_RET((error == BT_NO_ERROR), BT_ERR_INTERNAL_ERROR,
in IsDeviceWearing() 115 CHECK_AND_RETURN_LOG_RET((error == BT_NO_ERROR), BT_ERR_INTERNAL_ERROR,
in IsWearDetectionSupported() 140 CHECK_AND_RETURN_LOG_RET((error == BT_NO_ERROR), BT_ERR_INTERNAL_ERROR,
in SendDeviceSelection()
|
H A D | bluetooth_hfp_ag_observer_stub.cpp | 82 return BT_NO_ERROR; in OnConnectionStateChangedInner() 94 return BT_NO_ERROR; in OnScoStateChangedInner() 104 return BT_NO_ERROR; in OnActiveDeviceChangedInner() 115 return BT_NO_ERROR; in OnHfEnhancedDriverSafetyChangedInner() 125 return BT_NO_ERROR; in OnHfpStackChangedInner() 135 return BT_NO_ERROR; in OnVirtualDeviceChangedInner()
|
H A D | bluetooth_map_mse_proxy.cpp | 37 CHECK_AND_RETURN_LOG_RET((ret == BT_NO_ERROR), ret, "reply errCode: %{public}d", ret);
in GetDeviceState() 39 return BT_NO_ERROR;
in GetDeviceState() 57 CHECK_AND_RETURN_LOG_RET((ret == BT_NO_ERROR), ret, "reply errCode: %{public}d", ret);
in GetDevicesByStates() 67 return BT_NO_ERROR;
in GetDevicesByStates() 117 CHECK_AND_RETURN_LOG_RET((ret == BT_NO_ERROR), ret, "reply errCode: %{public}d", ret);
in GetConnectionStrategy() 119 return BT_NO_ERROR;
in GetConnectionStrategy() 156 CHECK_AND_RETURN_LOG_RET((ret == BT_NO_ERROR), ret, "reply errCode: %{public}d", ret);
in GetMessageAccessAuthorization() 158 return BT_NO_ERROR;
in GetMessageAccessAuthorization()
|
H A D | bluetooth_hid_host_proxy.cpp | 70 if (errCode != BT_NO_ERROR) { in GetDeviceState() 77 return BT_NO_ERROR; in GetDeviceState() 96 if (errCode != BT_NO_ERROR) { in GetDevicesByStates() 112 return BT_NO_ERROR; in GetDevicesByStates() 130 return BT_NO_ERROR; in RegisterObserver() 148 return BT_NO_ERROR; in DeregisterObserver() 169 return BT_NO_ERROR; in HidHostVCUnplug() 189 return BT_NO_ERROR; in HidHostSendData() 209 return BT_NO_ERROR; in HidHostSetReport() 230 return BT_NO_ERROR; in HidHostGetReport() [all...] |
H A D | bluetooth_pbap_pse_proxy.cpp | 37 CHECK_AND_RETURN_LOG_RET((ret == BT_NO_ERROR), ret, "reply errCode: %{public}d", ret);
in GetDeviceState() 39 return BT_NO_ERROR;
in GetDeviceState() 57 CHECK_AND_RETURN_LOG_RET((ret == BT_NO_ERROR), ret, "reply errCode: %{public}d", ret);
in GetDevicesByStates() 67 return BT_NO_ERROR;
in GetDevicesByStates() 117 CHECK_AND_RETURN_LOG_RET((ret == BT_NO_ERROR), ret, "reply errCode: %{public}d", ret);
in GetConnectionStrategy() 119 return BT_NO_ERROR;
in GetConnectionStrategy() 153 CHECK_AND_RETURN_LOG_RET((ret == BT_NO_ERROR), ret, "reply errCode: %{public}d", ret);
in GetShareType() 155 return BT_NO_ERROR;
in GetShareType() 192 CHECK_AND_RETURN_LOG_RET((ret == BT_NO_ERROR), ret, "reply errCode: %{public}d", ret);
in GetPhoneBookAccessAuthorization() 194 return BT_NO_ERROR;
in GetPhoneBookAccessAuthorization() [all...] |
H A D | bluetooth_host_proxy.cpp | 97 if (error != BT_NO_ERROR) { in DisableBt() 118 if (error != BT_NO_ERROR) { in SatelliteControl() 176 CHECK_AND_RETURN_LOG_RET(ret == BT_NO_ERROR, BT_ERR_IPC_TRANS_FAILED, "error: %{public}d", ret); in BluetoothFactoryReset() 213 CHECK_AND_RETURN_LOG_RET((error == BT_NO_ERROR), BT_ERR_IPC_TRANS_FAILED, "error: %{public}d", error); in GetLocalAddress() 216 if (exception == BT_NO_ERROR) { in GetLocalAddress() 232 if (error != BT_NO_ERROR) { in DisableBle() 250 if (error != BT_NO_ERROR) { in EnableBle() 347 if (error != BT_NO_ERROR) { in GetBtConnectionState() 352 if (exception == BT_NO_ERROR) { in GetBtConnectionState() 372 if (error != BT_NO_ERROR) { in GetBtProfileConnState() [all...] |
H A D | bluetooth_opp_observer_stub.cpp | 67 return BT_NO_ERROR; in OnReceiveIncomingFileChangedInner() 78 return BT_NO_ERROR; in OnTransferStateChangedInner()
|
H A D | bluetooth_socket_observer_stub.cpp | 33 int32_t errcode = BT_NO_ERROR;
in OnRemoteRequest() 73 return BT_NO_ERROR;
in OnConnectionStateChangedInner()
|
H A D | bluetooth_ble_central_manager_proxy.cpp | 377 return BT_NO_ERROR; in WriteScanParcelData() 402 return BT_NO_ERROR; in WriteAdvertiserParcelData() 427 return BT_NO_ERROR; in WriteActiveDeviceInfoParcelData() 442 if (ret != BT_NO_ERROR) { in SetLpDeviceParam() 446 if (ret != BT_NO_ERROR) { in SetLpDeviceParam() 450 if (ret != BT_NO_ERROR) { in SetLpDeviceParam()
|
H A D | bluetooth_a2dp_src_observer_stub.cpp | 113 return BT_NO_ERROR; in OnMediaStackChangedInner() 124 return BT_NO_ERROR; in OnVirtualDeviceChangedInner()
|
/foundation/communication/bluetooth/frameworks/inner/c_adapter/ |
H A D | ohos_bt_gap.cpp | 288 if (ret == BT_NO_ERROR) { in EnableBle() 308 if (ret == BT_NO_ERROR) { in DisableBle() 331 if (ret == BT_NO_ERROR) { in EnableBt() 354 if (ret == BT_NO_ERROR) { in DisableBt() 397 if (err != BT_NO_ERROR) { in GetLocalAddr() 421 if (ret == BT_NO_ERROR) { in SetLocalName() 436 if (ret == BT_NO_ERROR) { in SetBtScanMode() 479 if (ret == BT_NO_ERROR) { in SetDevicePairingConfirmation() 514 if (ret == BT_NO_ERROR) { in SetFastScan()
|
H A D | ohos_bt_gatt.cpp | 393 if (ret != BT_NO_ERROR) { in BleStopAdv() 661 if (ret != BT_NO_ERROR) { in BleStartAdvWithAddr() 727 if (ret != BT_NO_ERROR) { in BleStartAdvEx() 763 if (ret != BT_NO_ERROR) { in BleEnableAdvEx() 794 if (ret != BT_NO_ERROR) { in BleDisableAdvEx() 1026 if (ret != BT_NO_ERROR) { in SetLpDeviceAdvParam() 1051 if (ret != BT_NO_ERROR) { in SetScanReportChannelToLpDevice() 1075 if (ret != BT_NO_ERROR) { in EnableSyncDataToLpDevice() 1099 if (ret != BT_NO_ERROR) { in DisableSyncDataToLpDevice() 1160 if (ret != BT_NO_ERROR) { in SendParamsToLpDevice() [all...] |
/foundation/communication/bluetooth/interfaces/inner_api/include/ |
H A D | bluetooth_errorcode.h | 32 BT_NO_ERROR = 0, enumerator 68 NO_ERROR = BT_NO_ERROR,
|
/foundation/communication/bluetooth/frameworks/inner/src/ |
H A D | bluetooth_switch_module.cpp | 87 return BT_NO_ERROR; in ProcessBluetoothSwitchAction() 103 if (ret != BT_NO_ERROR) { in ProcessBluetoothSwitchAction() 174 return BT_NO_ERROR; 188 return BT_NO_ERROR;
|
H A D | bluetooth_remote_device.cpp | 164 CHECK_AND_RETURN_LOG_RET(ret == BT_NO_ERROR, ret, "GetRemoteDeviceBatteryInfo fail"); in GetRemoteDeviceBatteryInfo() 213 return BT_NO_ERROR; in CancelPairing() 265 if (exception == BT_NO_ERROR && info != nullptr) { in GetDeviceProductId() 373 if (exception == BT_NO_ERROR && info != nullptr) { in GetDeviceCustomType() 388 if (exception == BT_NO_ERROR && info != nullptr) { in GetDeviceVendorId() 403 if (exception == BT_NO_ERROR && info != nullptr) { in GetDeviceProductId()
|
/foundation/communication/bluetooth/frameworks/js/napi/src/access/ |
H A D | napi_bluetooth_access.cpp | 69 NAPI_BT_ASSERT_RETURN_FALSE(env, ret == BT_NO_ERROR, ret); in EnableBluetooth() 78 NAPI_BT_ASSERT_RETURN_FALSE(env, ret == BT_NO_ERROR, ret); in RestrictBluetooth() 87 NAPI_BT_ASSERT_RETURN_FALSE(env, ret == BT_NO_ERROR, ret); in DisableBluetooth() 204 NAPI_BT_ASSERT_RETURN(env, err == BT_NO_ERROR, err, result); in GetLocalAddress()
|
H A D | napi_bluetooth_access_observer.cpp | 49 if (ret != BT_NO_ERROR) { in EnableBt() 59 if (ret != BT_NO_ERROR) { in DisableBle()
|
/foundation/communication/bluetooth/frameworks/js/napi/src/connection/ |
H A D | napi_bluetooth_connection.cpp | 183 NAPI_BT_ASSERT_RETURN(env, err == BT_NO_ERROR, err, result); in GetBtConnectionState() 196 NAPI_BT_ASSERT_RETURN_FALSE(env, ret == BT_NO_ERROR, ret); in PairDevice() 210 NAPI_BT_ASSERT_RETURN_FALSE(env, ret == BT_NO_ERROR, ret); in CancelPairedDevice() 228 NAPI_BT_ASSERT_RETURN(env, err == BT_NO_ERROR, err, result); in GetRemoteDeviceName() 255 NAPI_BT_ASSERT_RETURN(env, err == BT_NO_ERROR, err, result); in GetRemoteDeviceClass() 267 NAPI_BT_ASSERT_RETURN(env, err == BT_NO_ERROR, err, result); in GetLocalName() 287 NAPI_BT_ASSERT_RETURN(env, ret == BT_NO_ERROR, ret, result); in GetPairedDevices() 305 NAPI_BT_ASSERT_RETURN(env, err == BT_NO_ERROR, err, ret); in GetProfileConnectionState() 337 int32_t ret = BT_NO_ERROR; in SetDevicePairingConfirmation() 343 NAPI_BT_ASSERT_RETURN_FALSE(env, ret == BT_NO_ERROR, re in SetDevicePairingConfirmation() [all...] |
/foundation/communication/bluetooth/frameworks/js/napi/src/pan/ |
H A D | napi_bluetooth_pan.cpp | 149 NAPI_BT_ASSERT_RETURN(env, errorCode == BT_NO_ERROR, errorCode, ret); in GetConnectionDevices() 177 NAPI_BT_ASSERT_RETURN(env, errorCode == BT_NO_ERROR, errorCode, result); in GetDeviceState() 203 NAPI_BT_ASSERT_RETURN(env, errorCode == BT_NO_ERROR, errorCode, ret); in GetConnectedDevices() 231 NAPI_BT_ASSERT_RETURN(env, errorCode == BT_NO_ERROR, errorCode, result); in GetConnectionState() 252 NAPI_BT_ASSERT_RETURN_FALSE(env, errorCode == BT_NO_ERROR, errorCode); in Disconnect() 277 NAPI_BT_ASSERT_RETURN_UNDEF(env, errorCode == BT_NO_ERROR, errorCode); in SetTethering() 292 NAPI_BT_ASSERT_RETURN_FALSE(env, errorCode == BT_NO_ERROR, errorCode); in IsTetheringOn()
|
/foundation/communication/bluetooth/frameworks/js/napi/src/hid/ |
H A D | napi_bluetooth_hid_host.cpp | 135 NAPI_BT_ASSERT_RETURN(env, errorCode == BT_NO_ERROR, errorCode, ret); in GetConnectionDevices() 161 NAPI_BT_ASSERT_RETURN(env, errorCode == BT_NO_ERROR, errorCode, result); in GetDeviceState() 181 NAPI_BT_ASSERT_RETURN_FALSE(env, errorCode == BT_NO_ERROR, errorCode); in Connect() 196 NAPI_BT_ASSERT_RETURN_FALSE(env, errorCode == BT_NO_ERROR, errorCode); in Disconnect()
|
/foundation/communication/bluetooth/frameworks/js/napi/src/ble/ |
H A D | napi_bluetooth_gatt_server.cpp | 176 NAPI_BT_ASSERT_RETURN_FALSE(env, ret == BT_NO_ERROR, ret); in AddService() 201 NAPI_BT_ASSERT_RETURN_UNDEF(env, ret == BT_NO_ERROR, ret); in Close() 236 NAPI_BT_ASSERT_RETURN_FALSE(env, ret == BT_NO_ERROR, ret); in RemoveGattService() 241 NAPI_BT_ASSERT_RETURN_FALSE(env, ret == BT_NO_ERROR, ret); in RemoveGattService() 244 return NapiGetBooleanRet(env, ret == BT_NO_ERROR); in RemoveGattService() 278 NAPI_BT_ASSERT_RETURN_FALSE(env, ret == BT_NO_ERROR, ret); in SendResponse() 390 NAPI_BT_ASSERT_RETURN_FALSE(env, ret == BT_NO_ERROR, ret); in NotifyCharacteristicChanged()
|
/foundation/communication/bluetooth/frameworks/js/napi/src/common/ |
H A D | napi_timer.cpp | 58 return BT_NO_ERROR; in Register()
|
/foundation/communication/bluetooth/frameworks/inner/ipc/interface/ |
H A D | bluetooth_service_profile_interface_code.h | 290 if (ret != BT_NO_ERROR) { \ 304 if (ret != BT_NO_ERROR) { \
|