Home
last modified time | relevance | path

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

/libcore/luni/src/main/java/android/compat/
DCompatibility.java139 private final Set<Long> disabled; field in Compatibility.ChangeConfig
141 public ChangeConfig(Set<Long> enabled, Set<Long> disabled) { in ChangeConfig() argument
143 this.disabled = Objects.requireNonNull(disabled); in ChangeConfig()
147 if (disabled.contains(null)) { in ChangeConfig()
151 intersection.retainAll(disabled); in ChangeConfig()
159 return enabled.isEmpty() && disabled.isEmpty(); in isEmpty()
176 return toLongArray(disabled); in forceDisabledChangesArray()
184 return Collections.unmodifiableSet(disabled); in forceDisabledSet()
192 return disabled.contains(changeId); in isForceDisabled()
203 disabled.equals(that.disabled); in equals()
[all …]
/libcore/test-rules/src/platform_compat/java/libcore/junit/util/
DCoreCompatChangeRule.java69 Set<Long> disabled = new HashSet<>(); in apply() local
78 disabled.addAll(Longs.asList(disableCompatChanges.value())); in apply()
80 ChangeConfig config = new ChangeConfig(enabled, disabled); in apply()