Home
last modified time | relevance | path

Searched refs:setTargetSdkVersion (Results 1 – 6 of 6) sorted by relevance

/libcore/luni/src/test/java/libcore/java/lang/
DPackageTest.java45 VMRuntime.getRuntime().setTargetSdkVersion(24); in test_toString()
50 VMRuntime.getRuntime().setTargetSdkVersion(25); in test_toString()
55 VMRuntime.getRuntime().setTargetSdkVersion(savedTargetSdkVersion); in test_toString()
DOldRuntimeTest.java526 VMRuntime.getRuntime().setTargetSdkVersion(24); in test_loadDeprecated()
539 VMRuntime.getRuntime().setTargetSdkVersion(25); in test_loadDeprecated()
549 VMRuntime.getRuntime().setTargetSdkVersion(savedTargetSdkVersion); in test_loadDeprecated()
560 VMRuntime.getRuntime().setTargetSdkVersion(24); in test_loadLibraryDeprecated()
574 VMRuntime.getRuntime().setTargetSdkVersion(25); in test_loadLibraryDeprecated()
584 VMRuntime.getRuntime().setTargetSdkVersion(savedTargetSdkVersion); in test_loadLibraryDeprecated()
/libcore/luni/src/test/java/libcore/java/lang/reflect/annotations/
DAnnotationsTest.java96 VMRuntime.getRuntime().setTargetSdkVersion(24); in testRetentionPolicy()
102 VMRuntime.getRuntime().setTargetSdkVersion(23); in testRetentionPolicy()
107 VMRuntime.getRuntime().setTargetSdkVersion(savedTargetSdkVersion); in testRetentionPolicy()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DObjectStreamClassTest.java235 VMRuntime.getRuntime().setTargetSdkVersion(24); in testBug28106822()
252 VMRuntime.getRuntime().setTargetSdkVersion(25); in testBug28106822()
267 VMRuntime.getRuntime().setTargetSdkVersion(savedTargetSdkVersion); in testBug28106822()
/libcore/libart/src/main/java/dalvik/system/
DVMRuntime.java167 public synchronized void setTargetSdkVersion(int targetSdkVersion) { in setTargetSdkVersion() method in VMRuntime
/libcore/luni/src/test/java/libcore/java/util/
DCollectionsTest.java236 runtime.setTargetSdkVersion(targetSdkForTest); in runOnTargetSdk()
239 runtime.setTargetSdkVersion(targetSdk); in runOnTargetSdk()