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

1 2 3 4 5 6 7

  /libcore/luni/src/test/java/libcore/java/lang/
OldRuntimeTest.java 34 Runtime r = Runtime.getRuntime();
61 // Test for method java.lang.Runtime java.lang.Runtime.getRuntime()
62 assertNotNull(Runtime.getRuntime());
69 Runtime.getRuntime().addShutdownHook(this);
78 Runtime.getRuntime().addShutdownHook(thrException);
84 Runtime.getRuntime().addShutdownHook(thrException);
101 Runtime.getRuntime().removeShutdownHook(thrException);
110 assertTrue(Runtime.getRuntime().availableProcessors() > 0)
    [all...]
  /cts/tools/dx-tests/src/dxc/
Main.java 35 Runtime.getRuntime().halt(0);
  /cts/tools/vm-tests/src/dot/
Main.java 35 Runtime.getRuntime().halt(0);
  /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);
  /frameworks/base/tests/CoreTests/android/core/
HeapTest.java 105 Runtime.getRuntime().gc();
115 Runtime.getRuntime().runFinalization();
125 Runtime.getRuntime().runFinalization();
134 Runtime.getRuntime().runFinalization();
148 Runtime.getRuntime().gc();
209 Runtime.getRuntime().gc();
217 Runtime.getRuntime().gc();
225 Runtime.getRuntime().gc();
322 Runtime.getRuntime().gc();
331 Runtime.getRuntime().gc()
    [all...]
  /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/
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)
    [all...]
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);
Process2Test.java 51 process = Runtime.getRuntime().exec(commands, null, null);
70 erProcess = Runtime.getRuntime().exec(unknownCommands, null, null);
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/
RuntimeTest.java 26 Runtime r = Runtime.getRuntime();
60 * @tests java.lang.Runtime#exit(int)
63 // Test for method void java.lang.Runtime.exit(int)
68 * @tests java.lang.Runtime#exec(java.lang.String)
75 Runtime.getRuntime().exec("AnInexistentProgram");
85 * @tests java.lang.Runtime#freeMemory()
88 // Test for method long java.lang.Runtime.freeMemory()
93 * @tests java.lang.Runtime#gc()
96 // Test for method void java.lang.Runtime.gc(
    [all...]
  /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 27 * memory usage information and measure runtime between calls to begin and end.
32 * measure runtime between calls to start and stop. These functions logically
81 * @param results memory and runtime metrics stored as key/value pairs,
104 * @param results runtime metrics of code block between calls to
315 * @return Memory and runtime metrics stored as key/value pairs. Values are
379 * @return Runtime metrics stored as key/value pairs. Values are of type
407 * @return Runtime metrics stored in a bundle, including all iterations
495 Runtime runtime = Runtime.getRuntime() local
    [all...]
  /packages/apps/Camera/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);
  /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/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/
SceneGraph.java 37 import java.lang.Runtime;
  /libcore/luni/src/main/java/org/apache/harmony/luni/util/
DeleteOnExit.java 27 * hook in the Runtime, once it is actually being used.
47 Runtime.getRuntime().addShutdownHook(instance);
  /frameworks/base/tests/BrowserPowerTest/src/com/android/browserpowertest/
PowerMeasurement.java 68 Runtime fileRemoval = Runtime.getRuntime();
  /libcore/luni/src/main/java/java/lang/
Runtime.java 57 public class Runtime {
60 * Holds the Singleton global instance of Runtime.
62 private static final Runtime mRuntime = new Runtime();
93 private Runtime(){
308 * Returns the single {@code Runtime} instance.
310 * @return the {@code Runtime} object for the current application.
312 public static Runtime getRuntime() {
System.java 63 * @see Runtime
181 Runtime.getRuntime().exit(code);
190 Runtime.getRuntime().gc();
266 VMRuntime runtime = VMRuntime.getRuntime(); local
272 p.put("java.boot.class.path", runtime.bootClassPath());
273 p.put("java.class.path", runtime.classPath());
299 p.put("java.vm.version", runtime.vmVersion());
305 p.put("java.runtime.name", "Android Runtime");
306 p.put("java.runtime.version", "0.9")
    [all...]

Completed in 620 milliseconds

1 2 3 4 5 6 7