Home
last modified time | relevance | path

Searched refs:napi_get_reference_value (Results 1 – 25 of 129) sorted by relevance

123456

/base/telephony/call_manager/frameworks/js/napi/src/
Dnapi_call_ability_callback.cpp417 napi_get_reference_value(env, stateCallback.callbackRef, &callbackFunc); in ReportCallState()
423 napi_get_reference_value(env, stateCallback.thisVar, &thisVar); in ReportCallState()
482 napi_get_reference_value(env, eventCallback.callbackRef, &callbackFunc); in ReportCallEvent()
488 napi_get_reference_value(env, eventCallback.thisVar, &thisVar); in ReportCallEvent()
550 napi_get_reference_value(env, eventCallback.callbackRef, &callbackFunc); in ReportDisconnectedCause()
556 napi_get_reference_value(env, eventCallback.thisVar, &thisVar); in ReportDisconnectedCause()
632 napi_get_reference_value(env, eventCallback.callbackRef, &callbackFunc); in ReportMmiCode()
638 napi_get_reference_value(env, eventCallback.thisVar, &thisVar); in ReportMmiCode()
890 napi_get_reference_value(env, supplementInfo.callbackRef, &callbackFunc); in ReportWaitAndLimitInfo()
892 napi_get_reference_value(env, supplementInfo.thisVar, &thisVar); in ReportWaitAndLimitInfo()
[all …]
/base/hiviewdfx/hisysevent/interfaces/js/kits/napi/src/
Dnapi_hisysevent_listener.cpp60 napi_status status = napi_get_reference_value(env, ref, &listener); in OnEvent()
81 napi_status status = napi_get_reference_value(env, ref, &listener); in OnServiceDied()
Dnapi_hisysevent_querier.cpp62 napi_get_reference_value(env, ref, &querier); in OnQuery()
88 napi_get_reference_value(env, ref, &querier); in OnComplete()
/base/powermgr/power_manager/frameworks/napi/utils/
Dasync_callback_info.cpp27 if (napi_ok != napi_get_reference_value(env, callbackRef_, &callback)) { in CallFunction()
93 napi_status status = napi_get_reference_value(env, napiRunningLockIns_, &cons); in CreateInstanceForRunningLock()
/base/telephony/sms_mms/frameworks/js/napi/src/
Dsend_callback.cpp78 napi_get_reference_value(env_, callbackRef_, &callbackFunc); in CompleteSmsSendWork()
87 napi_get_reference_value(env_, thisVarRef_, &thisVar); in CompleteSmsSendWork()
Ddelivery_callback.cpp60 napi_get_reference_value(env_, callbackRef_, &callbackFunc); in CompleteSmsDeliveryWork()
82 napi_get_reference_value(env_, thisVarRef_, &thisVar); in CompleteSmsDeliveryWork()
/base/update/updateservice/frameworks/js/napi/client/
Dupdate_session.cpp164 napi_status retStatus = napi_get_reference_value(env, callbackRef_[0], &callback); in NotifyJS()
282 napi_status status = napi_get_reference_value(env, handlerRef_, &handler); in NotifyJS()
299 napi_status status = napi_get_reference_value(env, handlerRef_, &handler); in NotifyJS()
314 napi_status status = napi_get_reference_value(env, handlerRef_, &handlerTemp); in CheckEqual()
329 napi_status status = napi_get_reference_value(env, handlerRef_, &currentHandler); in IsSameListener()
/base/telephony/core_service/frameworks/js/network_search/src/
Dnapi_ims_reg_info_callback_manager.cpp140 napi_get_reference_value(env, stateCallback.thisVar, &thisVar); in ReportImsRegInfo()
142 napi_get_reference_value(env, stateCallback.callbackRef, &callbackFunc); in ReportImsRegInfo()
/base/web/webview/interfaces/kits/napi/webfunction/
Dwebview_web_inited_callback.cpp56 napi_get_reference_value(data->env_, data->webInitedCallback_, &jsWebInitedCallback); in RunInitedCallback()
/base/hiviewdfx/hilog/interfaces/js/kits/napi/src/common/napi/
Dn_class.cpp47 napi_status status = napi_get_reference_value(env, it->second, &cons); in InstantiateClass()
/base/msdp/device_status/frameworks/js/napi/src/
Ddevicestatus_event.cpp101 napi_status status = napi_get_reference_value(env_, listener->onHandlerRef, &result); in Off()
138 napi_get_reference_value(env_, listener->onHandlerRef, &result); in OffOnce()
166 status = napi_get_reference_value(env_, typeHandler->onHandlerRef, &handler); in CheckRet()
/base/request/request/upload/interfaces/kits/napi/src/
Dupload_task_napiV5.cpp126 napi_get_reference_value(successCallback->env, successCallback->ref, &callback); in OnSystemSuccess()
157 napi_get_reference_value(failCallback->env, failCallback->ref, &callback); in OnSystemFail()
183 napi_get_reference_value(completeCallback->env, completeCallback->ref, &callback); in OnSystemComplete()
/base/powermgr/display_manager/frameworks/napi/
Dbrightness.cpp111 napi_get_reference_value(env_, napiValRef_, &napiVal); in SystemSetValue()
134 napi_get_reference_value(env_, napiValRef_, &napiMode); in SetMode()
151 napi_get_reference_value(env_, napiValRef_, &napiKeep); in SetKeepScreenOn()
380 napi_get_reference_value(env_, callbackRef, &callback); in CallFunction()
/base/powermgr/battery_manager/frameworks/js/napi/
Dsystem_battery.cpp126 napi_get_reference_value(env, successRef_, &success); in SuccessCallback()
151 napi_get_reference_value(env, failRef_, &fail); in FailCallback()
179 napi_get_reference_value(env, completeRef_, &complete); in CompleteCallback()
/base/customization/enterprise_device_management/interfaces/kits/common/src/
Dnapi_edm_common.cpp144 napi_get_reference_value(env, asyncCallbackInfo->callback, &callback); in NativeVoidCallbackComplete()
203 napi_get_reference_value(env, asyncCallbackInfo->callback, &callback); in NativeBoolCallbackComplete()
244 napi_get_reference_value(env, asyncCallbackInfo->callback, &callback); in NativeStringCallbackComplete()
/base/sensors/miscdevice/interfaces/plugin/vibrator/src/
Dvibrator_napi_utils.cpp146 …NAPI_CALL_RETURN_VOID(env, napi_get_reference_value(env, asyncCallbackInfo->callback[0], &callback… in EmitSystemCallback()
155 …NAPI_CALL_RETURN_VOID(env, napi_get_reference_value(env, asyncCallbackInfo->callback[1], &callback… in EmitSystemCallback()
193 … napi_status ret = napi_get_reference_value(env, asyncCallbackInfo->callback[0], &callback); in EmitAsyncCallbackWork()
/base/sensors/medical_sensor/interfaces/plugin/src/
Dmedical_napi_utils.cpp104 napi_get_reference_value(env, asyncCallbackInfo->callback[0], &callback); in EmitAsyncCallbackWork()
150 napi_get_reference_value(env, asyncCallbackInfo->callback[0], &callback); in EmitUvEventLoop()
/base/security/crypto_framework/frameworks/js/napi/crypto/src/
Dnapi_sym_key.cpp63 NAPI_CALL(env, napi_get_reference_value(env, classRef_, &constructor)); in CreateSymKey()
Dnapi_key_pair.cpp56 napi_get_reference_value(env, classRef_, &constructor); in ConvertToJsKeyPair()
Dnapi_pub_key.cpp53 napi_get_reference_value(env, classRef_, &constructor); in ConvertToJsPubKey()
/base/startup/init/interfaces/kits/jskits/src/
Dnative_parameters_watch.cpp129 … napi_status status = napi_get_reference_value(env, asyncContext->callbackRef, &callbackRef); in WaitCallbackWork()
265 napi_get_reference_value(env, callbackRef, &handler); in DelCallback()
287 napi_get_reference_value(env, callbackRef, &handler); in CheckCallbackEqual()
338 int status = napi_get_reference_value(env, g_paramWatchRef, &constructor); in GetWatcher()
389 napi_status status = napi_get_reference_value(watcher->env, callbackRef, &callbackFunc); in NotifyValueChange()
420 status = napi_get_reference_value(watcher->env, watcher->thisVarRef, &thisVar); in HandleParameterChange()
/base/startup/syspara_lite/interfaces/kits/js/src/
Dnative_parameters_watch.cpp124 … napi_status status = napi_get_reference_value(env, asyncContext->callbackRef, &callbackRef); in WaitCallbackWork()
261 napi_get_reference_value(env, callbackRef, &handler); in DelCallback()
283 napi_get_reference_value(env, callbackRef, &handler); in CheckCallbackEqual()
334 int status = napi_get_reference_value(env, g_paramWatchRef, &constructor); in GetWatcher()
385 napi_status status = napi_get_reference_value(watcher->env, callbackRef, &callbackFunc); in NotifyValueChange()
420 status = napi_get_reference_value(watcher->env, watcher->thisVarRef, &thisVar); in ProcessParamChange()
/base/powermgr/battery_statistics/frameworks/js/napi/src/
Dasync_callback_info.cpp27 if (napi_ok != napi_get_reference_value(env, callbackRef_, &callback)) { in CallFunction()
/base/powermgr/power_manager/frameworks/napi/runninglock/
Drunninglock_interface.cpp213 callBackStatus = napi_get_reference_value(env, asyncInfo->napiRunningLockIns, &cons); in CreateInstanceForRunningLock()
261 napi_get_reference_value(env, asyncInfo->callbackRef, &callback); in CreateRunningLockCallBack()
298 napi_get_reference_value(env, asyncInfo->callbackRef, &callback); in IsRunningLockTypeSupportedCallBack()
/base/theme/screenlock_mgr/interfaces/kits/napi/src/
Dscreenlock_system_ability_callback.cpp55napi_get_reference_value(screenlockOnCallBackPtr->env, screenlockOnCallBackPtr->callbackref, &call… in __anonde5bc0f60102()

123456