Home
last modified time | relevance | path

Searched refs:ThrowParameterTypeError (Results 1 – 16 of 16) sorted by relevance

/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/js/bundle_manager/
H A Dbundle_manager_sync.cpp157 … BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, BUNDLE_NAME, TYPE_STRING); in SetApplicationEnabledSync()
162 … BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, IS_ENABLE, TYPE_BOOLEAN); in SetApplicationEnabledSync()
198 … BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, ABILITY_INFO, TYPE_OBJECT); in SetAbilityEnabledSync()
203 … BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, IS_ENABLE, TYPE_BOOLEAN); in SetAbilityEnabledSync()
238 … BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, BUNDLE_NAME, TYPE_STRING); in IsApplicationEnabledSync()
273 … BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, ABILITY_INFO, TYPE_OBJECT); in IsAbilityEnabledSync()
331 BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, in ParamsProcessQueryExtensionInfosSync()
339 … BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, FLAGS, TYPE_NUMBER); in ParamsProcessQueryExtensionInfosSync()
728 BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, UID, TYPE_NUMBER); in GetBundleNameByUidSync()
765 … BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, MODULE_NAME, TYPE_STRING); in ParamsProcessGetProfileByAbilitySync()
[all …]
H A Dbundle_manager.cpp571 BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, "uid", TYPE_NUMBER); in GetAppCloneIdentity()
1700 … BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, APP_INDEX, TYPE_NUMBER); in ParseAppIndex()
1710 … BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, IS_ENABLE, TYPE_BOOLEAN); in ParseIsEnable()
2250 … BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, VERIFY_ABC, TYPE_ARRAY); in VerifyAbc()
2363 BusinessError::ThrowParameterTypeError( in GetExtResource()
2444 BusinessError::ThrowParameterTypeError( in EnableDynamicIcon()
2451 BusinessError::ThrowParameterTypeError( in EnableDynamicIcon()
2529 BusinessError::ThrowParameterTypeError( in DisableDynamicIcon()
2608 BusinessError::ThrowParameterTypeError( in GetDynamicIcon()
4903 BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, LINK, TYPE_STRING); in ParamsProcessCanOpenLink()
[all …]
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/js/bundle_monitor/
H A Dbundle_monitor.cpp56 …BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, BUNDLE_CHANGED_EVENT, TYPE_ST… in Register()
62 … BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, CALLBACK, TYPE_FUNCTION); in Register()
100 …BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, BUNDLE_CHANGED_EVENT, TYPE_ST… in Unregister()
125 … BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, CALLBACK, TYPE_FUNCTION); in Unregister()
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/js/overlay/
H A Djs_app_overlay.cpp133 … BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, MODULE_NAME, TYPE_STRING); in SetOverlayEnabled()
138 … BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, IS_ENABLED, TYPE_BOOLEAN); in SetOverlayEnabled()
184 … BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, BUNDLE_NAME, TYPE_STRING); in SetOverlayEnabledByBundleName()
191 … BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, MODULE_NAME, TYPE_STRING); in SetOverlayEnabledByBundleName()
197 … BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, IS_ENABLED, TYPE_BOOLEAN); in SetOverlayEnabledByBundleName()
317 … BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, MODULE_NAME, TYPE_STRING); in GetOverlayModuleInfo()
382 …BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, TARGET_MODULE_NAME, TYPE_STRI… in GetTargetOverlayModuleInfos()
428 … BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, BUNDLE_NAME, TYPE_STRING); in GetOverlayModuleInfoByBundleName()
482 …BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, TARGET_BUNDLE_NAME, TYPE_STRI… in GetTargetOverlayModuleInfosByBundleName()
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/js/app_control/
H A Djs_app_control.cpp152 … BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, APP_ID, TYPE_STRING); in SetDisposedStatus()
159 … BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, DISPOSED_WANT, TYPE_WANT); in SetDisposedStatus()
195 BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, APP_ID, TYPE_STRING); in SetDisposedStatusSync()
207 … BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, DISPOSED_WANT, TYPE_WANT); in SetDisposedStatusSync()
282 … BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, APP_ID, TYPE_STRING); in DeleteDisposedStatus()
356 BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, APP_ID, TYPE_STRING); in DeleteDisposedStatusSync()
429 … BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, APP_ID, TYPE_STRING); in GetDisposedStatus()
466 BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, APP_ID, TYPE_STRING); in GetDisposedStatusSync()
663 BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, APP_ID, TYPE_STRING); in GetDisposedRule()
723 BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, APP_ID, TYPE_STRING); in SetDisposedRule()
[all …]
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/js/launcher_bundle_manager/
H A Dlauncher_bundle_manager.cpp118 … BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, BUNDLE_NAME, TYPE_STRING); in GetLauncherAbilityInfo()
122 … BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, USER_ID, TYPE_NUMBER); in GetLauncherAbilityInfo()
157 … BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, BUNDLE_NAME, TYPE_STRING); in GetLauncherAbilityInfoSync()
161 BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, USER_ID, TYPE_NUMBER); in GetLauncherAbilityInfoSync()
249 … BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, USER_ID, TYPE_NUMBER); in GetAllLauncherAbilityInfo()
332 … BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, USER_ID, TYPE_NUMBER); in GetShortcutInfo()
366 BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, USER_ID, TYPE_NUMBER); in GetShortcutInfoSync()
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/js/installer/
H A Dinstaller.cpp198 … BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, CALLBACK, FUNCTION_TYPE); in GetBundleInstaller()
1110 …BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, PARAMETERS, CORRESPONDING_TYP… in Install()
1437 … BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, BUNDLE_NAME, TYPE_STRING); in UninstallAndRecover()
1534 BusinessError::ThrowParameterTypeError( in AddExtResource()
1541 BusinessError::ThrowParameterTypeError( in AddExtResource()
1624 BusinessError::ThrowParameterTypeError( in RemoveExtResource()
1631 BusinessError::ThrowParameterTypeError( in RemoveExtResource()
1735 … BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, BUNDLE_NAME, TYPE_STRING); in CreateAppClone()
1833 … BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, BUNDLE_NAME, TYPE_STRING); in DestroyAppClone()
1839 … BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, APP_INDEX, TYPE_NUMBER); in DestroyAppClone()
[all …]
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/js/shortcut_manager/
H A Dshortcut_manager.cpp104 … BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, USER_ID, TYPE_NUMBER); in AddDesktopShortcutInfo()
186 … BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, USER_ID, TYPE_NUMBER); in DeleteDesktopShortcutInfo()
267 … BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, USER_ID, TYPE_NUMBER); in GetAllDesktopShortcutInfo()
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/js/free_install/
H A Dfree_install.cpp117 … BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, BUNDLE_NAME, TYPE_STRING); in IsHapModuleRemovable()
121 … BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, MODULE_NAME, TYPE_STRING); in IsHapModuleRemovable()
208 … BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, BUNDLE_NAME, TYPE_STRING); in SetHapModuleUpgradeFlag()
212 … BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, MODULE_NAME, TYPE_STRING); in SetHapModuleUpgradeFlag()
216 … BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, UPGRADE_FLAG, TYPE_NUMBER); in SetHapModuleUpgradeFlag()
611 … BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, BUNDLE_NAME, TYPE_STRING); in GetBundlePackInfo()
615 …BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, BUNDLE_PACK_FLAG, TYPE_NUMBER… in GetBundlePackInfo()
633 …BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, BUNDLE_PACK_FLAG, "BundlePack… in GetBundlePackInfo()
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/js/bundle_resource/
H A Dbundle_resource.cpp207 … BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, BUNDLE_NAME, TYPE_STRING); in GetBundleResourceInfo()
275 … BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, BUNDLE_NAME, TYPE_STRING); in GetLauncherAbilityResourceInfo()
377 … BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, RESOURCE_FLAGS, TYPE_NUMBER); in GetAllBundleResourceInfo()
473 … BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, RESOURCE_FLAGS, TYPE_NUMBER); in GetAllLauncherAbilityResourceInfo()
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/js/common/
H A Dbusiness_error.h29 static void ThrowParameterTypeError(napi_env env, int32_t err,
H A Dbusiness_error.cpp243 void BusinessError::ThrowParameterTypeError(napi_env env, int32_t err, in ThrowParameterTypeError() function in OHOS::AppExecFwk::BusinessError
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/js/default_app/
H A Djs_default_app.cpp332 … BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, TYPE_CHECK, TYPE_STRING); in ParamsProcessIsDefaultApplicationSync()
489 … BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, TYPE_CHECK, TYPE_STRING); in ParamsProcessGetDefaultApplicationSync()
657 … BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, TYPE_CHECK, TYPE_STRING); in ParamsProcessSetDefaultApplicationSync()
663 … BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, WANT_CHECK, TYPE_OBJECT); in ParamsProcessSetDefaultApplicationSync()
823 … BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, TYPE_CHECK, TYPE_STRING); in ParamsProcessResetDefaultApplicationSync()
/ohos5.0/foundation/bundlemanager/distributed_bundle_framework/interfaces/kits/js/distributedBundle/
H A Ddistributed_bundle.cpp302 BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, in GetRemoteAbilityInfo()
310 …BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, PARAMETER_LOCALE, TYPE_STRING… in GetRemoteAbilityInfo()
/ohos5.0/foundation/ability/ability_runtime/service_router_framework/interfaces/kits/js/serviceroutermgr/
H A Dservice_router_mgr.cpp240 …BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, TYPE_BUSINESS_AIBILITY_FILTER, in QueryBusinessAbilityInfos()
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/js/zip/napi/
H A Dnapi_zlib.cpp948 BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, SRC_FILE, TYPE_STRING); in GetOriginalSize()