/libcore/luni/src/test/java/libcore/dalvik/system/ |
D | VMRuntimeTest.java | 22 import dalvik.system.VMRuntime; 32 Object array = VMRuntime.getRuntime().newNonMovableArray(componentType, -1); in doTestNewNonMovableArray() 38 … Object array = VMRuntime.getRuntime().newNonMovableArray(componentType, Integer.MIN_VALUE); in doTestNewNonMovableArray() 45 Object array = VMRuntime.getRuntime().newNonMovableArray(componentType, i); in doTestNewNonMovableArray() 55 Object array = VMRuntime.getRuntime().newNonMovableArray(null, 0); in testNewNonMovableArray() 62 Object array = VMRuntime.getRuntime().newNonMovableArray(void.class, 0); in testNewNonMovableArray() 86 Object array = VMRuntime.getRuntime().newUnpaddedArray(componentType, -1); in doTestNewUnpaddedArray() 92 … Object array = VMRuntime.getRuntime().newUnpaddedArray(componentType, Integer.MIN_VALUE); in doTestNewUnpaddedArray() 99 Object array = VMRuntime.getRuntime().newUnpaddedArray(componentType, i); in doTestNewUnpaddedArray() 109 Object array = VMRuntime.getRuntime().newUnpaddedArray(null, 0); in testNewUnpaddedArray() [all …]
|
/libcore/test-rules/src/test/java/libcore/junit/util/ |
D | SwitchTargetSdkVersionRuleTest.java | 21 import dalvik.system.VMRuntime; 41 assertEquals(23, VMRuntime.getRuntime().getTargetSdkVersion()); in testRunningAsIfTargetedAtSDKVersion23() 46 assertNotEquals(23, VMRuntime.getRuntime().getTargetSdkVersion()); in testRunningAsIfTargetedAtCurrentSDKVersion()
|
D | EnableDeprecatedBouncyCastleAlgorithmsRuleTest.java | 18 import dalvik.system.VMRuntime; 53 assertEquals(VMRuntime.getRuntime().getTargetSdkVersion(), in testRunningAsIfTargetedAtCurrentSDKVersion()
|
/libcore/luni/src/test/java/libcore/libcore/io/ |
D | MemoryTest.java | 20 import dalvik.system.VMRuntime; 35 VMRuntime runtime = VMRuntime.getRuntime(); in testSetIntArray() 76 VMRuntime runtime = VMRuntime.getRuntime(); in testSetLongArray() 114 VMRuntime runtime = VMRuntime.getRuntime(); in testSetShortArray()
|
/libcore/ojluni/src/main/java/java/security/ |
D | AlgorithmParameterGenerator.java | 29 import dalvik.system.VMRuntime; 182 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()
|
D | AlgorithmParameters.java | 29 import dalvik.system.VMRuntime; 240 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()
|
D | KeyFactory.java | 29 import dalvik.system.VMRuntime; 193 if (VMRuntime.getSdkVersion() >= VersionCodes.UPSIDE_DOWN_CAKE) { in getInstance() 235 if (VMRuntime.getSdkVersion() >= VersionCodes.UPSIDE_DOWN_CAKE) { in getInstance() 278 if (VMRuntime.getSdkVersion() >= VersionCodes.UPSIDE_DOWN_CAKE) { in getInstance()
|
/libcore/libart/src/main/java/dalvik/system/ |
D | VMRuntime.java | 45 public final class VMRuntime { class 50 private static final VMRuntime THE_ONE = new VMRuntime(); 180 VMRuntime.hiddenApiUsageLogger = hiddenApiUsageLogger; in setHiddenApiUsageLogger() 190 if (VMRuntime.hiddenApiUsageLogger != null) { in hiddenApiUsed() 191 VMRuntime.hiddenApiUsageLogger.hiddenApiUsed(sampledValue, appPackageName, in hiddenApiUsed() 222 private VMRuntime() { in VMRuntime() method in VMRuntime 234 public static VMRuntime getRuntime() { in getRuntime()
|
/libcore/ojluni/src/main/java/java/nio/channels/ |
D | FileLock.java | 29 import dalvik.system.VMRuntime; 156 if (VMRuntime.getSdkVersion() >= VersionCodes.UPSIDE_DOWN_CAKE) { in FileLock() 199 if (VMRuntime.getSdkVersion() >= VersionCodes.UPSIDE_DOWN_CAKE) { in FileLock()
|
/libcore/luni/src/main/java/libcore/util/ |
D | NativeAllocationRegistry.java | 23 import dalvik.system.VMRuntime; 325 VMRuntime runtime = VMRuntime.getRuntime(); in registerNativeAllocation() 341 VMRuntime.getRuntime().registerNativeFree(size); in registerNativeFree()
|
/libcore/libart/src/main/java/java/lang/ |
D | Daemons.java | 34 import dalvik.system.VMRuntime; 139 VMRuntime.getRuntime().setSystemDaemonThreadPriority(); in run() 505 NANOS_PER_MILLI * VMRuntime.getRuntime().getFinalizerTimeoutMs(); in waitForProgress() 593 .append(VMRuntime.getRuntime().getFinalizerTimeoutMs() / 1000) in finalizerTimeoutException() 655 VMRuntime.getRuntime().requestHeapTrim(); in requestHeapTrim() 661 VMRuntime.getRuntime().requestConcurrentGC(); in requestGC() 673 VMRuntime.getRuntime().stopHeapTaskProcessor(); in interrupt() 683 VMRuntime.getRuntime().startHeapTaskProcessor(); in runInternal() 687 VMRuntime.getRuntime().runHeapTasks(); in runInternal()
|
/libcore/test-rules/src/main/java/libcore/junit/util/ |
D | EnableDeprecatedBouncyCastleAlgorithmsRule.java | 18 import dalvik.system.VMRuntime; 62 int newMaximum = VMRuntime.getRuntime().getTargetSdkVersion(); in apply()
|
/libcore/ojluni/src/test/java/security/Provider/ |
D | ProvidersTest.java | 21 import dalvik.system.VMRuntime; 329 VMRuntime.getRuntime().getTargetSdkVersion() + 1); in testBeforeLimit() 349 VMRuntime.getRuntime().getTargetSdkVersion()); in testAtLimit() 370 VMRuntime.getRuntime().getTargetSdkVersion() - 1); in testPastLimit() 410 VMRuntime.getRuntime().getTargetSdkVersion() - 1); in testCustomProvider()
|
/libcore/support/src/test/java/libcore/java/security/ |
D | CpuFeatures.java | 26 import dalvik.system.VMRuntime; 86 String instructionSet = VMRuntime.getCurrentInstructionSet(); in currentInstructionSet()
|
/libcore/dalvik/src/main/java/dalvik/system/ |
D | ApplicationRuntime.java | 32 return VMRuntime.getBaseApkOptimizationInfo(); in getBaseApkOptimizationInfo()
|
D | ZygoteHooks.java | 130 final VMRuntime runtime = VMRuntime.getRuntime(); in gcAndFinalize()
|
/libcore/luni/src/test/java/libcore/java/util/regex/ |
D | MatcherTest.java | 25 import dalvik.system.VMRuntime; 93 Assume.assumeTrue(VMRuntime.getSdkVersion() >= VersionCodes.UPSIDE_DOWN_CAKE); in testAppendReplacement()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
D | FileLockTest.java | 20 import dalvik.system.VMRuntime; 75 assertTrue(VMRuntime.getSdkVersion() >= VersionCodes.UPSIDE_DOWN_CAKE); in assertUpsideDownCakeOrGreater()
|
/libcore/luni/src/test/java/libcore/java/time/ |
D | TimeApisConsistencyTest.java | 22 import dalvik.system.VMRuntime; 67 if (VMRuntime.getRuntime().is64Bit()) {
|
/libcore/ojluni/src/main/java/sun/security/jca/ |
D | Providers.java | 29 import dalvik.system.VMRuntime; 375 if (VMRuntime.getRuntime().getTargetSdkVersion() in checkBouncyCastleDeprecation()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | Runtime.java | 49 import dalvik.system.VMRuntime; 815 VMRuntime.runFinalization(0); in runFinalization() 901 final int targetSdkVersion = VMRuntime.getRuntime().getTargetSdkVersion(); in checkTargetSdkVersionForLoad()
|
/libcore/ojluni/src/main/java/java/util/regex/ |
D | Pattern.java | 36 import dalvik.system.VMRuntime; 1138 int targetSdkVersion = VMRuntime.getRuntime().getTargetSdkVersion(); in split() 5743 && VMRuntime.getSdkVersion() >= VersionCodes.UPSIDE_DOWN_CAKE in splitAsStream()
|
/libcore/luni/src/main/java/libcore/icu/ |
D | LocaleData.java | 26 import dalvik.system.VMRuntime; 167 int targetSdkVersion = VMRuntime.getRuntime().getTargetSdkVersion(); in getCompatibleLocaleForBug159514442()
|
/libcore/ojluni/src/test/java/util/PriorityQueue/ |
D | AddNonComparable.java | 52 import dalvik.system.VMRuntime; 67 boolean testPreAndroidUBehavior = VMRuntime.getSdkVersion() < VersionCodes.UPSIDE_DOWN_CAKE in queues()
|
/libcore/ojluni/src/main/java/java/util/ |
D | UUID.java | 33 import dalvik.system.VMRuntime; 221 if (!(VMRuntime.getSdkVersion() >= VersionCodes.UPSIDE_DOWN_CAKE in fromString()
|