/foundation/communication/bluetooth/frameworks/js/napi/include/ |
H A D | napi_bluetooth_error.h | 28 #ifndef NAPI_BT_ASSERT_RETURN 29 #define NAPI_BT_ASSERT_RETURN(env, cond, errCode, retObj) \ macro 39 #ifndef NAPI_BT_ASSERT_RETURN 40 #define NAPI_BT_ASSERT_RETURN(env, cond, errCode, retObj) \ 54 NAPI_BT_ASSERT_RETURN((env), (cond), (errCode), res); \ 61 NAPI_BT_ASSERT_RETURN((env), (cond), (errCode), res); \
|
/foundation/communication/bluetooth/frameworks/js/napi/src/pan/ |
H A D | napi_bluetooth_pan.cpp | 142 NAPI_BT_ASSERT_RETURN(env, checkRet == napi_ok, BT_ERR_INVALID_PARAM, ret); in GetConnectionDevices() 149 NAPI_BT_ASSERT_RETURN(env, errorCode == BT_NO_ERROR, errorCode, ret); in GetConnectionDevices() 170 NAPI_BT_ASSERT_RETURN(env, checkRet, BT_ERR_INVALID_PARAM, result); in GetDeviceState() 177 NAPI_BT_ASSERT_RETURN(env, errorCode == BT_NO_ERROR, errorCode, result); in GetDeviceState() 196 NAPI_BT_ASSERT_RETURN(env, checkRet == napi_ok, BT_ERR_INVALID_PARAM, ret); in GetConnectedDevices() 203 NAPI_BT_ASSERT_RETURN(env, errorCode == BT_NO_ERROR, errorCode, ret); in GetConnectedDevices() 224 NAPI_BT_ASSERT_RETURN(env, checkRet, BT_ERR_INVALID_PARAM, result); in GetConnectionState() 231 NAPI_BT_ASSERT_RETURN(env, errorCode == BT_NO_ERROR, errorCode, result); in GetConnectionState()
|
/foundation/communication/bluetooth/frameworks/js/napi/src/opp/ |
H A D | napi_bluetooth_opp.cpp | 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() 221 NAPI_BT_ASSERT_RETURN(env, errorCode == BT_NO_ERROR, errorCode, ret);
in GetConnectionDevices() 228 NAPI_BT_ASSERT_RETURN(env, status == napi_ok, BT_ERR_INTERNAL_ERROR, ret);
in GetConnectionDevices()
|
/foundation/communication/bluetooth/frameworks/js/napi/src/hid/ |
H A D | napi_bluetooth_hid_host.cpp | 128 NAPI_BT_ASSERT_RETURN(env, checkRet == napi_ok, BT_ERR_INVALID_PARAM, ret); in GetConnectionDevices() 135 NAPI_BT_ASSERT_RETURN(env, errorCode == BT_NO_ERROR, errorCode, ret); in GetConnectionDevices() 155 NAPI_BT_ASSERT_RETURN(env, checkRet, BT_ERR_INVALID_PARAM, result); in GetDeviceState() 161 NAPI_BT_ASSERT_RETURN(env, errorCode == BT_NO_ERROR, errorCode, result); in GetDeviceState()
|
/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() 223 NAPI_BT_ASSERT_RETURN(env, checkRet == true, BT_ERR_INVALID_PARAM, result); in GetRemoteDeviceName() 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() 384 NAPI_BT_ASSERT_RETURN(env, err == BT_NO_ERROR, err, result); in GetBluetoothScanMode() 598 NAPI_BT_ASSERT_RETURN(env, napi_get_boolean(env, isDiscovering, &result) == napi_ok, err, result); in IsBluetoothDiscovering() 599 NAPI_BT_ASSERT_RETURN(en in IsBluetoothDiscovering() [all...] |
/foundation/communication/bluetooth/frameworks/js/napi/src/map/ |
H A D | napi_bluetooth_map_mse.cpp | 109 NAPI_BT_ASSERT_RETURN(env, checkRet == napi_ok, BT_ERR_INVALID_PARAM, ret);
in GetConnectedDevices() 115 NAPI_BT_ASSERT_RETURN(env, errorCode == BT_NO_ERROR, errorCode, ret);
in GetConnectedDevices() 123 NAPI_BT_ASSERT_RETURN(env, status == napi_ok, BT_ERR_INTERNAL_ERROR, ret);
in GetConnectedDevices()
|
/foundation/communication/bluetooth/frameworks/js/napi/src/hfp/ |
H A D | napi_bluetooth_hfp_ag.cpp | 131 NAPI_BT_ASSERT_RETURN(env, checkRet == napi_ok, BT_ERR_INVALID_PARAM, ret); in GetConnectionDevices() 137 NAPI_BT_ASSERT_RETURN(env, errorCode == BT_NO_ERROR, errorCode, ret); in GetConnectionDevices() 158 NAPI_BT_ASSERT_RETURN(env, checkRet, BT_ERR_INVALID_PARAM, result); in GetDeviceState() 164 NAPI_BT_ASSERT_RETURN(env, errorCode == BT_NO_ERROR, errorCode, result); in GetDeviceState()
|
/foundation/communication/bluetooth/frameworks/js/napi/src/pbap/ |
H A D | napi_bluetooth_pbap_pse.cpp | 142 NAPI_BT_ASSERT_RETURN(env, checkRet == napi_ok, BT_ERR_INVALID_PARAM, ret);
in GetConnectedDevices() 148 NAPI_BT_ASSERT_RETURN(env, errorCode == BT_NO_ERROR, errorCode, ret);
in GetConnectedDevices() 156 NAPI_BT_ASSERT_RETURN(env, status == napi_ok, BT_ERR_INTERNAL_ERROR, ret);
in GetConnectedDevices()
|
/foundation/communication/bluetooth/frameworks/js/napi/src/a2dp/ |
H A D | napi_bluetooth_a2dp_src.cpp | 188 NAPI_BT_ASSERT_RETURN(env, checkRet, BT_ERR_INVALID_PARAM, ret); in GetPlayingState() 195 NAPI_BT_ASSERT_RETURN(env, (errorCode == BT_NO_ERROR), errorCode, ret); in GetPlayingState() 332 NAPI_BT_ASSERT_RETURN(env, (errorCode == BT_NO_ERROR), errorCode, ret); in GetConnectionDevices() 375 NAPI_BT_ASSERT_RETURN(env, (errorCode == BT_NO_ERROR), errorCode, ret); in GetDeviceState() 672 NAPI_BT_ASSERT_RETURN(env, checkRet, BT_ERR_INVALID_PARAM, ret); in GetCurrentCodecInfo() 678 NAPI_BT_ASSERT_RETURN(env, (errorCode == BT_NO_ERROR), errorCode, ret); in GetCurrentCodecInfo()
|
/foundation/communication/bluetooth/frameworks/js/napi/src/access/ |
H A D | napi_bluetooth_access.cpp | 204 NAPI_BT_ASSERT_RETURN(env, err == BT_NO_ERROR, err, result); in GetLocalAddress()
|
/foundation/communication/bluetooth/frameworks/js/napi/src/ble/ |
H A D | napi_bluetooth_ble.cpp | 1045 NAPI_BT_ASSERT_RETURN(env, status == napi_ok, BT_ERR_INTERNAL_ERROR, result); in GetConnectedBLEDevices()
|