Home
last modified time | relevance | path

Searched refs:GetCallbackErrorValue (Results 1 - 25 of 26) sorted by relevance

12

/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 errMsg);
/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
/foundation/communication/bluetooth/frameworks/js/napi/src/common/
H A Dnapi_async_callback.cpp115 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 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()
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 Dnapi_context.cpp94 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 Dnapi_common_ability.cpp795 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 Dpasteboard_common.h31 napi_value GetCallbackErrorValue(napi_env env, int32_t errorCode);
/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 errMsg);
/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);
/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 errMsg) in GetCallbackErrorValue() function
147 result[0] = GetCallbackErrorValue(env, errCodeInfo, errMsg); in HandleCallbackErrCode()
/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()
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 Dnapi_data_ability_observer.cpp149 result[PARAM0] = GetCallbackErrorValue(env_, NO_ERROR); in CallJsMethod()
H A Dfeature_ability.cpp519 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 Dnapi_bluetooth_spp_server.cpp167 result[PARAM0] = GetCallbackErrorValue(callbackInfo->env_, callbackInfo->errorCode_); in SppListen()
277 result[PARAM0] = GetCallbackErrorValue(callbackInfo->env_, callbackInfo->errorCode_); in SppAccept()
H A Dnapi_bluetooth_spp_client.cpp156 result[PARAM0] = GetCallbackErrorValue(callbackInfo->env_, callbackInfo->errorCode_); in SppConnect()
/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 errMsg) in GetCallbackErrorValue() function in OHOS::BackgroundTaskMgr::Common
117 results[0] = GetCallbackErrorValue(env, errCodeInfo, errMsg); in SetCallback()
H A Dbg_continuous_task_napi_module.cpp83 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 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 errMsg) in GetCallbackErrorValue() function in OHOS::DevStandbyMgr::Common
/foundation/ability/ability_runtime/frameworks/js/napi/inner/napi_common/
H A Dnapi_common_util.h164 napi_value GetCallbackErrorValue(napi_env env, int errCode);
H A Dnapi_common_util.cpp835 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 Dcommon.cpp517 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 Dnapi_bluetooth_utils.h98 napi_value GetCallbackErrorValue(napi_env env, int errCode);
/foundation/distributeddatamgr/pasteboard/interfaces/kits/napi/src/
H A Dpasteboard_common.cpp28 napi_value GetCallbackErrorValue(napi_env env, int32_t errorCode) in GetCallbackErrorValue() function
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/bundlemgr/
H A Dbundle_mgr.cpp1107 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...]

Completed in 33 milliseconds

12