/external/r8/src/test/java/com/android/tools/r8/ |
D | JctfTestSpecifications.java | 17 import com.android.tools.r8.ToolHelper.DexVm; 43 match(runtimes(DexVm.ART_DEFAULT))) 69 match(runtimes(DexVm.ART_DEFAULT, DexVm.ART_7_0_0))) 74 match(runtimes(DexVm.ART_DEFAULT, DexVm.ART_7_0_0))) 128 match(runtimes(DexVm.ART_DEFAULT, DexVm.ART_7_0_0, DexVm.ART_6_0_1))) 156 match(runtimes(DexVm.ART_7_0_0))) 198 match(runtimes(DexVm.ART_7_0_0))) 958 match(runtimes(DexVm.ART_DEFAULT, DexVm.ART_7_0_0))) 1905 match(runtimes(DexVm.ART_DEFAULT))) 1973 match(runtimes(DexVm.ART_DEFAULT, DexVm.ART_7_0_0, DexVm.ART_6_0_1))) [all …]
|
D | R8RunArtTestsTest.java | 11 import com.android.tools.r8.ToolHelper.DexVm; 152 .put("109-suspend-check", TestCondition.match(TestCondition.runtimes(DexVm.ART_5_1_1))) 154 .put("129-ThreadGetId", TestCondition.match(TestCondition.runtimes(DexVm.ART_5_1_1))) 157 .put("800-smali", TestCondition.match(TestCondition.runtimes(DexVm.ART_5_1_1))) 401 private static Map<DexVm, List<String>> expectedToFailRunWithArtVersion = ImmutableMap.of( 402 DexVm.ART_7_0_0, ImmutableList.of( 410 DexVm.ART_6_0_1, ImmutableList.of( 429 DexVm.ART_5_1_1, ImmutableList.of( 447 DexVm.ART_4_4_4, ImmutableList.of() 472 TestCondition.runtimes(DexVm.ART_7_0_0, DexVm.ART_6_0_1, DexVm.ART_5_1_1))) [all …]
|
D | ToolHelper.java | 61 public enum DexVm { enum in ToolHelper 68 private static final ImmutableMap<String, DexVm> SHORT_NAME_MAP = 69 new ImmutableMap.Builder<String, DexVm>() 71 Arrays.stream(DexVm.values()).collect( 79 public static DexVm fromShortName(String shortName) { in fromShortName() 83 public boolean isNewerThan(DexVm other) { in isNewerThan() 87 private DexVm(String shortName) { in DexVm() method in ToolHelper.DexVm 183 private DexVm version; 188 public ArtCommandBuilder(DexVm version) { in ArtCommandBuilder() 236 private static final Map<DexVm, String> ART_DIRS = [all …]
|
D | R8RunExamplesAndroidOTest.java | 7 import com.android.tools.r8.ToolHelper.DexVm; 21 private static Map<DexVm, List<String>> alsoFailsOn = 23 DexVm.ART_4_4_4, ImmutableList.of( 26 DexVm.ART_5_1_1, ImmutableList.of( 29 DexVm.ART_6_0_1, ImmutableList.of( 32 DexVm.ART_7_0_0, ImmutableList.of( 35 DexVm.ART_DEFAULT, ImmutableList.of(
|
D | TestCondition.java | 8 import com.android.tools.r8.ToolHelper.DexVm; 34 final EnumSet<DexVm> set; 36 public RuntimeSet(EnumSet<DexVm> set) { in RuntimeSet() 67 private static final RuntimeSet ANY_RUNTIME = new RuntimeSet(EnumSet.allOf(DexVm.class)); 73 private final EnumSet<DexVm> dexVms; 79 EnumSet<DexVm> dexVms, in TestCondition() 97 public static RuntimeSet runtimes(DexVm... runtimes) { in runtimes() 149 DexVm dexVm, in test()
|
D | RunExamplesAndroidNTest.java | 12 import com.android.tools.r8.ToolHelper.DexVm; 106 private static Map<DexVm, List<String>> failsOn = 108 DexVm.ART_4_4_4, 110 DexVm.ART_5_1_1, 112 DexVm.ART_6_0_1, 114 DexVm.ART_7_0_0, 116 DexVm.ART_DEFAULT,
|
D | RunExamplesAndroidOTest.java | 14 import com.android.tools.r8.ToolHelper.DexVm; 161 private static Map<DexVm, List<String>> failsOn = 163 DexVm.ART_4_4_4, ImmutableList.of( 171 DexVm.ART_5_1_1, ImmutableList.of( 179 DexVm.ART_6_0_1, ImmutableList.of( 187 DexVm.ART_7_0_0, ImmutableList.of( 194 DexVm.ART_DEFAULT, ImmutableList.of( 204 boolean failsOn(Map<ToolHelper.DexVm, List<String>> failsOn, String name) { in failsOn() argument
|
D | R8RunExamplesTest.java | 14 import com.android.tools.r8.ToolHelper.DexVm; 47 private static final Set<DexVm> artVersions = ToolHelper.getArtVersions(); 63 TestCondition.runtimes(DexVm.ART_6_0_1, DexVm.ART_5_1_1, DexVm.ART_4_4_4))) 225 for (DexVm version : artVersions) { in outputIsIdentical() 248 private boolean shouldMatchJVMOutput(DexVm version) { in shouldMatchJVMOutput()
|
D | R8RunSmaliTestsTest.java | 8 import com.android.tools.r8.ToolHelper.DexVm; 37 private static Map<DexVm, List<String>> originalFailingOnArtVersions = ImmutableMap.of( 38 DexVm.ART_5_1_1, ImmutableList.of(
|
/external/r8/src/test/java/com/android/tools/r8/jdwp/ |
D | RunJdwpTests.java | 15 import com.android.tools.r8.ToolHelper.DexVm; 56 boolean test(DexVm dexVm, Tool tool); in test() 59 static boolean isAndroidMOrAbove(DexVm dexVm, Tool tool) { in isAndroidMOrAbove() 60 return dexVm.isNewerThan(DexVm.ART_5_1_1); in isAndroidMOrAbove() 63 static boolean isAndroidNOrAbove(DexVm dexVm, Tool tool) { in isAndroidNOrAbove() 64 return dexVm.isNewerThan(DexVm.ART_6_0_1); in isAndroidNOrAbove() 67 static boolean isAndroidOOrAbove(DexVm dexVm, Tool tool) { in isAndroidOOrAbove() 68 return dexVm.isNewerThan(DexVm.ART_7_0_0); in isAndroidOOrAbove() 71 static boolean isLatestRuntime(DexVm dexVm, Tool tool) { in isLatestRuntime() 72 return dexVm == DexVm.ART_DEFAULT; in isLatestRuntime() [all …]
|
/external/r8/src/test/java/com/android/tools/r8/utils/ |
D | ArtCommandBuilderTest.java | 10 import com.android.tools.r8.ToolHelper.DexVm; 106 for (DexVm version : ToolHelper.getArtVersions()) { in testVersion()
|
/external/r8/src/test/java/com/android/tools/r8/debug/ |
D | DebugTestBase.java | 10 import com.android.tools.r8.ToolHelper.DexVm; 84 private static final List<DexVm> UNSUPPORTED_ART_VERSIONS = ImmutableList.of(DexVm.ART_4_4_4); 470 if (ToolHelper.getDexVm().isNewerThan(DexVm.ART_5_1_1)) {
|