Home
last modified time | relevance | path

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

/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_STRING); 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_STRING); in Unregister()
125 BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, CALLBACK, TYPE_FUNCTION); in Unregister()
/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()
372 BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, EXTENSION_TYPE_NAME, in ParamsProcessQueryExtensionInfosOnlyWithTypeNameSync()
379 BusinessError::ThrowParameterTypeError(en in ParamsProcessQueryExtensionInfosOnlyWithTypeNameSync()
[all...]
H A Dbundle_manager.cpp571 BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, "uid", TYPE_NUMBER); in GetAppCloneIdentity()
636 BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, BUNDLE_NAME, TYPE_STRING); in GetApplicationInfo()
642 BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, APP_FLAGS, TYPE_NUMBER); in GetApplicationInfo()
697 BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, APP_FLAGS, TYPE_NUMBER); in GetApplicationInfos()
1203 BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, ABILITY_FLAGS, TYPE_NUMBER); in ParamsProcessQueryAbilityInfosSync()
1533 BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, BUNDLE_NAME, TYPE_STRING); in GetAbilityLabel()
1537 BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, MODULE_NAME, TYPE_STRING); in GetAbilityLabel()
1541 BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, ABILITY_NAME, TYPE_STRING); in GetAbilityLabel()
1620 BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, BUNDLE_NAME, TYPE_STRING); in GetAbilityIcon()
1624 BusinessError::ThrowParameterTypeError(en in GetAbilityIcon()
[all...]
/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_STRING); 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_STRING); in GetTargetOverlayModuleInfosByBundleName()
/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(en in SetDisposedRule()
[all...]
/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()
/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
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/installer/
H A Dinstaller.cpp196 BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, CALLBACK, FUNCTION_TYPE); in GetBundleInstaller()
1037 BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, PARAMETERS, CORRESPONDING_TYPE); in Install()
1047 BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, PARAMETERS, CORRESPONDING_TYPE); in Install()
1057 BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, PARAMETERS, CORRESPONDING_TYPE); in Install()
1166 BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, PARAMETERS, CORRESPONDING_TYPE); in UninstallByUninstallParam()
1174 BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, PARAMETERS, CORRESPONDING_TYPE); in UninstallByUninstallParam()
1210 BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, PARAMETERS, CORRESPONDING_TYPE); in UninstallOrRecover()
1220 BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, PARAMETERS, CORRESPONDING_TYPE); in UninstallOrRecover()
1230 BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, PARAMETERS, CORRESPONDING_TYPE); in UninstallOrRecover()
1296 BusinessError::ThrowParameterTypeError(en in UpdateBundleForSelf()
[all...]
/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()
/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, "BundlePackFlag"); in GetBundlePackInfo()
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/bundle_resource/
H A Dbundle_resource.cpp253 BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, BUNDLE_NAME, TYPE_STRING); in GetBundleResourceInfo()
316 BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, BUNDLE_NAME, TYPE_STRING); in GetLauncherAbilityResourceInfo()
413 BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, RESOURCE_FLAGS, TYPE_NUMBER); in GetAllBundleResourceInfo()
504 BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, RESOURCE_FLAGS, TYPE_NUMBER); in GetAllLauncherAbilityResourceInfo()
/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()
/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()
/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()
/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()

Completed in 21 milliseconds