Home
last modified time | relevance | path

Searched refs:CreateCommonError (Results 1 – 24 of 24) sorted by relevance

/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/js/default_app/
H A Djs_default_app_unsupported.cpp31 napi_value error = BusinessError::CreateCommonError(env, ERROR_SYSTEM_ABILITY_NOT_FOUND, in IsDefaultApplication()
40 napi_value error = BusinessError::CreateCommonError(env, ERROR_SYSTEM_ABILITY_NOT_FOUND, in IsDefaultApplicationSync()
49 napi_value error = BusinessError::CreateCommonError(env, ERROR_SYSTEM_ABILITY_NOT_FOUND, in GetDefaultApplication()
58 napi_value error = BusinessError::CreateCommonError(env, ERROR_SYSTEM_ABILITY_NOT_FOUND, in GetDefaultApplicationSync()
67 napi_value error = BusinessError::CreateCommonError(env, ERROR_SYSTEM_ABILITY_NOT_FOUND, in SetDefaultApplication()
76 napi_value error = BusinessError::CreateCommonError(env, ERROR_SYSTEM_ABILITY_NOT_FOUND, in SetDefaultApplicationSync()
85 napi_value error = BusinessError::CreateCommonError(env, ERROR_SYSTEM_ABILITY_NOT_FOUND, in ResetDefaultApplication()
94 napi_value error = BusinessError::CreateCommonError(env, ERROR_SYSTEM_ABILITY_NOT_FOUND, in ResetDefaultApplicationSync()
H A Djs_default_app.cpp270 result[ARGS_POS_ZERO] = BusinessError::CreateCommonError(env, asyncCallbackInfo->err, in IsDefaultApplicationComplete()
358 napi_value error = BusinessError::CreateCommonError(env, ERROR_BUNDLE_SERVICE_EXCEPTION, in IsDefaultApplicationSync()
368 napi_value businessError = BusinessError::CreateCommonError( in IsDefaultApplicationSync()
418 result[ARGS_POS_ZERO] = BusinessError::CreateCommonError(env, asyncCallbackInfo->err, in GetDefaultApplicationComplete()
517 napi_value error = BusinessError::CreateCommonError(env, ERROR_BUNDLE_SERVICE_EXCEPTION, in GetDefaultApplicationSync()
528 napi_value businessError = BusinessError::CreateCommonError( in GetDefaultApplicationSync()
579 result[ARGS_POS_ZERO] = BusinessError::CreateCommonError(env, asyncCallbackInfo->err, in SetDefaultApplicationComplete()
693 napi_value error = BusinessError::CreateCommonError(env, ERROR_BUNDLE_SERVICE_EXCEPTION, in SetDefaultApplicationSync()
704 napi_value businessError = BusinessError::CreateCommonError( in SetDefaultApplicationSync()
752 result[ARGS_POS_ZERO] = BusinessError::CreateCommonError(env, asyncCallbackInfo->err, in ResetDefaultApplicationComplete()
[all …]
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/js/app_control/
H A Djs_app_control_unsupported.cpp30 napi_value error = BusinessError::CreateCommonError(env, ERROR_SYSTEM_ABILITY_NOT_FOUND, in GetDisposedStatus()
39 napi_value error = BusinessError::CreateCommonError(env, ERROR_SYSTEM_ABILITY_NOT_FOUND, in SetDisposedStatus()
48 napi_value error = BusinessError::CreateCommonError(env, ERROR_SYSTEM_ABILITY_NOT_FOUND, in DeleteDisposedStatus()
57 napi_value error = BusinessError::CreateCommonError(env, ERROR_SYSTEM_ABILITY_NOT_FOUND, in GetDisposedStatusSync()
66 napi_value error = BusinessError::CreateCommonError(env, ERROR_SYSTEM_ABILITY_NOT_FOUND, in SetDisposedStatusSync()
75 napi_value error = BusinessError::CreateCommonError(env, ERROR_SYSTEM_ABILITY_NOT_FOUND, in DeleteDisposedStatusSync()
84 napi_value error = BusinessError::CreateCommonError(env, ERROR_SYSTEM_ABILITY_NOT_FOUND, in GetDisposedRule()
93 napi_value error = BusinessError::CreateCommonError(env, ERROR_SYSTEM_ABILITY_NOT_FOUND, in SetDisposedRule()
H A Djs_app_control.cpp125 result[0] = BusinessError::CreateCommonError( in SetDisposedStatusComplete()
199 napi_value businessError = BusinessError::CreateCommonError( in SetDisposedStatusSync()
222 napi_value businessError = BusinessError::CreateCommonError( in SetDisposedStatusSync()
255 result[0] = BusinessError::CreateCommonError( in DeleteDisposedStatusComplete()
312 napi_value businessError = BusinessError::CreateCommonError( in InnerDeleteDisposedStatusSync()
334 napi_value businessError = BusinessError::CreateCommonError( in InnerDeleteDisposedStatusSync()
402 result[0] = BusinessError::CreateCommonError( in GetDisposedStatusComplete()
470 napi_value businessError = BusinessError::CreateCommonError( in GetDisposedStatusSync()
488 napi_value businessError = BusinessError::CreateCommonError( in GetDisposedStatusSync()
617 napi_value businessError = BusinessError::CreateCommonError( in InnerGetDisposedRule()
[all …]
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/js/launcher_bundle_manager/
H A Dlauncher_bundle_manager_unsupported.cpp30 napi_value error = BusinessError::CreateCommonError(env, ERROR_SYSTEM_ABILITY_NOT_FOUND, in GetLauncherAbilityInfo()
39 napi_value error = BusinessError::CreateCommonError(env, ERROR_SYSTEM_ABILITY_NOT_FOUND, in GetLauncherAbilityInfoSync()
48 napi_value error = BusinessError::CreateCommonError(env, ERROR_SYSTEM_ABILITY_NOT_FOUND, in GetAllLauncherAbilityInfo()
57 napi_value error = BusinessError::CreateCommonError(env, ERROR_SYSTEM_ABILITY_NOT_FOUND, in GetShortcutInfo()
66 napi_value error = BusinessError::CreateCommonError(env, ERROR_SYSTEM_ABILITY_NOT_FOUND, in GetShortcutInfoSync()
75 napi_value error = BusinessError::CreateCommonError(env, ERROR_SYSTEM_ABILITY_NOT_FOUND, in StartShortcut()
H A Dlauncher_bundle_manager.cpp95 …result[0] = BusinessError::CreateCommonError(env, asyncCallbackInfo->err, GET_LAUNCHER_ABILITY_INF… in GetLauncherAbilityInfoComplete()
166 napi_value businessError = BusinessError::CreateCommonError( in GetLauncherAbilityInfoSync()
178 napi_value businessError = BusinessError::CreateCommonError( in GetLauncherAbilityInfoSync()
226 …result[0] = BusinessError::CreateCommonError(env, asyncCallbackInfo->err, GET_ALL_LAUNCHER_ABILITY… in GetAllLauncherAbilityInfoComplete()
309 result[0] = BusinessError::CreateCommonError(env, asyncCallbackInfo->err, GET_SHORTCUT_INFO, in GetShortcutInfoComplete()
379 napi_value businessError = BusinessError::CreateCommonError( in GetShortcutInfoSync()
389 napi_value businessError = BusinessError::CreateCommonError( in GetShortcutInfoSync()
450 result[0] = BusinessError::CreateCommonError( in StartShortcutComplete()
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/js/overlay/
H A Djs_app_overlay_unsupported.cpp30 napi_value error = BusinessError::CreateCommonError(env, ERROR_SYSTEM_ABILITY_NOT_FOUND, in SetOverlayEnabled()
39 napi_value error = BusinessError::CreateCommonError(env, ERROR_SYSTEM_ABILITY_NOT_FOUND, in SetOverlayEnabledByBundleName()
48 napi_value error = BusinessError::CreateCommonError(env, ERROR_SYSTEM_ABILITY_NOT_FOUND, in GetOverlayModuleInfo()
57 napi_value error = BusinessError::CreateCommonError(env, ERROR_SYSTEM_ABILITY_NOT_FOUND, in GetTargetOverlayModuleInfos()
66 napi_value error = BusinessError::CreateCommonError(env, ERROR_SYSTEM_ABILITY_NOT_FOUND, in GetOverlayModuleInfoByBundleName()
75 napi_value error = BusinessError::CreateCommonError(env, ERROR_SYSTEM_ABILITY_NOT_FOUND, in GetTargetOverlayModuleInfosByBundleName()
H A Djs_app_overlay.cpp105 result[0] = BusinessError::CreateCommonError(env, overlayCallbackInfo->err, in SetOverlayEnabledComplete()
288 result[ARGS_POS_ZERO] = BusinessError::CreateCommonError(env, overlayCallbackInfo->err, in GetOverlayModuleInfoComplete()
353 result[ARGS_POS_ZERO] = BusinessError::CreateCommonError(env, overlayCallbackInfo->err, in GetTargetOverlayModuleInfosComplete()
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/js/bundle_resource/
H A Dbundle_resource_unsupported.cpp29 napi_value error = BusinessError::CreateCommonError(env, ERROR_SYSTEM_ABILITY_NOT_FOUND, in GetBundleResourceInfo()
38 napi_value error = BusinessError::CreateCommonError(env, ERROR_SYSTEM_ABILITY_NOT_FOUND, in GetLauncherAbilityResourceInfo()
47 napi_value error = BusinessError::CreateCommonError(env, ERROR_SYSTEM_ABILITY_NOT_FOUND, in GetAllBundleResourceInfo()
56 napi_value error = BusinessError::CreateCommonError(env, ERROR_SYSTEM_ABILITY_NOT_FOUND, in GetAllLauncherAbilityResourceInfo()
H A Dbundle_resource.cpp228 napi_value businessError = BusinessError::CreateCommonError( in GetBundleResourceInfo()
297 napi_value businessError = BusinessError::CreateCommonError( in GetLauncherAbilityResourceInfo()
353 result[0] = BusinessError::CreateCommonError(env, asyncCallbackInfo->err, in GetAllBundleResourceInfoComplete()
447 result[0] = BusinessError::CreateCommonError(env, asyncCallbackInfo->err, in GetAllLauncherAbilityResourceInfoComplete()
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/js/free_install/
H A Dfree_install_unsupported.cpp30 …napi_value error = BusinessError::CreateCommonError(env, ERROR_SYSTEM_ABILITY_NOT_FOUND, "isHapMod… in IsHapModuleRemovable()
38 …napi_value error = BusinessError::CreateCommonError(env, ERROR_SYSTEM_ABILITY_NOT_FOUND, "setHapMo… in SetHapModuleUpgradeFlag()
46 …napi_value error = BusinessError::CreateCommonError(env, ERROR_SYSTEM_ABILITY_NOT_FOUND, "getBundl… in GetBundlePackInfo()
54 …napi_value error = BusinessError::CreateCommonError(env, ERROR_SYSTEM_ABILITY_NOT_FOUND, "getDispa… in GetDispatchInfo()
H A Dfree_install.cpp93 result[0] = BusinessError::CreateCommonError(env, asyncCallbackInfo->err, in IsHapModuleRemovableComplete()
185 result[0] = BusinessError::CreateCommonError(env, asyncCallbackInfo->err, in SetHapModuleUpgradeFlagComplete()
589 result[0] = BusinessError::CreateCommonError(env, asyncCallbackInfo->err, in GetBundlePackInfoComplete()
702 result[0] = BusinessError::CreateCommonError(env, asyncCallbackInfo->err, in GetDispatchInfoComplete()
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/js/bundle_manager/
H A Dbundle_manager_sync.cpp174 napi_value businessError = BusinessError::CreateCommonError( in SetApplicationEnabledSync()
215 napi_value businessError = BusinessError::CreateCommonError( in SetAbilityEnabledSync()
485 napi_value businessError = BusinessError::CreateCommonError( in QueryExtensionInfosSync()
522 napi_value businessError = BusinessError::CreateCommonError( in GetPermissionDefSync()
586 napi_value businessError = BusinessError::CreateCommonError( in GetAbilityLabelSync()
662 napi_value businessError = BusinessError::CreateCommonError( in GetLaunchWantForBundleSync()
705 napi_value businessError = BusinessError::CreateCommonError( in GetBundleArchiveInfoSync()
744 napi_value businessError = BusinessError::CreateCommonError( in GetBundleNameByUidSync()
850 napi_value businessError = BusinessError::CreateCommonError( in GetProfileByAbilitySync()
920 napi_value businessError = BusinessError::CreateCommonError( in GetProfileByExAbilitySync()
[all …]
H A Dbundle_manager.cpp1256 napi_value businessError = BusinessError::CreateCommonError( in QueryAbilityInfosSync()
1510 result[0] = BusinessError::CreateCommonError( in GetAbilityLabelComplete()
1595 result[0] = BusinessError::CreateCommonError( in GetAbilityIconComplete()
1680 result[0] = BusinessError::CreateCommonError( in SetApplicationEnabledComplete()
1819 result[0] = BusinessError::CreateCommonError( in SetAbilityEnabledComplete()
2223 result[0] = BusinessError::CreateCommonError( in VerifyComplete()
2415 result[0] = BusinessError::CreateCommonError(env, in EnableDynamicIconComplete()
2503 result[0] = BusinessError::CreateCommonError( in DisableDynamicIconComplete()
2659 result[0] = BusinessError::CreateCommonError( in DeleteAbcComplete()
3417 result[0] = BusinessError::CreateCommonError( in GetPermissionDefComplete()
[all …]
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/js/shortcut_manager/
H A Dshortcut_manager.cpp74 …result[0] = BusinessError::CreateCommonError(env, asyncCallbackInfo->err, ADD_DESKTOP_SHORTCUT_INF… in AddDesktopShortcutInfoComplete()
154 …result[0] = BusinessError::CreateCommonError(env, asyncCallbackInfo->err, ADD_DESKTOP_SHORTCUT_INF… in DeleteDesktopShortcutInfoComplete()
240 …result[0] = BusinessError::CreateCommonError(env, asyncCallbackInfo->err, GET_ALL_DESKTOP_SHORTCUT… in GetAllDesktopShortcutInfoComplete()
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/js/bundle_monitor/
H A Dbundle_monitor.cpp72 auto error = BusinessError::CreateCommonError(env, ERROR_NOT_SYSTEM_APP); in Register()
111 auto error = BusinessError::CreateCommonError(env, ERROR_NOT_SYSTEM_APP); in Unregister()
/ohos5.0/foundation/bundlemanager/distributed_bundle_framework/interfaces/kits/js/distributedBundle/
H A Ddistributed_bundle_unsupported.cpp30 napi_value error = BusinessError::CreateCommonError(env, ERROR_SYSTEM_ABILITY_NOT_FOUND, in GetRemoteAbilityInfo()
H A Ddistributed_bundle.cpp264 result[0] = BusinessError::CreateCommonError(env, asyncCallbackInfo->err, in GetRemoteAbilityInfoComplete()
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/js/common/
H A Dbusiness_error.h34 static napi_value CreateCommonError(napi_env env, int32_t err,
H A Dbusiness_error.cpp246 napi_value error = CreateCommonError(env, err, parameter, type); in ThrowParameterTypeError()
267 napi_value BusinessError::CreateCommonError( in CreateCommonError() function in OHOS::AppExecFwk::BusinessError
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/js/installer/
H A Dinstaller.cpp140 result[0] = BusinessError::CreateCommonError( in GetBundleInstallerCompleted()
229 napi_value businessError = BusinessError::CreateCommonError( in GetBundleInstallerSync()
1032 … result[FIRST_PARAM] = BusinessError::CreateCommonError(env, callbackPtr->installResult.resultCode, in OperationCompleted()
1036 … result[FIRST_PARAM] = BusinessError::CreateCommonError(env, callbackPtr->installResult.resultCode, in OperationCompleted()
1040 … result[FIRST_PARAM] = BusinessError::CreateCommonError(env, callbackPtr->installResult.resultCode, in OperationCompleted()
1044 … result[FIRST_PARAM] = BusinessError::CreateCommonError(env, callbackPtr->installResult.resultCode, in OperationCompleted()
1505 result[0] = BusinessError::CreateCommonError( in AddExtResourceComplete()
1595 result[0] = BusinessError::CreateCommonError( in RemoveExtResourceComplete()
1693 result[FIRST_PARAM] = BusinessError::CreateCommonError(env, asyncCallbackInfo->err, in CreateAppCloneComplete()
1806 result[FIRST_PARAM] = BusinessError::CreateCommonError(env, asyncCallbackInfo->err, in DestroyAppCloneComplete()
[all …]
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/js/zip/napi/
H A Dzlib_callback_info.cpp73 result[0] = BusinessError::CreateCommonError(asyncCallbackInfo->env, in ExcuteWork()
H A Dnapi_zlib.cpp920 result[0] = BusinessError::CreateCommonError(env, errCode, GET_ORIGINAL_SIZE); in GetOriginalSizeComplete()
923 result[0] = BusinessError::CreateCommonError(env, ERR_OK, ""); in GetOriginalSizeComplete()
/ohos5.0/foundation/ability/ability_runtime/service_router_framework/interfaces/kits/js/serviceroutermgr/
H A Dservice_router_mgr.cpp207 result[0] = BusinessError::CreateCommonError(env, asyncCallbackInfo->err, in QueryBusinessAbilityInfosComplete()