/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_permission_grant_test/ |
H A D | bms_bundle_permission_start_full_test.cpp | 177 * Function: MatchSignature 178 * @tc.name: test MatchSignature false 188 res = BundlePermissionMgr::MatchSignature(permission, signatures); in HWTEST_F() 194 * Function: MatchSignature 195 * @tc.name: test MatchSignature false 207 res = BundlePermissionMgr::MatchSignature(permission, signatures); in HWTEST_F() 213 * Function: MatchSignature 214 * @tc.name: test MatchSignature false 226 res = BundlePermissionMgr::MatchSignature(permission, signatures); in HWTEST_F()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/ |
H A D | bundle_permission_mgr.h | 135 static bool MatchSignature(const DefaultPermission &permission, const std::vector<std::string> &signatures); 137 static bool MatchSignature(const DefaultPermission &permission, const std::string &signature);
|
H A D | bundle_install_checker.h | 219 bool MatchSignature(const std::vector<std::string> &appSignatures, const std::string &signature);
|
H A D | bundle_mgr_service_event_handler.h | 570 bool MatchSignature(const PreBundleConfigInfo &configInfo, const std::string &signature);
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/mock/src/ |
H A D | bundle_permission_mgr.cpp | 262 bool BundlePermissionMgr::MatchSignature(const DefaultPermission &permission,
in MatchSignature() function in OHOS::AppExecFwk::BundlePermissionMgr 268 bool BundlePermissionMgr::MatchSignature(const DefaultPermission &permission,
in MatchSignature() function in OHOS::AppExecFwk::BundlePermissionMgr
|
H A D | bundle_mgr_service_event_handler.cpp | 605 bool BMSEventHandler::MatchSignature(const PreBundleConfigInfo& configInfo, const std::string& signature) in MatchSignature() function in OHOS::AppExecFwk::BMSEventHandler
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ |
H A D | bundle_permission_mgr.cpp | 160 if (!MatchSignature(permission, innerBundleInfo.GetCertificateFingerprint()) && in CreateHapPolicyParam() 161 !MatchSignature(permission, innerBundleInfo.GetAppId()) && in CreateHapPolicyParam() 162 !MatchSignature(permission, innerBundleInfo.GetAppIdentifier()) && in CreateHapPolicyParam() 163 !MatchSignature(permission, innerBundleInfo.GetOldAppIds())) { in CreateHapPolicyParam() 164 LOG_W(BMS_TAG_DEFAULT, "bundleName:%{public}s MatchSignature failed", innerBundleInfo.GetBundleName().c_str()); in CreateHapPolicyParam() 367 bool BundlePermissionMgr::MatchSignature( in MatchSignature() function in OHOS::AppExecFwk::BundlePermissionMgr 383 bool BundlePermissionMgr::MatchSignature( in MatchSignature() function in OHOS::AppExecFwk::BundlePermissionMgr
|
H A D | bundle_install_checker.cpp | 726 if (!MatchSignature(preBundleConfigInfo.appSignature, newInfo.GetCertificateFingerprint()) && in GetPrivilegeCapability() 727 !MatchSignature(preBundleConfigInfo.appSignature, newInfo.GetAppId()) && in GetPrivilegeCapability() 728 !MatchSignature(preBundleConfigInfo.appSignature, newInfo.GetAppIdentifier()) && in GetPrivilegeCapability() 1185 if (MatchSignature(configInfo.appSignature, signature)) { in FetchPrivilegeCapabilityFromPreConfig() 1249 bool BundleInstallChecker::MatchSignature( in MatchSignature() function in OHOS::AppExecFwk::BundleInstallChecker
|
H A D | bundle_mgr_service_event_handler.cpp | 3250 if (!MatchSignature(preBundleConfigInfo, innerBundleInfo.GetCertificateFingerprint()) && in UpdatePrivilegeCapability() 3251 !MatchSignature(preBundleConfigInfo, innerBundleInfo.GetAppId()) && in UpdatePrivilegeCapability() 3252 !MatchSignature(preBundleConfigInfo, innerBundleInfo.GetAppIdentifier()) && in UpdatePrivilegeCapability() 3261 bool BMSEventHandler::MatchSignature( in MatchSignature() function in OHOS::AppExecFwk::BMSEventHandler
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_service_startup_test/ |
H A D | bms_service_startup_test.cpp | 549 * @tc.name: test MatchSignature 550 * @tc.desc: 1.test MatchSignature of BundlePermissionMgr 563 ret = BundlePermissionMgr::MatchSignature(defaultPermission, signatures); in HWTEST_F() 611 * @tc.name: test MatchSignature 612 * @tc.desc: 1.test MatchSignature of BundlePermissionMgr 620 ret = BundlePermissionMgr::MatchSignature(defaultPermission, signatures); in HWTEST_F() 624 ret = BundlePermissionMgr::MatchSignature(defaultPermission, signatures); in HWTEST_F() 630 * @tc.name: test MatchSignature 631 * @tc.desc: 1.test MatchSignature of BundlePermissionMgr 638 ret = BundlePermissionMgr::MatchSignature(defaultPermissio in HWTEST_F() [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_installer_test/ |
H A D | bms_bundle_install_checker_test.cpp | 545 * @tc.name: test the start function of MatchSignature
552 bool res = installChecker.MatchSignature(appSignatures, "");
in HWTEST_F() 555 res = installChecker.MatchSignature(appSignatures, "");
in HWTEST_F() 2117 * @tc.name: test the start function of MatchSignature
2124 bool res = installChecker.MatchSignature(appSignatures, "");
in HWTEST_F() 2127 res = installChecker.MatchSignature(appSignatures, "");
in HWTEST_F() 2129 res = installChecker.MatchSignature(appSignatures, "not_exist");
in HWTEST_F() 2131 res = installChecker.MatchSignature(appSignatures, "exist");
in HWTEST_F()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_event_handler_test/ |
H A D | bms_event_handler_test.cpp | 847 * @tc.name: MatchSignature 848 * @tc.desc: test MatchSignature 856 bool ret = handler->MatchSignature(preBundleConfigInfo, ""); in HWTEST_F() 860 ret = handler->MatchSignature(preBundleConfigInfo, ""); in HWTEST_F() 864 ret = handler->MatchSignature(preBundleConfigInfo, "signature_2"); in HWTEST_F()
|