Home
last modified time | relevance | path

Searched refs:getMinSdkVersion (Results 1 – 5 of 5) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/
DSdkPickerTest.java39 when(usesSdk.getMinSdkVersion()).thenReturn(19); in withAllSdksConfig_shouldUseFullSdkRangeFromAndroidManifest()
48 when(usesSdk.getMinSdkVersion()).thenReturn(1); in withAllSdksConfigAndNoMinSdkVersion_shouldUseFullSdkRangeFromAndroidManifest()
58 when(usesSdk.getMinSdkVersion()).thenReturn(19); in withAllSdksConfigAndNoMaxSdkVersion_shouldUseFullSdkRangeFromAndroidManifest()
67 when(usesSdk.getMinSdkVersion()).thenReturn(1); in withMinSdkHigherThanSupportedRange_shouldReturnNone()
76 when(usesSdk.getMinSdkVersion()).thenReturn(1); in withMinSdkHigherThanMaxSdk_shouldThrowError()
90 when(usesSdk.getMinSdkVersion()).thenReturn(23); in withTargetSdkLessThanMinSdk_shouldThrowError()
116 when(usesSdk.getMinSdkVersion()).thenReturn(1); in shouldClipSdkRangeFromAndroidManifest()
125 when(usesSdk.getMinSdkVersion()).thenReturn(19); in withMinSdkConfig_shouldClipSdkRangeFromAndroidManifest()
134 when(usesSdk.getMinSdkVersion()).thenReturn(19); in withMaxSdkConfig_shouldUseSdkRangeFromAndroidManifest()
143 when(usesSdk.getMinSdkVersion()).thenReturn(19); in withExplicitSdkConfig_selectSdks()
[all …]
/external/robolectric-shadows/resources/src/main/java/org/robolectric/
DUsesSdk.java13 int getMinSdkVersion(); in getMinSdkVersion() method
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/manifest/
DAndroidManifestTest.java222 assertThat(newConfigWith("minsdk17.xml", "android:minSdkVersion=\"17\"").getMinSdkVersion()) in shouldReadMinSdkVersionFromAndroidManifestOrDefaultToJellyBean()
224 assertThat(newConfigWith("noattributes.xml", "").getMinSdkVersion()) in shouldReadMinSdkVersionFromAndroidManifestOrDefaultToJellyBean()
330 appManifest.getMinSdkVersion(); // Force parsing in shouldRead1IntentFilter()
347 appManifest.getMinSdkVersion(); // Force parsing in shouldReadMultipleIntentFilters()
411 appManifest.getMinSdkVersion(); // Force parsing in shouldReadIntentFilterWithData()
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/
DSdkPicker.java64 int appMinSdk = Math.max(usesSdk.getMinSdkVersion(), minSupportedSdk.getApiLevel()); in configuredSdks()
/external/robolectric-shadows/resources/src/main/java/org/robolectric/manifest/
DAndroidManifest.java585 public int getMinSdkVersion() { in getMinSdkVersion() method in AndroidManifest
602 return targetSdkVersion == null ? getMinSdkVersion() : targetSdkVersion; in getTargetSdkVersion()