Home
last modified time | relevance | path

Searched refs:Compatibility (Results 1 – 8 of 8) sorted by relevance

/libcore/test-rules/src/test/java/android/compat/testing/
DFakeApi.java19 import android.compat.Compatibility;
37 if (Compatibility.isChangeEnabled(CHANGE_ID)) { in fakeFunc()
51 if (!Compatibility.isChangeEnabled(CHANGE_ID_1) in fakeCombinedFunc()
52 && !Compatibility.isChangeEnabled(CHANGE_ID_2)) { in fakeCombinedFunc()
54 } else if (!Compatibility.isChangeEnabled(CHANGE_ID_1) in fakeCombinedFunc()
55 && Compatibility.isChangeEnabled(CHANGE_ID_2)) { in fakeCombinedFunc()
57 } else if (Compatibility.isChangeEnabled(CHANGE_ID_1) in fakeCombinedFunc()
58 && !Compatibility.isChangeEnabled(CHANGE_ID_2)) { in fakeCombinedFunc()
/libcore/mmodules/core_platform_api/api/stable_platform/
Dcurrent-api.txt4 public final class Compatibility {
8 method public static void setCallbacks(android.compat.Compatibility.Callbacks);
9 method public static void setOverrides(android.compat.Compatibility.ChangeConfig);
12 public static class Compatibility.Callbacks {
13 ctor protected Compatibility.Callbacks();
18 public static final class Compatibility.ChangeConfig {
19 …ctor public Compatibility.ChangeConfig(java.util.Set<java.lang.Long>, java.util.Set<java.lang.Long…
/libcore/test-rules/src/platform_compat/java/libcore/junit/util/
DCoreCompatChangeRule.java19 import android.compat.Compatibility;
20 import android.compat.Compatibility.Callbacks;
21 import android.compat.Compatibility.ChangeConfig;
103 Compatibility.setOverrides(config); in evaluate()
107 Compatibility.clearOverrides(); in evaluate()
/libcore/luni/src/main/java/android/compat/
DCompatibility.java38 public final class Compatibility { class
40 private Compatibility() {} in Compatibility() method in Compatibility
/libcore/mmodules/intracoreapi/api/intra/
Dcurrent-api.txt4 …ore.api.CorePlatformApi.Status.STABLE) @libcore.api.IntraCoreApi public final class Compatibility {
9 …Api.Status.STABLE) @libcore.api.IntraCoreApi public static final class Compatibility.ChangeConfig {
10 …ctor public Compatibility.ChangeConfig(java.util.Set<java.lang.Long>, java.util.Set<java.lang.Long…
/libcore/luni/src/main/java/libcore/icu/
DLocaleData.java22 import android.compat.Compatibility;
/libcore/mmodules/core_platform_api/api/legacy_platform/
Dcurrent-api.txt4 public final class Compatibility {
8 method public static void setCallbacks(android.compat.Compatibility.Callbacks);
9 method public static void setOverrides(android.compat.Compatibility.ChangeConfig);
12 public static class Compatibility.Callbacks {
13 ctor protected Compatibility.Callbacks();
18 public static final class Compatibility.ChangeConfig {
19 …ctor public Compatibility.ChangeConfig(java.util.Set<java.lang.Long>, java.util.Set<java.lang.Long…
/libcore/
Dnon_openjdk_java_files.bp131 "luni/src/main/java/android/compat/Compatibility.java",