Home
last modified time | relevance | path

Searched refs:getTargetSdkVersion (Results 1 – 24 of 24) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/
DSdkPickerTest.java31 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 …]
DTestRunnerSequenceTest.java79 public int getTargetSdkVersion() { in whenNoAppManifest_shouldRunThingsInTheRightOrder()
/external/robolectric-shadows/resources/src/main/java/org/robolectric/
DUsesSdk.java24 int getTargetSdkVersion(); in getTargetSdkVersion() method
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/manifest/
DAndroidManifestTest.java212 .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()
/external/conscrypt/openjdk-integ-tests/src/test/java/org/conscrypt/java/security/cert/
DX509CertificateTest.java47 VMRuntime.getRuntime().getTargetSdkVersion()); in enableDeprecatedAlgorithms()
DCertificateFactoryTest.java83 VMRuntime.getRuntime().getTargetSdkVersion()); in enableDeprecatedAlgorithms()
/external/conscrypt/repackaged/openjdk-integ-tests/src/test/java/com/android/org/conscrypt/java/security/cert/
DX509CertificateTest.java51 VMRuntime.getRuntime().getTargetSdkVersion()); in enableDeprecatedAlgorithms()
DCertificateFactoryTest.java87 VMRuntime.getRuntime().getTargetSdkVersion()); in enableDeprecatedAlgorithms()
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/
DSdkPicker.java65 int appTargetSdk = Math.max(usesSdk.getTargetSdkVersion(), minSupportedSdk.getApiLevel()); in configuredSdks()
/external/conscrypt/openjdk-integ-tests/src/test/java/org/conscrypt/java/security/
DMessageDigestTest.java46 VMRuntime.getRuntime().getTargetSdkVersion()); in enableDeprecatedAlgorithms()
DKeyPairGeneratorTest.java78 VMRuntime.getRuntime().getTargetSdkVersion()); in enableDeprecatedAlgorithms()
DSignatureTest.java88 VMRuntime.getRuntime().getTargetSdkVersion()); in enableDeprecatedAlgorithms()
/external/conscrypt/repackaged/openjdk-integ-tests/src/test/java/com/android/org/conscrypt/javax/crypto/
DKeyGeneratorTest.java55 VMRuntime.getRuntime().getTargetSdkVersion()); in enableDeprecatedAlgorithms()
DECDHKeyAgreementTest.java74 VMRuntime.getRuntime().getTargetSdkVersion()); in enableDeprecatedAlgorithms()
DCipherTest.java99 VMRuntime.getRuntime().getTargetSdkVersion()); in enableDeprecatedAlgorithms()
/external/conscrypt/repackaged/openjdk-integ-tests/src/test/java/com/android/org/conscrypt/java/security/
DMessageDigestTest.java50 VMRuntime.getRuntime().getTargetSdkVersion()); in enableDeprecatedAlgorithms()
DKeyPairGeneratorTest.java82 VMRuntime.getRuntime().getTargetSdkVersion()); in enableDeprecatedAlgorithms()
DSignatureTest.java92 VMRuntime.getRuntime().getTargetSdkVersion()); in enableDeprecatedAlgorithms()
/external/conscrypt/openjdk-integ-tests/src/test/java/org/conscrypt/javax/crypto/
DKeyGeneratorTest.java51 VMRuntime.getRuntime().getTargetSdkVersion()); in enableDeprecatedAlgorithms()
DECDHKeyAgreementTest.java72 VMRuntime.getRuntime().getTargetSdkVersion()); in enableDeprecatedAlgorithms()
DCipherTest.java95 VMRuntime.getRuntime().getTargetSdkVersion()); in enableDeprecatedAlgorithms()
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/android/internal/
DParallelUniverse.java133 parsedPackage.applicationInfo.targetSdkVersion = appManifest.getTargetSdkVersion(); in setUpApplicationState()
/external/robolectric-shadows/resources/src/main/java/org/robolectric/manifest/
DAndroidManifest.java600 public int getTargetSdkVersion() { in getTargetSdkVersion() method in AndroidManifest
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DLegacyManifestParser.java136 pkg.applicationInfo.targetSdkVersion = androidManifest.getTargetSdkVersion(); in createPackage()