/external/r8/src/test/java/com/android/tools/r8/smali/ |
D | SmaliDisassembleTest.java | 12 import com.android.tools.r8.utils.InternalOptions; 31 new InternalOptions(), in roundTripRawSmali() 34 assertEquals(smali, application.smali(new InternalOptions())); in roundTripRawSmali() 75 assertEquals(expected, application.smali(new InternalOptions())); in simpleSmokeTest() 131 assertEquals(expected, application.smali(new InternalOptions())); in sparseSwitchTest() 187 assertEquals(expected, application.smali(new InternalOptions())); in packedSwitchTest() 230 assertEquals(expected, application.smali(new InternalOptions())); in fillArrayDataTest8Bit() 273 assertEquals(expected, application.smali(new InternalOptions())); in fillArrayDataTest16Bit() 316 assertEquals(expected, application.smali(new InternalOptions())); in fillArrayDataTest32Bit() 359 assertEquals(expected, application.smali(new InternalOptions())); in fillArrayDataTest64Bit() [all …]
|
D | OutlineTest.java | 32 import com.android.tools.r8.utils.InternalOptions; 62 String firstOutlineMethodName(InternalOptions options) { in firstOutlineMethodName() 71 String returnType, List<String> parameterTypes, InternalOptions options) { in firstOutlineMethodSignature() 76 boolean isOutlineMethodName(InternalOptions options, String qualifiedName) { in isOutlineMethodName() 121 InternalOptions options = new InternalOptions(); in a() 186 InternalOptions options = new InternalOptions(); in b() 252 InternalOptions options = new InternalOptions(); in c() 316 InternalOptions options = new InternalOptions(); in d() 375 InternalOptions options = new InternalOptions(); in longArguments() 449 InternalOptions options = new InternalOptions(); in doubleArguments() [all …]
|
D | SmaliBuildTest.java | 14 import com.android.tools.r8.utils.InternalOptions; 40 InternalOptions options = new InternalOptions(); in buildWithoutLibrary() 61 InternalOptions options = new InternalOptions(); in buildWithLibrary()
|
D | SmaliTestBase.java | 30 import com.android.tools.r8.utils.InternalOptions; 301 public final InternalOptions options; 308 InternalOptions options) { in TestApplication() 318 InternalOptions options) { in TestApplication() 353 return buildApplication(builder, new InternalOptions()); in buildApplication() 356 protected DexApplication buildApplication(SmaliBuilder builder, InternalOptions options) { in buildApplication() 365 SmaliBuilder builder, InternalOptions options) { in buildApplicationWithAndroidJar() 377 protected DexApplication buildApplication(AndroidApp input, InternalOptions options) { in buildApplication() 386 protected DexApplication processApplication(DexApplication application, InternalOptions options) { in processApplication() 457 InternalOptions options = new InternalOptions(); in oneMethodApplication() [all …]
|
D | SwitchRewritingTest.java | 24 import com.android.tools.r8.utils.InternalOptions; 85 InternalOptions options = new InternalOptions(); in runSingleCaseDexTest() 146 InternalOptions options = new InternalOptions(); in runTwoCaseSparseToPackedDexTest() 216 InternalOptions options = new InternalOptions(); in runLargerSwitchDexTest() 287 app = new R8(new InternalOptions()).optimize(app, new AppInfoWithSubtyping(app)); in runSingleCaseJarTest() 347 app = new R8(new InternalOptions()).optimize(app, new AppInfoWithSubtyping(app)); in runTwoCaseSparseToPackedJarTest() 420 app = new R8(new InternalOptions()).optimize(app, new AppInfoWithSubtyping(app)); in runLargerSwitchJarTest()
|
D | Regress38014736.java | 9 import com.android.tools.r8.utils.InternalOptions; 49 InternalOptions options = new InternalOptions(); in handlerRangeStartingOnMoveResult()
|
D | ComputeBlockTryRangeTest.java | 8 import com.android.tools.r8.utils.InternalOptions; 51 InternalOptions options = new InternalOptions(); in jumpIntoTryRange()
|
D | JumboStringTest.java | 10 import com.android.tools.r8.utils.InternalOptions; 55 InternalOptions options = new InternalOptions(); in test()
|
D | RunArtSmokeTest.java | 17 import com.android.tools.r8.utils.InternalOptions; 35 InternalOptions options = new InternalOptions(); in test()
|
D | CatchSuccessorFallthroughTest.java | 16 import com.android.tools.r8.utils.InternalOptions; 65 InternalOptions options = new InternalOptions(); in catchSuccessorFallthroughTest()
|
/external/r8/src/test/java/com/android/tools/r8/ir/ |
D | InlineTest.java | 17 import com.android.tools.r8.utils.InternalOptions; 73 InternalOptions options = new InternalOptions(); in codeForMethodReplaceTest() 79 IRCode code = method.buildIR(valueNumberGenerator, new InternalOptions()); in codeForMethodReplaceTest() 82 IRCode codeA = methodA.buildIR(valueNumberGenerator, new InternalOptions()); in codeForMethodReplaceTest() 85 IRCode codeB = methodB.buildIR(valueNumberGenerator, new InternalOptions()); in codeForMethodReplaceTest() 156 InternalOptions options = new InternalOptions(); in codeForMethodReplaceReturnVoidTest() 162 IRCode code = method.buildIR(valueNumberGenerator, new InternalOptions()); in codeForMethodReplaceReturnVoidTest() 165 IRCode codeA = methodA.buildIR(valueNumberGenerator, new InternalOptions()); in codeForMethodReplaceReturnVoidTest() 236 InternalOptions options = new InternalOptions(); in codeForMultipleMethodReplaceTest() 242 IRCode code = method.buildIR(valueNumberGenerator, new InternalOptions()); in codeForMultipleMethodReplaceTest() [all …]
|
D | SplitBlockTest.java | 25 import com.android.tools.r8.utils.InternalOptions; 59 InternalOptions options = new InternalOptions(); in codeWithoutCatchHandlers() 65 IRCode code = method.buildIR(valueNumberGenerator, new InternalOptions()); in codeWithoutCatchHandlers() 177 InternalOptions options = new InternalOptions(); in codeWithCatchHandlers() 183 IRCode code = method.buildIR(valueNumberGenerator, new InternalOptions()); in codeWithCatchHandlers() 301 InternalOptions options = new InternalOptions(); in codeWithIf() 307 IRCode code = method.buildIR(valueNumberGenerator, new InternalOptions()); in codeWithIf() 420 InternalOptions options = new InternalOptions(); in codeWithSwitch() 426 IRCode code = method.buildIR(valueNumberGenerator, new InternalOptions()); in codeWithSwitch()
|
D | BasicBlockIteratorTest.java | 14 import com.android.tools.r8.utils.InternalOptions; 48 InternalOptions options = new InternalOptions(); in simpleCode() 54 IRCode code = method.buildIR(valueNumberGenerator, new InternalOptions()); in simpleCode()
|
D | InstructionIteratorTest.java | 15 import com.android.tools.r8.utils.InternalOptions; 49 InternalOptions options = new InternalOptions(); in simpleCode() 55 IRCode code = method.buildIR(valueNumberGenerator, new InternalOptions()); in simpleCode()
|
/external/r8/src/test/java/com/android/tools/r8/ |
D | RunExamplesAndroidNTest.java | 16 import com.android.tools.r8.utils.InternalOptions; 41 final List<Consumer<InternalOptions>> optionConsumers = new ArrayList<>(); 50 TestRunner withOptionConsumer(Consumer<InternalOptions> consumer) { in withOptionConsumer() 64 void combinedOptionConsumer(InternalOptions options) { in combinedOptionConsumer() 65 for (Consumer<InternalOptions> consumer : optionConsumers) { in combinedOptionConsumer()
|
D | TestBase.java | 13 import com.android.tools.r8.utils.InternalOptions; 108 protected AndroidApp compileWithR8(List<Class> classes, Consumer<InternalOptions> optionsConsumer) in compileWithR8() 117 protected AndroidApp compileWithR8(AndroidApp app, Consumer<InternalOptions> optionsConsumer) in compileWithR8() 135 List<Class> classes, String proguardConfig, Consumer<InternalOptions> optionsConsumer) in compileWithR8() 164 AndroidApp app, String proguardConfig, Consumer<InternalOptions> optionsConsumer) in compileWithR8() 173 AndroidApp app, Path proguardConfig, Consumer<InternalOptions> optionsConsumer) in compileWithR8()
|
D | R8UnreachableCodeTest.java | 16 import com.android.tools.r8.utils.InternalOptions; 37 new ApplicationReader(input, new InternalOptions(), timing).read(executorService); in UnreachableCode() 39 new IRConverter(application, new AppInfoWithSubtyping(application), new InternalOptions()); in UnreachableCode()
|
D | RunExamplesAndroidOTest.java | 21 import com.android.tools.r8.utils.InternalOptions; 48 final List<Consumer<InternalOptions>> optionConsumers = new ArrayList<>(); 87 TestRunner withOptionConsumer(Consumer<InternalOptions> consumer) { in withOptionConsumer() 105 void combinedOptionConsumer(InternalOptions options) { in combinedOptionConsumer() 106 for (Consumer<InternalOptions> consumer : optionConsumers) { in combinedOptionConsumer()
|
/external/r8/src/main/java/com/android/tools/r8/ |
D | D8.java | 17 import com.android.tools.r8.utils.InternalOptions; 63 InternalOptions options = command.getInternalOptions(); in run() 84 InternalOptions options = command.getInternalOptions(); in run() 141 static CompilationResult runForTesting(AndroidApp inputApp, InternalOptions options) in runForTesting() 152 AndroidApp inputApp, InternalOptions options, ExecutorService executor) throws IOException { in runForTesting() 193 DexApplication application, AppInfo appInfo, InternalOptions options, in optimize()
|
D | Disassemble.java | 8 import com.android.tools.r8.utils.InternalOptions; 128 InternalOptions getInternalOptions() { in getInternalOptions() 129 InternalOptions internal = new InternalOptions(); in getInternalOptions()
|
D | R8.java | 40 import com.android.tools.r8.utils.InternalOptions; 41 import com.android.tools.r8.utils.InternalOptions.AttributeRemovalOptions; 66 private final InternalOptions options; 69 public R8(InternalOptions options) { in R8() 81 InternalOptions options) in writeApplication() 151 InternalOptions options = command.getInternalOptions(); in disassemble() 174 static CompilationResult runForTesting(AndroidApp app, InternalOptions options) in runForTesting() 186 InternalOptions options, in runForTesting() 385 static void writeOutputs(R8Command command, InternalOptions options, AndroidApp outputApp) in writeOutputs() 444 InternalOptions options = command.getInternalOptions(); in run()
|
D | D8Command.java | 10 import com.android.tools.r8.utils.InternalOptions; 198 InternalOptions getInternalOptions() { in getInternalOptions() 199 InternalOptions internal = new InternalOptions(new DexItemFactory()); in getInternalOptions()
|
/external/r8/src/main/java/com/android/tools/r8/ir/optimize/ |
D | DeadCodeRemover.java | 14 import com.android.tools.r8.utils.InternalOptions; 24 IRCode code, CodeRewriter codeRewriter, InternalOptions options) { in removeDeadCode() 71 Queue<BasicBlock> worklist, BasicBlock block, InternalOptions options) { in removeDeadPhis() 101 Queue<BasicBlock> worklist, IRCode code, BasicBlock block, InternalOptions options) { in removeDeadInstructions()
|
/external/r8/src/test/java/com/android/tools/r8/graph/ |
D | TargetLookupTest.java | 12 import com.android.tools.r8.utils.InternalOptions; 70 assertEquals("OK", runArt(application, new InternalOptions())); in lookupDirect() 146 assertEquals("OK", runArt(application, new InternalOptions())); in lookupDirectSuper()
|
/external/r8/src/test/java/com/android/tools/r8/bisect/ |
D | BisectTest.java | 17 import com.android.tools.r8.utils.InternalOptions; 41 InternalOptions options = new InternalOptions(); in bisect()
|