Home
last modified time | relevance | path

Searched refs:minApiLevel (Results 1 – 25 of 27) sorted by relevance

12

/external/r8/src/main/java/com/android/tools/r8/
DBaseCommand.java24 private final int minApiLevel; field in BaseCommand
34 this.minApiLevel = 0; in BaseCommand()
42 int minApiLevel) { in BaseCommand() argument
45 assert minApiLevel > 0; in BaseCommand() local
50 this.minApiLevel = minApiLevel; in BaseCommand()
81 return minApiLevel; in getMinApiLevel()
96 private int minApiLevel = Constants.DEFAULT_ANDROID_API; field in BaseCommand.Builder
218 return minApiLevel; in getMinApiLevel()
222 public B setMinApiLevel(int minApiLevel) { in setMinApiLevel() argument
223 assert minApiLevel > 0; in setMinApiLevel() local
[all …]
DD8Command.java189 int minApiLevel) { in D8Command() argument
190 super(inputApp, outputPath, outputMode, mode, minApiLevel); in D8Command()
202 internal.minApiLevel = getMinApiLevel(); in getInternalOptions()
DDisassemble.java111 int minApiLevel, in DisassembleCommand() argument
113 super(inputApp, outputPath, outputMode, mode, minApiLevel); in DisassembleCommand()
DDexSegments.java87 int minApiLevel) { in Command() argument
88 super(inputApp, outputPath, outputMode, mode, minApiLevel); in Command()
DR8Command.java322 int minApiLevel, in R8Command() argument
326 super(inputApp, outputPath, outputMode, mode, minApiLevel); in R8Command()
361 internal.minApiLevel = getMinApiLevel(); in getInternalOptions()
/external/vogar/src/vogar/
DLanguage.java32 private final String minApiLevel; field in Language
35 String minApiLevel) { in Language() argument
39 this.minApiLevel = minApiLevel; in Language()
55 return minApiLevel; in getMinApiLevel()
/external/r8/src/main/java/com/android/tools/r8/utils/
DInternalOptions.java51 public int minApiLevel = Constants.DEFAULT_ANDROID_API; field in InternalOptions
271 return minApiLevel >= Constants.ANDROID_O_API; in canUseInvokePolymorphic()
275 return minApiLevel >= Constants.ANDROID_O_API; in canUseInvokeCustom()
279 return minApiLevel >= Constants.ANDROID_N_API; in canUseDefaultAndStaticInterfaceMethods()
283 return minApiLevel >= Constants.ANDROID_K_API; in canUseLongCompareAndObjectsNonNull()
287 return minApiLevel >= Constants.ANDROID_K_API; in canUseSuppressedExceptions()
291 return minApiLevel >= Constants.ANDROID_N_API; in canUsePrivateInterfaceMethods()
298 return minApiLevel >= Constants.ANDROID_O_API; in canUseParameterNameAnnotations()
/external/r8/src/main/java/com/android/tools/r8/dex/
DApplicationReader.java99 if (options.minApiLevel == DEFAULT_ANDROID_API) { in verifyOrComputeMinApiLevel()
103 "' cannot be used with min sdk level '" + options.minApiLevel + "'."); in verifyOrComputeMinApiLevel()
111 return options.minApiLevel >= ANDROID_O_API; in minApiMatchesDexVersion()
113 return options.minApiLevel >= ANDROID_N_API; in minApiMatchesDexVersion()
184 int computedMinApiLevel = options.minApiLevel; in readDexSources()
190 options.minApiLevel = computedMinApiLevel; in readDexSources()
DApplicationWriter.java135 } else if (options.minApiLevel < Constants.ANDROID_L_API in write()
140 + " supported with API level " + options.minApiLevel +"." in write()
/external/r8/src/main/java/com/android/tools/r8/compatdx/
DCompatDx.java90 public final int minApiLevel; field in CompatDx.DxCompatOptions
165 final OptionSpec<Integer> minApiLevel; field in CompatDx.DxCompatOptions.Spec
241 minApiLevel = parser in Spec()
297 if (options.has(spec.minApiLevel)) { in DxCompatOptions()
298 List<Integer> allMinApiLevels = options.valuesOf(spec.minApiLevel); in DxCompatOptions()
299 minApiLevel = allMinApiLevels.get(allMinApiLevels.size() - 1); in DxCompatOptions()
301 minApiLevel = Constants.DEFAULT_ANDROID_API; in DxCompatOptions()
458 dexArgs.multiDex && dexArgs.minApiLevel < 21 ? 21 : dexArgs.minApiLevel) in run()
/external/vogar/src/vogar/commands/
DJack.java121 public Jack minApiLevel(String minApiLevel) { in minApiLevel() method in Jack
122 setProperty("jack.android.min-api-level=" + minApiLevel); in minApiLevel()
/external/r8/src/test/java/com/android/tools/r8/
DR8RunExamplesAndroidNTest.java20 TestRunner withMinApiLevel(int minApiLevel) { in withMinApiLevel() argument
21 return withBuilderTransformation(builder -> builder.setMinApiLevel(minApiLevel)); in withMinApiLevel()
DD8RunExamplesAndroidNTest.java22 TestRunner withMinApiLevel(int minApiLevel) { in withMinApiLevel() argument
23 return withBuilderTransformation(builder -> builder.setMinApiLevel(minApiLevel)); in withMinApiLevel()
DD8RunExamplesAndroidOTest.java23 TestRunner withMinApiLevel(int minApiLevel) { in withMinApiLevel() argument
24 return withBuilderTransformation(builder -> builder.setMinApiLevel(minApiLevel)); in withMinApiLevel()
DR8RunExamplesAndroidOTest.java56 TestRunner withMinApiLevel(int minApiLevel) { in withMinApiLevel() argument
57 return withBuilderTransformation(builder -> builder.setMinApiLevel(minApiLevel)); in withMinApiLevel()
DD8IncrementalRunExamplesAndroidOTest.java48 TestRunner withMinApiLevel(int minApiLevel) { in withMinApiLevel() argument
49 return withBuilderTransformation(builder -> builder.setMinApiLevel(minApiLevel)); in withMinApiLevel()
DRunExamplesAndroidNTest.java101 abstract TestRunner withMinApiLevel(int minApiLevel); in withMinApiLevel() argument
DRunExamplesAndroidOTest.java152 abstract TestRunner withMinApiLevel(int minApiLevel); in withMinApiLevel() argument
/external/r8/src/test/java/com/android/tools/r8/internal/
DR8GMSCoreFixedPointTest.java26 ToolHelper.runR8(app, options -> options.minApiLevel = Constants.ANDROID_L_API); in fixedPoint()
35 options.minApiLevel = Constants.ANDROID_L_API; in fixedPoint()
DR8GMSCoreDeterministicTest.java46 options.minApiLevel = Constants.ANDROID_L_API; in doRun()
DCompilationTestBase.java79 options.minApiLevel = Constants.ANDROID_L_API; in runAndCheckVerification()
/external/r8/src/test/java/com/android/tools/r8/memberrebinding/
DMemberRebindingTest.java62 private final int minApiLevel; field in MemberRebindingTest
77 this.minApiLevel = configuration.getMinApiLevel(); in MemberRebindingTest()
93 .setMinApiLevel(minApiLevel) in runR8()
/external/vogar/src/vogar/android/
DJackDexTask.java95 jack.minApiLevel(String.valueOf(run.language.getJackMinApiLevel())); in execute()
/external/vogar/src/vogar/tasks/
DBuildActionTask.java140 compiler.minApiLevel(String.valueOf(run.language.getJackMinApiLevel())); in compileWithJack()
/external/r8/src/test/java/com/android/tools/r8/maindexlist/
DMainDexListTests.java398 options.minApiLevel = minApi; in generateApplication()

12