Home
last modified time | relevance | path

Searched refs:overlayPackage (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/core/java/com/android/server/om/
DOverlayManagerServiceImpl.java151 final PackageInfo overlayPackage = overlayPackages.get(i); in updateOverlaysForUser() local
152 final OverlayInfo oi = storedOverlayInfos.get(overlayPackage.packageName); in updateOverlaysForUser()
154 if (mustReinitializeOverlay(overlayPackage, oi)) { in updateOverlaysForUser()
161 mSettings.init(overlayPackage.packageName, newUserId, in updateOverlaysForUser()
162 overlayPackage.overlayTarget, in updateOverlaysForUser()
163 overlayPackage.targetOverlayableName, in updateOverlaysForUser()
164 overlayPackage.applicationInfo.getBaseCodePath(), in updateOverlaysForUser()
165 overlayPackage.isStaticOverlayPackage(), in updateOverlaysForUser()
166 overlayPackage.overlayPriority, in updateOverlaysForUser()
167 overlayPackage.overlayCategory); in updateOverlaysForUser()
[all …]
DIdmapManager.java82 @NonNull final PackageInfo overlayPackage, int userId) { in createIdmap() argument
85 + overlayPackage.packageName); in createIdmap()
89 final String overlayPath = overlayPackage.applicationInfo.getBaseCodePath(); in createIdmap()
92 int policies = calculateFulfilledPolicies(targetPackage, overlayPackage, userId); in createIdmap()
93 boolean enforce = enforceOverlayable(overlayPackage); in createIdmap()
131 boolean idmapExists(@NonNull final PackageInfo overlayPackage, final int userId) { in idmapExists() argument
132 return new File(getIdmapPath(overlayPackage.applicationInfo.getBaseCodePath(), userId)) in idmapExists()
187 private boolean enforceOverlayable(@NonNull final PackageInfo overlayPackage) { in enforceOverlayable() argument
188 final ApplicationInfo ai = overlayPackage.applicationInfo; in enforceOverlayable()
210 @NonNull final PackageInfo overlayPackage, int userId) { in calculateFulfilledPolicies() argument
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/theme/
DThemeOverlayManagerTest.java141 for (String overlayPackage : ALL_CATEGORIES_MAP.values()) { in allCategoriesSpecified_allEnabledExclusively()
142 verify(mOverlayManager).setEnabledExclusiveInCategory(overlayPackage, TEST_USER); in allCategoriesSpecified_allEnabledExclusively()
168 for (String overlayPackage : ALL_CATEGORIES_MAP.values()) { in allCategoriesSpecified_enabledForAllUserHandles()
169 verify(mOverlayManager).setEnabledExclusiveInCategory(overlayPackage, TEST_USER); in allCategoriesSpecified_enabledForAllUserHandles()
170 verify(mOverlayManager).setEnabledExclusiveInCategory(overlayPackage, newUserHandle); in allCategoriesSpecified_enabledForAllUserHandles()
190 for (String overlayPackage : categoryToPackage.values()) { in someCategoriesSpecified_specifiedEnabled_unspecifiedDisabled()
191 verify(mOverlayManager).setEnabledExclusiveInCategory(overlayPackage, TEST_USER); in someCategoriesSpecified_specifiedEnabled_unspecifiedDisabled()
/frameworks/base/services/tests/servicestests/src/com/android/server/om/
DOverlayManagerServiceImplTests.java453 @NonNull final PackageInfo overlayPackage, int userId) { in createIdmap() argument
458 final DummyDeviceState.Package o = mState.select(overlayPackage.packageName, userId); in createIdmap()
465 final String key = createKey(overlayPackage.packageName, userId); in createIdmap()
487 boolean idmapExists(@NonNull final PackageInfo overlayPackage, final int userId) { in idmapExists() argument
488 final String key = createKey(overlayPackage.packageName, userId); in idmapExists()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java793 for (PackageParser.Package overlayPackage : overlayPackages) { in getStaticOverlayPaths()
798 overlayPathList.add(overlayPackage.baseCodePath); in getStaticOverlayPaths()
808 mInstaller.idmap(targetPath, overlayPackage.baseCodePath, in getStaticOverlayPaths()
814 overlayPathList.add(overlayPackage.baseCodePath); in getStaticOverlayPaths()
817 overlayPackage.baseCodePath); in getStaticOverlayPaths()