/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 errMsg);
|
/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
|
/foundation/communication/bluetooth/frameworks/js/napi/src/common/ |
H A D | napi_async_callback.cpp | 115 napi_value code = GetCallbackErrorValue(env_, errCode); in CallFunction() 163 napi_value code = GetCallbackErrorValue(env_, errCode); in ResolveOrReject()
|
/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() 657 result[PARAM0] = GetCallbackErrorValue(env, appVersionInfoCB->cbBase.errCode); in GetAppVersionInfoAsyncCompleteCB() 684 result = GetCallbackErrorValue(env, appVersionInfoCB->cbBase.errCode); in GetAppVersionInfoPromiseCompleteCB() 846 result[PARAM0] = GetCallbackErrorValue(env, asyncCallbackInfo->errCode); in GetWantAsync() 900 result = GetCallbackErrorValue(en in GetWantPromise() [all...] |
H A D | napi_context.cpp | 94 result[PARAM0] = GetCallbackErrorValue(env, showOnLockScreenCB->cbBase.errCode); in SetShowOnLockScreenAsyncCompleteCB() 175 napi_value result = GetCallbackErrorValue(env, showOnLockScreenCB->cbBase.errCode); in SetShowOnLockScreenPromise() 306 result[PARAM0] = GetCallbackErrorValue(env, setWakeUpScreenCB->cbBase.errCode); in SetWakeUpScreenAsyncCompleteCB() 390 napi_value result = GetCallbackErrorValue(env, setWakeUpScreenCB->cbBase.errCode); in SetWakeUpScreenPromise() 682 revParam[PARAM0] = GetCallbackErrorValue(env, asyncCallbackInfo->error_code); in RequestPermissionsFromUserCompleteAsyncCallbackWork() 1083 result[PARAM0] = GetCallbackErrorValue(env, appInfoCB->cbBase.errCode); in GetAppInfoAsyncCompleteCB() 1145 result = GetCallbackErrorValue(env, appInfoCB->cbBase.errCode); in GetAppInfoPromiseCompleteCB() 1356 result[PARAM0] = GetCallbackErrorValue(env, processInfoCB->cbBase.errCode); in GetProcessInfoAsyncCompleteCB() 1414 result = GetCallbackErrorValue(env, processInfoCB->cbBase.errCode); in GetProcessInfoPromiseCompleteCB() 1602 result[PARAM0] = GetCallbackErrorValue(en in GetElementNameAsyncCompleteCB() [all...] |
H A D | napi_common_ability.cpp | 795 result[PARAM0] = GetCallbackErrorValue(env, asyncCallbackInfo->errCode); in GetContextAsync() 847 result = GetCallbackErrorValue(env, asyncCallbackInfo->errCode); in GetContextPromise()
|
/foundation/distributeddatamgr/pasteboard/interfaces/kits/napi/include/ |
H A D | pasteboard_common.h | 31 napi_value GetCallbackErrorValue(napi_env env, int32_t errorCode);
|
/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 errMsg);
|
/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);
|
/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 errMsg) in GetCallbackErrorValue() function 147 result[0] = GetCallbackErrorValue(env, errCodeInfo, errMsg); in HandleCallbackErrCode()
|
/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() 732 result[PARAM0] = GetCallbackErrorValue(env, denormalizeuriCB->execResult); in DenormalizeUriAsyncCompleteCB() 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(en in OpenFileAsyncCompleteCB() [all...] |
H A D | napi_data_ability_observer.cpp | 149 result[PARAM0] = GetCallbackErrorValue(env_, NO_ERROR); in CallJsMethod()
|
H A D | feature_ability.cpp | 519 result[PARAM0] = GetCallbackErrorValue(env, NO_ERROR); in CreateAsyncWork() 1087 result[PARAM0] = GetCallbackErrorValue(env, NO_ERROR); in GetDataAbilityHelperAsyncCompleteCB() 1116 result = GetCallbackErrorValue(env, dataAbilityHelperCB->cbBase.errCode); in GetDataAbilityHelperPromiseCompleteCB() 1245 result[PARAM0] = GetCallbackErrorValue(env, NO_ERROR); in CreateContinueAsyncWork()
|
/foundation/communication/bluetooth/frameworks/js/napi/src/socket/ |
H A D | napi_bluetooth_spp_server.cpp | 167 result[PARAM0] = GetCallbackErrorValue(callbackInfo->env_, callbackInfo->errorCode_); in SppListen() 277 result[PARAM0] = GetCallbackErrorValue(callbackInfo->env_, callbackInfo->errorCode_); in SppAccept()
|
H A D | napi_bluetooth_spp_client.cpp | 156 result[PARAM0] = GetCallbackErrorValue(callbackInfo->env_, callbackInfo->errorCode_); in SppConnect()
|
/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 errMsg) 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 | 83 napi_value GetCallbackErrorValue(napi_env env, int32_t errCode)
in GetCallbackErrorValue() function 275 result[0] = Common::GetCallbackErrorValue(env, errCodeInfo, errMsg);
in CallbackCompletedCB() 307 result = Common::GetCallbackErrorValue(env, errCodeInfo, errMsg);
in PromiseCompletedCB()
|
/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 errMsg) in GetCallbackErrorValue() function in OHOS::DevStandbyMgr::Common
|
/foundation/ability/ability_runtime/frameworks/js/napi/inner/napi_common/ |
H A D | napi_common_util.h | 164 napi_value GetCallbackErrorValue(napi_env env, int errCode);
|
H A D | napi_common_util.cpp | 835 napi_value GetCallbackErrorValue(napi_env env, int errCode) in GetCallbackErrorValue() function 1079 revParam[PARAM0] = GetCallbackErrorValue(env, asyncCallbackInfo->error_code); in CompleteAsyncCallbackWork() 1148 result = GetCallbackErrorValue(env, asyncCallbackInfo->error_code); in CompletePromiseCallbackWork() 1170 result = GetCallbackErrorValue(env, asyncCallbackInfo->error_code); in CompletePromiseVoidCallbackWork()
|
/foundation/resourceschedule/work_scheduler/interfaces/kits/js/napi/src/ |
H A D | common.cpp | 517 napi_value Common::GetCallbackErrorValue(napi_env env, int32_t errCode, const std::string errMsg) in GetCallbackErrorValue() function in OHOS::WorkScheduler::Common 549 results[0] = GetCallbackErrorValue(env, errCodeInfo, errMsg); in SetCallback()
|
/foundation/communication/bluetooth/frameworks/js/napi/include/ |
H A D | napi_bluetooth_utils.h | 98 napi_value GetCallbackErrorValue(napi_env env, int errCode);
|
/foundation/distributeddatamgr/pasteboard/interfaces/kits/napi/src/ |
H A D | pasteboard_common.cpp | 28 napi_value GetCallbackErrorValue(napi_env env, int32_t errorCode) in GetCallbackErrorValue() function
|
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/bundlemgr/ |
H A D | bundle_mgr.cpp | 1107 static napi_value GetCallbackErrorValue(napi_env env, int errCode) in GetCallbackErrorValue() function 2122 result[PARAM0] = GetCallbackErrorValue(env, asyncCallbackInfo->ret ? CODE_SUCCESS : CODE_FAILED); in GetAllFormsInfo() 2238 result[PARAM0] = GetCallbackErrorValue(env, asyncCallbackInfo->ret ? CODE_SUCCESS : CODE_FAILED); in GetFormsInfoByModule() 2351 result[PARAM0] = GetCallbackErrorValue(env, asyncCallbackInfo->ret ? CODE_SUCCESS : CODE_FAILED); in GetFormsInfoByApp() 2480 result[PARAM0] = GetCallbackErrorValue(env, asyncCallbackInfo->err); in GetBundleGidsAsyncComplete() 2506 result = GetCallbackErrorValue(env, asyncCallbackInfo->err); in GetBundleGidsPromiseComplete() 5115 result[PARAM0] = GetCallbackErrorValue(env, CODE_SUCCESS); in GetBundleInstaller() 5254 result[PARAM0] = GetCallbackErrorValue( in Install() 5261 result[PARAM0] = GetCallbackErrorValue(env, CODE_FAILED); in Install() 5427 result[PARAM0] = GetCallbackErrorValue( in Recover() [all...] |