Home
last modified time | relevance | path

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

12

/base/account/os_account/interfaces/kits/napi/osaccount/src/
Dnapi_os_account_common.cpp283 napi_reject_deferred(env, queryOAByIdCB->deferred, args[0]); in CBOrPromiseToQueryOAById()
355 napi_reject_deferred(env, removeOACB->deferred, args[0]); in CBOrPromiseToRemoveOA()
429 napi_reject_deferred(env, setOANameCB->deferred, args[0]); in CBOrPromiseToSetOAName()
536 napi_reject_deferred(env, setOAConsCB->deferred, args[0]); in CBOrPromiseToSetOACons()
608 napi_reject_deferred(env, activateOA->deferred, args[0]); in CBOrPromiseToActivateOA()
739 napi_reject_deferred(env, createOACB->deferred, args[0]); in CBOrPromiseToCreateOA()
768 napi_reject_deferred(env, createOAForDomainCB->deferred, args[0]); in CBOrPromiseToCreateOAForDomain()
834 napi_reject_deferred(env, getOACount->deferred, args[0]); in CBOrPromiseToGetOACount()
900 napi_reject_deferred(env, dbDeviceId->deferred, args[0]); in CBOrPromiseToDbDeviceId()
1001 napi_reject_deferred(env, getAllCons->deferred, args[0]); in CBOrPromiseToGetAllCons()
[all …]
/base/hiviewdfx/hiappevent/interfaces/js/innerkits/napi/src/
Dnapi_hiappevent_write.cpp59 napi_reject_deferred(env, asyncContext->deferred, result[0]); in WriteEventFromNapi()
/base/accessibility/interfaces/kits/napi/src/
Dnapi_accessibility_info.cpp205 napi_reject_deferred(env, callbackInfo->deferred_, argv[PARAM0]); in GetByContent()
294 napi_reject_deferred(env, callbackInfo->deferred_, argv[PARAM0]); in GetFocus()
400 napi_reject_deferred(env, callbackInfo->deferred_, argv[PARAM0]); in GetNext()
481 napi_reject_deferred(env, callbackInfo->deferred_, argv[PARAM0]); in GetChild()
559 napi_reject_deferred(env, callbackInfo->deferred_, argv[PARAM0]); in GetParent()
Dnapi_accessibility_event_info.cpp103 napi_reject_deferred(env, callbackInfo->deferred_, argv[PARAM0]); in GetSource()
Dnapi_accessibility_window_info.cpp123 napi_reject_deferred(env, callbackInfo->deferred_, argv[PARAM0]); in GetAnchorElementInfo()
204 napi_reject_deferred(env, callbackInfo->deferred_, argv[PARAM0]); in GetRootElementInfo()
/base/miscservices/screenlock/interfaces/kits/napi/src/
Dscreenlock_unlock_callback.cpp60napi_reject_deferred(screenlockOnCallBackPtr->env, screenlockOnCallBackPtr->deferred, isResult); in UvWorkOnCallBackInt()
Dasync_call.cpp145napi_reject_deferred(env, context->defer, result[static_cast<unsigned long long>(ARG_INFO::ARG_ERR… in OnComplete()
/base/powermgr/thermal_manager/frameworks/napi/common/
Dthermal_napi_context.cpp124 napi_reject_deferred(env, context->deferred_, context->GetError()); in CompleteAsyncWork()
/base/telephony/call_manager/frameworks/js/napi/src/
Dnapi_call_ability_callback.cpp541 napi_reject_deferred( in ReportGetLteEnhanceInfo()
1197 napi_reject_deferred( in ReportWaitAndLimitInfo()
1245 napi_reject_deferred( in ReportGetVolteInfo()
1294 napi_reject_deferred( in ReportSupplementInfo()
1343napi_reject_deferred(env, settingInfo.deferred, NapiCallManagerUtils::CreateErrorMessage(env, errT… in ReportExecutionResult()
1391napi_reject_deferred(env, settingInfo.deferred, NapiCallManagerUtils::CreateErrorMessage(env, errT… in ReportSetVolteInfo()
1436 napi_reject_deferred( in ReportStartRttInfo()
1482 napi_reject_deferred( in ReportStopRttInfo()
1528 napi_reject_deferred( in ReportCallMediaModeInfo()
/base/miscservices/request/upload/interfaces/kits/napi/src/
Dasync_call.cpp123 napi_reject_deferred(env, context->defer, result[ARG_ERROR]); in OnComplete()
/base/miscservices/request/download/interfaces/kits/js/napi/download_single/src/
Dasync_call.cpp128 napi_reject_deferred(env, context->defer, result[ARG_ERROR]); in OnComplete()
/base/telephony/core_service/frameworks/js/napi/
Dnapi_util.cpp245 … NAPI_CALL_RETURN_VOID(env, napi_reject_deferred(env, baseContext->deferred, callbackValue)); in Handle1ValueCallback()
283 … NAPI_CALL_RETURN_VOID(env, napi_reject_deferred(env, baseContext->deferred, callbackValue)); in Handle2ValueCallback()
/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/miscservices/wallpaper/interfaces/kits/napi/
Dasync_call.cpp145 napi_reject_deferred(env, context->defer, result[ARG_ERROR]); in OnComplete()
/base/miscservices/pasteboard/interfaces/kits/napi/src/
Dnapi_pasteboard.cpp544 napi_reject_deferred(env, asyncContext->deferred, result); in Clear()
608 napi_reject_deferred(env, asyncContext->deferred, result); in HasPasteData()
680 napi_reject_deferred(env, asyncContext->deferred, instance); in GetPasteData()
752 napi_reject_deferred(env, asyncContext->deferred, result); in SetPasteData()
Dnapi_pastedata_record.cpp180 napi_reject_deferred(env, asyncText->deferred, result); in AsyncCompleteCallbackConvertToText()
/base/update/updateservice/client/
Dupdate_session.cpp187 napi_reject_deferred(env, deferred_, processResult); in CompleteWork()
/base/location/interfaces/innerkits/locator_standard/src/
Dlocator_callback_host.cpp129 napi_reject_deferred(context->env, context->deferred, jsEvent)); in DoSendWork()
/base/sensors/miscdevice/interfaces/plugin/vibrator/src/
Dvibrator_napi_utils.cpp237 … NAPI_CALL_RETURN_VOID(env, napi_reject_deferred(env, asyncCallbackInfo->deferred, result)); in EmitPromiseWork()
/base/account/os_account/interfaces/kits/napi/distributedaccount/src/
Dnapi_distributed_account.cpp96 napi_reject_deferred(env, asyncContext->deferred, args[0]); in ProcessCallbackOrPromise()
/base/customization/config_policy/interfaces/kits/js/src/
Dconfig_policy_napi.cpp267 napi_reject_deferred(env, asyncContext->deferred_, result[0]); in NativeCallbackComplete()
/base/hiviewdfx/hiview/plugins/faultlogger/interfaces/js/napi/
Dnapi_faultlogger.cpp144 napi_reject_deferred(env, faultLogInfoContext->deferred, callbackValue); in FaultLogCompleteCallback()
/base/powermgr/battery_statistics/frameworks/js/napi/src/
Dbattery_stats.cpp135 napi_reject_deferred(env, asCallbackInfo->deferred, result); in StatsInfoToPromise()
/base/customization/enterprise_device_management/interfaces/kits/src/
Denterprise_device_manager_addon.cpp115 napi_reject_deferred(env, asyncCallbackInfo->deferred, CreateErrorMessage(env, errTip)); in NativeBoolCallbackComplete()
296 napi_reject_deferred(env, asyncCallbackInfo->deferred, result[0]); in NativeGetEnterpriseInfoComplete()
/base/powermgr/power_manager/frameworks/napi/runninglock/
Drunninglock.cpp194 napi_reject_deferred(env, asyncCallbackInfo->deferred, result[0]); in CreateRunningLockCallBack()

12