Home
last modified time | relevance | path

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

/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dpre_bundle_profile.cpp192 PreBundleConfigInfo preBundleConfigInfo; in TransformTo() local
199 preBundleConfigInfo.Reset(); in TransformTo()
205 preBundleConfigInfo.bundleName, in TransformTo()
213 preBundleConfigInfo.keepAlive, in TransformTo()
221 preBundleConfigInfo.singleton, in TransformTo()
229 preBundleConfigInfo.allowCommonEvent, in TransformTo()
237 preBundleConfigInfo.appSignature, in TransformTo()
277 preBundleConfigInfo.hideDesktopIcon, in TransformTo()
325 preBundleConfigInfo.appShareLibrary, in TransformTo()
349 preBundleConfigInfo.resourcesApply, in TransformTo()
[all …]
H A Dbundle_install_checker.cpp724 PreBundleConfigInfo preBundleConfigInfo; in GetPrivilegeCapability() local
725 preBundleConfigInfo.bundleName = newInfo.GetBundleName(); in GetPrivilegeCapability()
726 if (!BMSEventHandler::GetPreInstallCapability(preBundleConfigInfo)) { in GetPrivilegeCapability()
732 !MatchSignature(preBundleConfigInfo.appSignature, newInfo.GetAppId()) && in GetPrivilegeCapability()
739 newInfo.SetKeepAlive(preBundleConfigInfo.keepAlive); in GetPrivilegeCapability()
740 newInfo.SetSingleton(preBundleConfigInfo.singleton); in GetPrivilegeCapability()
741 newInfo.SetRunningResourcesApply(preBundleConfigInfo.runningResourcesApply); in GetPrivilegeCapability()
742 newInfo.SetAssociatedWakeUp(preBundleConfigInfo.associatedWakeUp); in GetPrivilegeCapability()
743 newInfo.SetAllowCommonEvent(preBundleConfigInfo.allowCommonEvent); in GetPrivilegeCapability()
744 newInfo.SetResourcesApply(preBundleConfigInfo.resourcesApply); in GetPrivilegeCapability()
[all …]
H A Dbundle_mgr_service_event_handler.cpp2583 preBundleConfigInfo.bundleName.c_str()); in GetPreInstallCapability()
2587 preBundleConfigInfo = *iter; in GetPreInstallCapability()
2628 UpdatePrivilegeCapability(preBundleConfigInfo); in UpdateAllPrivilegeCapability()
2633 const PreBundleConfigInfo &preBundleConfigInfo) in UpdatePrivilegeCapability() argument
2635 auto &bundleName = preBundleConfigInfo.bundleName; in UpdatePrivilegeCapability()
2650 UpdateTrustedPrivilegeCapability(preBundleConfigInfo); in UpdatePrivilegeCapability()
2683 const PreBundleConfigInfo &preBundleConfigInfo) in UpdateTrustedPrivilegeCapability() argument
2692 appInfo.keepAlive = preBundleConfigInfo.keepAlive; in UpdateTrustedPrivilegeCapability()
2693 appInfo.singleton = preBundleConfigInfo.singleton; in UpdateTrustedPrivilegeCapability()
2697 appInfo.resourcesApply = preBundleConfigInfo.resourcesApply; in UpdateTrustedPrivilegeCapability()
[all …]
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_event_handler_test/
H A Dbms_event_handler_test.cpp202 PreBundleConfigInfo preBundleConfigInfo; variable
215 PreBundleConfigInfo preBundleConfigInfo; variable
216 preBundleConfigInfo.bundleName = BUNDLE_NAME;
837 PreBundleConfigInfo preBundleConfigInfo; variable
838 preBundleConfigInfo.bundleName = BUNDLE_NAME;
852 PreBundleConfigInfo preBundleConfigInfo; variable
853 preBundleConfigInfo.bundleName = BUNDLE_NAME;
858 ret = handler->MatchSignature(preBundleConfigInfo, "");
875 PreBundleConfigInfo preBundleConfigInfo; variable
876 preBundleConfigInfo.bundleName = BUNDLE_NAME;
[all …]
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/
H A Dpre_scan_info.h51 bool operator <(const PreBundleConfigInfo &preBundleConfigInfo) const
53 return bundleName < preBundleConfigInfo.bundleName;
H A Dbundle_mgr_service_event_handler.h84 static bool GetPreInstallCapability(PreBundleConfigInfo &preBundleConfigInfo);
545 void UpdatePrivilegeCapability(const PreBundleConfigInfo &preBundleConfigInfo);
548 void UpdateTrustedPrivilegeCapability(const PreBundleConfigInfo &preBundleConfigInfo);
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/mock/src/
H A Dbundle_mgr_service_event_handler.cpp591 bool BMSEventHandler::GetPreInstallCapability(PreBundleConfigInfo& preBundleConfigInfo) in GetPreInstallCapability() argument
606 void BMSEventHandler::UpdatePrivilegeCapability(const PreBundleConfigInfo& preBundleConfigInfo) {} in UpdatePrivilegeCapability() argument
619 …MSEventHandler::UpdateTrustedPrivilegeCapability(const PreBundleConfigInfo& preBundleConfigInfo) {} in UpdateTrustedPrivilegeCapability() argument
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_service_startup_test/
H A Dbms_service_startup_test.cpp394 PreBundleConfigInfo preBundleConfigInfo; variable
395 bool res = handler->GetPreInstallCapability(preBundleConfigInfo);
397 preBundleConfigInfo.bundleName = "bundlName";
398 res = handler->GetPreInstallCapability(preBundleConfigInfo);