Searched refs:appSignature (Results 1 - 10 of 10) sorted by relevance
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/ |
H A D | pre_scan_info.h | 47 std::vector<std::string> appSignature; member 75 appSignature.clear(); in Reset()
|
H A D | default_permission.h | 32 std::vector<std::string> appSignature; member
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_permission_grant_test/ |
H A D | bms_bundle_permission_start_full_test.cpp | 204 permission.appSignature.push_back("appSignature"); in HWTEST_F() 223 permission.appSignature.push_back("appSignature"); in HWTEST_F() 225 signatures.push_back("appSignature"); in HWTEST_F()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ |
H A D | default_permission_profile.cpp | 67 defaultPermission.appSignature, in TransformTo()
|
H A D | bundle_permission_mgr.cpp | 370 if (permission.appSignature.empty()) { in MatchSignature() 371 LOG_W(BMS_TAG_DEFAULT, "appSignature is empty"); in MatchSignature() 374 for (const auto &signature : permission.appSignature) { in MatchSignature() 386 if (permission.appSignature.empty() || signature.empty()) { in MatchSignature() 387 LOG_W(BMS_TAG_DEFAULT, "appSignature or signature is empty"); in MatchSignature() 390 return std::find(permission.appSignature.begin(), permission.appSignature.end(), in MatchSignature() 391 signature) != permission.appSignature.end(); in MatchSignature()
|
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() 729 !MatchOldSignatures(newInfo.GetBundleName(), preBundleConfigInfo.appSignature)) { in GetPrivilegeCapability() 1185 if (MatchSignature(configInfo.appSignature, signature)) { in FetchPrivilegeCapabilityFromPreConfig() 1190 if (!match && !MatchOldSignatures(bundleName, configInfo.appSignature)) { in FetchPrivilegeCapabilityFromPreConfig() 1253 LOG_NOFUNC_W(BMS_TAG_INSTALLER, "appSignature of signature is empty"); in MatchSignature()
|
H A D | pre_bundle_profile.cpp | 227 preBundleConfigInfo.appSignature, in TransformTo()
|
H A D | bundle_mgr_service_event_handler.cpp | 3264 if (configInfo.appSignature.empty() || signature.empty()) { in MatchSignature() 3265 LOG_W(BMS_TAG_DEFAULT, "appSignature or signature is empty"); in MatchSignature() 3269 return std::find(configInfo.appSignature.begin(), in MatchSignature() 3270 configInfo.appSignature.end(), signature) != configInfo.appSignature.end(); in MatchSignature() 3276 if (configInfo.appSignature.empty() || oldSignatures.empty()) { in MatchOldSignatures() 3277 LOG_W(BMS_TAG_DEFAULT, "appSignature or oldSignatures is empty"); in MatchOldSignatures() 3281 if (std::find(configInfo.appSignature.begin(), configInfo.appSignature.end(), signature) != in MatchOldSignatures() 3282 configInfo.appSignature in MatchOldSignatures() [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_service_startup_test/ |
H A D | bms_service_startup_test.cpp | 623 defaultPermission.appSignature = { STRING_TYPE }; in HWTEST_F() 641 defaultPermission.appSignature = { STRING_TYPE }; in HWTEST_F() 1007 permission.appSignature.push_back("appSignature1"); in HWTEST_F() 1008 permission.appSignature.push_back("appSignature2"); in HWTEST_F()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_event_handler_test/ |
H A D | bms_event_handler_test.cpp | 859 preBundleConfigInfo.appSignature.emplace_back("signature_1"); in HWTEST_F() 863 preBundleConfigInfo.appSignature.emplace_back("signature_2"); in HWTEST_F() 883 preBundleConfigInfo.appSignature.emplace_back("signature_1"); in HWTEST_F() 887 preBundleConfigInfo.appSignature.emplace_back("signature_2"); in HWTEST_F()
|
Completed in 16 milliseconds