/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();
|
/frameworks/base/tests/CoreTests/android/core/ |
HeapTest.java | 105 Runtime.getRuntime().gc(); 114 VMRuntime.getRuntime().gcSoftReferences(); 115 Runtime.getRuntime().runFinalization(); 124 VMRuntime.getRuntime().gcSoftReferences(); 125 Runtime.getRuntime().runFinalization(); 133 VMRuntime.getRuntime().gcSoftReferences(); 134 Runtime.getRuntime().runFinalization(); 148 Runtime.getRuntime().gc(); 209 Runtime.getRuntime().gc(); 217 Runtime.getRuntime().gc() [all...] |
/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/tests/vr/src/android/vr/cts/ |
VrCpuTest.java | 33 assertTrue(Runtime.getRuntime().availableProcessors() >= 2);
|
/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/dalvik/system/ |
VMRuntimeTest.java | 30 Object array = VMRuntime.getRuntime().newNonMovableArray(componentType, -1); 36 Object array = VMRuntime.getRuntime().newNonMovableArray(componentType, Integer.MIN_VALUE); 43 Object array = VMRuntime.getRuntime().newNonMovableArray(componentType, i); 53 Object array = VMRuntime.getRuntime().newNonMovableArray(null, 0); 60 Object array = VMRuntime.getRuntime().newNonMovableArray(void.class, 0); 84 Object array = VMRuntime.getRuntime().newUnpaddedArray(componentType, -1); 90 Object array = VMRuntime.getRuntime().newUnpaddedArray(componentType, Integer.MIN_VALUE); 97 Object array = VMRuntime.getRuntime().newUnpaddedArray(componentType, i); 107 Object array = VMRuntime.getRuntime().newUnpaddedArray(null, 0); 114 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/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();
|
/art/test/1903-suspend-self/src/art/ |
Test1903.java | 38 Runtime.getRuntime().halt(2); 83 Runtime.getRuntime().halt(4); 87 Runtime.getRuntime().halt(2);
|