HomeSort by relevance Sort by last modified time
    Searched refs:getRuntime (Results 1 - 25 of 376) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/smali/smali/src/main/java/org/jf/smali/
SmaliOptions.java 38 public int jobs = Runtime.getRuntime().availableProcessors();
  /libcore/luni/src/test/java/libcore/java/lang/
OldRuntimeTest.java 36 Runtime r = Runtime.getRuntime();
41 // Test for method java.lang.Runtime java.lang.Runtime.getRuntime()
42 assertNotNull(Runtime.getRuntime());
49 Runtime.getRuntime().addShutdownHook(this);
58 Runtime.getRuntime().addShutdownHook(thrException);
64 Runtime.getRuntime().addShutdownHook(thrException);
81 Runtime.getRuntime().removeShutdownHook(thrException);
90 assertTrue(Runtime.getRuntime().availableProcessors() > 0);
101 Runtime.getRuntime().exec((String)null, null);
123 Runtime.getRuntime().exec("", envp)
    [all...]
PackageTest.java 43 int savedTargetSdkVersion = VMRuntime.getRuntime().getTargetSdkVersion();
45 VMRuntime.getRuntime().setTargetSdkVersion(24);
50 VMRuntime.getRuntime().setTargetSdkVersion(25);
55 VMRuntime.getRuntime().setTargetSdkVersion(savedTargetSdkVersion);
  /art/test/121-simple-suspend-check/src/
Main.java 22 Runtime.getRuntime().gc();
26 Runtime.getRuntime().gc();
  /external/caliper/caliper/src/main/java/com/google/caliper/runner/
RuntimeShutdownHookRegistrar.java 22 Runtime.getRuntime().addShutdownHook(hook);
26 return Runtime.getRuntime().removeShutdownHook(hook);
  /art/test/152-dead-large-object/src/
Main.java 23 Runtime.getRuntime().gc();
  /libcore/support/src/test/java/libcore/java/lang/ref/
FinalizationTester.java 31 Runtime.getRuntime().gc();
  /art/test/079-phantom/src/
Main.java 43 Runtime.getRuntime().gc();
50 Runtime.getRuntime().gc();
59 Runtime.getRuntime().gc();
64 Runtime.getRuntime().gc();
69 Runtime.getRuntime().gc();
  /art/test/003-omnibus-opcodes/src/
InternedString.java 37 Runtime.getRuntime().gc();
44 Runtime.getRuntime().gc();
56 Runtime.getRuntime().gc();
  /art/test/908-gc-start-finish/src/art/
Test908.java 43 Runtime.getRuntime().gc();
54 Runtime.getRuntime().gc();
58 Runtime.getRuntime().gc();
  /art/test/1338-gc-no-los/src-art/
Main.java 27 byte[] arr2 = (byte[])VMRuntime.getRuntime().newNonMovableArray(Byte.TYPE, 200);
31 Runtime.getRuntime().gc();
  /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowDebug.java 20 return Runtime.getRuntime().totalMemory() - Runtime.getRuntime().freeMemory();
  /art/test/080-oom-fragmentation/src/
Main.java 20 long maxMem = Runtime.getRuntime().maxMemory();
  /art/test/141-class-unload/src-ex/
IntHolder.java 31 Runtime.getRuntime().gc();
  /art/test/482-checker-loop-back-edge-use/src/
Main.java 64 while (Runtime.getRuntime() != null) {}
78 while (Runtime.getRuntime() != null) {}
139 while (Runtime.getRuntime() != null) {
160 while (Runtime.getRuntime() != null) {
  /cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
CpuDeviceInfo.java 27 store.addResult("available_processors", Runtime.getRuntime().availableProcessors());
  /cts/tools/vm-tests-tf/src/dot/
Main.java 35 Runtime.getRuntime().halt(0);
  /libcore/support/src/test/java/tests/support/
Support_DeleteOnExitTest.java 17 Runtime.getRuntime().exit(0);
  /libcore/luni/src/test/java/libcore/dalvik/system/
VMRuntimeTest.java 32 Object array = VMRuntime.getRuntime().newNonMovableArray(componentType, -1);
38 Object array = VMRuntime.getRuntime().newNonMovableArray(componentType, Integer.MIN_VALUE);
45 Object array = VMRuntime.getRuntime().newNonMovableArray(componentType, i);
55 Object array = VMRuntime.getRuntime().newNonMovableArray(null, 0);
62 Object array = VMRuntime.getRuntime().newNonMovableArray(void.class, 0);
86 Object array = VMRuntime.getRuntime().newUnpaddedArray(componentType, -1);
92 Object array = VMRuntime.getRuntime().newUnpaddedArray(componentType, Integer.MIN_VALUE);
99 Object array = VMRuntime.getRuntime().newUnpaddedArray(componentType, i);
109 Object array = VMRuntime.getRuntime().newUnpaddedArray(null, 0);
116 Object array = VMRuntime.getRuntime().newUnpaddedArray(void.class, 0)
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
ProcessTest.java 34 children.add(Runtime.getRuntime().exec(new String[] { "/system/bin/does-not-exist" }, null, null));
45 Process ps = Runtime.getRuntime().exec(psCommand, null, null);
57 Process p = Runtime.getRuntime().exec(commands, null, null);
85 Process p = Runtime.getRuntime().exec(commands, null, null);
114 Process process = Runtime.getRuntime().exec(commands, null, null);
119 process = Runtime.getRuntime().exec(commandsNonZeroExit, null, null);
124 process = Runtime.getRuntime().exec(commandsSleep, null, null);
129 process = Runtime.getRuntime().exec(new String[] { "sleep", "3000" }, null, null);
139 Process process = Runtime.getRuntime().exec(commands, null, null);
147 Process process = Runtime.getRuntime().exec(commands, null, null)
    [all...]
  /art/test/004-NativeAllocations/src-art/
Main.java 24 static VMRuntime runtime = VMRuntime.getRuntime();
49 long maxMem = Runtime.getRuntime().maxMemory();
84 long maxMem = Runtime.getRuntime().maxMemory();
114 Runtime.getRuntime().gc();
  /art/test/626-set-resolved-string/src/
Main.java 39 Runtime.getRuntime().gc();
  /art/test/905-object-free/src/art/
Test905.java 47 Runtime.getRuntime().gc();
59 Runtime.getRuntime().gc();
64 Runtime.getRuntime().gc();
83 Runtime.getRuntime().gc();
  /cts/tests/tests/jni/src/android/jni/cts/
ClassLoaderHelper.java 32 Runtime.getRuntime().gc();
  /cts/tests/vr/src/android/vr/cts/
VrCpuTest.java 34 assertTrue(Runtime.getRuntime().availableProcessors() >= 2);

Completed in 742 milliseconds

1 2 3 4 5 6 7 8 91011>>