Searched refs:overlayPackage (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/services/core/java/com/android/server/om/ |
D | IdmapManager.java | 104 @NonNull PackageState overlayPackageState, @NonNull final AndroidPackage overlayPackage, in createIdmap() argument 108 + overlayPackage.getPackageName()); in createIdmap() 113 overlayPackage, userId); in createIdmap() 114 boolean enforce = enforceOverlayable(overlayPackageState, overlayPackage); in createIdmap() 181 @NonNull final AndroidPackage overlayPackage) { in enforceOverlayable() argument 182 if (overlayPackage.getTargetSdkVersion() >= VERSION_CODES.Q) { in enforceOverlayable() 196 return !(overlayPackageState.isSystem() || overlayPackage.isSignedWithPlatformKey()); in enforceOverlayable() 203 @NonNull PackageState overlayPackageState, @NonNull final AndroidPackage overlayPackage, in calculateFulfilledPolicies() argument 209 overlayPackage.getPackageName(), userId)) { in calculateFulfilledPolicies() 214 if (matchesActorSignature(targetPackage, overlayPackage, userId)) { in calculateFulfilledPolicies() [all …]
|
D | OverlayManagerServiceImpl.java | 805 var overlayPackage = in updateState() local 809 if (overlayPackage == null) { in updateState() 814 modified |= mSettings.setCategory(overlay, userId, overlayPackage.getOverlayCategory()); in updateState() 817 overlayPackage.getSplits().get(0).getPath()); in updateState() 826 && !isPackageConfiguredMutable(overlayPackage))) { in updateState() 828 overlayPackage, updatedOverlayInfo.baseCodePath, overlay.getOverlayName(), in updateState()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/theme/ |
D | ThemeOverlayApplierTest.java | 185 for (OverlayIdentifier overlayPackage : ALL_CATEGORIES_MAP.values()) { in allCategoriesSpecified_allEnabledExclusively() 186 verify(mTransactionBuilder).setEnabled(eq(overlayPackage), eq(true), in allCategoriesSpecified_allEnabledExclusively() 213 for (OverlayIdentifier overlayPackage : ALL_CATEGORIES_MAP.values()) { in allCategoriesSpecified_enabledForAllUserHandles() 214 verify(mTransactionBuilder).setEnabled(eq(overlayPackage), eq(true), in allCategoriesSpecified_enabledForAllUserHandles() 217 verify(mTransactionBuilder, never()).setEnabled(eq(overlayPackage), eq(true), in allCategoriesSpecified_enabledForAllUserHandles() 230 for (OverlayIdentifier overlayPackage : ALL_CATEGORIES_MAP.values()) { in enablesOverlays_onlyIfItExistsForUser() 231 verify(mTransactionBuilder, never()).setEnabled(eq(overlayPackage), eq(true), in enablesOverlays_onlyIfItExistsForUser() 258 for (OverlayIdentifier overlayPackage : categoryToPackage.values()) { in someCategoriesSpecified_specifiedEnabled_unspecifiedDisabled() 259 verify(mTransactionBuilder).setEnabled(eq(overlayPackage), eq(true), in someCategoriesSpecified_specifiedEnabled_unspecifiedDisabled()
|
/frameworks/base/apct-tests/perftests/core/src/android/app/ |
D | OverlayManagerPerfTest.java | 102 private void assertSetEnabled(Context context, String overlayPackage, boolean eanabled) in assertSetEnabled() argument 104 sOverlayManager.setEnabled(overlayPackage, true, UserHandle.SYSTEM); in assertSetEnabled() 110 if (eanabled == path.contains(overlayPackage)) { in assertSetEnabled() 118 assertTrue("Failed to load overlay " + overlayPackage, in assertSetEnabled()
|
/frameworks/base/packages/overlays/tests/src/com/android/theme/icon/ |
D | IconPackOverlayTest.java | 160 for (String overlayPackage : overlayPkgs) { in containsAllOverlayedIcons() 163 info = mContext.getPackageManager().getApplicationInfo(overlayPackage, 0); in containsAllOverlayedIcons()
|