Home
last modified time | relevance | path

Searched refs:getSdkVersion (Results 1 – 25 of 26) sorted by relevance

12

/libcore/ojluni/src/main/java/java/security/
DAlgorithmParameterGenerator.java182 if (VMRuntime.getSdkVersion() >= VersionCodes.UPSIDE_DOWN_CAKE) { in getInstance()
239 if (VMRuntime.getSdkVersion() >= VersionCodes.UPSIDE_DOWN_CAKE) { in getInstance()
289 if (VMRuntime.getSdkVersion() >= VersionCodes.UPSIDE_DOWN_CAKE) { in getInstance()
DAlgorithmParameters.java240 if (VMRuntime.getSdkVersion() >= VersionCodes.UPSIDE_DOWN_CAKE) { in getInstance()
296 if (VMRuntime.getSdkVersion() >= VersionCodes.UPSIDE_DOWN_CAKE) { in getInstance()
348 if (VMRuntime.getSdkVersion() >= VersionCodes.UPSIDE_DOWN_CAKE) { in getInstance()
DKeyFactory.java197 if (VMRuntime.getSdkVersion() >= VersionCodes.UPSIDE_DOWN_CAKE) { in getInstance()
239 if (VMRuntime.getSdkVersion() >= VersionCodes.UPSIDE_DOWN_CAKE) { in getInstance()
282 if (VMRuntime.getSdkVersion() >= VersionCodes.UPSIDE_DOWN_CAKE) { in getInstance()
/libcore/ojluni/src/main/java/java/nio/channels/
DFileLock.java156 if (VMRuntime.getSdkVersion() >= VersionCodes.UPSIDE_DOWN_CAKE) { in FileLock()
199 if (VMRuntime.getSdkVersion() >= VersionCodes.UPSIDE_DOWN_CAKE) { in FileLock()
/libcore/ojluni/src/main/java/java/util/
DRandom.java670 if (VMRuntime.getSdkVersion() >= VersionCodes.VANILLA_ICE_CREAM && in ints()
729 if (VMRuntime.getSdkVersion() >= VersionCodes.VANILLA_ICE_CREAM && in ints()
779 if (VMRuntime.getSdkVersion() >= VersionCodes.VANILLA_ICE_CREAM && in ints()
DUUID.java257 if (!(VMRuntime.getSdkVersion() >= VersionCodes.UPSIDE_DOWN_CAKE in fromString()
DPriorityQueue.java339 … boolean usePreAndroidUBehavior = VMRuntime.getSdkVersion() < VersionCodes.UPSIDE_DOWN_CAKE in offer()
DFormatter.java2898 return VMRuntime.getSdkVersion() >= VersionCodes.VANILLA_ICE_CREAM in isStrictValidationEnabled()
/libcore/luni/src/test/java/libcore/java/util/
DFormatterTest.java394 var msg = "Checks are done only starting from V. Current SDK=" + VMRuntime.getSdkVersion(); in invalidIndicesThrowsException_afterU_whenChecksAreEnabled()
395 assumeTrue(msg, VMRuntime.getSdkVersion() >= VersionCodes.VANILLA_ICE_CREAM); in invalidIndicesThrowsException_afterU_whenChecksAreEnabled()
412 var msg = "Checks are done only starting from V. Current SDK=" + VMRuntime.getSdkVersion(); in invalidIndicesDontThrow_beforeV_whenChecksAreEnabled()
413 assumeTrue(msg, VMRuntime.getSdkVersion() < VersionCodes.VANILLA_ICE_CREAM); in invalidIndicesDontThrow_beforeV_whenChecksAreEnabled()
DLegacyLocalesTest.java65 var msg = "Test should run on V+ only, current SDK level=" + VMRuntime.getSdkVersion(); in obsoleteLocales_withFlagEnabled()
66 assumeTrue(msg, VMRuntime.getSdkVersion() >= VersionCodes.VANILLA_ICE_CREAM); in obsoleteLocales_withFlagEnabled()
/libcore/luni/src/test/java/libcore/java/util/regex/
DMatcherTest.java93 Assume.assumeTrue(VMRuntime.getSdkVersion() >= VersionCodes.UPSIDE_DOWN_CAKE); in testAppendReplacement()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
DFileLockTest.java75 assertTrue(VMRuntime.getSdkVersion() >= VersionCodes.UPSIDE_DOWN_CAKE); in assertUpsideDownCakeOrGreater()
/libcore/ojluni/src/test/java/util/PriorityQueue/
DAddNonComparable.java67 boolean testPreAndroidUBehavior = VMRuntime.getSdkVersion() < VersionCodes.UPSIDE_DOWN_CAKE in queues()
/libcore/luni/src/test/java/libcore/java/io/
DFileTest.java508 + "Current SDK=" + VMRuntime.getSdkVersion(); in testGetCanonicalPath_parentOfRootPath_afterU_whenChecksAreEnabled()
509 assumeTrue(msg, VMRuntime.getSdkVersion() >= VersionCodes.VANILLA_ICE_CREAM); in testGetCanonicalPath_parentOfRootPath_afterU_whenChecksAreEnabled()
/libcore/ojluni/src/main/java/java/util/regex/
DPattern.java5743 && VMRuntime.getSdkVersion() >= VersionCodes.UPSIDE_DOWN_CAKE in splitAsStream()
DMatcher.java886 if (VMRuntime.getSdkVersion() >= VersionCodes.UPSIDE_DOWN_CAKE in appendReplacementInternal()
/libcore/ojluni/src/main/java/sun/util/locale/
DBaseLocale.java120 return !(VMRuntime.getSdkVersion() >= VersionCodes.VANILLA_ICE_CREAM && in useOldIsoCodes()
/libcore/libart/src/main/java/dalvik/system/
DVMRuntime.java429 public static int getSdkVersion() { in getSdkVersion() method in VMRuntime
/libcore/ojluni/src/main/java/java/io/
DUnixFileSystem.java243 VMRuntime.getSdkVersion() >= VersionCodes.VANILLA_ICE_CREAM && in canonicalize0()
/libcore/ojluni/src/test/java/util/regex/
DPatternStreamTest.java147 && !(VMRuntime.getSdkVersion() > VersionCodes.TIRAMISU in testPatternSplitAsStream()
/libcore/ojluni/src/test/java/util/concurrent/tck/
DPriorityQueueTest.java235 boolean preAndroidUBehavior = VMRuntime.getSdkVersion() < VersionCodes.UPSIDE_DOWN_CAKE in testOfferNonComparable()
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DKeyFactoryTest.java114 VMRuntime.getSdkVersion() >= VersionCodes.UPSIDE_DOWN_CAKE in testGetInstanceStringString()
/libcore/luni/src/test/java/libcore/java/lang/
DClassTest.java423 if (VMRuntime.getSdkVersion() >= VersionCodes.VANILLA_ICE_CREAM) { in toGenericString()
/libcore/ojluni/src/main/java/java/lang/
DClass.java442 if (VMRuntime.getSdkVersion() >= VersionCodes.VANILLA_ICE_CREAM) { in toGenericString()
/libcore/luni/src/test/java/org/apache/harmony/regex/tests/java/util/regex/
DPatternTest.java2227 if (VMRuntime.getSdkVersion() > VersionCodes.TIRAMISU in getExpectedEmptyStringSplitLength()

12