/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/ |
D | SdkPickerTest.java | 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 …]
|
D | TestRunnerSequenceTest.java | 79 public int getTargetSdkVersion() { in whenNoAppManifest_shouldRunThingsInTheRightOrder()
|
/external/robolectric-shadows/resources/src/main/java/org/robolectric/ |
D | UsesSdk.java | 24 int getTargetSdkVersion(); in getTargetSdkVersion() method
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/manifest/ |
D | AndroidManifestTest.java | 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()
|
/external/conscrypt/openjdk-integ-tests/src/test/java/org/conscrypt/java/security/cert/ |
D | X509CertificateTest.java | 47 VMRuntime.getRuntime().getTargetSdkVersion()); in enableDeprecatedAlgorithms()
|
D | CertificateFactoryTest.java | 83 VMRuntime.getRuntime().getTargetSdkVersion()); in enableDeprecatedAlgorithms()
|
/external/conscrypt/repackaged/openjdk-integ-tests/src/test/java/com/android/org/conscrypt/java/security/cert/ |
D | X509CertificateTest.java | 51 VMRuntime.getRuntime().getTargetSdkVersion()); in enableDeprecatedAlgorithms()
|
D | CertificateFactoryTest.java | 87 VMRuntime.getRuntime().getTargetSdkVersion()); in enableDeprecatedAlgorithms()
|
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/ |
D | SdkPicker.java | 65 int appTargetSdk = Math.max(usesSdk.getTargetSdkVersion(), minSupportedSdk.getApiLevel()); in configuredSdks()
|
/external/conscrypt/openjdk-integ-tests/src/test/java/org/conscrypt/java/security/ |
D | MessageDigestTest.java | 46 VMRuntime.getRuntime().getTargetSdkVersion()); in enableDeprecatedAlgorithms()
|
D | KeyPairGeneratorTest.java | 78 VMRuntime.getRuntime().getTargetSdkVersion()); in enableDeprecatedAlgorithms()
|
D | SignatureTest.java | 88 VMRuntime.getRuntime().getTargetSdkVersion()); in enableDeprecatedAlgorithms()
|
/external/conscrypt/repackaged/openjdk-integ-tests/src/test/java/com/android/org/conscrypt/javax/crypto/ |
D | KeyGeneratorTest.java | 55 VMRuntime.getRuntime().getTargetSdkVersion()); in enableDeprecatedAlgorithms()
|
D | ECDHKeyAgreementTest.java | 74 VMRuntime.getRuntime().getTargetSdkVersion()); in enableDeprecatedAlgorithms()
|
D | CipherTest.java | 99 VMRuntime.getRuntime().getTargetSdkVersion()); in enableDeprecatedAlgorithms()
|
/external/conscrypt/repackaged/openjdk-integ-tests/src/test/java/com/android/org/conscrypt/java/security/ |
D | MessageDigestTest.java | 50 VMRuntime.getRuntime().getTargetSdkVersion()); in enableDeprecatedAlgorithms()
|
D | KeyPairGeneratorTest.java | 82 VMRuntime.getRuntime().getTargetSdkVersion()); in enableDeprecatedAlgorithms()
|
D | SignatureTest.java | 92 VMRuntime.getRuntime().getTargetSdkVersion()); in enableDeprecatedAlgorithms()
|
/external/conscrypt/openjdk-integ-tests/src/test/java/org/conscrypt/javax/crypto/ |
D | KeyGeneratorTest.java | 51 VMRuntime.getRuntime().getTargetSdkVersion()); in enableDeprecatedAlgorithms()
|
D | ECDHKeyAgreementTest.java | 72 VMRuntime.getRuntime().getTargetSdkVersion()); in enableDeprecatedAlgorithms()
|
D | CipherTest.java | 95 VMRuntime.getRuntime().getTargetSdkVersion()); in enableDeprecatedAlgorithms()
|
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/android/internal/ |
D | ParallelUniverse.java | 133 parsedPackage.applicationInfo.targetSdkVersion = appManifest.getTargetSdkVersion(); in setUpApplicationState()
|
/external/robolectric-shadows/resources/src/main/java/org/robolectric/manifest/ |
D | AndroidManifest.java | 600 public int getTargetSdkVersion() { in getTargetSdkVersion() method in AndroidManifest
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | LegacyManifestParser.java | 136 pkg.applicationInfo.targetSdkVersion = androidManifest.getTargetSdkVersion(); in createPackage()
|