/foundation/communication/bluetooth/frameworks/js/napi/src/pan/ |
H A D | napi_bluetooth_pan.cpp | 163 int32_t profileState = ProfileConnectionState::STATE_DISCONNECTED; in GetDeviceState() local 164 if (napi_create_int32(env, profileState, &result) != napi_ok) { in GetDeviceState() 179 profileState = GetProfileConnectionState(state); in GetDeviceState() 180 if (napi_create_int32(env, profileState, &result) != napi_ok) { in GetDeviceState() 183 HILOGI("profileState: %{public}d", profileState); in GetDeviceState() 217 int32_t profileState = ProfileConnectionState::STATE_DISCONNECTED; in GetConnectionState() local 218 if (napi_create_int32(env, profileState, &result) != napi_ok) { in GetConnectionState() 233 profileState = GetProfileConnectionState(state); in GetConnectionState() 234 if (napi_create_int32(env, profileState, in GetConnectionState() [all...] |
/foundation/communication/bluetooth/frameworks/js/napi/src/constant/ |
H A D | napi_bluetooth_constant.cpp | 117 napi_value profileState = nullptr; in ProfileStateInit() local 118 napi_create_object(env, &profileState); in ProfileStateInit() 119 SetNamedPropertyByInteger(env, profileState, ProfileConnectionState::STATE_DISCONNECTED, "STATE_DISCONNECTED"); in ProfileStateInit() 120 SetNamedPropertyByInteger(env, profileState, ProfileConnectionState::STATE_CONNECTING, "STATE_CONNECTING"); in ProfileStateInit() 121 SetNamedPropertyByInteger(env, profileState, ProfileConnectionState::STATE_CONNECTED, "STATE_CONNECTED"); in ProfileStateInit() 122 SetNamedPropertyByInteger(env, profileState, ProfileConnectionState::STATE_DISCONNECTING, "STATE_DISCONNECTING"); in ProfileStateInit() 123 return profileState; in ProfileStateInit()
|
/foundation/communication/bluetooth/frameworks/js/napi/src/hid/ |
H A D | napi_bluetooth_hid_host.cpp | 148 int32_t profileState = ProfileConnectionState::STATE_DISCONNECTED; in GetDeviceState() local 149 if (napi_create_int32(env, profileState, &result) != napi_ok) { in GetDeviceState() 163 profileState = GetProfileConnectionState(state); in GetDeviceState() 164 if (napi_create_int32(env, profileState, &result) != napi_ok) { in GetDeviceState()
|
/foundation/communication/bluetooth/frameworks/js/napi/src/hfp/ |
H A D | napi_bluetooth_hfp_ag.cpp | 151 int32_t profileState = ProfileConnectionState::STATE_DISCONNECTED; in GetDeviceState() local 152 if (napi_create_int32(env, profileState, &result) != napi_ok) { in GetDeviceState() 166 profileState = GetProfileConnectionState(state); in GetDeviceState() 167 if (napi_create_int32(env, profileState, &result) != napi_ok) { in GetDeviceState()
|
/foundation/communication/bluetooth/frameworks/js/napi/src/common/ |
H A D | napi_bluetooth_utils.cpp | 215 napi_value profileState = nullptr; in ConvertStateChangeParamToJS() local 216 napi_create_int32(env, GetProfileConnectionState(state), &profileState); in ConvertStateChangeParamToJS() 217 napi_set_named_property(env, result, "state", profileState); in ConvertStateChangeParamToJS() 230 napi_value profileState = nullptr; in ConvertScoStateChangeParamToJS() local 231 napi_create_int32(env, GetScoConnectionState(state), &profileState); in ConvertScoStateChangeParamToJS() 232 napi_set_named_property(env, result, "state", profileState); in ConvertScoStateChangeParamToJS()
|
/foundation/communication/bluetooth/frameworks/js/napi/src/opp/ |
H A D | napi_bluetooth_opp.cpp | 247 int32_t profileState = GetProfileConnectionState(state);
in GetDeviceState() local 248 napi_create_int32(env, profileState, &result);
in GetDeviceState()
|
/foundation/communication/bluetooth/frameworks/js/napi/src/map/ |
H A D | napi_bluetooth_map_mse.cpp | 142 int32_t profileState = GetProfileConnectionState(state);
in GetConnectionState() local 143 napi_create_int32(env, profileState, &result);
in GetConnectionState()
|
/foundation/communication/bluetooth/frameworks/js/napi/src/pbap/ |
H A D | napi_bluetooth_pbap_pse.cpp | 175 int32_t profileState = GetProfileConnectionState(state);
in GetConnectionState() local 176 napi_create_int32(env, profileState, &result);
in GetConnectionState()
|
/foundation/communication/bluetooth/frameworks/js/napi/src/a2dp/ |
H A D | napi_bluetooth_a2dp_src.cpp | 368 int32_t profileState = ProfileConnectionState::STATE_DISCONNECTED; in GetDeviceState() local 369 if (napi_create_int32(env, profileState, &ret) != napi_ok) { in GetDeviceState()
|