Home
last modified time | relevance | path

Searched refs:CompilationMode (Results 1 – 25 of 41) sorted by relevance

12

/external/r8/src/main/java/com/android/tools/r8/
DD8Command.java40 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 …]
DBaseCommand.java23 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()
DR8Command.java36 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/
DTestCondition.java43 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()
DR8RunExamplesTest.java116 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/
DRequireNonNullRewriteTest.java7 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/
DD8GMSCoreV10DeployJarVerificationTest.java7 import com.android.tools.r8.CompilationMode;
20 CompilerUnderTest.D8, CompilationMode.DEBUG, in buildDebugFromDeployJar()
28 CompilerUnderTest.D8, CompilationMode.RELEASE, in buildReleaseFromDeployJar()
DD8GMSCoreV9DeployJarVerificationTest.java7 import com.android.tools.r8.CompilationMode;
20 CompilerUnderTest.D8, CompilationMode.DEBUG, in buildDebugFromDeployJar()
28 CompilerUnderTest.D8, CompilationMode.RELEASE, in buildReleaseFromDeployJar()
DD8PhotosVerificationTest.java7 import com.android.tools.r8.CompilationMode;
18 public void runD8AndCheckVerification(CompilationMode mode, String version) in runD8AndCheckVerification()
27 runD8AndCheckVerification(CompilationMode.RELEASE, PHOTOS); in verify()
DYouTubeDexVerificationTest.java7 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()
DD8YouTubeDeployJarVerificationTest.java7 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()
DYouTubeDeployJarVerificationTest.java7 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()
DYouTubeProguardJarVerificationTest.java7 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()
DD8FrameworkVerificationTest.java7 import com.android.tools.r8.CompilationMode;
25 .setMode(CompilationMode.DEBUG) in verifyDebugBuild()
37 .setMode(CompilationMode.RELEASE) in verifyReleaseBuild()
DGMSCoreCompilationTestBase.java7 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()
DR8GMSCoreV4VerificationTest.java7 import com.android.tools.r8.CompilationMode;
17 runR8AndCheckVerification(CompilationMode.RELEASE, GMSCORE_V4_DIR); in verify()
DR8GMSCoreV7VerificationTest.java7 import com.android.tools.r8.CompilationMode;
18 runR8AndCheckVerification(CompilationMode.RELEASE, GMSCORE_V7_DIR); in verify()
DR8GMSCoreV8VerificationTest.java7 import com.android.tools.r8.CompilationMode;
18 runR8AndCheckVerification(CompilationMode.RELEASE, GMSCORE_V8_DIR); in verify()
DR8GMSCoreV5VerificationTest.java7 import com.android.tools.r8.CompilationMode;
17 runR8AndCheckVerification(CompilationMode.RELEASE, GMSCORE_V5_DIR); in verify()
DR8GMSCoreV6VerificationTest.java7 import com.android.tools.r8.CompilationMode;
17 runR8AndCheckVerification(CompilationMode.RELEASE, GMSCORE_V6_DIR); in verify()
DR8GMSCoreV10TreeShakeJarVerificationTest.java7 import com.android.tools.r8.CompilationMode;
21 CompilationMode.RELEASE, GMSCORE_V10_DIR, false, GMSCORE_V10_MAX_SIZE); in buildAndTreeShakeFromDeployJar()
DR8GMSCoreV9TreeShakeJarVerificationTest.java7 import com.android.tools.r8.CompilationMode;
19 CompilationMode.RELEASE, GMSCORE_V9_DIR, true, GMSCORE_V9_MAX_SIZE); in buildAndTreeShakeFromDeployJar()
DR8GMSCoreV9DeployJarVerificationTest.java8 import com.android.tools.r8.CompilationMode;
21 CompilerUnderTest.R8, CompilationMode.RELEASE, in buildFromDeployJar()
DR8GMSCoreV10DeployJarVerificationTest.java8 import com.android.tools.r8.CompilationMode;
22 CompilerUnderTest.R8, CompilationMode.RELEASE, in buildFromDeployJar()
DGMSCoreDeployJarVerificationTest.java7 import com.android.tools.r8.CompilationMode;
16 CompilerUnderTest compiler, CompilationMode mode, String base, boolean hasReference) in buildFromDeployJar()

12