Home
last modified time | relevance | path

Searched refs:getRuntime (Results 1 – 25 of 52) sorted by relevance

123

/external/apache-harmony/luni/src/test/api/unix/org/apache/harmony/luni/tests/java/net/
DUnixNetworkInterfaceTest.java46 Process proc = Runtime.getRuntime().exec(cmd); in test_isUp()
51 proc = Runtime.getRuntime().exec(cmd); in test_isUp()
70 Process proc = Runtime.getRuntime().exec(cmd); in test_supportsMulticast()
77 proc = Runtime.getRuntime().exec(cmd); in test_supportsMulticast()
100 Process proc = Runtime.getRuntime().exec(cmd); in test_getHardwareAddress()
107 proc = Runtime.getRuntime().exec(cmd); in test_getHardwareAddress()
127 Process proc = Runtime.getRuntime().exec(cmd); in test_getMTU()
132 proc = Runtime.getRuntime().exec(cmd); in test_getMTU()
/external/bart/tests/
Dtest_sched_assert.py52 self.assertAlmostEqual(s.getRuntime(), expected_time, places=9)
53 self.assertAlmostEqual(s.getRuntime(), expected_time, places=9)
58 self.assertAlmostEqual(s.getRuntime(window=window), expected_time,
64 self.assertAlmostEqual(s.getRuntime(window=window), expected_time,
70 self.assertAlmostEqual(s.getRuntime(window=window), expected_time,
/external/caliper/caliper/src/main/java/com/google/caliper/runner/
DRuntimeShutdownHookRegistrar.java22 Runtime.getRuntime().addShutdownHook(hook); in addShutdownHook()
26 return Runtime.getRuntime().removeShutdownHook(hook); in removeShutdownHook()
DEnvironmentGetter.java57 Integer.toString(Runtime.getRuntime().availableProcessors())); in getProperties()
/external/emma/core/java13/com/vladium/util/exit/
DExitHookManager.java69 Runtime.getRuntime ().addShutdownHook (exitThread); in addExitHook()
94 Runtime.getRuntime ().removeShutdownHook (exitThread); in removeExitHook()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ObjectReference/
DIsCollectedDebuggee.java73 Runtime.getRuntime().gc(); in run()
76 Runtime.getRuntime().gc(); in run()
/external/smali/smali/src/main/java/org/jf/smali/
DSmaliOptions.java38 public int jobs = Runtime.getRuntime().availableProcessors();
DAssembleCommand.java60 private int jobs = Runtime.getRuntime().availableProcessors();
/external/bart/bart/sched/
DSchedAssert.py368 def getRuntime(self, window=None, percent=False): member in SchedAssert
444 run_time = self.getRuntime(window, percent)
546 return self.getRuntime(window, percent=True)
/external/jline/src/src/main/java/jline/
DUnixTerminal.java91 Runtime.getRuntime().addShutdownHook(new Thread() { in initializeTerminal()
292 Process p = Runtime.getRuntime().exec(cmd); in exec()
/external/guava/guava/src/com/google/common/util/concurrent/
DUncaughtExceptionHandlers.java50 return new Exiter(Runtime.getRuntime()); in systemExit()
/external/libmojo/jni/java/lang/
DRuntime.classRuntime.java package java.lang public java.lang.Runtime extends java.lang.Object ...
/external/r8/src/main/java/com/android/tools/r8/
DIncrementalDexingBenchmark.java28 int threads = Integer.min(Runtime.getRuntime().availableProcessors(), 16) / 2; in main()
/external/r8/src/main/java/com/android/tools/r8/utils/
DThreadUtils.java39 int threads = Integer.min(Runtime.getRuntime().availableProcessors(), 16) / 2; in getExecutorService()
/external/vogar/src/vogar/util/
DThreads.java44 return fixedThreadsExecutor(log, name, Runtime.getRuntime().availableProcessors()); in threadPerCpuExecutor()
/external/testng/src/test/java/test/thread/
DTrueParallelTest.java23 for (int i = 0, count = Runtime.getRuntime().availableProcessors() * 4; i < count; i++) { in shouldRunInParallel()
/external/smali/util/src/main/java/org/jf/util/
DConsoleUtil.java89 Process p = Runtime.getRuntime().exec(command); in attemptCommand()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
DStreamUtil.java54 long maxMemory = Runtime.getRuntime().maxMemory(); in findLimit()
/external/antlr/antlr-3.4/antlr3-maven-archetype/src/main/resources/archetype-resources/src/main/java/
DMain.java229 … Process proc = Runtime.getRuntime().exec("dot -Tpng -o" + source + "png " + outputName);
/external/slf4j/slf4j-ext/src/main/java/org/slf4j/agent/
DAgentPremain.java126 Runtime.getRuntime().addShutdownHook(hook); in printStartStopTimes()
/external/guava/guava-testlib/src/com/google/common/testing/
DGcFinalization.java121 return Math.max(10L, Runtime.getRuntime().totalMemory() / (32L * 1024L * 1024L)); in timeoutSeconds()
/external/conscrypt/libcore-stub/src/main/java/libcore/java/security/
DCpuFeatures.java118 Process proc = Runtime.getRuntime().exec("sysctl -a"); in getCpuFeaturesMac()
/external/ant-glob/src/org/apache/tools/ant/util/
DFileUtils.java40 + Runtime.getRuntime().freeMemory());
/external/guava/guava/src/com/google/common/cache/
DStriped64.java125 static final int NCPU = Runtime.getRuntime().availableProcessors();
/external/glide/library/src/main/java/com/bumptech/glide/
DGlideBuilder.java147 final int cores = Math.max(1, Runtime.getRuntime().availableProcessors()); in createGlide()

123