Home
last modified time | relevance | path

Searched refs:VMRuntime (Results 1 – 25 of 30) 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/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/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/libart/src/main/java/java/lang/
DDaemons.java31 import dalvik.system.VMRuntime;
134 VMRuntime.getRuntime().setSystemDaemonThreadPriority(); in run()
413 NANOS_PER_MILLI * VMRuntime.getRuntime().getFinalizerTimeoutMs(); in waitForFinalization()
454 + VMRuntime.getRuntime().getFinalizerTimeoutMs() / 1000 + " seconds"; in finalizerTimedOut()
499 VMRuntime.getRuntime().requestHeapTrim(); in requestHeapTrim()
505 VMRuntime.getRuntime().requestConcurrentGC(); in requestGC()
517 VMRuntime.getRuntime().stopHeapTaskProcessor(); in interrupt()
527 VMRuntime.getRuntime().startHeapTaskProcessor(); in runInternal()
531 VMRuntime.getRuntime().runHeapTasks(); in runInternal()
/libcore/libart/src/main/java/dalvik/system/
DVMRuntime.java43 public final class VMRuntime { class
48 private static final VMRuntime THE_ONE = new VMRuntime();
148 VMRuntime.hiddenApiUsageLogger = hiddenApiUsageLogger; in setHiddenApiUsageLogger()
158 if (VMRuntime.hiddenApiUsageLogger != null) { in hiddenApiUsed()
159 VMRuntime.hiddenApiUsageLogger.hiddenApiUsed(sampledValue, appPackageName, in hiddenApiUsed()
189 private VMRuntime() { in VMRuntime() method in VMRuntime
201 public static VMRuntime getRuntime() { in getRuntime()
/libcore/luni/src/main/java/libcore/util/
DNativeAllocationRegistry.java19 import dalvik.system.VMRuntime;
293 VMRuntime runtime = VMRuntime.getRuntime(); in registerNativeAllocation()
309 VMRuntime.getRuntime().registerNativeFree(size); in registerNativeFree()
/libcore/test-rules/src/main/java/libcore/junit/util/
DEnableDeprecatedBouncyCastleAlgorithmsRule.java18 import dalvik.system.VMRuntime;
62 int newMaximum = VMRuntime.getRuntime().getTargetSdkVersion(); in apply()
/libcore/luni/src/test/java/libcore/sun/security/jca/
DProvidersTest.java24 import dalvik.system.VMRuntime;
332 VMRuntime.getRuntime().getTargetSdkVersion() + 1); in testBeforeLimit()
352 VMRuntime.getRuntime().getTargetSdkVersion()); in testAtLimit()
373 VMRuntime.getRuntime().getTargetSdkVersion() - 1); in testPastLimit()
413 VMRuntime.getRuntime().getTargetSdkVersion() - 1); in testCustomProvider()
/libcore/dalvik/src/main/java/dalvik/system/
DZygoteHooks.java93 final VMRuntime runtime = VMRuntime.getRuntime(); in gcAndFinalize()
/libcore/support/src/test/java/libcore/java/security/
DCpuFeatures.java26 import dalvik.system.VMRuntime;
83 String instructionSet = VMRuntime.getCurrentInstructionSet(); in currentInstructionSet()
/libcore/ojluni/src/main/java/sun/security/jca/
DProviders.java29 import dalvik.system.VMRuntime;
369 if (VMRuntime.getRuntime().getTargetSdkVersion() in checkBouncyCastleDeprecation()
/libcore/ojluni/src/main/java/java/lang/
DRuntime.java41 import dalvik.system.VMRuntime;
803 VMRuntime.runFinalization(0); in runFinalization()
907 final int targetSdkVersion = VMRuntime.getRuntime().getTargetSdkVersion(); in checkTargetSdkVersionForLoad()
DPackage.java54 import dalvik.system.VMRuntime;
366 final int targetSdkVersion = VMRuntime.getRuntime().getTargetSdkVersion(); in toString()
DSystem.java34 import dalvik.system.VMRuntime;
972 VMRuntime runtime = VMRuntime.getRuntime(); in initUnchangeableSystemProperties()
/libcore/luni/src/test/java/libcore/java/lang/
DPackageTest.java19 import dalvik.system.VMRuntime;
/libcore/ojluni/src/main/java/java/net/
DInMemoryCookieStore.java29 import dalvik.system.VMRuntime;
78 this(VMRuntime.getRuntime().getTargetSdkVersion()); in InMemoryCookieStore()
/libcore/ojluni/src/main/java/java/util/regex/
DPattern.java30 import dalvik.system.VMRuntime;
1159 int targetSdkVersion = VMRuntime.getRuntime().getTargetSdkVersion(); in split()
/libcore/luni/src/main/java/libcore/icu/
DLocaleData.java34 import dalvik.system.VMRuntime;
204 int targetSdkVersion = VMRuntime.getRuntime().getTargetSdkVersion(); in getCompatibleLocaleForBug159514442()
/libcore/mmodules/core_platform_api/api/stable_platform/
Dcurrent-api.txt37 public final class VMRuntime {
/libcore/ojluni/src/main/java/java/security/
DSecureRandom.java34 import dalvik.system.VMRuntime;
/libcore/ojluni/src/main/java/java/nio/
DDirectByteBuffer.java31 import dalvik.system.VMRuntime;
69 VMRuntime runtime = VMRuntime.getRuntime(); in MemoryRef()
/libcore/mmodules/intracoreapi/api/intra/
Dcurrent-api.txt67 …libcore.api.CorePlatformApi.Status.STABLE) @libcore.api.IntraCoreApi public final class VMRuntime {
69 …e.api.CorePlatformApi @libcore.api.IntraCoreApi public static dalvik.system.VMRuntime getRuntime();
/libcore/ojluni/src/main/java/java/io/
DObjectStreamClass.java55 import dalvik.system.VMRuntime;
1808 (VMRuntime.getRuntime().getTargetSdkVersion() in computeDefaultSUID()
2404 final int targetSdkVersion = VMRuntime.getRuntime().getTargetSdkVersion(); in getConstructorId()
2425 final int targetSdkVersion = VMRuntime.getRuntime().getTargetSdkVersion(); in newInstance()
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DMessageDigest2Test.java35 import dalvik.system.VMRuntime;

12