Home
last modified time | relevance | path

Searched refs:napi_reject_deferred (Results 1 – 25 of 65) sorted by relevance

123

/base/customization/enterprise_device_management/interfaces/kits/common/src/
Dnapi_edm_common.cpp134napi_reject_deferred(env, asyncCallbackInfo->deferred, CreateError(env, asyncCallbackInfo->ret)); in NativeVoidCallbackComplete()
186napi_reject_deferred(env, asyncCallbackInfo->deferred, CreateError(env, asyncCallbackInfo->ret)); in NativeBoolCallbackComplete()
226napi_reject_deferred(env, asyncCallbackInfo->deferred, CreateError(env, asyncCallbackInfo->ret)); in NativeStringCallbackComplete()
/base/theme/screenlock_mgr/interfaces/kits/napi/src/
Dscreenlock_callback.cpp86 napi_reject_deferred( in UvWorkOnCallBackInt()
Dasync_call.cpp145napi_reject_deferred(env, context->defer, result[static_cast<uint32_t>(ARG_INFO::ARG_ERROR)]); in OnComplete()
/base/hiviewdfx/hiappevent/frameworks/js/napi/src/
Dnapi_hiappevent_write.cpp87 napi_reject_deferred(env, asyncContext->deferred, results[ERR_INDEX]); in Write()
/base/hiviewdfx/hisysevent/interfaces/js/kits/napi/src/
Dnapi_hisysevent_adapter.cpp58 napi_reject_deferred(env, eventAsyncContext->deferred, results[ERR_INDEX]); in Write()
/base/web/webview/interfaces/kits/napi/webasynccontroller/
Dnapi_web_async_controller.cpp256 napi_reject_deferred(env, deferred, jsResult); in StoreWebArchivePromise()
281 napi_reject_deferred(env, deferred, jsResult); in StoreWebArchivePromise()
/base/web/webview/interfaces/kits/napi/webviewcontroller/
Dwebview_javascript_execute_callback.cpp132 napi_reject_deferred(env, deferred, args[INTEGER_ZERO]); in UvAfterWorkCbPromise()
Dwebview_controller.cpp268 napi_reject_deferred(env, deferred, jsResult); in StoreWebArchivePromise()
294 napi_reject_deferred(env, deferred, args[PARAMZERO]); in StoreWebArchivePromise()
705 napi_reject_deferred(env, deferred, jsResult); in RunJavaScriptPromise()
777 napi_reject_deferred(env, deferred, jsResult); in HasImagesPromise()
/base/request/request/upload/interfaces/kits/napi/src/
Dasync_call.cpp127 napi_reject_deferred(env, context->defer, result[ARG_ERROR]); in OnComplete()
/base/request/request/download/interfaces/kits/js/napi/download_single/src/
Dasync_call.cpp133 napi_reject_deferred(env, context->defer, result[ARG_ERROR]); in OnComplete()
/base/inputmethod/imf/interfaces/kits/js/napi/inputmethodclient/
Dasync_call.cpp129 napi_reject_deferred(env, context->defer, result[ARG_ERROR]); in OnComplete()
/base/useriam/user_auth_framework/frameworks/js/napi/user_auth/src/
Duser_auth_callback_v6.cpp126 ret = napi_reject_deferred(env_, promise_, resultVal); in DoPromise()
/base/startup/syspara_lite/interfaces/kits/js/src/
Dnative_parameters_js.cpp73 napi_reject_deferred(env, asyncContext->deferred, result[0]); in SetCallbackWork()
249 napi_reject_deferred(env, asyncContext->deferred, result[0]); in GetCallbackWork()
/base/startup/init/interfaces/kits/jskits/src/
Dnative_parameters_js.cpp69 napi_reject_deferred(env, asyncContext->deferred, result[0]); in SetCallbackWork()
242 napi_reject_deferred(env, asyncContext->deferred, result[0]); in GetCallbackWork()
/base/telephony/call_manager/frameworks/js/napi/src/
Dnapi_call_ability_callback.cpp904napi_reject_deferred(env, supplementInfo.deferred, NapiCallManagerUtils::CreateErrorMessage(env, e… in ReportWaitAndLimitInfo()
954 napi_reject_deferred( in ReportSupplementInfo()
1006 napi_reject_deferred(env, settingInfo.deferred, in ReportExecutionResult()
1054napi_reject_deferred(env, supplementInfo.deferred, NapiCallManagerUtils::CreateErrorMessage(env, e… in ReportStartRttInfo()
1101napi_reject_deferred(env, supplementInfo.deferred, NapiCallManagerUtils::CreateErrorMessage(env, e… in ReportStopRttInfo()
1148napi_reject_deferred(env, supplementInfo.deferred, NapiCallManagerUtils::CreateErrorMessage(env, e… in ReportCallMediaModeInfo()
/base/security/crypto_framework/frameworks/js/napi/crypto/src/
Dnapi_sign.cpp296 napi_reject_deferred(env, ctx->deferred, GenerateBusinessError(env, ctx->result, in ReturnInitPromiseResult()
324 napi_reject_deferred(env, ctx->deferred, GenerateBusinessError(env, ctx->result, in ReturnUpdatePromiseResult()
352 napi_reject_deferred(env, ctx->deferred, GenerateBusinessError(env, ctx->result, in ReturnDoFinalPromiseResult()
Dnapi_verify.cpp320 napi_reject_deferred(env, ctx->deferred, in ReturnInitPromiseResult()
348 napi_reject_deferred(env, ctx->deferred, in ReturnUpdatePromiseResult()
376 napi_reject_deferred(env, ctx->deferred, in ReturnDoFinalPromiseResult()
Dnapi_asy_key_generator.cpp238 napi_reject_deferred(env, ctx->deferred, in ReturnGenKeyPairPromiseResult()
266 napi_reject_deferred(env, ctx->deferred, in ReturnConvertKeyPromiseResult()
/base/powermgr/battery_statistics/frameworks/js/napi/src/
Dbattery_stats.cpp78napi_reject_deferred(env, asCallbackInfo->GetDeferred(), asCallbackInfo->GetError().GetNapiError(e… in StatsPromise()
/base/theme/wallpaper_mgr/interfaces/kits/napi/
Dasync_call.cpp156 napi_reject_deferred(env, context->defer, result[ARG_ERROR]); in OnComplete()
/base/time/time_service/framework/js/napi/common/src/
Dnapi_async_work.cpp149 napi_reject_deferred(ctxt->env, ctxt->deferred, result[RESULT_ERROR]); in GenerateOutput()
/base/startup/init/interfaces/kits/jskits/src_enhance/
Dnative_parameters_js.cpp129 napi_reject_deferred(env, asyncContext->deferred, result[0]); in SetCallbackWork()
311 napi_reject_deferred(env, asyncContext->deferred, result[0]); in GetCallbackWork()
/base/security/crypto_framework/frameworks/js/napi/certificate/src/
Dnapi_cert_chain_validator.cpp101 napi_reject_deferred(env, context->deferred, in ReturnPromiseResult()
/base/powermgr/power_manager/frameworks/napi/power/
Dpower_napi.cpp198napi_reject_deferred(env, asyncInfo->GetDeferred(), asyncInfo->GetError().GetNapiError(env)); in SetPowerModePromise()
/base/powermgr/power_manager/frameworks/napi/runninglock/
Drunninglock_napi.cpp190napi_reject_deferred(env, asyncInfo->GetDeferred(), asyncInfo->GetError().GetNapiError(env)); in CreatePromise()

123