Home
last modified time | relevance | path

Searched refs:R8Command (Results 1 – 23 of 23) sorted by relevance

/external/r8/src/test/java/com/android/tools/r8/utils/
DR8CommandTest.java14 import com.android.tools.r8.R8Command;
39 verifyEmptyCommand(R8Command.builder().build()); in emptyCommand()
49 private void verifyEmptyCommand(R8Command command) { in verifyEmptyCommand()
81 R8Command.builder().setOutputPath(existingDir).build().getOutputPath()); in validOutputPath()
84 R8Command.builder().setOutputPath(nonExistingZip).build().getOutputPath()); in validOutputPath()
134 R8Command.builder().setOutputPath(nonExistingDir).build(); in nonExistingOutputDir()
140 R8Command.builder().setOutputPath(existingZip).build(); in existingOutputZip()
147 R8Command.builder().setOutputPath(invalidType).build(); in invalidOutputFileType()
180 R8Command command = parse("@" + argsFile.toString()); in argumentsInFile()
190 R8Command.builder().setOutputPath(nonExistingJar).build(); in nonExistingOutputJar()
[all …]
DR8InliningTest.java10 import com.android.tools.r8.R8Command;
82 R8Command command = in generateR8Version()
83 R8Command.builder() in generateR8Version()
/external/r8/src/test/java/com/android/tools/r8/
DR8RunExamplesAndroidNTest.java11 public class R8RunExamplesAndroidNTest extends RunExamplesAndroidNTest<R8Command.Builder> {
27 R8Command.Builder builder = R8Command.builder(); in build()
28 for (UnaryOperator<R8Command.Builder> transformation : builderTransformations) { in build()
31 R8Command command = builder.addProgramFiles(inputFile).setOutputPath(out).build(); in build()
DR8RunExamplesAndroidOTest.java19 public class R8RunExamplesAndroidOTest extends RunExamplesAndroidOTest<R8Command.Builder> {
63 R8Command.Builder builder = R8Command.builder(); in build()
64 for (UnaryOperator<R8Command.Builder> transformation : builderTransformations) { in build()
67 R8Command command = builder.addProgramFiles(inputFile).setOutputPath(out).build(); in build()
DTestBase.java92 R8Command command = ToolHelper.prepareR8CommandBuilder(readClasses(classes)).build(); in compileWithR8()
101 R8Command command = ToolHelper.prepareR8CommandBuilder(readClasses(classes)).build(); in compileWithR8()
110 R8Command command = ToolHelper.prepareR8CommandBuilder(readClasses(classes)).build(); in compileWithR8()
119 R8Command command = ToolHelper.prepareR8CommandBuilder(app).build(); in compileWithR8()
153 R8Command command = in compileWithR8()
175 R8Command command = in compileWithR8()
DToolHelper.java423 public static R8Command.Builder prepareR8CommandBuilder(AndroidApp app) { in prepareR8CommandBuilder()
424 return R8Command.builder(app); in prepareR8CommandBuilder()
429 return runR8(R8Command.builder(app).build()); in runR8()
435 return runR8(R8Command.builder(app).setOutputPath(output).build()); in runR8()
440 return runR8(R8Command.builder(app).build(), optionsConsumer); in runR8()
443 public static AndroidApp runR8(R8Command command) in runR8()
448 public static AndroidApp runR8(R8Command command, Consumer<InternalOptions> optionsConsumer) in runR8()
454 R8Command command, Consumer<InternalOptions> optionsConsumer) in runR8WithFullResult()
483 R8Command.builder() in runR8()
DR8EntryPointTests.java116 private R8Command getCommand(Path out) throws CompilationException, IOException { in getCommand()
117 return R8Command.builder() in getCommand()
DR8RunArtTestsTest.java1083 R8Command.Builder builder = in executeCompilerUnderTest()
1084 R8Command.builder() in executeCompilerUnderTest()
1111 private static R8Command.Builder setDefaultArgs(R8Command.Builder builder) { in setDefaultArgs()
DR8RunExamplesTest.java184 ToolHelper.runR8(R8Command.builder() in compile()
/external/r8/src/main/java/com/android/tools/r8/
DR8Command.java24 public class R8Command extends BaseCommand { class
26 public static class Builder extends BaseCommand.Builder<R8Command, Builder> {
133 public R8Command build() throws CompilationException, IOException { in build()
136 return new R8Command(isPrintHelp(), isPrintVersion()); in build()
171 return new R8Command( in build()
314 private R8Command( in R8Command() method in R8Command
338 private R8Command(boolean printHelp, boolean printVersion) { in R8Command() method in R8Command
DR8.java6 import static com.android.tools.r8.R8Command.USAGE_MESSAGE;
375 public static AndroidApp run(R8Command command) in run()
385 static void writeOutputs(R8Command command, InternalOptions options, AndroidApp outputApp) in writeOutputs()
442 public static AndroidApp run(R8Command command, ExecutorService executor) in run()
453 R8Command.Builder builder = R8Command.parse(args); in run()
457 R8Command command = builder.build(); in run()
/external/r8/src/test/java/com/android/tools/r8/shaking/
DTreeShakingSpecificTest.java11 import com.android.tools.r8.R8Command;
49 R8Command.builder() in testIgnoreWarnings()
67 R8Command.builder() in testMissingLibrary()
91 R8Command.builder() in testPrintMapping()
DTreeShakingTest.java9 import com.android.tools.r8.R8Command;
122 R8Command command = in generateTreeShakedVersion()
123 R8Command.builder() in generateTreeShakedVersion()
/external/r8/src/test/java/com/android/tools/r8/dex/
DExtraFileTest.java7 import com.android.tools.r8.R8Command;
46 R8Command command = in splitMemberRebindingTwoFiles()
47 R8Command.builder() in splitMemberRebindingTwoFiles()
/external/r8/src/test/java/com/android/tools/r8/maindexlist/
DMainDexTracingTest.java11 import com.android.tools.r8.R8Command;
109 R8Command.builder(), in doTest()
122 R8Command.Builder builder, in doTest()
130 R8Command command = builder in doTest()
DMainDexListOutputTest.java9 import com.android.tools.r8.R8Command;
33 R8Command command = in testWithMainDex()
DMainDexListTests.java13 import com.android.tools.r8.R8Command;
362 R8Command command = in doVerifyMainDexContains()
363 R8Command.builder() in doVerifyMainDexContains()
/external/r8/src/test/java/com/android/tools/r8/internal/
DR8GMSCoreDeterministicTest.java10 import com.android.tools.r8.R8Command;
38 R8Command command = in doRun()
39 R8Command.builder().addProgramFiles(Paths.get(GMSCORE_V7_DIR, GMSCORE_APK)).build(); in doRun()
DCompilationTestBase.java11 import com.android.tools.r8.R8Command;
67 R8Command.Builder builder = R8Command.builder(); in runAndCheckVerification()
/external/r8/src/test/java/com/android/tools/r8/classmerging/
DClassMergingTest.java4 import com.android.tools.r8.R8Command;
33 R8Command.builder() in runR8()
/external/r8/src/test/java/com/android/tools/r8/optimize/
DR8DebugStrippingTest.java13 import com.android.tools.r8.R8Command;
106 R8Command command = in testStackTraces()
107 R8Command.builder() in testStackTraces()
/external/r8/src/test/java/com/android/tools/r8/jsr45/
DJSR45Tests.java10 import com.android.tools.r8.R8Command;
66 R8Command.builder() in compileWithR8()
/external/r8/src/test/java/com/android/tools/r8/memberrebinding/
DMemberRebindingTest.java10 import com.android.tools.r8.R8Command;
89 R8Command.builder() in runR8()