Home
last modified time | relevance | path

Searched refs:preBundleConfigInfo (Results 1 - 8 of 8) sorted by relevance

/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dpre_bundle_profile.cpp188 PreBundleConfigInfo preBundleConfigInfo; in TransformTo() local
195 preBundleConfigInfo.Reset(); in TransformTo()
201 preBundleConfigInfo.bundleName, in TransformTo()
207 preBundleConfigInfo.keepAlive, in TransformTo()
213 preBundleConfigInfo.singleton, in TransformTo()
219 preBundleConfigInfo.allowCommonEvent, in TransformTo()
227 preBundleConfigInfo.appSignature, in TransformTo()
235 preBundleConfigInfo.runningResourcesApply, in TransformTo()
241 preBundleConfigInfo.associatedWakeUp, in TransformTo()
247 preBundleConfigInfo in TransformTo()
[all...]
H A Dbundle_install_checker.cpp719 PreBundleConfigInfo preBundleConfigInfo; in GetPrivilegeCapability() local
720 preBundleConfigInfo.bundleName = newInfo.GetBundleName(); in GetPrivilegeCapability()
721 if (!BMSEventHandler::GetPreInstallCapability(preBundleConfigInfo)) { in GetPrivilegeCapability()
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()
734 newInfo.SetKeepAlive(preBundleConfigInfo.keepAlive); in GetPrivilegeCapability()
735 newInfo.SetSingleton(preBundleConfigInfo.singleton); in GetPrivilegeCapability()
736 newInfo.SetRunningResourcesApply(preBundleConfigInfo in GetPrivilegeCapability()
[all...]
H A Dbundle_mgr_service_event_handler.cpp3176 bool BMSEventHandler::GetPreInstallCapability(PreBundleConfigInfo &preBundleConfigInfo) in GetPreInstallCapability() argument
3183 if (preBundleConfigInfo.bundleName.empty() || installListCapabilities_.empty()) { in GetPreInstallCapability()
3188 auto iter = installListCapabilities_.find(preBundleConfigInfo); in GetPreInstallCapability()
3191 preBundleConfigInfo.bundleName.c_str()); in GetPreInstallCapability()
3195 preBundleConfigInfo = *iter; in GetPreInstallCapability()
3235 for (const auto &preBundleConfigInfo : installListCapabilities_) { in UpdateAllPrivilegeCapability()
3236 UpdatePrivilegeCapability(preBundleConfigInfo); in UpdateAllPrivilegeCapability()
3241 const PreBundleConfigInfo &preBundleConfigInfo) in UpdatePrivilegeCapability()
3243 auto &bundleName = preBundleConfigInfo.bundleName; in UpdatePrivilegeCapability()
3250 if (!MatchSignature(preBundleConfigInfo, innerBundleInf in UpdatePrivilegeCapability()
3240 UpdatePrivilegeCapability( const PreBundleConfigInfo &preBundleConfigInfo) UpdatePrivilegeCapability() argument
3290 UpdateTrustedPrivilegeCapability( const PreBundleConfigInfo &preBundleConfigInfo) UpdateTrustedPrivilegeCapability() argument
[all...]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/
H A Dpre_scan_info.h51 bool operator <(const PreBundleConfigInfo &preBundleConfigInfo) const in operator <()
53 return bundleName < preBundleConfigInfo.bundleName; in operator <()
H A Dbundle_mgr_service_event_handler.h99 * @param preBundleConfigInfo Indicates the preBundleConfigInfo.
102 static bool GetPreInstallCapability(PreBundleConfigInfo &preBundleConfigInfo);
569 void UpdatePrivilegeCapability(const PreBundleConfigInfo &preBundleConfigInfo);
572 void UpdateTrustedPrivilegeCapability(const PreBundleConfigInfo &preBundleConfigInfo);
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_event_handler_test/
H A Dbms_event_handler_test.cpp202 PreBundleConfigInfo preBundleConfigInfo; in HWTEST_F() local
204 EXPECT_FALSE(handler->GetPreInstallCapability(preBundleConfigInfo)); in HWTEST_F()
215 PreBundleConfigInfo preBundleConfigInfo; in HWTEST_F() local
216 preBundleConfigInfo.bundleName = BUNDLE_NAME; in HWTEST_F()
218 EXPECT_FALSE(handler->GetPreInstallCapability(preBundleConfigInfo)); in HWTEST_F()
839 PreBundleConfigInfo preBundleConfigInfo; in HWTEST_F() local
840 preBundleConfigInfo.bundleName = BUNDLE_NAME; in HWTEST_F()
842 EXPECT_FALSE(handler->GetPreInstallCapability(preBundleConfigInfo)); in HWTEST_F()
854 PreBundleConfigInfo preBundleConfigInfo; in HWTEST_F() local
855 preBundleConfigInfo in HWTEST_F()
877 PreBundleConfigInfo preBundleConfigInfo; HWTEST_F() local
1123 PreBundleConfigInfo preBundleConfigInfo; HWTEST_F() local
[all...]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/mock/src/
H A Dbundle_mgr_service_event_handler.cpp588 bool BMSEventHandler::GetPreInstallCapability(PreBundleConfigInfo& preBundleConfigInfo) in GetPreInstallCapability() argument
603 void BMSEventHandler::UpdatePrivilegeCapability(const PreBundleConfigInfo& preBundleConfigInfo) {} in UpdatePrivilegeCapability() argument
616 void BMSEventHandler::UpdateTrustedPrivilegeCapability(const PreBundleConfigInfo& preBundleConfigInfo) {} in UpdateTrustedPrivilegeCapability() argument
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_service_startup_test/
H A Dbms_service_startup_test.cpp394 PreBundleConfigInfo preBundleConfigInfo; in HWTEST_F() local
395 bool res = handler->GetPreInstallCapability(preBundleConfigInfo); in HWTEST_F()
397 preBundleConfigInfo.bundleName = "bundlName"; in HWTEST_F()
398 res = handler->GetPreInstallCapability(preBundleConfigInfo); in HWTEST_F()

Completed in 18 milliseconds