/foundation/bundlemanager/bundle_framework/interfaces/kits/js/bundle_manager/ |
H A D | bundle_manager_sync.cpp | 150 BusinessError::ThrowTooFewParametersError(env, ERROR_PARAM_CHECK_ERROR); in SetApplicationEnabledSync() 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() 191 BusinessError::ThrowTooFewParametersError(env, ERROR_PARAM_CHECK_ERROR); in SetAbilityEnabledSync() 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() 232 BusinessError::ThrowTooFewParametersError(env, ERROR_PARAM_CHECK_ERROR); in IsApplicationEnabledSync() 238 BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, BUNDLE_NAME, TYPE_STRING); in IsApplicationEnabledSync() 267 BusinessError::ThrowTooFewParametersError(env, ERROR_PARAM_CHECK_ERROR); in IsAbilityEnabledSync() 273 BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, ABILITY_INF in IsAbilityEnabledSync() [all...] |
H A D | bundle_manager.cpp | 230 BusinessError::ThrowTooFewParametersError(env, ERROR_PARAM_CHECK_ERROR); in GetBundleArchiveInfo() 239 BusinessError::ThrowError(env, ERROR_PARAM_CHECK_ERROR, PARAM_TYPE_CHECK_ERROR); in GetBundleArchiveInfo() 252 BusinessError::ThrowError(env, ERROR_PARAM_CHECK_ERROR, errMsg); in GetBundleArchiveInfo() 527 BusinessError::ThrowTooFewParametersError(env, ERROR_PARAM_CHECK_ERROR); in GetBundleNameByUid() 543 BusinessError::ThrowError(env, ERROR_PARAM_CHECK_ERROR, errMsg); in GetBundleNameByUid() 566 BusinessError::ThrowTooFewParametersError(env, ERROR_PARAM_CHECK_ERROR); in GetAppCloneIdentity() 571 BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, "uid", TYPE_NUMBER); in GetAppCloneIdentity() 622 BusinessError::ThrowTooFewParametersError(env, ERROR_PARAM_CHECK_ERROR); in GetApplicationInfo() 627 BusinessError::ThrowTooFewParametersError(env, ERROR_PARAM_CHECK_ERROR); in GetApplicationInfo() 636 BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, BUNDLE_NAM in GetApplicationInfo() [all...] |
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/overlay/ |
H A D | js_app_overlay.cpp | 123 BusinessError::ThrowTooFewParametersError(env, ERROR_PARAM_CHECK_ERROR); in SetOverlayEnabled() 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() 149 BusinessError::ThrowError(env, ERROR_PARAM_CHECK_ERROR, PARAM_TYPE_CHECK_ERROR); in SetOverlayEnabled() 174 BusinessError::ThrowTooFewParametersError(env, ERROR_PARAM_CHECK_ERROR); in SetOverlayEnabledByBundleName() 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() 208 BusinessError::ThrowError(env, ERROR_PARAM_CHECK_ERROR, PARAM_TYPE_CHECK_ERROR); in SetOverlayEnabledByBundleName() 307 BusinessError::ThrowTooFewParametersError(env, ERROR_PARAM_CHECK_ERROR); in GetOverlayModuleInfo() [all...] |
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/default_app/ |
H A D | js_default_app.cpp | 288 BusinessError::ThrowTooFewParametersError(env, ERROR_PARAM_CHECK_ERROR); in IsDefaultApplication() 297 BusinessError::ThrowError(env, ERROR_PARAM_CHECK_ERROR, PARAM_TYPE_CHECK_ERROR); in IsDefaultApplication() 308 BusinessError::ThrowError(env, ERROR_PARAM_CHECK_ERROR, errMsg); in IsDefaultApplication() 325 BusinessError::ThrowTooFewParametersError(env, ERROR_PARAM_CHECK_ERROR); in ParamsProcessIsDefaultApplicationSync() 326 return ERROR_PARAM_CHECK_ERROR; in ParamsProcessIsDefaultApplicationSync() 332 BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, TYPE_CHECK, TYPE_STRING); in ParamsProcessIsDefaultApplicationSync() 333 return ERROR_PARAM_CHECK_ERROR; in ParamsProcessIsDefaultApplicationSync() 338 BusinessError::ThrowError(env, ERROR_PARAM_CHECK_ERROR, errMsg); in ParamsProcessIsDefaultApplicationSync() 339 return ERROR_PARAM_CHECK_ERROR; in ParamsProcessIsDefaultApplicationSync() 437 BusinessError::ThrowTooFewParametersError(env, ERROR_PARAM_CHECK_ERROR); in GetDefaultApplication() [all...] |
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/shortcut_manager/ |
H A D | shortcut_manager.cpp | 86 BusinessError::ThrowTooFewParametersError(env, ERROR_PARAM_CHECK_ERROR); in AddDesktopShortcutInfo() 99 BusinessError::ThrowError(env, ERROR_PARAM_CHECK_ERROR, PARSE_SHORTCUT_INFO); in AddDesktopShortcutInfo() 104 BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, USER_ID, TYPE_NUMBER); in AddDesktopShortcutInfo() 109 BusinessError::ThrowError(env, ERROR_PARAM_CHECK_ERROR, PARAM_TYPE_CHECK_ERROR); in AddDesktopShortcutInfo() 167 BusinessError::ThrowTooFewParametersError(env, ERROR_PARAM_CHECK_ERROR); in DeleteDesktopShortcutInfo() 181 BusinessError::ThrowError(env, ERROR_PARAM_CHECK_ERROR, PARSE_SHORTCUT_INFO); in DeleteDesktopShortcutInfo() 186 BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, USER_ID, TYPE_NUMBER); in DeleteDesktopShortcutInfo() 191 BusinessError::ThrowError(env, ERROR_PARAM_CHECK_ERROR, PARAM_TYPE_CHECK_ERROR); in DeleteDesktopShortcutInfo() 254 BusinessError::ThrowTooFewParametersError(env, ERROR_PARAM_CHECK_ERROR); in GetAllDesktopShortcutInfo() 267 BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, USER_I in GetAllDesktopShortcutInfo() [all...] |
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/launcher_bundle_manager/ |
H A D | launcher_bundle_manager.cpp | 107 BusinessError::ThrowTooFewParametersError(env, ERROR_PARAM_CHECK_ERROR); in GetLauncherAbilityInfo() 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() 135 BusinessError::ThrowTooFewParametersError(env, ERROR_PARAM_CHECK_ERROR); in GetLauncherAbilityInfo() 151 BusinessError::ThrowTooFewParametersError(env, ERROR_PARAM_CHECK_ERROR); in GetLauncherAbilityInfoSync() 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() 238 BusinessError::ThrowTooFewParametersError(env, ERROR_PARAM_CHECK_ERROR); in GetAllLauncherAbilityInfo() 249 BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, USER_ID, TYPE_NUMBER); in GetAllLauncherAbilityInfo() 262 BusinessError::ThrowTooFewParametersError(env, ERROR_PARAM_CHECK_ERROR); in GetAllLauncherAbilityInfo() [all...] |
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/app_control/ |
H A D | js_app_control.cpp | 143 BusinessError::ThrowTooFewParametersError(env, ERROR_PARAM_CHECK_ERROR); in SetDisposedStatus() 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() 170 BusinessError::ThrowError(env, ERROR_PARAM_CHECK_ERROR, PARAM_TYPE_CHECK_ERROR); in SetDisposedStatus() 189 BusinessError::ThrowTooFewParametersError(env, ERROR_PARAM_CHECK_ERROR); in SetDisposedStatusSync() 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() 273 BusinessError::ThrowTooFewParametersError(env, ERROR_PARAM_CHECK_ERROR); in DeleteDisposedStatus() 282 BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, APP_ID, TYPE_STRING); in DeleteDisposedStatus() 296 BusinessError::ThrowError(env, ERROR_PARAM_CHECK_ERROR, PARAM_TYPE_CHECK_ERRO in DeleteDisposedStatus() [all...] |
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/bundle_monitor/ |
H A D | bundle_monitor.cpp | 51 BusinessError::ThrowTooFewParametersError(env, ERROR_PARAM_CHECK_ERROR); in Register() 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() 95 BusinessError::ThrowTooFewParametersError(env, ERROR_PARAM_CHECK_ERROR); in Unregister() 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/installer/ |
H A D | installer.cpp | 176 BusinessError::ThrowTooFewParametersError(env, ERROR_PARAM_CHECK_ERROR); in GetBundleInstaller() 189 BusinessError::ThrowTooFewParametersError(env, ERROR_PARAM_CHECK_ERROR); in GetBundleInstaller() 196 BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, CALLBACK, FUNCTION_TYPE); in GetBundleInstaller() 835 BusinessError::ThrowError(env, ERROR_PARAM_CHECK_ERROR, in CheckInstallParam() 841 BusinessError::ThrowError(env, ERROR_PARAM_CHECK_ERROR, in CheckInstallParam() 1019 BusinessError::ThrowTooFewParametersError(env, ERROR_PARAM_CHECK_ERROR); in Install() 1026 BusinessError::ThrowTooFewParametersError(env, ERROR_PARAM_CHECK_ERROR); in Install() 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, PARAMETER in Install() [all...] |
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/free_install/ |
H A D | free_install.cpp | 106 BusinessError::ThrowTooFewParametersError(env, ERROR_PARAM_CHECK_ERROR); in IsHapModuleRemovable() 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() 133 BusinessError::ThrowTooFewParametersError(env, ERROR_PARAM_CHECK_ERROR); in IsHapModuleRemovable() 197 BusinessError::ThrowTooFewParametersError(env, ERROR_PARAM_CHECK_ERROR); in SetHapModuleUpgradeFlag() 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() 229 BusinessError::ThrowTooFewParametersError(env, ERROR_PARAM_CHECK_ERROR); in SetHapModuleUpgradeFlag() 601 BusinessError::ThrowTooFewParametersError(env, ERROR_PARAM_CHECK_ERROR); in GetBundlePackInfo() [all...] |
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/bundle_resource/ |
H A D | bundle_resource.cpp | 247 BusinessError::ThrowTooFewParametersError(env, ERROR_PARAM_CHECK_ERROR); in GetBundleResourceInfo() 253 BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, BUNDLE_NAME, TYPE_STRING); in GetBundleResourceInfo() 310 BusinessError::ThrowTooFewParametersError(env, ERROR_PARAM_CHECK_ERROR); in GetLauncherAbilityResourceInfo() 316 BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, BUNDLE_NAME, TYPE_STRING); in GetLauncherAbilityResourceInfo() 401 BusinessError::ThrowTooFewParametersError(env, ERROR_PARAM_CHECK_ERROR); in GetAllBundleResourceInfo() 413 BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, RESOURCE_FLAGS, TYPE_NUMBER); in GetAllBundleResourceInfo() 491 BusinessError::ThrowTooFewParametersError(env, ERROR_PARAM_CHECK_ERROR); in GetAllLauncherAbilityResourceInfo() 504 BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, RESOURCE_FLAGS, TYPE_NUMBER); in GetAllLauncherAbilityResourceInfo()
|
/foundation/ability/ability_runtime/service_router_framework/interfaces/kits/js/serviceroutermgr/ |
H A D | service_router_mgr.cpp | 230 BusinessError::ThrowTooFewParametersError(env, ERROR_PARAM_CHECK_ERROR); in QueryBusinessAbilityInfos() 240 BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, TYPE_BUSINESS_AIBILITY_FILTER, in QueryBusinessAbilityInfos() 254 BusinessError::ThrowTooFewParametersError(env, ERROR_PARAM_CHECK_ERROR); in QueryBusinessAbilityInfos()
|
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/common/ |
H A D | business_error.cpp | 158 { ERROR_PARAM_CHECK_ERROR, ERR_MSG_PARAM_TYPE_ERROR }, 302 errMessage = errMessage.replace(iter, 1, std::to_string(ERROR_PARAM_CHECK_ERROR)); in CreateEnumError() 313 return CreateError(env, ERROR_PARAM_CHECK_ERROR, errMessage); in CreateEnumError()
|
H A D | bundle_errors.h | 26 constexpr ErrCode ERROR_PARAM_CHECK_ERROR = 401; member
|
H A D | common_func.cpp | 90 { ERR_BUNDLE_MANAGER_PARAM_ERROR, ERROR_PARAM_CHECK_ERROR }, 110 { ERR_BUNDLEMANAGER_OVERLAY_SET_OVERLAY_PARAM_ERROR, ERROR_PARAM_CHECK_ERROR }, 122 { ERR_BUNDLEMANAGER_OVERLAY_QUERY_FAILED_PARAM_ERROR, ERROR_PARAM_CHECK_ERROR },
|
/foundation/bundlemanager/distributed_bundle_framework/interfaces/kits/js/distributedBundle/ |
H A D | distributed_bundle.cpp | 294 BusinessError::ThrowTooFewParametersError(env, ERROR_PARAM_CHECK_ERROR); in GetRemoteAbilityInfo() 302 BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, in GetRemoteAbilityInfo() 310 BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, PARAMETER_LOCALE, TYPE_STRING); in GetRemoteAbilityInfo() 315 BusinessError::ThrowError(env, ERROR_PARAM_CHECK_ERROR, in GetRemoteAbilityInfo()
|
/foundation/bundlemanager/bundle_framework/interfaces/kits/cj/src/ |
H A D | default_app.cpp | 53 return ERROR_PARAM_CHECK_ERROR; in ParamsProcessIsDefaultApplicationSync()
|
H A D | bundle_error.h | 28 constexpr ErrCode ERROR_PARAM_CHECK_ERROR = 401; member
|
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/zip/napi/ |
H A D | napi_zlib.cpp | 789 BusinessError::ThrowError(env, ERROR_PARAM_CHECK_ERROR, WRONG_PARAM); in CompressFile() 795 BusinessError::ThrowError(env, ERROR_PARAM_CHECK_ERROR, WRONG_PARAM); in CompressFile() 855 BusinessError::ThrowError(env, ERROR_PARAM_CHECK_ERROR, WRONG_PARAM); in DecompressFile() 860 BusinessError::ThrowError(env, ERROR_PARAM_CHECK_ERROR, WRONG_PARAM); in DecompressFile() 943 BusinessError::ThrowTooFewParametersError(env, ERROR_PARAM_CHECK_ERROR); in GetOriginalSize() 948 BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, SRC_FILE, TYPE_STRING); in GetOriginalSize()
|