Home
last modified time | relevance | path

Searched refs:CallFunction (Results 1 – 19 of 19) sorted by relevance

/base/security/huks/frameworks/crypto_lite/js/builtin/src/
Dcipher_module.cpp47 JSI::CallFunction(fail, thisVal, argvFail, ARGC_TWO); in Rsa()
60 JSI::CallFunction(fail, thisVal, argvFail, ARGC_TWO); in Rsa()
66 JSI::CallFunction(fail, thisVal, argvFail, ARGC_TWO); in Rsa()
76 JSI::CallFunction(fail, thisVal, argvFail, ARGC_TWO); in Rsa()
80 JSI::CallFunction(success, thisVal, argvSuccess, ARGC_ONE); in Rsa()
88 JSI::CallFunction(complete, thisVal, nullptr, 0); in Rsa()
126 JSI::CallFunction(fail, thisVal, argvFail, ARGC_TWO); in Aes()
137 JSI::CallFunction(fail, thisVal, argvFail, ARGC_TWO); in Aes()
143 JSI::CallFunction(fail, thisVal, argvFail, ARGC_TWO); in Aes()
147 JSI::CallFunction(success, thisVal, argvSuccess, ARGC_ONE); in Aes()
[all …]
/base/security/permission_lite/services/js_api/src/
Dperm_module.cpp40 JSI::CallFunction(fail, thisVal, argv, ARGC_ONE); in CheckSelfPerm()
44 JSI::CallFunction(success, thisVal, argv, ARGC_ONE); in CheckSelfPerm()
48 JSI::CallFunction(complete, thisVal, nullptr, 0); in CheckSelfPerm()
/base/powermgr/powermgr_lite/interfaces/kits/battery/js/builtin/src/
Dbattery_module.cpp31 JSI::CallFunction(success, thisVal, nullptr, 0); in SuccessCallBack()
33 JSI::CallFunction(success, thisVal, &jsiValue, ARGC_ONE); in SuccessCallBack()
37 JSI::CallFunction(complete, thisVal, nullptr, 0); in SuccessCallBack()
/base/powermgr/battery_lite/frameworks/js/builtin/src/
Dbattery_module.cpp32 JSI::CallFunction(success, thisVal, nullptr, 0); in SuccessCallBack()
34 JSI::CallFunction(success, thisVal, &jsiValue, ARGC_ONE); in SuccessCallBack()
38 JSI::CallFunction(complete, thisVal, nullptr, 0); in SuccessCallBack()
/base/powermgr/battery_statistics/frameworks/napi/include/
Dasync_callback_info.h33 void CallFunction(napi_env& env, napi_value results);
/base/powermgr/power_manager/frameworks/napi/utils/
Dasync_callback_info.h32 void CallFunction(napi_env& env, napi_value results);
Dasync_callback_info.cpp24 void AsyncCallbackInfo::CallFunction(napi_env& env, napi_value results) in CallFunction() function in OHOS::PowerMgr::AsyncCallbackInfo
/base/powermgr/display_manager/state_manager/frameworks/napi/
Dbrightness.cpp345 CallFunction(successRef_, argc, result ? &result : nullptr); in ExecuteCallback()
353 CallFunction(failRef_, argc, argv); in ExecuteCallback()
356 CallFunction(completeRef_, 0, nullptr); in ExecuteCallback()
385 void Brightness::CallFunction(napi_ref& callbackRef, size_t argc, napi_value* response) in CallFunction() function in OHOS::DisplayPowerMgr::Brightness
Dbrightness.h92 void CallFunction(napi_ref& callbackRef, size_t argc, napi_value* response);
/base/powermgr/battery_statistics/frameworks/napi/src/
Dasync_callback_info.cpp24 void AsyncCallbackInfo::CallFunction(napi_env& env, napi_value results) in CallFunction() function in OHOS::PowerMgr::AsyncCallbackInfo
Dbattery_stats.cpp49 asCallbackInfo->CallFunction(env, arrRes); in StatsAsyncCallBack()
/base/request/request/frameworks/js/napi/src/legacy/
Drequest_manager.cpp233 NapiUtils::CallFunction(env, object, callback, FAIL_CB_ARGC, result); in CallFailCallback()
244 NapiUtils::CallFunction(env, object, successCb, 1, &responseObject); in CallSuccessCallback()
309 NapiUtils::CallFunction(env, argv[0], callback, FAIL_CB_ARGC, result); in OnDownloadComplete()
/base/print/print_fwk/frameworks/helper/print_helper/include/
Dnapi_print_utils.h67 …static napi_value CallFunction(napi_env env, napi_value recv, napi_value func, size_t argc, const …
/base/security/huks/interfaces/kits/liteapi/src/
Dhks_lite_api_common.cpp417 JSI::CallFunction(callback, thisVal, params, HKS_ARRAY_SIZE(params)); in HksCallbackResultFailure()
425 JSI::CallFunction(callback, thisVal, params, HKS_ARRAY_SIZE(params)); in HksCallbackResultSuccess()
/base/request/request/frameworks/js/napi/include/
Dnapi_utils.h93 napi_value CallFunction(napi_env env, napi_value recv, napi_value func, size_t argc, const napi_val…
/base/powermgr/power_manager/frameworks/napi/runninglock/
Drunninglock_napi.cpp156 asyncInfo->CallFunction(env, result); in CreateAsyncCallback()
/base/powermgr/power_manager/frameworks/napi/power/
Dpower_napi.cpp189 asyncInfo->CallFunction(env, nullptr); in SetPowerModeCallback()
/base/print/print_fwk/frameworks/helper/print_helper/src/
Dnapi_print_utils.cpp239 napi_value NapiPrintUtils::CallFunction( in CallFunction() function in OHOS::Print::NapiPrintUtils
/base/request/request/frameworks/js/napi/src/
Dnapi_utils.cpp668 napi_value CallFunction(napi_env env, napi_value recv, napi_value func, size_t argc, const napi_val… in CallFunction() function