/external/r8/src/main/java/com/android/tools/r8/ |
D | D8Command.java | 40 super(CompilationMode.DEBUG); in Builder() 44 super(app, CompilationMode.DEBUG); in Builder() 136 CompilationMode modeSet = null; in parse() 148 if (modeSet == CompilationMode.RELEASE) { in parse() 151 builder.setMode(CompilationMode.DEBUG); in parse() 152 modeSet = CompilationMode.DEBUG; in parse() 154 if (modeSet == CompilationMode.DEBUG) { in parse() 157 builder.setMode(CompilationMode.RELEASE); in parse() 158 modeSet = CompilationMode.RELEASE; in parse() 188 CompilationMode mode, in D8Command() [all …]
|
D | BaseCommand.java | 23 private final CompilationMode mode; 41 CompilationMode mode, in BaseCommand() 76 public CompilationMode getMode() { in getMode() 95 private CompilationMode mode; 98 protected Builder(CompilationMode mode) { in Builder() 103 Builder(AndroidApp app, CompilationMode mode) { in Builder() 107 private Builder(AndroidApp.Builder builder, CompilationMode mode) { in Builder() 183 public CompilationMode getMode() { in getMode() 188 public B setMode(CompilationMode mode) { in setMode()
|
D | R8Command.java | 36 super(CompilationMode.RELEASE); in Builder() 40 super(app, CompilationMode.RELEASE); in Builder() 189 CompilationMode mode = null; 244 if (state.mode == CompilationMode.RELEASE) { in parse() 247 state.mode = CompilationMode.DEBUG; in parse() 250 if (state.mode == CompilationMode.DEBUG) { in parse() 253 state.mode = CompilationMode.RELEASE; in parse() 321 CompilationMode mode, in R8Command() 360 internal.debug = getMode() == CompilationMode.DEBUG; in getInternalOptions()
|
/external/r8/src/test/java/com/android/tools/r8/ |
D | TestCondition.java | 43 final EnumSet<CompilationMode> set; 45 public CompilationModeSet(EnumSet<CompilationMode> set) { in CompilationModeSet() 60 new CompilationModeSet(EnumSet.of(CompilationMode.DEBUG)); 62 new CompilationModeSet(EnumSet.of(CompilationMode.RELEASE)); 69 new CompilationModeSet(EnumSet.allOf(CompilationMode.class)); 74 private final EnumSet<CompilationMode> compilationModes; 80 EnumSet<CompilationMode> compilationModes) { in TestCondition() 150 CompilationMode compilationMode) { in test()
|
D | R8RunExamplesTest.java | 116 fullTestList.add(makeTest(DexTool.NONE, CompilerUnderTest.D8, CompilationMode.DEBUG, test)); in data() 117 fullTestList.add(makeTest(DexTool.NONE, CompilerUnderTest.R8, CompilationMode.RELEASE, test)); in data() 118 fullTestList.add(makeTest(DexTool.DX, CompilerUnderTest.R8, CompilationMode.RELEASE, test)); in data() 124 DexTool tool, CompilerUnderTest compiler, CompilationMode mode, String clazz) { in makeTest() 134 private final CompilationMode mode; 147 this.mode = CompilationMode.valueOf(mode); in R8RunExamplesTest()
|
/external/r8/src/test/java/com/android/tools/r8/rewrite/longcompare/ |
D | RequireNonNullRewriteTest.java | 7 import com.android.tools.r8.CompilationMode; 35 void compileWithD8(Path intputPath, Path outputPath, CompilationMode mode) in compileWithD8() 63 runTest(CompilationMode.DEBUG); in testDebugRequireNonNullIsRewritten() 69 runTest(CompilationMode.RELEASE); in testReleaseRequireNonNullIsRewritten() 72 private void runTest(CompilationMode mode) in runTest()
|
/external/r8/src/test/java/com/android/tools/r8/internal/ |
D | D8GMSCoreV10DeployJarVerificationTest.java | 7 import com.android.tools.r8.CompilationMode; 20 CompilerUnderTest.D8, CompilationMode.DEBUG, in buildDebugFromDeployJar() 28 CompilerUnderTest.D8, CompilationMode.RELEASE, in buildReleaseFromDeployJar()
|
D | D8GMSCoreV9DeployJarVerificationTest.java | 7 import com.android.tools.r8.CompilationMode; 20 CompilerUnderTest.D8, CompilationMode.DEBUG, in buildDebugFromDeployJar() 28 CompilerUnderTest.D8, CompilationMode.RELEASE, in buildReleaseFromDeployJar()
|
D | D8PhotosVerificationTest.java | 7 import com.android.tools.r8.CompilationMode; 18 public void runD8AndCheckVerification(CompilationMode mode, String version) in runD8AndCheckVerification() 27 runD8AndCheckVerification(CompilationMode.RELEASE, PHOTOS); in verify()
|
D | YouTubeDexVerificationTest.java | 7 import com.android.tools.r8.CompilationMode; 20 CompilerUnderTest.R8, CompilationMode.DEBUG, BASE + APK, BASE + PG_MAP, null, BASE + APK); in buildDebugFromDex() 27 CompilerUnderTest.R8, CompilationMode.RELEASE, BASE + APK, BASE + PG_MAP, null, BASE + APK); in buildReleaseFromDex()
|
D | D8YouTubeDeployJarVerificationTest.java | 7 import com.android.tools.r8.CompilationMode; 20 CompilerUnderTest.D8, CompilationMode.DEBUG, BASE + APK, null, null, BASE + DEPLOY_JAR); in buildDebugFromDeployJar() 27 CompilerUnderTest.D8, CompilationMode.RELEASE, BASE + APK, null, null, BASE + DEPLOY_JAR); in buildReleaseFromDeployJar()
|
D | YouTubeDeployJarVerificationTest.java | 7 import com.android.tools.r8.CompilationMode; 20 CompilerUnderTest.R8, CompilationMode.DEBUG, BASE + APK, null, null, BASE + DEPLOY_JAR); in buildDebugFromDeployJar() 27 CompilerUnderTest.R8, CompilationMode.RELEASE, BASE + APK, null, null, BASE + DEPLOY_JAR); in buildReleaseFromDeployJar()
|
D | YouTubeProguardJarVerificationTest.java | 7 import com.android.tools.r8.CompilationMode; 20 … CompilerUnderTest.R8, CompilationMode.DEBUG, BASE + APK, BASE + PG_MAP, null, BASE + PG_JAR); in buildDebugFromProguardJar() 27 CompilerUnderTest.R8, CompilationMode.RELEASE, in buildReleaseFromProguardJar()
|
D | D8FrameworkVerificationTest.java | 7 import com.android.tools.r8.CompilationMode; 25 .setMode(CompilationMode.DEBUG) in verifyDebugBuild() 37 .setMode(CompilationMode.RELEASE) in verifyReleaseBuild()
|
D | GMSCoreCompilationTestBase.java | 7 import com.android.tools.r8.CompilationMode; 34 public void runR8AndCheckVerification(CompilationMode mode, String version) in runR8AndCheckVerification() 40 CompilerUnderTest compiler, CompilationMode mode, String version) in runAndCheckVerification()
|
D | R8GMSCoreV4VerificationTest.java | 7 import com.android.tools.r8.CompilationMode; 17 runR8AndCheckVerification(CompilationMode.RELEASE, GMSCORE_V4_DIR); in verify()
|
D | R8GMSCoreV7VerificationTest.java | 7 import com.android.tools.r8.CompilationMode; 18 runR8AndCheckVerification(CompilationMode.RELEASE, GMSCORE_V7_DIR); in verify()
|
D | R8GMSCoreV8VerificationTest.java | 7 import com.android.tools.r8.CompilationMode; 18 runR8AndCheckVerification(CompilationMode.RELEASE, GMSCORE_V8_DIR); in verify()
|
D | R8GMSCoreV5VerificationTest.java | 7 import com.android.tools.r8.CompilationMode; 17 runR8AndCheckVerification(CompilationMode.RELEASE, GMSCORE_V5_DIR); in verify()
|
D | R8GMSCoreV6VerificationTest.java | 7 import com.android.tools.r8.CompilationMode; 17 runR8AndCheckVerification(CompilationMode.RELEASE, GMSCORE_V6_DIR); in verify()
|
D | R8GMSCoreV10TreeShakeJarVerificationTest.java | 7 import com.android.tools.r8.CompilationMode; 21 CompilationMode.RELEASE, GMSCORE_V10_DIR, false, GMSCORE_V10_MAX_SIZE); in buildAndTreeShakeFromDeployJar()
|
D | R8GMSCoreV9TreeShakeJarVerificationTest.java | 7 import com.android.tools.r8.CompilationMode; 19 CompilationMode.RELEASE, GMSCORE_V9_DIR, true, GMSCORE_V9_MAX_SIZE); in buildAndTreeShakeFromDeployJar()
|
D | R8GMSCoreV9DeployJarVerificationTest.java | 8 import com.android.tools.r8.CompilationMode; 21 CompilerUnderTest.R8, CompilationMode.RELEASE, in buildFromDeployJar()
|
D | R8GMSCoreV10DeployJarVerificationTest.java | 8 import com.android.tools.r8.CompilationMode; 22 CompilerUnderTest.R8, CompilationMode.RELEASE, in buildFromDeployJar()
|
D | GMSCoreDeployJarVerificationTest.java | 7 import com.android.tools.r8.CompilationMode; 16 CompilerUnderTest compiler, CompilationMode mode, String base, boolean hasReference) in buildFromDeployJar()
|