/libcore/luni/src/test/java/libcore/java/lang/ |
H A D | OldRuntimeTest.java | 33 Runtime r = Runtime.getRuntime(); 38 // Test for method java.lang.Runtime java.lang.Runtime.getRuntime() 39 assertNotNull(Runtime.getRuntime()); 46 Runtime.getRuntime().addShutdownHook(this); 55 Runtime.getRuntime().addShutdownHook(thrException); 61 Runtime.getRuntime().addShutdownHook(thrException); 78 Runtime.getRuntime().removeShutdownHook(thrException); 87 assertTrue(Runtime.getRuntime().availableProcessors() > 0); 98 Runtime.getRuntime().exec((String)null, null); 120 Runtime.getRuntime() [all...] |
H A D | OldSystemTest.java | 257 Runtime rt = Runtime.getRuntime(); 303 Runtime.getRuntime().load("nonExistentLibrary");
|
/libcore/support/src/test/java/libcore/java/lang/ref/ |
H A D | FinalizationTester.java | 31 Runtime.getRuntime().gc();
|
/libcore/support/src/test/java/tests/support/ |
H A D | Support_DeleteOnExitTest.java | 17 Runtime.getRuntime().exit(0);
|
/libcore/luni/src/test/java/dalvik/system/ |
H A D | 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() [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
H A D | ProcessTest.java | 32 children.add(Runtime.getRuntime().exec(new String[] { "/system/bin/does-not-exist" }, null, null)); 41 Process ps = Runtime.getRuntime().exec(psCommand, null, null); 53 Process p = Runtime.getRuntime().exec(commands, null, null); 81 Process p = Runtime.getRuntime().exec(commands, null, null); 110 Process process = Runtime.getRuntime().exec(commands, null, null); 115 process = Runtime.getRuntime().exec(commandsSleep, null, null); 120 process = Runtime.getRuntime().exec(new String[] { "sleep", "3000" }, null, null); 130 Process process = Runtime.getRuntime().exec(commands, null, null);
|
H A D | ProcessManagerTest.java | 37 Process process = Runtime.getRuntime().exec(commands, null, null); 51 process = Runtime.getRuntime().exec(commands, null, null); 64 process = Runtime.getRuntime().exec(commands, null, null); 114 Process process = Runtime.getRuntime().exec( 125 Process process = Runtime.getRuntime().exec( 164 Runtime rt = Runtime.getRuntime(); 183 Process process = Runtime.getRuntime().exec(commands, null, null); 190 process = Runtime.getRuntime().exec(commands, null, null); 218 Runtime.getRuntime().exec(commands, null, null);
|
H A D | Process2Test.java | 51 process = Runtime.getRuntime().exec(commands, null, null); 70 erProcess = Runtime.getRuntime().exec(unknownCommands, null, null);
|
H A D | RuntimeTest.java | 28 Runtime r = Runtime.getRuntime(); 77 Runtime.getRuntime().exec("AnInexistentProgram"); 87 * java.lang.Runtime#getRuntime() 90 // Test for method java.lang.Runtime java.lang.Runtime.getRuntime()
|
/libcore/luni/src/main/java/libcore/io/ |
H A D | DeleteOnExit.java | 42 Runtime.getRuntime().addShutdownHook(instance);
|
/libcore/luni/src/test/java/libcore/io/ |
H A D | MemoryTest.java | 33 VMRuntime runtime = VMRuntime.getRuntime(); 74 VMRuntime runtime = VMRuntime.getRuntime(); 112 VMRuntime runtime = VMRuntime.getRuntime();
|
/libcore/benchmarks/src/benchmarks/ |
H A D | ReferenceGetBenchmark.java | 55 Runtime.getRuntime().gc();
|
/libcore/dalvik/src/test/java/dalvik/system/ |
H A D | CloseGuardMonitor.java | 84 Runtime runtime = Runtime.getRuntime();
|
/libcore/libart/src/main/java/dalvik/system/ |
H A D | VMRuntime.java | 25 * one from the getRuntime method. 62 public static VMRuntime getRuntime() { method in class:VMRuntime
|
/libcore/libart/src/main/java/java/lang/ |
H A D | Daemons.java | 218 if (!finalized && !VMRuntime.getRuntime().isDebuggerActive()) { 313 VMRuntime.getRuntime().trimHeap(); 346 VMRuntime.getRuntime().concurrentGC();
|
/libcore/luni/src/main/java/java/lang/ |
H A D | System.java | 634 Runtime.getRuntime().exit(code); 653 Runtime.getRuntime().gc(); 708 VMRuntime runtime = VMRuntime.getRuntime(); 981 Runtime.getRuntime().load(pathName, VMStack.getCallingClassLoader()); 988 Runtime.getRuntime().loadLibrary(libName, VMStack.getCallingClassLoader()); 1046 Runtime.getRuntime().gc(); 1048 Runtime.getRuntime().runFinalization();
|
H A D | Runtime.java | 56 * get a singleton instance by invoking {@link #getRuntime()}. 305 public static Runtime getRuntime() { method in class:Runtime
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ref/ |
H A D | PhantomReferenceTest.java | 61 Runtime.getRuntime().gc();
|
/libcore/luni/src/main/java/java/nio/ |
H A D | MemoryBlock.java | 130 VMRuntime runtime = VMRuntime.getRuntime();
|
/libcore/luni/src/main/java/java/util/concurrent/ |
H A D | Exchanger.java | 248 private static final int NCPU = Runtime.getRuntime().availableProcessors();
|
H A D | Executors.java | 99 (Runtime.getRuntime().availableProcessors(),
|
H A D | Phaser.java | 983 private static final int NCPU = Runtime.getRuntime().availableProcessors();
|
H A D | LinkedTransferQueue.java | 383 Runtime.getRuntime().availableProcessors() > 1;
|
H A D | SynchronousQueue.java | 155 static final int NCPUS = Runtime.getRuntime().availableProcessors();
|
/libcore/luni/src/main/java/java/util/logging/ |
H A D | LogManager.java | 187 Runtime.getRuntime().addShutdownHook(new Thread() {
|