Home
last modified time | relevance | path

Searched refs:apiLevel (Results 1 – 25 of 26) sorted by relevance

12

/external/r8/src/test/java/com/android/tools/r8/utils/
DSmali.java36 public static byte[] compile(String smaliText, int apiLevel) in compile() argument
38 return compile(ImmutableList.of(smaliText), apiLevel); in compile()
46 public static byte[] compile(List<String> smaliTexts, int apiLevel) in compile() argument
48 DexBuilder dexBuilder = new DexBuilder(Opcodes.forApi(apiLevel)); in compile()
59 parser.setApiLevel(apiLevel); in compile()
74 dexGen.setApiLevel(apiLevel); in compile()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/
DClassPathResolver.java321 private static List<String> getDefaultBootClassPath(@Nonnull DexFile dexFile, int apiLevel) { in getDefaultBootClassPath() argument
340 if (apiLevel <= 8) { in getDefaultBootClassPath()
347 } else if (apiLevel <= 11) { in getDefaultBootClassPath()
356 } else if (apiLevel <= 13) { in getDefaultBootClassPath()
366 } else if (apiLevel <= 15) { in getDefaultBootClassPath()
377 } else if (apiLevel <= 17) { in getDefaultBootClassPath()
390 } else if (apiLevel <= 18) { in getDefaultBootClassPath()
403 } else if (apiLevel <= 19) { in getDefaultBootClassPath()
419 } else if (apiLevel <= 22) { in getDefaultBootClassPath()
434 } else if (apiLevel <= 23) { in getDefaultBootClassPath()
/external/smali/smali/src/main/java/org/jf/smali/
DSmaliTestUtils.java56 public static ClassDef compileSmali(String smaliText, int apiLevel) in compileSmali() argument
60 DexBuilder dexBuilder = new DexBuilder(Opcodes.forApi(apiLevel)); in compileSmali()
70 parser.setApiLevel(apiLevel); in compileSmali()
84 dexGen.setApiLevel(apiLevel); in compileSmali()
97 … DexBackedDexFile dexFile = new DexBackedDexFile(Opcodes.forApi(apiLevel), dataStore.getData()); in compileSmali()
DAssembleCommand.java65 private int apiLevel = 15; field in AssembleCommand
106 options.apiLevel = apiLevel; in getOptions()
DSmali.java94 final DexBuilder dexBuilder = new DexBuilder(Opcodes.forApi(options.apiLevel)); in assemble()
177 parser.setApiLevel(options.apiLevel); in assembleSmaliFile()
195 dexGen.setApiLevel(options.apiLevel); in assembleSmaliFile()
DSmaliOptions.java35 public int apiLevel = 15; field in SmaliOptions
DsmaliTreeWalker.java329 private int apiLevel = 15; field in smaliTreeWalker
330 private Opcodes opcodes = Opcodes.forApi(apiLevel);
337 public void setApiLevel(int apiLevel) { in setApiLevel() argument
338 this.opcodes = Opcodes.forApi(apiLevel); in setApiLevel()
339 this.apiLevel = apiLevel; in setApiLevel()
/external/smali/baksmali/src/main/java/org/jf/baksmali/
DDexInputCommand.java58 public int apiLevel = 15; field in DexInputCommand
138 … dexFile = DexFileFactory.loadDexEntry(file, dexEntry, exactMatch, Opcodes.forApi(apiLevel)); in loadDexFile()
144 dexFile = DexFileFactory.loadDexFile(file, Opcodes.forApi(apiLevel)); in loadDexFile()
DListFieldOffsetsCommand.java107 options.apiLevel = apiLevel; in getOptions()
DListVtablesCommand.java144 options.apiLevel = apiLevel; in getOptions()
DBaksmaliOptions.java50 public int apiLevel = 15; field in BaksmaliOptions
/external/drrickorang/LoopbackApp/app/
Dbuild.gradle10 minSdkVersion.apiLevel = 11
11 targetSdkVersion.apiLevel = 23
/external/walt/android/WALT/app/
Dbuild.gradle10 minSdkVersion.apiLevel 17
11 targetSdkVersion.apiLevel 23
/external/vulkan-validation-layers/demos/smoke/android/
Dbuild.gradle29 minSdkVersion.apiLevel = 22
30 targetSdkVersion.apiLevel = 22
/external/desugar/java/com/google/devtools/build/android/desugar/runtime/
DThrowableExtension.java49 Integer apiLevel = readApiLevelFromBuildVersion();
50 if (apiLevel != null && apiLevel.intValue() >= 19) {
/external/smali/baksmali/src/test/java/org/jf/baksmali/
DDexTest.java72 return new DexBackedDexFile(Opcodes.forApi(options.apiLevel), inputBytes); in getInputDexFile()
DBaksmaliTestUtils.java53 ClassDef classDef = SmaliTestUtils.compileSmali(source, options.apiLevel); in assertSmaliCompiledEquals()
/external/doclava/res/assets/templates/assets/
Ddoclava-developer-reference.js90 var apiLevel = className.substring(apiLevelIndex, apiLevelEndIndex);
91 …if (apiLevel > selectedLevel) obj.addClass("absent").attr("title","Requires API Level "+apiLevel+"…
/external/protobuf/
Dbuild.gradle91 ext.getAndroidPrebuilt = { apiLevel ->
92 files("$rootDir/../../prebuilts/sdk/$apiLevel/android.jar")
/external/smali/smali/src/main/antlr/
DsmaliParser.g255 private int apiLevel = 15;
256 private Opcodes opcodes = Opcodes.forApi(apiLevel);
266 public void setApiLevel(int apiLevel) {
267 this.opcodes = Opcodes.forApi(apiLevel);
268 this.apiLevel = apiLevel;
886 …if (!allowOdex || opcodes.getOpcodeByName($INSTRUCTION_FORMAT20bc.text) == null || apiLevel >= 14)…
906 …dex || opcodes.getOpcodeByName($INSTRUCTION_FORMAT21c_FIELD_ODEX.text) == null || apiLevel >= 14) {
956 …dex || opcodes.getOpcodeByName($INSTRUCTION_FORMAT22c_FIELD_ODEX.text) == null || apiLevel >= 14) {
DsmaliTreeWalker.g80 private int apiLevel = 15;
81 private Opcodes opcodes = Opcodes.forApi(apiLevel);
88 public void setApiLevel(int apiLevel) {
89 this.opcodes = Opcodes.forApi(apiLevel);
90 this.apiLevel = apiLevel;
/external/r8/src/main/java/com/android/tools/r8/dex/
DFileWriter.java779 private static byte[] convertApiLevelToDexVersion(int apiLevel) { in convertApiLevelToDexVersion() argument
780 if (apiLevel >= Constants.ANDROID_O_API) { in convertApiLevelToDexVersion()
783 if (apiLevel >= Constants.ANDROID_N_API) { in convertApiLevelToDexVersion()
/external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/Format/
DInstructionMethodItem.java75 if (methodDef.classDef.options.apiLevel >= 14) { in isAllowedOdex()
/external/doclava/res/assets/templates-sdk/assets/js/
Ddocs.js915 var apiLevel = className.substring(apiLevelIndex, apiLevelEndIndex);
916 if (apiLevel.length == 0) { // for odd cases when the since data is actually missing, just bail
919 apiLevel = parseInt(apiLevel);
923 var apiLevelNum = parseInt(apiLevel);
931 apiLevel + "\" or higher. To reveal, change the target API level " +
/external/doclava/res/assets/templates/
Dmacros.cs127 elif:tag.kind == "@sdkPlatformApiLevel" ?><?cs var:sdk.platform.apiLevel ?><?cs

12