/ohos5.0/foundation/ability/ability_runtime/frameworks/js/napi/ability_auto_startup_manager/ |
H A D | js_ability_auto_startup_manager.cpp | 120 ThrowError(env, GetJsErrorCodeByNativeError(ret)); in OnRegisterAutoStartupCallback() 166 ThrowError(env, GetJsErrorCodeByNativeError(ret)); in OnUnregisterAutoStartupCallback() 207 task.Reject(env, CreateJsError(env, GetJsErrorCodeByNativeError(INNER_ERR))); in OnSetApplicationAutoStartup() 212 task.Reject(env, CreateJsError(env, GetJsErrorCodeByNativeError(*ret))); in OnSetApplicationAutoStartup() 258 task.Reject(env, CreateJsError(env, GetJsErrorCodeByNativeError(INNER_ERR))); in OnCancelApplicationAutoStartup() 263 task.Reject(env, CreateJsError(env, GetJsErrorCodeByNativeError(*ret))); in OnCancelApplicationAutoStartup() 298 task.Reject(env, CreateJsError(env, GetJsErrorCodeByNativeError(INNER_ERR))); in OnQueryAllAutoStartupApplications() 303 task.Reject(env, CreateJsError(env, GetJsErrorCodeByNativeError(*ret))); in OnQueryAllAutoStartupApplications()
|
/ohos5.0/foundation/ability/ability_runtime/test/unittest/ability_business_error_test/ |
H A D | ability_business_error_test.cpp | 68 AbilityErrorCode result = GetJsErrorCodeByNativeError(0); 71 result = GetJsErrorCodeByNativeError(-1000);
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/js/napi/ability_manager/ |
H A D | js_ability_manager.cpp | 266 task.Reject(env, CreateJsError(env, GetJsErrorCodeByNativeError(AAFwk::INNER_ERR))); in OnNotifyDebugAssertResult() 272 task.Reject(env, CreateJsError(env, GetJsErrorCodeByNativeError(ret))); in OnNotifyDebugAssertResult() 319 task.Reject(env, CreateJsError(env, GetJsErrorCodeByNativeError(errcode))); in OnGetAbilityRunningInfos() 361 task.Reject(env, CreateJsError(env, GetJsErrorCodeByNativeError(errcode))); in OnGetExtensionRunningInfos() 414 task.Reject(env, CreateJsError(env, GetJsErrorCodeByNativeError(errcode))); in OnUpdateConfiguration() 480 asyncTask->Reject(env, CreateJsError(env, GetJsErrorCodeByNativeError(resultCode))); in OnAcquireShareData() 496 asyncTask->Reject(env, CreateJsError(env, GetJsErrorCodeByNativeError(err))); in OnAcquireShareData() 538 task.Reject(env, CreateJsError(env, GetJsErrorCodeByNativeError(errCode))); in OnNotifySaveAsResult() 560 task.Reject(env, CreateJsError(env, GetJsErrorCodeByNativeError(ret))); in OnGetForegroundUIAbilities()
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/js/napi/insight_intent/insight_intent_driver/ |
H A D | js_insight_intent_driver.cpp | 57 task.Reject(env, CreateJsError(env, GetJsErrorCodeByNativeError(resultCode))); in ProcessInsightIntentExecute() 137 asyncTask->Reject(env, CreateJsError(env, GetJsErrorCodeByNativeError(err))); in OnExecute()
|
/ohos5.0/foundation/ability/ability_runtime/interfaces/kits/native/ability/native/ability_business_error/ |
H A D | ability_business_error.h | 200 AbilityErrorCode GetJsErrorCodeByNativeError(int32_t errCode);
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/runtime/ |
H A D | js_error_utils.cpp | 104 auto errCode = GetJsErrorCodeByNativeError(err); in CreateJsErrorByNativeErr()
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/ability/native/auto_fill_extension_ability/ |
H A D | js_auto_fill_extension_context.cpp | 82 task.Reject(env, CreateJsError(env, GetJsErrorCodeByNativeError(*ret))); in OnReloadInModal()
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/ability/native/ |
H A D | js_free_install_observer.cpp | 202 value = CreateJsError(env_, GetJsErrorCodeByNativeError(resultCode)); in CallCallback() 236 napi_value error = CreateJsError(env_, GetJsErrorCodeByNativeError(resultCode)); in CallPromise()
|
H A D | js_service_extension_context.cpp | 716 …int32_t errcode = static_cast<int32_t>(AbilityRuntime::GetJsErrorCodeByNativeError(*innerErrorCode… in OnConnectAbility() 764 …int32_t errcode = static_cast<int32_t>(AbilityRuntime::GetJsErrorCodeByNativeError(innerErrorCode)… in OnConnectAbilityWithAccount()
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/js/napi/js_mission_manager/ |
H A D | mission_manager.cpp | 169 ThrowError(env, GetJsErrorCodeByNativeError(ret)); in OnOnOld() 206 ThrowError(env, GetJsErrorCodeByNativeError(ret)); in OnOnNew() 311 ThrowError(env, GetJsErrorCodeByNativeError(ret)); in OnOffNew()
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/ability/native/ability_business_error/ |
H A D | ability_business_error.cpp | 242 AbilityErrorCode GetJsErrorCodeByNativeError(int32_t errCode) in GetJsErrorCodeByNativeError() function
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/simulator/ability_simulator/src/ |
H A D | js_ability_context.cpp | 197 auto errCode = GetJsErrorCodeByNativeError(err); in CreateJsErrorByNativeErr()
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/js/napi/auto_fill_manager/ |
H A D | js_auto_fill_manager.cpp | 112 ThrowError(env, GetJsErrorCodeByNativeError(ret)); in OnRequestAutoSaveInner()
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/js/napi/app/js_app_manager/ |
H A D | js_app_manager.cpp | 658 task->Reject(env, CreateJsError(env, GetJsErrorCodeByNativeError(ret))); in OnGetForegroundApplications() 690 task->Reject(env, CreateJsError(env, GetJsErrorCodeByNativeError(ret))); in OnGetRunningProcessInformation() 785 task->Reject(env, CreateJsError(env, GetJsErrorCodeByNativeError(ret))); in OnGetRunningProcessInformationByBundleType() 1496 task->Reject(env, CreateJsError(env, GetJsErrorCodeByNativeError(ret))); in OnGetSupportedProcessCachePids()
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/ability/native/form_runtime/ |
H A D | js_form_extension_context.cpp | 244 …int32_t errcode = static_cast<int32_t>(AbilityRuntime::GetJsErrorCodeByNativeError(innerErrorCode)… in OnConnectAbility()
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/ability/native/ui_service_extension_ability/ |
H A D | js_ui_service_extension_context.cpp | 392 …int32_t errcode = static_cast<int32_t>(AbilityRuntime::GetJsErrorCodeByNativeError(*innerErrorCode… in OnConnectServiceExtensionAbility()
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/ability/native/ability_runtime/ |
H A D | js_ability_context.cpp | 650 AbilityErrorCode errcode = AbilityRuntime::GetJsErrorCodeByNativeError(innerErrorCode); in DoConnectUIServiceExtension() 1526 …int32_t errcode = static_cast<int32_t>(AbilityRuntime::GetJsErrorCodeByNativeError(innerErrorCode)… in OnConnectAbility() 1584 …int32_t errcode = static_cast<int32_t>(AbilityRuntime::GetJsErrorCodeByNativeError(innerErrorCode)… in OnConnectAbilityWithAccount() 1743 asyncTask->Reject(env, CreateJsError(env, GetJsErrorCodeByNativeError(errCode))); in OnRequestDialogService()
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/ability/native/ui_extension_ability/ |
H A D | js_ui_extension_context.cpp | 570 …int32_t errcode = static_cast<int32_t>(AbilityRuntime::GetJsErrorCodeByNativeError(innerErrorCode)… in OnConnectAbility() 784 AbilityErrorCode errcode = AbilityRuntime::GetJsErrorCodeByNativeError(innerErrorCode); in DoConnectUIServiceExtension()
|