Home
last modified time | relevance | path

Searched refs:consRef_ (Results 1 - 20 of 20) sorted by relevance

/foundation/CastEngine/castengine_cast_framework/interfaces/kits/js/include/
H A Dnapi_mirror_player.h67 static thread_local napi_ref consRef_; member in OHOS::CastEngine::CastEngineClient::NapiMirrorPlayer
H A Dnapi_cast_session.h90 static thread_local napi_ref consRef_; member in OHOS::CastEngine::CastEngineClient::NapiCastSession
H A Dnapi_stream_player.h126 static thread_local napi_ref consRef_; member in OHOS::CastEngine::CastEngineClient::NapiStreamPlayer
/foundation/communication/bluetooth/frameworks/js/napi/include/
H A Dnapi_bluetooth_pan.h44 static thread_local napi_ref consRef_; member in OHOS::Bluetooth::NapiBluetoothPan
H A Dnapi_bluetooth_hid_host.h45 static thread_local napi_ref consRef_; member in OHOS::Bluetooth::NapiBluetoothHidHost
H A Dnapi_bluetooth_gatt_server.h67 static thread_local napi_ref consRef_; member in OHOS::Bluetooth::NapiGattServer
H A Dnapi_bluetooth_hfp_ag.h53 static thread_local napi_ref consRef_; member in OHOS::Bluetooth::NapiHandsFreeAudioGateway
H A Dnapi_bluetooth_gatt_client.h88 static thread_local napi_ref consRef_; member in OHOS::Bluetooth::NapiGattClient
/foundation/communication/bluetooth/frameworks/js/napi/src/hid/
H A Dnapi_bluetooth_hid_host.cpp33 thread_local napi_ref NapiBluetoothHidHost::consRef_ = nullptr; member in OHOS::Bluetooth::NapiBluetoothHidHost
58 napi_create_reference(env, constructor, 1, &consRef_); in DefineHidHostJSClass()
83 napi_get_reference_value(env, consRef_, &constructor); in CreateHidHostProfile()
/foundation/CastEngine/castengine_cast_framework/interfaces/kits/js/src/
H A Dnapi_mirror_player.cpp38 thread_local napi_ref NapiMirrorPlayer::consRef_ = nullptr; member in OHOS::CastEngine::CastEngineClient::NapiMirrorPlayer
59 status = napi_create_reference(env, mirrorPlayer, initialRefCount, &consRef_); in DefineMirrorPlayerJSClass()
79 if (consRef_ == nullptr || player == nullptr) { in CreateNapiMirrorPlayer()
83 napi_status status = napi_get_reference_value(env, consRef_, &constructor); in CreateNapiMirrorPlayer()
H A Dnapi_cast_session.cpp42 thread_local napi_ref NapiCastSession::consRef_ = nullptr; member in OHOS::CastEngine::CastEngineClient::NapiCastSession
74 status = napi_create_reference(env, castSession, initialRefCount, &consRef_); in DefineCastSessionJSClass()
94 if (consRef_ == nullptr || session == nullptr) { in CreateNapiCastSession()
98 napi_status status = napi_get_reference_value(env, consRef_, &constructor); in CreateNapiCastSession()
H A Dnapi_stream_player.cpp35 thread_local napi_ref NapiStreamPlayer::consRef_ = nullptr; member in OHOS::CastEngine::CastEngineClient::NapiStreamPlayer
93 status = napi_create_reference(env, constructor, initialRefCount, &consRef_); in DefineStreamPlayerJSClass()
114 if (consRef_ == nullptr || player == nullptr) { in CreateNapiStreamPlayer()
118 napi_status status = napi_get_reference_value(env, consRef_, &constructor); in CreateNapiStreamPlayer()
/foundation/communication/bluetooth/frameworks/js/napi/src/hfp/
H A Dnapi_bluetooth_hfp_ag.cpp33 thread_local napi_ref NapiHandsFreeAudioGateway::consRef_ = nullptr; member in OHOS::Bluetooth::NapiHandsFreeAudioGateway
64 napi_create_reference(env, constructor, 1, &consRef_); in DefineHandsFreeAudioGatewayJSClass()
87 napi_get_reference_value(env, consRef_, &constructor); in CreateHfpAgProfile()
/foundation/communication/bluetooth/frameworks/js/napi/src/pan/
H A Dnapi_bluetooth_pan.cpp30 thread_local napi_ref NapiBluetoothPan::consRef_ = nullptr; member in OHOS::Bluetooth::NapiBluetoothPan
37 napi_get_reference_value(env, consRef_, &constructor); in CreatePanProfile()
72 napi_create_reference(env, constructor, 1, &consRef_); in DefinePanJSClass()
/foundation/communication/bluetooth/frameworks/js/napi/src/ble/
H A Dnapi_bluetooth_gatt_server.cpp33 thread_local napi_ref NapiGattServer::consRef_ = nullptr; member in OHOS::Bluetooth::NapiGattServer
40 napi_get_reference_value(env, consRef_, &constructor); in CreateGattServer()
67 napi_create_reference(env, constructor, 1, &consRef_); in DefineGattServerJSClass()
H A Dnapi_bluetooth_gatt_client.cpp34 thread_local napi_ref NapiGattClient::consRef_ = nullptr;
56 NAPI_BT_CALL_RETURN(napi_get_reference_value(env, NapiGattClient::consRef_, &constructor)); in CheckCreateGattClientDeviceParams()
99 napi_create_reference(env, constructor, 1, &consRef_); in DefineGattClientJSClass()
/foundation/barrierfree/accessibility/interfaces/kits/napi/accessibility_extension_module_loader/src/
H A Dnapi_accessibility_extension_context.cpp75 napi_get_reference_value(env, NAccessibilityElement::consRef_, &constructor); in ConvertAccessibilityWindowInfosToJS()
337 napi_get_reference_value(env, NAccessibilityElement::consRef_, &constructor); in GetFoucusElementCompleteTask()
417 napi_get_reference_value(env, NAccessibilityElement::consRef_, &constructor); in GetWindowRootElementCompleteTask()
H A Dnapi_accessibility_element.cpp123 napi_ref NAccessibilityElement::consRef_ = nullptr;
148 napi_create_reference(env, constructor, 1, &NAccessibilityElement::consRef_); in DefineJSAccessibilityElement()
194 napi_get_reference_value(env, NAccessibilityElement::consRef_, &constructor); in ConvertElementInfosToJS()
915 NAccessibilityElement::consRef_, &constructor)); in GetElementInfoParent()
1483 NAccessibilityElement::consRef_, &constructor)); in GetWindowInfoRootElement()
2167 napi_get_reference_value(env, NAccessibilityElement::consRef_, &constructor); in GetElement()
2175 napi_get_reference_value(env, NAccessibilityElement::consRef_, &constructor); in GetElement()
2183 napi_get_reference_value(env, NAccessibilityElement::consRef_, &constructor); in GetElement()
H A Dnapi_accessibility_extension.cpp335 napi_get_reference_value(env, NAccessibilityElement::consRef_, &constructor); in ConvertAccessibilityElementToJS()
/foundation/barrierfree/accessibility/interfaces/kits/napi/accessibility_extension_module_loader/include/
H A Dnapi_accessibility_element.h155 static napi_ref consRef_; member in NAccessibilityElement

Completed in 17 milliseconds