Searched refs:setTargetSdkVersion (Results 1 – 6 of 6) sorted by relevance
45 VMRuntime.getRuntime().setTargetSdkVersion(24); in test_toString()50 VMRuntime.getRuntime().setTargetSdkVersion(25); in test_toString()55 VMRuntime.getRuntime().setTargetSdkVersion(savedTargetSdkVersion); in test_toString()
526 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()
96 VMRuntime.getRuntime().setTargetSdkVersion(24); in testRetentionPolicy()102 VMRuntime.getRuntime().setTargetSdkVersion(23); in testRetentionPolicy()107 VMRuntime.getRuntime().setTargetSdkVersion(savedTargetSdkVersion); in testRetentionPolicy()
235 VMRuntime.getRuntime().setTargetSdkVersion(24); in testBug28106822()252 VMRuntime.getRuntime().setTargetSdkVersion(25); in testBug28106822()267 VMRuntime.getRuntime().setTargetSdkVersion(savedTargetSdkVersion); in testBug28106822()
167 public synchronized void setTargetSdkVersion(int targetSdkVersion) { in setTargetSdkVersion() method in VMRuntime
236 runtime.setTargetSdkVersion(targetSdkForTest); in runOnTargetSdk()239 runtime.setTargetSdkVersion(targetSdk); in runOnTargetSdk()