Searched refs:overlayPackage (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/services/core/java/com/android/server/om/ |
D | OverlayManagerServiceImpl.java | 151 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 …]
|
D | IdmapManager.java | 72 @NonNull final PackageInfo overlayPackage, int userId) { in createIdmap() argument 75 + overlayPackage.packageName); in createIdmap() 79 final String overlayPath = overlayPackage.applicationInfo.getBaseCodePath(); in createIdmap() 82 int policies = calculateFulfilledPolicies(targetPackage, overlayPackage, userId); in createIdmap() 83 boolean enforce = enforceOverlayable(overlayPackage); in createIdmap() 121 boolean idmapExists(@NonNull final PackageInfo overlayPackage, final int userId) { in idmapExists() argument 122 return new File(getIdmapPath(overlayPackage.applicationInfo.getBaseCodePath(), userId)) in idmapExists() 148 private boolean enforceOverlayable(@NonNull final PackageInfo overlayPackage) { in enforceOverlayable() argument 149 final ApplicationInfo ai = overlayPackage.applicationInfo; in enforceOverlayable() 171 @NonNull final PackageInfo overlayPackage, int userId) { in calculateFulfilledPolicies() argument [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/ |
D | IconPackOverlayTest.java | 89 for (String overlayPackage : ICON_PACK_OVERLAY_PACKAGES) { in testIconPack_containAllOverlayedIcons() 93 .getResourcesForApplication(overlayPackage); in testIconPack_containAllOverlayedIcons() 102 .replace(mContext.getPackageName(), overlayPackage); in testIconPack_containAllOverlayedIcons() 106 overlayResourceName, overlayPackage)); in testIconPack_containAllOverlayedIcons() 125 for (String overlayPackage : ICON_PACK_OVERLAY_PACKAGES) { in testIconPacks_haveEqualVectorDrawableAttributes() 129 .getResourcesForApplication(overlayPackage); in testIconPacks_haveEqualVectorDrawableAttributes() 145 .replace(mContext.getPackageName(), overlayPackage); in testIconPacks_haveEqualVectorDrawableAttributes()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/theme/ |
D | ThemeOverlayManagerTest.java | 141 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/ |
D | OverlayManagerServiceImplTests.java | 453 @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/ |
D | PackageManagerService.java | 836 for (PackageParser.Package overlayPackage : overlayPackages) { in getStaticOverlayPaths() 841 overlayPathList.add(overlayPackage.baseCodePath); in getStaticOverlayPaths() 851 mInstaller.idmap(targetPath, overlayPackage.baseCodePath, in getStaticOverlayPaths() 857 overlayPathList.add(overlayPackage.baseCodePath); in getStaticOverlayPaths() 860 overlayPackage.baseCodePath); in getStaticOverlayPaths()
|