Searched refs:DexVm (Results 1 - 12 of 12) sorted by relevance
/external/r8/src/test/java/com/android/tools/r8/ |
H A 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 [all...] |
H A 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(
|
H A 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 [all...] |
H A D | ToolHelper.java | 61 public enum DexVm { enum in class: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) { 83 public boolean isNewerThan(DexVm other) { 87 private DexVm(String shortName) { method in class:ToolHelper.DexVm 183 private DexVm version; 188 public ArtCommandBuilder(DexVm version) { 236 private static final Map<DexVm, Strin [all...] |
H A D | TestCondition.java | 8 import com.android.tools.r8.ToolHelper.DexVm; 34 final EnumSet<DexVm> set; 36 public RuntimeSet(EnumSet<DexVm> set) { 67 private static final RuntimeSet ANY_RUNTIME = new RuntimeSet(EnumSet.allOf(DexVm.class)); 73 private final EnumSet<DexVm> dexVms; 79 EnumSet<DexVm> dexVms, 97 public static RuntimeSet runtimes(DexVm... runtimes) { 149 DexVm dexVm,
|
H A D | R8RunExamplesTest.java | 14 import com.android.tools.r8.ToolHelper.DexVm; 46 // ImmutableSet.of(DexVm.ART_DEFAULT) or pass the option -Ddex_vm=<version> to the Java VM. 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) { 248 private boolean shouldMatchJVMOutput(DexVm version) {
|
H A 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,
|
H A 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(
|
H A 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) {
|
/external/r8/src/test/java/com/android/tools/r8/utils/ |
H A D | ArtCommandBuilderTest.java | 10 import com.android.tools.r8.ToolHelper.DexVm; 106 for (DexVm version : ToolHelper.getArtVersions()) {
|
/external/r8/src/test/java/com/android/tools/r8/jdwp/ |
H A D | RunJdwpTests.java | 15 import com.android.tools.r8.ToolHelper.DexVm; 56 boolean test(DexVm dexVm, Tool tool); 59 static boolean isAndroidMOrAbove(DexVm dexVm, Tool tool) { 60 return dexVm.isNewerThan(DexVm.ART_5_1_1); 63 static boolean isAndroidNOrAbove(DexVm dexVm, Tool tool) { 64 return dexVm.isNewerThan(DexVm.ART_6_0_1); 67 static boolean isAndroidOOrAbove(DexVm dexVm, Tool tool) { 68 return dexVm.isNewerThan(DexVm.ART_7_0_0); 71 static boolean isLatestRuntime(DexVm dexVm, Tool tool) { 72 return dexVm == DexVm [all...] |
/external/r8/src/test/java/com/android/tools/r8/debug/ |
H A 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)) {
|
Completed in 174 milliseconds