/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/shared/ |
H A D | shared_bundle_installer.cpp | 42 InstallCheckParam checkParam; in ParseFiles() local 43 checkParam.isPreInstallApp = installParam_.isPreInstallApp; in ParseFiles() 44 checkParam.crowdtestDeadline = installParam_.crowdtestDeadline; in ParseFiles() 45 checkParam.appType = appType_; in ParseFiles() 46 checkParam.removable = installParam_.removable; in ParseFiles() 47 checkParam.installBundlePermissionStatus = installParam_.installBundlePermissionStatus; in ParseFiles() 48 checkParam.installEnterpriseBundlePermissionStatus = installParam_.installEnterpriseBundlePermissionStatus; in ParseFiles() 49 checkParam.installEtpNormalBundlePermissionStatus = installParam_.installEtpNormalBundlePermissionStatus; in ParseFiles() 50 checkParam.installEtpMdmBundlePermissionStatus = installParam_.installEtpMdmBundlePermissionStatus; in ParseFiles() 51 checkParam in ParseFiles() [all...] |
H A D | inner_shared_bundle_installer.cpp | 46 ErrCode InnerSharedBundleInstaller::ParseFiles(const InstallCheckParam &checkParam) in ParseFiles() argument 56 if (!checkParam.isPreInstallApp) { in ParseFiles() 79 result = bundleInstallChecker_->ParseHapFiles(bundlePaths, checkParam, hapVerifyResults, parsedBundles_); in ParseFiles() 83 result = bundleInstallChecker_->CheckInstallPermission(checkParam, hapVerifyResults); in ParseFiles() 91 sendStartSharedBundleInstallNotify(checkParam, parsedBundles_); in ParseFiles()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_installer_test/ |
H A D | bms_bundle_install_checker_test.cpp | 2157 InstallCheckParam checkParam;
in HWTEST_F() local 2161 checkParam.isCallByShell = false;
in HWTEST_F() 2162 checkParam.installBundlePermissionStatus = PermissionStatus::HAVE_PERMISSION_STATUS;
in HWTEST_F() 2163 checkParam.installEnterpriseBundlePermissionStatus = PermissionStatus::HAVE_PERMISSION_STATUS;
in HWTEST_F() 2164 checkParam.installEtpMdmBundlePermissionStatus = PermissionStatus::HAVE_PERMISSION_STATUS;
in HWTEST_F() 2165 bool res1 = installChecker.VaildInstallPermissionForShare(checkParam, hapVerifyRes);
in HWTEST_F() 2168 checkParam.installBundlePermissionStatus = PermissionStatus::NON_HAVE_PERMISSION_STATUS;
in HWTEST_F() 2169 bool res2 = installChecker.VaildInstallPermissionForShare(checkParam, hapVerifyRes);
in HWTEST_F() 2172 checkParam.installEnterpriseBundlePermissionStatus = PermissionStatus::NON_HAVE_PERMISSION_STATUS;
in HWTEST_F() 2173 bool res3 = installChecker.VaildInstallPermissionForShare(checkParam, hapVerifyRe in HWTEST_F() 2197 InstallCheckParam checkParam; HWTEST_F() local 2237 InstallCheckParam checkParam; HWTEST_F() local [all...] |
H A D | bms_bundle_installer_test.cpp | 3407 InstallCheckParam checkParam; in HWTEST_F() local 3430 auto ret = installChecker.ParseHapFiles(bundlePaths, checkParam, hapVerifyRes, infos); in HWTEST_F() 3446 InstallCheckParam checkParam; in HWTEST_F() local 3469 auto ret = installChecker.ParseHapFiles(bundlePaths, checkParam, hapVerifyRes, infos); in HWTEST_F()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ |
H A D | bundle_install_checker.cpp | 340 const InstallCheckParam &checkParam, in ParseHapFiles() 355 newInfo.SetIsPreInstallApp(checkParam.isPreInstallApp); in ParseHapFiles() 401 GetPrivilegeCapability(checkParam, newInfo); in ParseHapFiles() 404 (checkParam.specifiedDistributionType == Constants::APP_DISTRIBUTION_TYPE_CROWDTESTING)) { in ParseHapFiles() 405 newInfo.SetAppCrowdtestDeadline((checkParam.crowdtestDeadline >= 0) ? checkParam.crowdtestDeadline : in ParseHapFiles() 410 if (!checkParam.isPreInstallApp) { in ParseHapFiles() 411 if ((result = CheckSystemSize(bundlePaths[i], checkParam.appType)) != ERR_OK) { in ParseHapFiles() 443 ErrCode BundleInstallChecker::CheckInstallPermission(const InstallCheckParam &checkParam, in CheckInstallPermission() argument 446 if ((checkParam in CheckInstallPermission() 338 ParseHapFiles( const std::vector<std::string> &bundlePaths, const InstallCheckParam &checkParam, std::vector<Security::Verify::HapVerifyResult> &hapVerifyRes, std::unordered_map<std::string, InnerBundleInfo> &infos) ParseHapFiles() argument 459 VaildInstallPermissionForShare(const InstallCheckParam &checkParam, const std::vector<Security::Verify::HapVerifyResult> &hapVerifyRes) VaildInstallPermissionForShare() argument 509 VaildEnterpriseInstallPermissionForShare(const InstallCheckParam &checkParam, const Security::Verify::ProvisionInfo &provisionInfo) VaildEnterpriseInstallPermissionForShare() argument 711 GetPrivilegeCapability( const InstallCheckParam &checkParam, InnerBundleInfo &newInfo) GetPrivilegeCapability() argument [all...] |
H A D | base_bundle_installer.cpp | 3700 InstallCheckParam checkParam; in ParseHapFiles() local 3701 checkParam.isPreInstallApp = installParam.isPreInstallApp; in ParseHapFiles() 3702 checkParam.crowdtestDeadline = installParam.crowdtestDeadline; in ParseHapFiles() 3703 checkParam.specifiedDistributionType = installParam.specifiedDistributionType; in ParseHapFiles() 3704 checkParam.appType = appType; in ParseHapFiles() 3705 checkParam.removable = installParam.removable; in ParseHapFiles() 3707 bundlePaths, checkParam, hapVerifyRes, infos); in ParseHapFiles()
|
H A D | bundle_mgr_service_event_handler.cpp | 3082 InstallCheckParam checkParam; in CheckAndParseHapFiles() local 3083 checkParam.isPreInstallApp = isPreInstallApp; in CheckAndParseHapFiles() 3085 checkParam.appType = Constants::AppType::SYSTEM_APP; in CheckAndParseHapFiles() 3089 realPaths, checkParam, hapVerifyResults, infos); in CheckAndParseHapFiles()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/ |
H A D | bundle_install_checker.h | 111 * @param checkParam Indicates the install check parameters. 118 const InstallCheckParam &checkParam, 137 ErrCode CheckInstallPermission(const InstallCheckParam &checkParam, 146 bool VaildInstallPermissionForShare(const InstallCheckParam &checkParam, 149 bool VaildEnterpriseInstallPermissionForShare(const InstallCheckParam &checkParam, 204 const InstallCheckParam &checkParam, InnerBundleInfo &newInfo);
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/app_service_fwk/ |
H A D | app_service_fwk_installer.cpp | 55 const InstallParam &installParam, InstallCheckParam &checkParam) in BuildCheckParam() 57 checkParam.isPreInstallApp = installParam.isPreInstallApp; in BuildCheckParam() 58 checkParam.crowdtestDeadline = installParam.crowdtestDeadline; in BuildCheckParam() 59 checkParam.appType = AppExecFwk::Constants::AppType::SYSTEM_APP; in BuildCheckParam() 60 checkParam.removable = installParam.removable; in BuildCheckParam() 61 checkParam.installBundlePermissionStatus = installParam.installBundlePermissionStatus; in BuildCheckParam() 62 checkParam.installEnterpriseBundlePermissionStatus = installParam.installEnterpriseBundlePermissionStatus; in BuildCheckParam() 63 checkParam.installEtpNormalBundlePermissionStatus = installParam.installEtpNormalBundlePermissionStatus; in BuildCheckParam() 64 checkParam.installEtpMdmBundlePermissionStatus = installParam.installEtpMdmBundlePermissionStatus; in BuildCheckParam() 65 checkParam in BuildCheckParam() 54 BuildCheckParam( const InstallParam &installParam, InstallCheckParam &checkParam) BuildCheckParam() argument 378 InstallCheckParam checkParam; CheckAndParseFiles() local [all...] |
/foundation/resourceschedule/device_standby/services/core/src/ |
H A D | allow_record.cpp | 66 bool checkParam = checkUid || checkPid || checkName || checkAllowType || checkReasonCode; in setAllowRecordField() local 67 if (checkParam) { in setAllowRecordField()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/shared/ |
H A D | inner_shared_bundle_installer.h | 43 * @param checkParam Indicates the install check param. 46 ErrCode ParseFiles(const InstallCheckParam &checkParam);
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_app_provision_info_test/ |
H A D | bms_bundle_app_provision_info_test.cpp | 1666 InstallCheckParam checkParam; in HWTEST_F() local 1667 ErrCode ret = installer.ParseFiles(checkParam); in HWTEST_F() 1669 checkParam.isPreInstallApp = true; in HWTEST_F() 1670 EXPECT_NE(ERR_OK, installer.ParseFiles(checkParam)); in HWTEST_F()
|