Home
last modified time | relevance | path

Searched refs:jsMethod (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/ability/ability_runtime/frameworks/js/napi/inner/napi_ability_common/
H A Djs_napi_common_ability.h162 napi_value jsMethod = nullptr; in ConnectionCallback() local
163 napi_get_named_property(env, cbInfo, "onConnect", &jsMethod); in ConnectionCallback()
164 napi_create_reference(env, jsMethod, 1, &connectCallbackRef); in ConnectionCallback()
165 napi_get_named_property(env, cbInfo, "onDisconnect", &jsMethod); in ConnectionCallback()
166 napi_create_reference(env, jsMethod, 1, &disconnectCallbackRef); in ConnectionCallback()
167 napi_get_named_property(env, cbInfo, "onFailed", &jsMethod); in ConnectionCallback()
168 napi_create_reference(env, jsMethod, 1, &failedCallbackRef); in ConnectionCallback()
/ohos5.0/base/print/print_fwk/frameworks/kits/extension/include/
H A Djs_print_callback.h48 napi_value jsMethod; member
59 jsMethod = nullptr; in JsWorkParam()
/ohos5.0/foundation/ability/ability_runtime/frameworks/js/napi/mission_manager/
H A Ddistributed_mission_manager.cpp579 napi_value jsMethod = nullptr; in SetCallbackReference() local
581 if (jsMethod == nullptr) { in SetCallbackReference()
587 napi_typeof(env, jsMethod, &valuetype); in SetCallbackReference()
595 if (jsMethod == nullptr) { in SetCallbackReference()
600 napi_typeof(env, jsMethod, &valuetype); in SetCallbackReference()
608 if (jsMethod == nullptr) { in SetCallbackReference()
613 napi_typeof(env, jsMethod, &valuetype); in SetCallbackReference()
650 napi_typeof(env, jsMethod, &valuetype); in CreateOnCallbackReference()
1895 napi_value jsMethod = nullptr; in CheckContinueCallback() local
1911 if (jsMethod == nullptr) { in CheckContinueCallback()
[all …]
/ohos5.0/base/print/print_fwk/frameworks/kits/extension/src/
H A Djs_print_callback.cpp99 jsParam_.jsMethod = method; in BuildJsWorker()
159 … jsWorkParam->jsMethod, jsWorkParam->argc, jsWorkParam->argv, &(jsWorkParam->jsResult)); in UvQueueWork()