/libcore/luni/src/test/java/libcore/java/lang/ |
OldRuntimeTest.java | 33 Runtime r = Runtime.getRuntime(); 60 // Test for method java.lang.Runtime java.lang.Runtime.getRuntime() 61 assertNotNull(Runtime.getRuntime()); 68 Runtime.getRuntime().addShutdownHook(this); 77 Runtime.getRuntime().addShutdownHook(thrException); 83 Runtime.getRuntime().addShutdownHook(thrException); 100 Runtime.getRuntime().removeShutdownHook(thrException); 109 assertTrue(Runtime.getRuntime().availableProcessors() > 0); 120 Runtime.getRuntime().exec((String)null, null); 142 Runtime.getRuntime().exec("", envp) [all...] |
/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...] |
/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);
|
/packages/wallpapers/Basic/src/com/android/wallpaper/fall/ |
Fall.java | 44 Runtime.getRuntime().exit(0);
|
/packages/wallpapers/Basic/src/com/android/wallpaper/galaxy/ |
Galaxy.java | 45 Runtime.getRuntime().exit(0);
|
/packages/wallpapers/Basic/src/com/android/wallpaper/grass/ |
Grass.java | 45 Runtime.getRuntime().exit(0);
|
/libcore/luni/src/test/java/tests/api/java/lang/ |
ProcessTest.java | 40 Process proc = Runtime.getRuntime().exec(commands, null, null); 76 Process proc = Runtime.getRuntime().exec(commands, null, null); 116 Process process = Runtime.getRuntime().exec(commands, null, null); 125 process = Runtime.getRuntime().exec(commandsSleep, null, null); 132 process = Runtime.getRuntime().exec(commandsSleep, null, null); 153 Process process = Runtime.getRuntime().exec(commands, null, null);
|
ProcessManagerTest.java | 39 Process process = Runtime.getRuntime().exec(commands, null, null); 53 process = Runtime.getRuntime().exec(commands, null, null); 66 process = Runtime.getRuntime().exec(commands, null, null); 116 Process process = Runtime.getRuntime().exec( 127 Process process = Runtime.getRuntime().exec( 166 Runtime rt = Runtime.getRuntime(); 185 Process process = Runtime.getRuntime().exec(commands, null, null); 192 process = Runtime.getRuntime().exec(commands, null, null); 220 Runtime.getRuntime().exec(commands, null, null);
|
Process2Test.java | 51 process = Runtime.getRuntime().exec(commands, null, null); 70 erProcess = Runtime.getRuntime().exec(unknownCommands, null, null);
|
/packages/apps/Camera/tests/src/com/android/camera/functional/ |
CameraTest.java | 71 Runtime.getRuntime().gc(); 72 Runtime.getRuntime().runFinalization(); 73 Runtime.getRuntime().gc();
|
/packages/apps/Gallery2/tests/src/com/android/gallery3d/functional/ |
CameraTest.java | 71 Runtime.getRuntime().gc(); 72 Runtime.getRuntime().runFinalization(); 73 Runtime.getRuntime().gc();
|
/packages/apps/Gallery2/tests_camera/src/com/android/camera/functional/ |
CameraTest.java | 71 Runtime.getRuntime().gc(); 72 Runtime.getRuntime().runFinalization(); 73 Runtime.getRuntime().gc();
|
/dalvik/tests/061-out-of-memory/src/ |
Main.java | 52 a = new byte[(int) Runtime.getRuntime().maxMemory() - 32]; 81 for (int i = 0; i < Runtime.getRuntime().maxMemory() / objSize; i++) {
|
/external/apache-harmony/luni/src/test/api/unix/org/apache/harmony/luni/tests/java/net/ |
UnixNetworkInterfaceTest.java | 48 Process proc = Runtime.getRuntime().exec(cmd); 53 proc = Runtime.getRuntime().exec(cmd); 73 Process proc = Runtime.getRuntime().exec(cmd); 80 proc = Runtime.getRuntime().exec(cmd); 104 Process proc = Runtime.getRuntime().exec(cmd); 111 proc = Runtime.getRuntime().exec(cmd); 132 Process proc = Runtime.getRuntime().exec(cmd); 137 proc = Runtime.getRuntime().exec(cmd);
|
/external/emma/core/java13/com/vladium/util/exit/ |
ExitHookManager.java | 69 Runtime.getRuntime ().addShutdownHook (exitThread); 94 Runtime.getRuntime ().removeShutdownHook (exitThread);
|
/frameworks/base/core/java/android/os/ |
PerformanceCollector.java | 495 Runtime runtime = Runtime.getRuntime(); 543 Runtime.getRuntime().gc(); 544 Runtime.getRuntime().runFinalization(); 545 Runtime.getRuntime().gc(); 557 Runtime.getRuntime().gc(); 558 Runtime.getRuntime().runFinalization(); 559 Runtime.getRuntime().gc();
|
/packages/apps/LegacyCamera/tests/src/com/android/camera/functional/ |
CameraTest.java | 76 Runtime.getRuntime().gc(); 77 Runtime.getRuntime().runFinalization(); 78 Runtime.getRuntime().gc();
|
/development/cmds/monkey/src/com/android/commands/monkey/ |
MonkeyCommandEvent.java | 41 java.lang.Process p = Runtime.getRuntime().exec(mCmd);
|
/external/guava/guava/src/com/google/common/util/concurrent/ |
UncaughtExceptionHandlers.java | 47 return new Exiter(Runtime.getRuntime());
|
/frameworks/base/core/java/android/ddm/ |
DdmHandleExit.java | 71 Runtime.getRuntime().halt(statusCode);
|
/frameworks/base/core/java/com/android/internal/os/ |
BinderInternal.java | 89 Runtime.getRuntime().gc();
|
/frameworks/testing/uiautomator_test_libraries/src/com/android/uiautomator/common/helpers/ |
AppHelperBase.java | 71 p = Runtime.getRuntime().exec(command);
|
/libcore/dalvik/src/main/java/dalvik/system/ |
VMRuntime.java | 22 * one from the getRuntime method. 45 public static VMRuntime getRuntime() {
|
/libcore/luni/src/main/java/org/apache/harmony/luni/util/ |
DeleteOnExit.java | 47 Runtime.getRuntime().addShutdownHook(instance);
|