Home
last modified time | relevance | path

Searched refs:GetCallbackErrorValue (Results 1 – 25 of 43) sorted by relevance

12

/ohos5.0/base/time/time_service/framework/js/napi/common/src/
H A Dnapi_utils.cpp101 napi_value NapiUtils::GetCallbackErrorValue(napi_env env, int32_t errCode, const std::string &messa… in GetCallbackErrorValue() function in OHOS::MiscServices::Time::NapiUtils
136 …NAPI_CALL_RETURN_VOID(env, napi_reject_deferred(env, deferred, GetCallbackErrorValue(env, errorCod… in SetPromise()
149 results[0] = GetCallbackErrorValue(env, errorCode, message); in SetCallback()
166 …return GetCallbackErrorValue(env, ERROR, NapiUtils::GetErrorMessage(JsErrorCode::PARAMETER_ERROR)); in JSParaError()
/ohos5.0/foundation/resourceschedule/background_task_mgr/interfaces/kits/napi/include/
H A Dcommon.h58 static napi_value GetCallbackErrorValue(napi_env env, int32_t errCode);
65 …static napi_value GetCallbackErrorValue(napi_env env, const int32_t errCode, const std::string err…
/ohos5.0/foundation/ability/ability_runtime/frameworks/js/napi/inner/napi_ability_common/
H A Dnapi_common_ability_execute_utils.cpp70 result[PARAM0] = GetCallbackErrorValue(env, appTypeCB->cbBase.errCode); in GetAppTypeAsyncCompleteCB()
105 result = GetCallbackErrorValue(env, appTypeCB->cbBase.errCode); in GetAppTypePromiseCompleteCB()
279 result[PARAM0] = GetCallbackErrorValue(env, abilityInfoCB->cbBase.errCode); in GetAbilityInfoAsyncCompleteCB()
312 result = GetCallbackErrorValue(env, abilityInfoCB->cbBase.errCode); in GetAbilityInfoPromiseCompleteCB()
474 result[PARAM0] = GetCallbackErrorValue(env, hapModuleInfoCB->cbBase.errCode); in GetHapModuleInfoAsyncCompleteCB()
501 result = GetCallbackErrorValue(env, hapModuleInfoCB->cbBase.errCode); in GetHapModuleInfoPromiseCompleteCB()
684 result = GetCallbackErrorValue(env, appVersionInfoCB->cbBase.errCode); in GetAppVersionInfoPromiseCompleteCB()
999 result[PARAM0] = GetCallbackErrorValue(env, abilityNameCB->cbBase.errCode); in GetAbilityNameAsyncCompleteCB()
1031 result = GetCallbackErrorValue(env, abilityNameCB->cbBase.errCode); in GetAbilityNamePromiseCompleteCB()
1265 result[0] = GetCallbackErrorValue(env, asyncCallbackInfo->errCode); in BackgroundRunningCallbackCompletedCB()
[all …]
H A Dnapi_context.cpp92 result[PARAM0] = GetCallbackErrorValue(env, showOnLockScreenCB->cbBase.errCode); in SetShowOnLockScreenAsyncCompleteCB()
300 result[PARAM0] = GetCallbackErrorValue(env, setWakeUpScreenCB->cbBase.errCode); in SetWakeUpScreenAsyncCompleteCB()
1075 result[PARAM0] = GetCallbackErrorValue(env, appInfoCB->cbBase.errCode); in GetAppInfoAsyncCompleteCB()
1137 result = GetCallbackErrorValue(env, appInfoCB->cbBase.errCode); in GetAppInfoPromiseCompleteCB()
1348 result[PARAM0] = GetCallbackErrorValue(env, processInfoCB->cbBase.errCode); in GetProcessInfoAsyncCompleteCB()
1406 result = GetCallbackErrorValue(env, processInfoCB->cbBase.errCode); in GetProcessInfoPromiseCompleteCB()
1594 result[PARAM0] = GetCallbackErrorValue(env, elementNameCB->cbBase.errCode); in GetElementNameAsyncCompleteCB()
1621 result = GetCallbackErrorValue(env, elementNameCB->cbBase.errCode); in GetElementNamePromiseCompleteCB()
1785 result[PARAM0] = GetCallbackErrorValue(env, processNameCB->cbBase.errCode); in GetProcessNameAsyncCompleteCB()
1812 result = GetCallbackErrorValue(env, processNameCB->cbBase.errCode); in GetProcessNamePromiseCompleteCB()
[all …]
/ohos5.0/foundation/communication/bluetooth/frameworks/js/napi/src/common/
H A Dnapi_async_callback.cpp118 napi_value code = GetCallbackErrorValue(env_, errCode); in CallFunction()
166 napi_value code = GetCallbackErrorValue(env_, errCode); in ResolveOrReject()
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/js/zip/napi/
H A Dnapi_zlib_common.h51 napi_value GetCallbackErrorValue(napi_env env, int errCode);
H A Dnapi_zlib_common.cpp83 napi_value GetCallbackErrorValue(napi_env env, int errCode) in GetCallbackErrorValue() function
/ohos5.0/base/notification/common_event_service/interfaces/kits/napi/common_event/src/
H A Dcommon_event_set_param.cpp357 results[PARAM0_EVENT] = GetCallbackErrorValue(env, errorCode); in SetCallback()
374 results[PARAM0_EVENT] = GetCallbackErrorValue(env, NO_ERROR); in SetCallback()
386 napi_reject_deferred(env, deferred, GetCallbackErrorValue(env, errorCode)); in SetPromise()
/ohos5.0/foundation/communication/wifi/wifi/frameworks/js/napi/src/
H A Dwifi_napi_errcode.cpp107 static napi_value GetCallbackErrorValue(napi_env env, const int32_t errCode, const std::string errM… in GetCallbackErrorValue() function
147 result[0] = GetCallbackErrorValue(env, errCodeInfo, errMsg); in HandleCallbackErrCode()
/ohos5.0/foundation/ability/ability_runtime/frameworks/js/napi/featureAbility/
H A Dnapi_data_ability_helper_utils.cpp122 result[PARAM0] = GetCallbackErrorValue(env, insertCB->execResult); in InsertAsyncCompleteCB()
240 result[PARAM0] = GetCallbackErrorValue(env, notifyChangeCB->execResult); in NotifyChangeAsyncCompleteCB()
353 result[PARAM0] = GetCallbackErrorValue(env, gettypeCB->execResult); in GetTypeAsyncCompleteCB()
474 result[PARAM0] = GetCallbackErrorValue(env, getfiletypesCB->execResult); in GetFileTypesAsyncCompleteCB()
612 result[PARAM0] = GetCallbackErrorValue(env, normalizeuriCB->execResult); in NormalizeUriAsyncCompleteCB()
850 result[PARAM0] = GetCallbackErrorValue(env, DeleteCB->execResult); in DeleteAsyncCompleteCB()
965 result[PARAM0] = GetCallbackErrorValue(env, updateCB->execResult); in UpdateAsyncCompleteCB()
1185 result[PARAM0] = GetCallbackErrorValue(env, callCB->execResult); in CallAsyncCompleteCB()
1358 result[PARAM0] = GetCallbackErrorValue(env, OpenFileCB->execResult); in OpenFileAsyncCompleteCB()
1530 result[PARAM0] = GetCallbackErrorValue(env, queryCB->execResult); in QuerySync()
[all …]
H A Dnapi_data_ability_observer.cpp149 result[PARAM0] = GetCallbackErrorValue(env_, NO_ERROR); in CallJsMethod()
/ohos5.0/foundation/distributeddatamgr/pasteboard/interfaces/kits/napi/include/
H A Dpasteboard_common.h31 napi_value GetCallbackErrorValue(napi_env env, int32_t errorCode);
/ohos5.0/foundation/resourceschedule/device_standby/interfaces/kits/napi/include/
H A Dcommon.h52 …static napi_value GetCallbackErrorValue(napi_env env, const int32_t errCode, const std::string err…
/ohos5.0/foundation/resourceschedule/device_standby/interfaces/kits/napi/src/
H A Dcommon.cpp91 results[0] = GetCallbackErrorValue(env, errCodeInfo, errMsg); in SetCallback()
121 napi_value Common::GetCallbackErrorValue(napi_env env, const int32_t errCode, const std::string err… in GetCallbackErrorValue() function in OHOS::DevStandbyMgr::Common
/ohos5.0/base/notification/common_event_service/interfaces/kits/napi/napi_common_event/src/
H A Dcommon_event_set_param.cpp391 results[INDEX_ZERO] = GetCallbackErrorValue(env, errorCode); in SetCallback()
408 results[INDEX_ZERO] = GetCallbackErrorValue(env, NO_ERROR); in SetCallback()
420 napi_reject_deferred(env, deferred, GetCallbackErrorValue(env, errorCode)); in SetPromise()
/ohos5.0/foundation/resourceschedule/work_scheduler/interfaces/kits/js/napi/include/
H A Dcommon.h154 … static napi_value GetCallbackErrorValue(napi_env env, int32_t errCode, const std::string errMsg);
/ohos5.0/foundation/communication/bluetooth/frameworks/js/napi/src/socket/
H A Dnapi_bluetooth_spp_server.cpp171 … result[PARAM0] = GetCallbackErrorValue(callbackInfo->env_, callbackInfo->errorCode_); in SppListen()
281 … result[PARAM0] = GetCallbackErrorValue(callbackInfo->env_, callbackInfo->errorCode_); in SppAccept()
/ohos5.0/foundation/resourceschedule/background_task_mgr/interfaces/kits/napi/src/
H A Dcommon.cpp60 napi_value Common::GetCallbackErrorValue(napi_env env, const int32_t errCode, const std::string err… in GetCallbackErrorValue() function in OHOS::BackgroundTaskMgr::Common
117 results[0] = GetCallbackErrorValue(env, errCodeInfo, errMsg); in SetCallback()
H A Dbg_continuous_task_napi_module.cpp84 napi_value GetCallbackErrorValue(napi_env env, int32_t errCode) in GetCallbackErrorValue() function
285 result[0] = Common::GetCallbackErrorValue(env, errCodeInfo, errMsg); in CallbackCompletedCB()
319 result = Common::GetCallbackErrorValue(env, errCodeInfo, errMsg); in PromiseCompletedCB()
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/ability/native/
H A Dlibabilitykit_native.map31 "OHOS::AppExecFwk::GetCallbackErrorValue(napi_env__*, int)";
/ohos5.0/base/time/time_service/framework/js/napi/common/include/
H A Dnapi_utils.h128 …static napi_value GetCallbackErrorValue(napi_env env, int32_t errCode, const std::string &message);
/ohos5.0/foundation/ability/ability_runtime/frameworks/js/napi/inner/napi_common/
H A Dnapi_common_util.cpp856 napi_value GetCallbackErrorValue(napi_env env, int errCode) in GetCallbackErrorValue() function
1100 revParam[PARAM0] = GetCallbackErrorValue(env, asyncCallbackInfo->error_code); in CompleteAsyncCallbackWork()
1169 result = GetCallbackErrorValue(env, asyncCallbackInfo->error_code); in CompletePromiseCallbackWork()
1191 result = GetCallbackErrorValue(env, asyncCallbackInfo->error_code); in CompletePromiseVoidCallbackWork()
H A Dnapi_common_util.h177 napi_value GetCallbackErrorValue(napi_env env, int errCode);
/ohos5.0/base/location/frameworks/js/napi/notification/src/
H A Dnotification_napi_utils.cpp104 napi_value NotificationNapi::GetCallbackErrorValue(napi_env env, int32_t errCode) in GetCallbackErrorValue() function in OHOS::Location::NotificationNapi
/ohos5.0/base/notification/distributed_notification_service/frameworks/js/napi/include/reminder/
H A Dreminder_common.h192 …static napi_value GetCallbackErrorValue(napi_env env, const int32_t errCode, const std::string err…

12