Searched refs:apiLevel (Results 1 - 16 of 16) sorted by relevance

/external/android-mock/src/com/google/android/testing/mocking/
H A DSdkVersion.java56 private final int apiLevel; field in class:SdkVersion
58 private SdkVersion(String packagePrefix, int apiLevel) { argument
61 this.apiLevel = apiLevel;
98 static SdkVersion getVersionFor(int apiLevel) { argument
100 if (version.apiLevel == apiLevel) {
/external/smali/baksmali/src/main/java/org/jf/baksmali/
H A Ddump.java43 public static void dump(DexBackedDexFile dexFile, String dumpFileName, int apiLevel) throws IOException { argument
55 RawDexFile rawDexFile = new RawDexFile(new Opcodes(apiLevel), dexFile);
H A Dmain.java199 options.apiLevel = Integer.parseInt(commandLine.getOptionValue("a"));
256 DexBackedDexFile dexFile = DexFileFactory.loadDexFile(dexFileFile, options.dexEntry, options.apiLevel);
273 options.bootClassPathEntries = getDefaultBootClassPathForApi(options.apiLevel);
291 dump.dump(dexFile, dumpFileName, options.apiLevel);
501 private static List<String> getDefaultBootClassPathForApi(int apiLevel) { argument
502 if (apiLevel < 9) {
509 } else if (apiLevel < 12) {
518 } else if (apiLevel < 14) {
528 } else if (apiLevel < 16) {
H A DbaksmaliOptions.java55 public int apiLevel = 15; field in class:baksmaliOptions
H A Dbaksmali.java70 options.apiLevel, options.checkPackagePrivateAccess);
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/
H A DDumpFields.java75 int apiLevel = 15;
89 apiLevel = Integer.parseInt(commandLine.getOptionValue("a"));
110 DexBackedDexFile dexFile = DexFileFactory.loadDexFile(dexFileFile, apiLevel);
112 ClassPath classPath = ClassPath.fromClassPath(bootClassPathDirs, bootClassPaths, dexFile, apiLevel);
H A DDumpVtables.java73 int apiLevel = 15;
87 apiLevel = Integer.parseInt(commandLine.getOptionValue("a"));
108 DexBackedDexFile dexFile = DexFileFactory.loadDexFile(dexFileFile, apiLevel);
110 ClassPath classPath = ClassPath.fromClassPath(bootClassPathDirs, bootClassPaths, dexFile, apiLevel);
/external/smali/smali/src/main/java/org/jf/smali/
H A Dmain.java114 int apiLevel = 15;
146 apiLevel = Integer.parseInt(commandLine.getOptionValue("a"));
193 final DexBuilder dexBuilder = DexBuilder.makeDexBuilder(apiLevel);
200 final int finalApiLevel = apiLevel;
255 boolean printTokens, boolean allowOdex, int apiLevel)
284 parser.setApiLevel(apiLevel);
254 assembleSmaliFile(File smaliFile, DexBuilder dexBuilder, boolean verboseErrors, boolean printTokens, boolean allowOdex, int apiLevel) argument
H A DsmaliTreeWalker.java326 private int apiLevel = 15; field in class:smaliTreeWalker
327 private Opcodes opcodes = new Opcodes(apiLevel);
334 public void setApiLevel(int apiLevel) { argument
335 this.opcodes = new Opcodes(apiLevel);
336 this.apiLevel = apiLevel;
H A DsmaliParser.java306 private int apiLevel = 15; field in class:smaliParser
307 private Opcodes opcodes = new Opcodes(apiLevel);
317 public void setApiLevel(int apiLevel) { argument
318 this.opcodes = new Opcodes(apiLevel);
319 this.apiLevel = apiLevel;
10557 if (!allowOdex || opcodes.getOpcodeByName((INSTRUCTION_FORMAT20bc299!=null?INSTRUCTION_FORMAT20bc299.getText():null)) == null || apiLevel >= 14) {
10834 if (!allowOdex || opcodes.getOpcodeByName((INSTRUCTION_FORMAT21c_FIELD_ODEX309!=null?INSTRUCTION_FORMAT21c_FIELD_ODEX309.getText():null)) == null || apiLevel >= 14) {
11725 if (!allowOdex || opcodes.getOpcodeByName((INSTRUCTION_FORMAT22c_FIELD_ODEX349!=null?INSTRUCTION_FORMAT22c_FIELD_ODEX349.getText():null)) == null || apiLevel >= 14) {
/external/protobuf/
H A Dbuild.gradle78 ext.getAndroidPrebuilt = { apiLevel ->
79 files("$rootDir/../../prebuilts/sdk/$apiLevel/android.jar")
/external/smali/smali/src/main/antlr3/
H A DsmaliParser.g254 private int apiLevel = 15;
255 private Opcodes opcodes = new Opcodes(apiLevel);
265 public void setApiLevel(int apiLevel) {
266 this.opcodes = new Opcodes(apiLevel);
267 this.apiLevel = apiLevel;
879 if (!allowOdex || opcodes.getOpcodeByName($INSTRUCTION_FORMAT20bc.text) == null || apiLevel >= 14) {
899 if (!allowOdex || opcodes.getOpcodeByName($INSTRUCTION_FORMAT21c_FIELD_ODEX.text) == null || apiLevel >= 14) {
949 if (!allowOdex || opcodes.getOpcodeByName($INSTRUCTION_FORMAT22c_FIELD_ODEX.text) == null || apiLevel >= 14) {
H A DsmaliTreeWalker.g79 private int apiLevel = 15;
80 private Opcodes opcodes = new Opcodes(apiLevel);
87 public void setApiLevel(int apiLevel) {
88 this.opcodes = new Opcodes(apiLevel);
89 this.apiLevel = apiLevel;
/external/doclava/res/assets/templates/assets/
H A Ddoclava-developer-reference.js90 var apiLevel = className.substring(apiLevelIndex, apiLevelEndIndex);
91 if (apiLevel > selectedLevel) obj.addClass("absent").attr("title","Requires API Level "+apiLevel+" or higher");
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.jdt.core_3.6.2.v_A76_R36x.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
/external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/Format/
H A DInstructionMethodItem.java77 if (methodDef.classDef.options.apiLevel >= 14) {

Completed in 1193 milliseconds