/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/internal/ |
D | SdkConfig.java | 49 private final int apiLevel; field in SdkConfig 63 public SdkConfig(int apiLevel) { in SdkConfig() argument 64 this.apiLevel = apiLevel; in SdkConfig() 68 return apiLevel; in getApiLevel() 85 return that == this || (that instanceof SdkConfig && ((SdkConfig) that).apiLevel == (apiLevel)); in equals() 90 return apiLevel; in hashCode() 95 return "API Level " + apiLevel; in toString() 100 return apiLevel - o.apiLevel; in compareTo() 104 final SdkVersion sdkVersion = SUPPORTED_APIS.get(apiLevel); in getSdkVersion() 106 …throw new UnsupportedOperationException("Robolectric does not support API level " + apiLevel + "."… in getSdkVersion()
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/ |
D | DeviceConfigTest.java | 23 private int apiLevel; field in DeviceConfigTest 30 apiLevel = RuntimeEnvironment.getApiLevel(); in setUp() 69 DeviceConfig.applyRules(configuration, displayMetrics, apiLevel); in applyRules_defaults() 79 DeviceConfig.applyRules(configuration, displayMetrics, apiLevel); in applyRules_rtlScript() 88 DeviceConfig.applyRules(configuration, displayMetrics, apiLevel); in applyRules_heightWidth() 97 DeviceConfig.applyRules(configuration, displayMetrics, apiLevel); in applyRules_heightWidthOrientation() 106 DeviceConfig.applyRules(configuration, displayMetrics, apiLevel); in applyRules_sizeToDimens() 115 DeviceConfig.applyRules(configuration, displayMetrics, apiLevel); in applyRules_sizeFromDimens() 124 DeviceConfig.applyRules(configuration, displayMetrics, apiLevel); in applyRules_longIncreasesHeight() 133 DeviceConfig.applyRules(configuration, displayMetrics, apiLevel); in applyRules_greatHeightTriggersLong() [all …]
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/android/ |
D | DeviceConfig.java | 97 static void applyToConfiguration(Qualifiers qualifiers, int apiLevel, in applyToConfiguration() argument 162 setLocale(apiLevel, configuration, locale); in applyToConfiguration() 196 setDensity(resTab.density, apiLevel, configuration, displayMetrics); in applyToConfiguration() 219 if (apiLevel >= VERSION_CODES.O) { in applyToConfiguration() 230 private static void setDensity(int densityDpi, int apiLevel, Configuration configuration, in setDensity() argument 232 if (apiLevel >= VERSION_CODES.JELLY_BEAN_MR1) { in setDensity() 243 static void applyRules(Configuration configuration, DisplayMetrics displayMetrics, int apiLevel) { in applyRules() argument 244 Locale locale = getLocale(configuration, apiLevel); in applyRules() 256 setLocale(apiLevel, configuration, locale); in applyRules() 259 if (apiLevel <= ConfigDescription.SDK_JELLY_BEAN && in applyRules() [all …]
|
D | Bootstrap.java | 22 public static void applyQualifiers(String qualifiersStrs, int apiLevel, in applyQualifiers() argument 40 if (platformVersion != -1 && platformVersion != apiLevel) { in applyQualifiers() 47 DeviceConfig.applyToConfiguration(qualifiers, apiLevel, configuration, displayMetrics); in applyQualifiers() 50 DeviceConfig.applyRules(configuration, displayMetrics, apiLevel); in applyQualifiers()
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowViewRootImpl.java | 45 int apiLevel = RuntimeEnvironment.getApiLevel(); in callDispatchResized() local 47 if (apiLevel <= Build.VERSION_CODES.JELLY_BEAN) { in callDispatchResized() 55 } else if (apiLevel <= JELLY_BEAN_MR1) { in callDispatchResized() 62 } else if (apiLevel <= Build.VERSION_CODES.KITKAT) { in callDispatchResized() 70 } else if (apiLevel <= Build.VERSION_CODES.LOLLIPOP_MR1) { in callDispatchResized() 79 } else if (apiLevel <= Build.VERSION_CODES.M) { in callDispatchResized() 89 } else if (apiLevel <= Build.VERSION_CODES.N_MR1) { in callDispatchResized() 102 } else if (apiLevel <= Build.VERSION_CODES.O_MR1) { in callDispatchResized() 120 } else if (apiLevel >= Build.VERSION_CODES.P) { in callDispatchResized() 138 throw new RuntimeException("Could not find AndroidRuntimeAdapter for API level: " + apiLevel); in callDispatchResized()
|
D | ShadowArscAssetInputStream.java | 29 int apiLevel = RuntimeEnvironment.getApiLevel(); in getAsset() local 31 if (apiLevel >= LOLLIPOP) { in getAsset()
|
D | ShadowActivity.java | 82 int apiLevel = RuntimeEnvironment.getApiLevel(); in callAttach() local 98 if (apiLevel <= Build.VERSION_CODES.KITKAT) { in callAttach() 118 } else if (apiLevel <= Build.VERSION_CODES.LOLLIPOP) { in callAttach() 139 } else if (apiLevel <= Build.VERSION_CODES.M) { in callAttach() 162 } else if (apiLevel <= Build.VERSION_CODES.N_MR1) { in callAttach() 186 } else if (apiLevel <= Build.VERSION_CODES.P) { in callAttach() 212 } else if (apiLevel >= Build.VERSION_CODES.Q) { in callAttach() 240 throw new RuntimeException("Could not find AndroidRuntimeAdapter for API level: " + apiLevel); in callAttach()
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/ |
D | ClassPathResolver.java | 321 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/ |
D | SmaliTestUtils.java | 56 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()
|
D | AssembleCommand.java | 65 private int apiLevel = 15; field in AssembleCommand 106 options.apiLevel = apiLevel; in getOptions()
|
D | Smali.java | 94 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()
|
D | SmaliOptions.java | 35 public int apiLevel = 15; field in SmaliOptions
|
/external/desugar/java/com/google/devtools/build/android/desugar/runtime/ |
D | ThrowableExtension.java | 54 Integer apiLevel = null; 56 apiLevel = readApiLevelFromBuildVersion(); 57 if (apiLevel != null && apiLevel.intValue() >= 19) { 76 API_LEVEL = apiLevel == null ? 1 : apiLevel.intValue();
|
/external/smali/baksmali/src/main/java/org/jf/baksmali/ |
D | DexInputCommand.java | 58 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()
|
D | ListFieldOffsetsCommand.java | 107 options.apiLevel = apiLevel; in getOptions()
|
D | ListVtablesCommand.java | 144 options.apiLevel = apiLevel; in getOptions()
|
/external/robolectric-shadows/sandbox/src/main/java/org/robolectric/internal/bytecode/ |
D | ShadowWrangler.java | 73 private final int apiLevel; field in ShadowWrangler 85 return shadowMap.getShadowInfo(type, apiLevel); 98 public ShadowWrangler(ShadowMap shadowMap, int apiLevel, Interceptors interceptors) { in ShadowWrangler() argument 100 this.apiLevel = apiLevel; in ShadowWrangler() 279 && shadowSuperclassInfo.supportsSdk(apiLevel)) { 328 …return implementation.minSdk() <= apiLevel && (implementation.maxSdk() == -1 || implementation.max…
|
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/ |
D | NativeObjRegistry.java | 170 private int apiLevel; field in NativeObjRegistry.Trace 177 this.apiLevel = (int) runtimeEnvClass.getMethod("getApiLevel").invoke(null); in Trace() 185 private Trace(int apiLevel, boolean legacyResources) { in Trace() argument
|
/external/walt/android/WALT/app/ |
D | build.gradle | 10 minSdkVersion.apiLevel 17 11 targetSdkVersion.apiLevel 23
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/util/ |
D | TestUtil.java | 57 public static ResourcePath sdkResources(int apiLevel) { in sdkResources() argument 58 …Fs sdkResFs = Fs.fromJar(getDependencyResolver().getLocalArtifactUrl(new SdkConfig(apiLevel).getAn… in sdkResources()
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/ |
D | RuntimeEnvironment.java | 28 private static int apiLevel; field in RuntimeEnvironment 141 return apiLevel; in getApiLevel()
|
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/ |
D | Qualifiers.java | 99 public static String addPlatformVersion(String qualifiers, int apiLevel) { in addPlatformVersion() argument 105 qualifiers += "v" + apiLevel; in addPlatformVersion()
|
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/ |
D | SdkPicker.java | 132 int apiLevel = supportedSdk.getApiLevel(); in sdkRange() local 133 if (apiLevel >= minSdk && supportedSdk.getApiLevel() <= maxSdk) { in sdkRange()
|
/external/doclava/res/assets/templates/assets/ |
D | doclava-developer-reference.js | 90 var apiLevel = className.substring(apiLevelIndex, apiLevelEndIndex); 91 …if (apiLevel > selectedLevel) obj.addClass("absent").attr("title","Requires API Level "+apiLevel+"…
|
/external/smali/smali/src/main/antlr/ |
D | smaliParser.g | 255 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) {
|