Home
last modified time | relevance | path

Searched refs:join (Results 1 – 25 of 88) sorted by relevance

1234

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/apache/harmony/kernel/dalvik/
DThreadsTest.java61 waiterThread.join(); in test_parkFor_1()
62 parkerThread.join(); in test_parkFor_1()
76 waiterThread.join(); in test_parkFor_2()
77 parkerThread.join(); in test_parkFor_2()
89 parkerThread.join(); in test_parkFor_3()
103 waiterThread.join(); in test_parkUntil_1()
104 parkerThread.join(); in test_parkUntil_1()
118 waiterThread.join(); in test_parkUntil_2()
119 parkerThread.join(); in test_parkUntil_2()
131 parkerThread.join(); in test_parkUntil_3()
/libcore/luni/src/test/java/libcore/java/lang/
DOldObjectTest.java124 thr2.join(); in test_wait()
125 thr1.join(); in test_wait()
190 thr2.join(); in test_waitJI()
191 thr1.join(); in test_waitJI()
246 thr2.join(); in test_waitJ()
247 thr1.join(); in test_waitJ()
DOldAndroidMonitorTest.java161 waiter.join(); in run_inner()
279 interrupter.join(); in testInterruptTest()
280 waiter.join(); in testInterruptTest()
DOldInheritableThreadLocalTest.java44 thread.join(); in test_Ljava_lang_InheritableThreadLocal()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DThreadTest.java165 st.join(); in test_ConstructorLjava_lang_ThreadGroupLjava_lang_Runnable()
184 st.join(); in test_ConstructorLjava_lang_ThreadGroupLjava_lang_RunnableLjava_lang_String()
231 t.join(); in test_activeCount()
251 st.join(); in test_checkAccess()
347 firstOne.join(); in test_enumerate$Ljava_lang_Thread()
348 secondOne.join(); in test_enumerate$Ljava_lang_Thread()
361 t.join(); in test_enumerate$Ljava_lang_Thread()
418 st.join(); in test_getThreadGroup()
537 st.join(); in test_isAlive()
604 st.join(); in test_join()
[all …]
DThreadLocalTest.java89 t.join(); in test_get()
139 t.join(); in test_setLjava_lang_Object()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DInetAddressThreadTest.java155 thread1.join(); in test_getHostName()
156 thread2.join(); in test_getHostName()
157 thread3.join(); in test_getHostName()
158 thread4.join(); in test_getHostName()
/libcore/luni/src/test/java/libcore/java/io/
DOldAndroidPipedStreamTest.java91 reader.join(60 * 1000); in testA()
92 writer.join(1000); in testA()
176 reader.join(60 * 1000); in testB()
177 writer.join(1000); in testB()
246 reader.join(60 * 1000); in testC()
247 writer.join(1000); in testC()
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/http/
DHttpURLConnectionTest.java178 httpServer.join(); in testGetOutputStream()
212 server.join(); in testUsingProxy()
213 proxy.join(); in testUsingProxy()
256 server.join(); in testUsingProxySelector()
257 proxy.join(); in testUsingProxySelector()
298 proxy.join(); in testProxyAuthorization()
/libcore/luni/src/test/java/libcore/java/util/
DAbstractCollectionTest.java55 reader.join(); in test_toArray()
56 mutator.join(); in test_toArray()
/libcore/luni/src/test/java/tests/support/
DThreadPool.java73 public void join() { in join() method in ThreadPool
83 threads[i].join(); in join()
/libcore/luni/src/test/java/libcore/java/util/logging/
DOldLogRecordTest.java56 thread.join(); in testGetSetThreadID_DifferentThread()
64 thread2.join(); in testGetSetThreadID_DifferentThread()
/libcore/jsr166-tests/src/test/java/jsr166/
DThreadLocalTest.java75 child.join(); in run()
91 progenitor.join(); in testGenericITL()
DRecursiveActionTest.java90 assertNull(a.join()); in checkCompletedNormally()
110 a.join(); in checkCancelled()
139 a.join(); in checkCompletedAbnormally()
241 assertNull(f.join()); in testForkJoin()
261 assertNull(f.join()); in testJoinIgnoresInterrupts()
272 f.join(); in testJoinIgnoresInterrupts()
285 f.join(); in testJoinIgnoresInterrupts()
363 assertNull(f.join()); in testJoinIgnoresInterruptsOutsideForkJoinPool()
372 f.join(); in testJoinIgnoresInterruptsOutsideForkJoinPool()
383 f.join(); in testJoinIgnoresInterruptsOutsideForkJoinPool()
[all …]
DRecursiveTaskTest.java88 assertSame(expected, a.join()); in checkCompletedNormally()
104 Integer r = a.join(); in checkCompletesNormally()
128 a.join(); in checkCancelled()
157 a.join(); in checkCompletedAbnormally()
195 return (new FibTask(n - 2)).compute() + f1.join(); in realCompute()
214 return (new FibTask(n - 2)).compute() + f1.join(); in compute()
260 Integer r = f.join(); in testForkJoin()
376 Integer r = f.join(); in testAbnormalForkJoin()
473 Integer r = f.join(); in testCancelledForkJoin()
971 assertEquals(21, (int) f.join()); in testPeekNextLocalTaskAsync()
DAtomicMarkableReferenceTest.java101 t.join(LONG_DELAY_MS); in testCompareAndSetInMultipleThreads()
121 t.join(LONG_DELAY_MS); in testCompareAndSetInMultipleThreads2()
DAtomicStampedReferenceTest.java101 t.join(LONG_DELAY_MS); in testCompareAndSetInMultipleThreads()
121 t.join(LONG_DELAY_MS); in testCompareAndSetInMultipleThreads2()
/libcore/json/src/test/java/org/json/
DJSONArrayTest.java33 assertEquals("", array.join(" AND ")); in testEmptyArray()
259 array.join(" ")); in testStrings()
301 assertEquals("null", array.join(" & ")); in testJoin()
303 assertEquals("null & \"\\\"\"", array.join(" & ")); in testJoin()
305 assertEquals("null & \"\\\"\" & 5", array.join(" & ")); in testJoin()
307 assertEquals("null & \"\\\"\" & 5 & true", array.join(" & ")); in testJoin()
309 assertEquals("null & \"\\\"\" & 5 & true & [true,false]", array.join(" & ")); in testJoin()
311 assertEquals("null & \"\\\"\" & 5 & true & [true,false] & {\"x\":6}", array.join(" & ")); in testJoin()
316 assertEquals("5null6", array.join(null)); in testJoinWithNull()
321 assertEquals("5\"6", array.join("\"")); in testJoinWithSpecialCharacters()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DPipedWriterTest.java85 rdrThread.join(); in test_ConstructorLjava_io_PipedReader()
123 rdrThread.join(); in test_connectLjava_io_PipedReader()
140 rdrThread.join(); in test_flush()
185 rdrThread.join(); in test_write$CII()
452 rdrThread.join(1000); in test_writeI()
DPipedInputStreamTest.java303 readThread.join(); in test_write_failsAfterReaderDead()
306 writeThread.join(); in test_write_failsAfterReaderDead()
356 worker.join(); in test_read_after_write_close()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ref/
DSoftReferenceTest.java106 t.join(); in test_get_SoftReference()
125 t.join(); in test_get_SoftReference()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DLoadLocaleProviderTestHelper.java32 thread.join(); in LoadLocaleProviderTestHelper()
/libcore/libart/src/main/java/java/lang/
DThread.java721 public final void join() throws InterruptedException { in join() method in Thread
743 public final void join(long millis) throws InterruptedException { in join() method in Thread
744 join(millis, 0); in join()
762 public final void join(long millis, int nanos) throws InterruptedException { in join() method in Thread
771 join(); in join()
/libcore/luni/src/main/java/java/net/
DDatagramSocketImpl.java126 protected abstract void join(InetAddress addr) throws IOException; in join() method in DatagramSocketImpl
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/
DTestThread.java41 thread.join(); in launcher()

1234