Home
last modified time | relevance | path

Searched refs:ChangeConfig (Results 1 – 5 of 5) sorted by relevance

/libcore/luni/src/test/java/libcore/android/compat/
DCompatibilityTest.java31 import android.compat.Compatibility.ChangeConfig;
88 ChangeConfig config = new ChangeConfig(Collections.emptySet(), Collections.emptySet()); in testGetDisabledChangesArray()
90 config = new ChangeConfig(Collections.emptySet(), Collections.singleton(5L)); in testGetDisabledChangesArray()
92 config = new ChangeConfig(Collections.emptySet(), in testGetDisabledChangesArray()
99 ChangeConfig config = new ChangeConfig(Collections.emptySet(), Collections.emptySet()); in testGetEnabledChangesArray()
101 config = new ChangeConfig(Collections.singleton(5L), Collections.emptySet()); in testGetEnabledChangesArray()
103 config = new ChangeConfig(new HashSet<Long>(Arrays.asList(2L, 3L, 5L)), in testGetEnabledChangesArray()
/libcore/test-rules/src/platform_compat/java/libcore/junit/util/
DCoreCompatChangeRule.java20 import android.compat.Compatibility.ChangeConfig;
79 ChangeConfig config = new ChangeConfig(enabled, disabled); in apply()
87 protected Statement createStatementForConfig(final Statement statement, ChangeConfig config) { in createStatementForConfig()
93 private final ChangeConfig config;
95 private CompatChangeStatement(Statement testStatement, ChangeConfig config) { in CompatChangeStatement()
/libcore/luni/src/main/java/android/compat/
DCompatibility.java134 public static void setOverrides(ChangeConfig overrides) { in setOverrides()
200 public static final class ChangeConfig { class in Compatibility
209 … public ChangeConfig(@NonNull Set<@NonNull Long> enabled, @NonNull Set<@NonNull Long> disabled) { in ChangeConfig() method in Compatibility.ChangeConfig
310 if (!(o instanceof ChangeConfig)) { in equals()
313 ChangeConfig that = (ChangeConfig) o; in equals()
338 private final ChangeConfig changeConfig;
340 private OverrideCallbacks(BehaviorChangeDelegate delegate, ChangeConfig changeConfig) { in OverrideCallbacks()
/libcore/mmodules/intracoreapi/api/intra/
Dcurrent.txt9 @libcore.api.IntraCoreApi public static final class Compatibility.ChangeConfig {
10 …ctor @libcore.api.IntraCoreApi public Compatibility.ChangeConfig(@NonNull java.util.Set<java.lang.…
/libcore/api/
Dmodule-lib-current.txt10 method public static void setOverrides(android.compat.Compatibility.ChangeConfig);
18 public static final class Compatibility.ChangeConfig {
19 …ctor public Compatibility.ChangeConfig(@NonNull java.util.Set<java.lang.Long>, @NonNull java.util.…