Home
last modified time | relevance | path

Searched refs:profileState (Results 1 - 9 of 9) sorted by relevance

/foundation/communication/bluetooth/frameworks/js/napi/src/pan/
H A Dnapi_bluetooth_pan.cpp163 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 Dnapi_bluetooth_constant.cpp117 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 Dnapi_bluetooth_hid_host.cpp148 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 Dnapi_bluetooth_hfp_ag.cpp151 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 Dnapi_bluetooth_utils.cpp215 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 Dnapi_bluetooth_opp.cpp247 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 Dnapi_bluetooth_map_mse.cpp142 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 Dnapi_bluetooth_pbap_pse.cpp175 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 Dnapi_bluetooth_a2dp_src.cpp368 int32_t profileState = ProfileConnectionState::STATE_DISCONNECTED; in GetDeviceState() local
369 if (napi_create_int32(env, profileState, &ret) != napi_ok) { in GetDeviceState()

Completed in 8 milliseconds