/ohos5.0/base/time/time_service/framework/js/napi/common/src/ |
H A D | napi_utils.cpp | 101 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 D | common.h | 58 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 D | napi_common_ability_execute_utils.cpp | 70 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 D | napi_context.cpp | 92 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 D | napi_async_callback.cpp | 118 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 D | napi_zlib_common.h | 51 napi_value GetCallbackErrorValue(napi_env env, int errCode);
|
H A D | napi_zlib_common.cpp | 83 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 D | common_event_set_param.cpp | 357 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 D | wifi_napi_errcode.cpp | 107 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 D | napi_data_ability_helper_utils.cpp | 122 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 D | napi_data_ability_observer.cpp | 149 result[PARAM0] = GetCallbackErrorValue(env_, NO_ERROR); in CallJsMethod()
|
/ohos5.0/foundation/distributeddatamgr/pasteboard/interfaces/kits/napi/include/ |
H A D | pasteboard_common.h | 31 napi_value GetCallbackErrorValue(napi_env env, int32_t errorCode);
|
/ohos5.0/foundation/resourceschedule/device_standby/interfaces/kits/napi/include/ |
H A D | common.h | 52 …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 D | common.cpp | 91 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 D | common_event_set_param.cpp | 391 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 D | common.h | 154 … 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 D | napi_bluetooth_spp_server.cpp | 171 … 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 D | common.cpp | 60 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 D | bg_continuous_task_napi_module.cpp | 84 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 D | libabilitykit_native.map | 31 "OHOS::AppExecFwk::GetCallbackErrorValue(napi_env__*, int)";
|
/ohos5.0/base/time/time_service/framework/js/napi/common/include/ |
H A D | napi_utils.h | 128 …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 D | napi_common_util.cpp | 856 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 D | napi_common_util.h | 177 napi_value GetCallbackErrorValue(napi_env env, int errCode);
|
/ohos5.0/base/location/frameworks/js/napi/notification/src/ |
H A D | notification_napi_utils.cpp | 104 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 D | reminder_common.h | 192 …static napi_value GetCallbackErrorValue(napi_env env, const int32_t errCode, const std::string err…
|