Home
last modified time | relevance | path

Searched refs:overridesToAdd (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/core/java/com/android/server/compat/overrides/
DAppCompatOverridesService.java164 Map<Long, PackageOverride> overridesToAdd = emptyMap(); in applyOverrides() local
168 overridesToAdd = mOverridesParser.parsePackageOverrides( in applyOverrides()
172 if (!overridesToAdd.isEmpty()) { in applyOverrides()
174 new CompatibilityOverrideConfig(overridesToAdd)); in applyOverrides()
179 if (!overridesToAdd.containsKey(changeId) && !changeIdsToSkip.contains(changeId)) { in applyOverrides()
283 Map<Long, PackageOverride> overridesToAdd) { in putPackageOverrides() argument
284 if (overridesToAdd.isEmpty()) { in putPackageOverrides()
287 CompatibilityOverrideConfig config = new CompatibilityOverrideConfig(overridesToAdd); in putPackageOverrides()
DAppCompatOverridesParser.java204 Map<Long, PackageOverride> overridesToAdd = new ArrayMap<>(); in parsePackageOverrides() local
262 if (!overridesToAdd.containsKey(changeId) in parsePackageOverrides()
263 || comparator.compare(override, overridesToAdd.get(changeId)) < 0) { in parsePackageOverrides()
264 overridesToAdd.put(changeId, override); in parsePackageOverrides()
271 return overridesToAdd; in parsePackageOverrides()