/foundation/bundlemanager/bundle_framework/interfaces/kits/js/bundle_monitor/ |
H A D | bundle_monitor.cpp | 56 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 D | bundle_manager_sync.cpp | 157 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 D | bundle_manager.cpp | 571 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 D | js_app_overlay.cpp | 133 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 D | js_app_control.cpp | 152 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 D | launcher_bundle_manager.cpp | 118 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 D | business_error.h | 29 static void ThrowParameterTypeError(napi_env env, int32_t err,
|
H A D | business_error.cpp | 243 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 D | installer.cpp | 196 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 D | shortcut_manager.cpp | 104 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 D | free_install.cpp | 117 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 D | bundle_resource.cpp | 253 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 D | js_default_app.cpp | 332 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 D | distributed_bundle.cpp | 302 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 D | service_router_mgr.cpp | 240 BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, TYPE_BUSINESS_AIBILITY_FILTER, in QueryBusinessAbilityInfos()
|
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/zip/napi/ |
H A D | napi_zlib.cpp | 948 BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, SRC_FILE, TYPE_STRING); in GetOriginalSize()
|