Home
last modified time | relevance | path

Searched refs:VMRuntime (Results 1 – 25 of 46) sorted by relevance

12

/libcore/luni/src/test/java/libcore/dalvik/system/
DVMRuntimeTest.java22 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/
DSwitchTargetSdkVersionRuleTest.java21 import dalvik.system.VMRuntime;
41 assertEquals(23, VMRuntime.getRuntime().getTargetSdkVersion()); in testRunningAsIfTargetedAtSDKVersion23()
46 assertNotEquals(23, VMRuntime.getRuntime().getTargetSdkVersion()); in testRunningAsIfTargetedAtCurrentSDKVersion()
DEnableDeprecatedBouncyCastleAlgorithmsRuleTest.java18 import dalvik.system.VMRuntime;
53 assertEquals(VMRuntime.getRuntime().getTargetSdkVersion(), in testRunningAsIfTargetedAtCurrentSDKVersion()
/libcore/luni/src/test/java/libcore/libcore/io/
DMemoryTest.java20 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/
DAlgorithmParameterGenerator.java29 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()
DAlgorithmParameters.java29 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()
DKeyFactory.java29 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/
DVMRuntime.java45 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/
DFileLock.java29 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/
DNativeAllocationRegistry.java23 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/
DDaemons.java34 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/
DEnableDeprecatedBouncyCastleAlgorithmsRule.java18 import dalvik.system.VMRuntime;
62 int newMaximum = VMRuntime.getRuntime().getTargetSdkVersion(); in apply()
/libcore/ojluni/src/test/java/security/Provider/
DProvidersTest.java21 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/
DCpuFeatures.java26 import dalvik.system.VMRuntime;
86 String instructionSet = VMRuntime.getCurrentInstructionSet(); in currentInstructionSet()
/libcore/dalvik/src/main/java/dalvik/system/
DApplicationRuntime.java32 return VMRuntime.getBaseApkOptimizationInfo(); in getBaseApkOptimizationInfo()
DZygoteHooks.java130 final VMRuntime runtime = VMRuntime.getRuntime(); in gcAndFinalize()
/libcore/luni/src/test/java/libcore/java/util/regex/
DMatcherTest.java25 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/
DFileLockTest.java20 import dalvik.system.VMRuntime;
75 assertTrue(VMRuntime.getSdkVersion() >= VersionCodes.UPSIDE_DOWN_CAKE); in assertUpsideDownCakeOrGreater()
/libcore/luni/src/test/java/libcore/java/time/
DTimeApisConsistencyTest.java22 import dalvik.system.VMRuntime;
67 if (VMRuntime.getRuntime().is64Bit()) {
/libcore/ojluni/src/main/java/sun/security/jca/
DProviders.java29 import dalvik.system.VMRuntime;
375 if (VMRuntime.getRuntime().getTargetSdkVersion() in checkBouncyCastleDeprecation()
/libcore/ojluni/src/main/java/java/lang/
DRuntime.java49 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/
DPattern.java36 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/
DLocaleData.java26 import dalvik.system.VMRuntime;
167 int targetSdkVersion = VMRuntime.getRuntime().getTargetSdkVersion(); in getCompatibleLocaleForBug159514442()
/libcore/ojluni/src/test/java/util/PriorityQueue/
DAddNonComparable.java52 import dalvik.system.VMRuntime;
67 boolean testPreAndroidUBehavior = VMRuntime.getSdkVersion() < VersionCodes.UPSIDE_DOWN_CAKE in queues()
/libcore/ojluni/src/main/java/java/util/
DUUID.java33 import dalvik.system.VMRuntime;
221 if (!(VMRuntime.getSdkVersion() >= VersionCodes.UPSIDE_DOWN_CAKE in fromString()

12