/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/js/bundle_manager/ |
H A D | bundle_manager_sync.cpp | 317 return ERROR_PARAM_CHECK_ERROR; in ParamsProcessQueryExtensionInfosSync() 365 return ERROR_PARAM_CHECK_ERROR; in ParamsProcessQueryExtensionInfosOnlyWithTypeNameSync() 395 return ERROR_PARAM_CHECK_ERROR; in ParamsProcessQueryExtensionInfosOnlyWithTypeNameSync() 409 return ERROR_PARAM_CHECK_ERROR; in QueryExtensionInfosSync() 445 return ERROR_PARAM_CHECK_ERROR; in QueryExtensionInfosSyncOnlyWithTypeName() 541 return ERROR_PARAM_CHECK_ERROR; in ParamsProcessGetAbilityLabelSync() 558 return ERROR_PARAM_CHECK_ERROR; in ParamsProcessGetAbilityLabelSync() 610 return ERROR_PARAM_CHECK_ERROR; in ParamsProcessGetLaunchWantForBundleSync() 632 return ERROR_PARAM_CHECK_ERROR; in ParamsProcessGetLaunchWantForBundleSync() 762 return ERROR_PARAM_CHECK_ERROR; in ParamsProcessGetProfileByAbilitySync() [all …]
|
H A D | bundle_manager.cpp | 860 return ERROR_PARAM_CHECK_ERROR; in InnerGetAbilityIcon() 1188 return ERROR_PARAM_CHECK_ERROR; in ParamsProcessQueryAbilityInfosSync() 1198 return ERROR_PARAM_CHECK_ERROR; in ParamsProcessQueryAbilityInfosSync() 1204 return ERROR_PARAM_CHECK_ERROR; in ParamsProcessQueryAbilityInfosSync() 1213 return ERROR_PARAM_CHECK_ERROR; in ParamsProcessQueryAbilityInfosSync() 2364 env, ERROR_PARAM_CHECK_ERROR, BUNDLE_NAME, TYPE_STRING); in GetExtResource() 2530 env, ERROR_PARAM_CHECK_ERROR, BUNDLE_NAME, TYPE_STRING); in DisableDynamicIcon() 2609 env, ERROR_PARAM_CHECK_ERROR, BUNDLE_NAME, TYPE_STRING); in GetDynamicIcon() 3458 BusinessError::ThrowError(env, ERROR_PARAM_CHECK_ERROR); in GetPermissionDef() 4899 return ERROR_PARAM_CHECK_ERROR; in ParamsProcessCanOpenLink() [all …]
|
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/js/default_app/ |
H A D | js_default_app.cpp | 326 return ERROR_PARAM_CHECK_ERROR; in ParamsProcessIsDefaultApplicationSync() 333 return ERROR_PARAM_CHECK_ERROR; in ParamsProcessIsDefaultApplicationSync() 339 return ERROR_PARAM_CHECK_ERROR; in ParamsProcessIsDefaultApplicationSync() 483 return ERROR_PARAM_CHECK_ERROR; in ParamsProcessGetDefaultApplicationSync() 490 return ERROR_PARAM_CHECK_ERROR; in ParamsProcessGetDefaultApplicationSync() 500 return ERROR_PARAM_CHECK_ERROR ; in ParamsProcessGetDefaultApplicationSync() 650 return ERROR_PARAM_CHECK_ERROR; in ParamsProcessSetDefaultApplicationSync() 658 return ERROR_PARAM_CHECK_ERROR; in ParamsProcessSetDefaultApplicationSync() 674 return ERROR_PARAM_CHECK_ERROR; in ParamsProcessSetDefaultApplicationSync() 817 return ERROR_PARAM_CHECK_ERROR; in ParamsProcessResetDefaultApplicationSync() [all …]
|
/ohos5.0/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() 149 BusinessError::ThrowError(env, ERROR_PARAM_CHECK_ERROR, PARAM_TYPE_CHECK_ERROR); in SetOverlayEnabled() 174 BusinessError::ThrowTooFewParametersError(env, ERROR_PARAM_CHECK_ERROR); 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() 328 BusinessError::ThrowError(env, ERROR_PARAM_CHECK_ERROR, PARAM_TYPE_CHECK_ERROR); in GetOverlayModuleInfo() 372 BusinessError::ThrowTooFewParametersError(env, ERROR_PARAM_CHECK_ERROR); in GetTargetOverlayModuleInfos() 393 BusinessError::ThrowError(env, ERROR_PARAM_CHECK_ERROR, PARAM_TYPE_CHECK_ERROR); in GetTargetOverlayModuleInfos() 418 BusinessError::ThrowTooFewParametersError(env, ERROR_PARAM_CHECK_ERROR); in GetOverlayModuleInfoByBundleName() 446 BusinessError::ThrowError(env, ERROR_PARAM_CHECK_ERROR, PARAM_TYPE_CHECK_ERROR); in GetOverlayModuleInfoByBundleName() [all …]
|
/ohos5.0/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() 135 BusinessError::ThrowTooFewParametersError(env, ERROR_PARAM_CHECK_ERROR); in GetLauncherAbilityInfo() 151 BusinessError::ThrowTooFewParametersError(env, ERROR_PARAM_CHECK_ERROR); in GetLauncherAbilityInfoSync() 238 BusinessError::ThrowTooFewParametersError(env, ERROR_PARAM_CHECK_ERROR); in GetAllLauncherAbilityInfo() 262 BusinessError::ThrowTooFewParametersError(env, ERROR_PARAM_CHECK_ERROR); in GetAllLauncherAbilityInfo() 321 BusinessError::ThrowTooFewParametersError(env, ERROR_PARAM_CHECK_ERROR); in GetShortcutInfo() 345 BusinessError::ThrowTooFewParametersError(env, ERROR_PARAM_CHECK_ERROR); in GetShortcutInfo() 361 BusinessError::ThrowTooFewParametersError(env, ERROR_PARAM_CHECK_ERROR); in GetShortcutInfoSync() 463 BusinessError::ThrowTooFewParametersError(env, ERROR_PARAM_CHECK_ERROR); in StartShortcut() 481 BusinessError::ThrowError(env, ERROR_PARAM_CHECK_ERROR, ERROR_EMPTY_WANT); in StartShortcut() [all …]
|
/ohos5.0/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_ID, TYPE_NUMBER); in GetAllDesktopShortcutInfo() [all …]
|
/ohos5.0/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() 189 BusinessError::ThrowTooFewParametersError(env, ERROR_PARAM_CHECK_ERROR); in SetDisposedStatusSync() 273 BusinessError::ThrowTooFewParametersError(env, ERROR_PARAM_CHECK_ERROR); in DeleteDisposedStatus() 350 BusinessError::ThrowTooFewParametersError(env, ERROR_PARAM_CHECK_ERROR); in DeleteDisposedStatusSync() 370 BusinessError::ThrowError(env, ERROR_PARAM_CHECK_ERROR, PARAM_TYPE_CHECK_ERROR); in DeleteDisposedStatusSync() 420 BusinessError::ThrowTooFewParametersError(env, ERROR_PARAM_CHECK_ERROR); in GetDisposedStatus() 460 BusinessError::ThrowTooFewParametersError(env, ERROR_PARAM_CHECK_ERROR); in GetDisposedStatusSync() 657 BusinessError::ThrowTooFewParametersError(env, ERROR_PARAM_CHECK_ERROR); in GetDisposedRule() 677 BusinessError::ThrowError(env, ERROR_PARAM_CHECK_ERROR, PARAM_TYPE_CHECK_ERROR); in GetDisposedRule() 717 BusinessError::ThrowTooFewParametersError(env, ERROR_PARAM_CHECK_ERROR); in SetDisposedRule() [all …]
|
/ohos5.0/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_ST… 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_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/installer/ |
H A D | installer.cpp | 178 BusinessError::ThrowTooFewParametersError(env, ERROR_PARAM_CHECK_ERROR); in GetBundleInstaller() 885 BusinessError::ThrowError(env, ERROR_PARAM_CHECK_ERROR, in CheckInstallParam() 891 BusinessError::ThrowError(env, ERROR_PARAM_CHECK_ERROR, in CheckInstallParam() 1072 BusinessError::ThrowTooFewParametersError(env, ERROR_PARAM_CHECK_ERROR); in Install() 1079 BusinessError::ThrowTooFewParametersError(env, ERROR_PARAM_CHECK_ERROR); in Install() 1210 BusinessError::ThrowTooFewParametersError(env, ERROR_PARAM_CHECK_ERROR); in UninstallByUninstallParam() 1245 BusinessError::ThrowTooFewParametersError(env, ERROR_PARAM_CHECK_ERROR); in UninstallOrRecover() 1535 env, ERROR_PARAM_CHECK_ERROR, BUNDLE_NAME, TYPE_STRING); in AddExtResource() 1542 env, ERROR_PARAM_CHECK_ERROR, FILE_PATH, TYPE_ARRAY); in AddExtResource() 1625 env, ERROR_PARAM_CHECK_ERROR, BUNDLE_NAME, TYPE_STRING); in RemoveExtResource() [all …]
|
/ohos5.0/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() 229 BusinessError::ThrowTooFewParametersError(env, ERROR_PARAM_CHECK_ERROR); in SetHapModuleUpgradeFlag() 601 BusinessError::ThrowTooFewParametersError(env, ERROR_PARAM_CHECK_ERROR); in GetBundlePackInfo() 628 BusinessError::ThrowTooFewParametersError(env, ERROR_PARAM_CHECK_ERROR); in GetBundlePackInfo() [all …]
|
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/js/bundle_resource/ |
H A D | bundle_resource.cpp | 201 BusinessError::ThrowTooFewParametersError(env, ERROR_PARAM_CHECK_ERROR); in GetBundleResourceInfo() 207 … BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, BUNDLE_NAME, TYPE_STRING); in GetBundleResourceInfo() 269 BusinessError::ThrowTooFewParametersError(env, ERROR_PARAM_CHECK_ERROR); in GetLauncherAbilityResourceInfo() 275 … BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, BUNDLE_NAME, TYPE_STRING); in GetLauncherAbilityResourceInfo() 365 BusinessError::ThrowTooFewParametersError(env, ERROR_PARAM_CHECK_ERROR); in GetAllBundleResourceInfo() 377 … BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, RESOURCE_FLAGS, TYPE_NUMBER); in GetAllBundleResourceInfo() 460 BusinessError::ThrowTooFewParametersError(env, ERROR_PARAM_CHECK_ERROR); in GetAllLauncherAbilityResourceInfo() 473 … BusinessError::ThrowParameterTypeError(env, ERROR_PARAM_CHECK_ERROR, RESOURCE_FLAGS, TYPE_NUMBER); in GetAllLauncherAbilityResourceInfo()
|
/ohos5.0/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()
|
/ohos5.0/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; variable
|
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 },
|
/ohos5.0/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()
|
/ohos5.0/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()
|
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/cj/src/ |
H A D | bundle_error.h | 28 constexpr ErrCode ERROR_PARAM_CHECK_ERROR = 401; variable
|