Home
last modified time | relevance | path

Searched refs:waitFor (Results 1 – 10 of 10) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DProcessTest.java79 p.waitFor(); in test_getOutputStream()
95 p.waitFor(); in test_getErrorStream()
115 process.waitFor(); in test_exitValue()
120 process.waitFor(); in test_exitValue()
126 process.waitFor(); // destroy is asynchronous. in test_exitValue()
153 process.waitFor(); // destroy is asynchronous. in test_destroyForcibly()
162 process.waitFor(); // destroy is asynchronous. in test_isAlive()
169 assertFalse(process.waitFor(0, TimeUnit.MICROSECONDS)); in test_waitForTimeout()
171 assertFalse(process.waitFor(500, TimeUnit.MICROSECONDS)); in test_waitForTimeout()
174 assertTrue(process.waitFor(2, TimeUnit.SECONDS)); in test_waitForTimeout()
[all …]
DProcessManagerTest.java53 assertEquals(0, process.waitFor()); in testSleep()
69 process.waitFor(); in testSleep()
169 proc.waitFor(); in stuff()
DProcessBuilderTest.java157 process.waitFor(); in testStart()
/libcore/ojluni/src/main/java/java/lang/
DProcess.java160 public abstract int waitFor() throws InterruptedException; in waitFor() method in Process
186 public boolean waitFor(long timeout, TimeUnit unit) in waitFor() method in Process
DUNIXProcess.java206 public synchronized int waitFor() throws InterruptedException {
/libcore/luni/src/test/java/libcore/java/io/
DFileTest.java407 …etRuntime().exec("ln -s " + f1.getAbsolutePath() + " " + symlinkFile.getAbsolutePath()).waitFor()); in test_canonicalCachesAreOff()
411 assertEquals(0, Runtime.getRuntime().exec("rm " + symlinkFile.getAbsolutePath()).waitFor()); in test_canonicalCachesAreOff()
412 …etRuntime().exec("ln -s " + f2.getAbsolutePath() + " " + symlinkFile.getAbsolutePath()).waitFor()); in test_canonicalCachesAreOff()
/libcore/ojluni/annotations/hiddenapi/java/lang/
DUNIXProcess.java83 public synchronized int waitFor() throws java.lang.InterruptedException { in waitFor() method in UNIXProcess
/libcore/luni/src/test/java/libcore/java/nio/file/
DFilesSetup.java168 process.waitFor(); in execCmdAndWaitForTermination()
/libcore/luni/src/test/java/libcore/java/lang/
DProcessBuilderTest.java204 int resultCode = process.waitFor(); in testRedirectPipe_error()
482 int actualResultCode = process.waitFor(); in checkProcessExecution()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DFileTest.java1326 p.waitFor(); in test_listFiles()
1363 p.waitFor(); in test_listFiles()