Home
last modified time | relevance | path

Searched refs:overridesToRemove (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/core/java/com/android/server/compat/overrides/
DAppCompatOverridesService.java177 Set<Long> overridesToRemove = new ArraySet<>(); in applyOverrides() local
180 overridesToRemove.add(changeId); in applyOverrides()
183 if (!overridesToRemove.isEmpty()) { in applyOverrides()
185 new CompatibilityOverridesToRemoveConfig(overridesToRemove)); in applyOverrides()
309 private void removePackageOverrides(String packageName, Set<Long> overridesToRemove) { in removePackageOverrides() argument
310 if (overridesToRemove.isEmpty()) { in removePackageOverrides()
314 overridesToRemove); in removePackageOverrides()
388 Map<String, Set<Long>> overridesToRemove = getOverridesToRemove(mNamespace, in onPropertiesChanged() local
393 removeOverrides(overridesToRemove); in onPropertiesChanged()
399 applyAllOverrides(mNamespace, ownedChangeIds, overridesToRemove); in onPropertiesChanged()
[all …]
/frameworks/base/core/java/android/app/compat/
DCompatChanges.java193 @NonNull Set<Long> overridesToRemove) { in removePackageOverrides() argument
195 overridesToRemove); in removePackageOverrides()
/frameworks/base/services/core/java/com/android/server/compat/
DPlatformCompat.java379 for (CompatibilityOverridesToRemoveConfig overridesToRemove : in removeAllOverridesOnReleaseBuilds()
381 checkAllCompatOverridesAreOverridable(overridesToRemove.changeIds); in removeAllOverridesOnReleaseBuilds()
389 CompatibilityOverridesToRemoveConfig overridesToRemove, in removeOverridesOnReleaseBuilds() argument
393 checkAllCompatOverridesAreOverridable(overridesToRemove.changeIds); in removeOverridesOnReleaseBuilds()
394 mCompatConfig.removePackageOverrides(overridesToRemove, packageName); in removeOverridesOnReleaseBuilds()
DCompatConfig.java524 synchronized void removePackageOverrides(CompatibilityOverridesToRemoveConfig overridesToRemove, in removePackageOverrides() argument
526 boolean shouldInvalidateCache = removePackageOverridesWithoutSaving(overridesToRemove, in removePackageOverrides()
535 CompatibilityOverridesToRemoveConfig overridesToRemove, String packageName) { in removePackageOverridesWithoutSaving() argument
537 for (Long changeId : overridesToRemove.changeIds) { in removePackageOverridesWithoutSaving()
/frameworks/base/services/tests/servicestests/src/com/android/server/compat/
DCompatConfigTest.java693 Set<Long> overridesToRemove = new HashSet<>(); in testInstallerCanRemoveOverrides() local
694 overridesToRemove.add(disabledChangeId1); in testInstallerCanRemoveOverrides()
695 overridesToRemove.add(enabledChangeId); in testInstallerCanRemoveOverrides()
697 overridesToRemove.add(unknownChangeId); in testInstallerCanRemoveOverrides()
699 overridesToRemove); in testInstallerCanRemoveOverrides()
805 Set<Long> overridesToRemove = new HashSet<>(); in testPreventInstallerRemoveNonOverridable() local
806 overridesToRemove.add(disabledChangeId1); in testPreventInstallerRemoveNonOverridable()
807 overridesToRemove.add(disabledChangeId2); in testPreventInstallerRemoveNonOverridable()
808 overridesToRemove.add(disabledChangeId3); in testPreventInstallerRemoveNonOverridable()
810 overridesToRemove); in testPreventInstallerRemoveNonOverridable()
/frameworks/base/core/java/com/android/internal/compat/
DIPlatformCompat.aidl283 …void removeOverridesOnReleaseBuilds(in CompatibilityOverridesToRemoveConfig overridesToRemove, in … in removeOverridesOnReleaseBuilds() argument