Home
last modified time | relevance | path

Searched refs:NAPI_BT_ASSERT_RETURN (Results 1 - 11 of 11) sorted by relevance

/foundation/communication/bluetooth/frameworks/js/napi/include/
H A Dnapi_bluetooth_error.h28 #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 Dnapi_bluetooth_pan.cpp142 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 Dnapi_bluetooth_opp.cpp179 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 Dnapi_bluetooth_hid_host.cpp128 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 Dnapi_bluetooth_connection.cpp183 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 Dnapi_bluetooth_map_mse.cpp109 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 Dnapi_bluetooth_hfp_ag.cpp131 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 Dnapi_bluetooth_pbap_pse.cpp142 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 Dnapi_bluetooth_a2dp_src.cpp188 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 Dnapi_bluetooth_access.cpp204 NAPI_BT_ASSERT_RETURN(env, err == BT_NO_ERROR, err, result); in GetLocalAddress()
/foundation/communication/bluetooth/frameworks/js/napi/src/ble/
H A Dnapi_bluetooth_ble.cpp1045 NAPI_BT_ASSERT_RETURN(env, status == napi_ok, BT_ERR_INTERNAL_ERROR, result); in GetConnectedBLEDevices()

Completed in 9 milliseconds