Searched refs:getTargetSdkVersion (Results 1 – 8 of 8) sorted by relevance
31 when(usesSdk.getTargetSdkVersion()).thenReturn(22); in withDefaultSdkConfig_shouldUseTargetSdkFromAndroidManifest()38 when(usesSdk.getTargetSdkVersion()).thenReturn(22); in withAllSdksConfig_shouldUseFullSdkRangeFromAndroidManifest()47 when(usesSdk.getTargetSdkVersion()).thenReturn(22); in withAllSdksConfigAndNoMinSdkVersion_shouldUseFullSdkRangeFromAndroidManifest()57 when(usesSdk.getTargetSdkVersion()).thenReturn(22); in withAllSdksConfigAndNoMaxSdkVersion_shouldUseFullSdkRangeFromAndroidManifest()66 when(usesSdk.getTargetSdkVersion()).thenReturn(23); in withMinSdkHigherThanSupportedRange_shouldReturnNone()75 when(usesSdk.getTargetSdkVersion()).thenReturn(23); in withMinSdkHigherThanMaxSdk_shouldThrowError()91 when(usesSdk.getTargetSdkVersion()).thenReturn(22); in withTargetSdkLessThanMinSdk_shouldThrowError()104 when(usesSdk.getTargetSdkVersion()).thenReturn(22); in withTargetSdkGreaterThanMaxSdk_shouldThrowError()115 when(usesSdk.getTargetSdkVersion()).thenReturn(1); in shouldClipSdkRangeFromAndroidManifest()124 when(usesSdk.getTargetSdkVersion()).thenReturn(22); in withMinSdkConfig_shouldClipSdkRangeFromAndroidManifest()[all …]
79 public int getTargetSdkVersion() { in whenNoAppManifest_shouldRunThingsInTheRightOrder()
24 int getTargetSdkVersion(); in getTargetSdkVersion() method
212 .getTargetSdkVersion()) in shouldReadTargetSdkVersionFromAndroidManifestOrDefaultToMin()214 assertThat(newConfigWith("minsdk7.xml", "android:minSdkVersion=\"7\"").getTargetSdkVersion()) in shouldReadTargetSdkVersionFromAndroidManifestOrDefaultToMin()216 assertThat(newConfigWith("noattributes.xml", "").getTargetSdkVersion()) in shouldReadTargetSdkVersionFromAndroidManifestOrDefaultToMin()237 .getTargetSdkVersion()) in shouldReadTargetSDKVersionOPreview()375 assertThat(appManifest.getTargetSdkVersion()).isEqualTo(16); in shouldReadTaskAffinity()
65 int appTargetSdk = Math.max(usesSdk.getTargetSdkVersion(), minSupportedSdk.getApiLevel()); in configuredSdks()
133 parsedPackage.applicationInfo.targetSdkVersion = appManifest.getTargetSdkVersion(); in setUpApplicationState()304 info.targetSdkVersion = appManifest.getTargetSdkVersion(); in createApplicationInfo()
600 public int getTargetSdkVersion() { in getTargetSdkVersion() method in AndroidManifest
136 pkg.applicationInfo.targetSdkVersion = androidManifest.getTargetSdkVersion(); in createPackage()