Home
last modified time | relevance | path

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

12345

/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/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()
555 st.join(); in test_isDaemon()
[all …]
DThreadLocalTest.java89 t.join(); in test_get()
139 t.join(); in test_setLjava_lang_Object()
/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()
DEnumTest.java113 t1.join(); in testDeadlock()
119 t2.join(); in testDeadlock()
DOldInheritableThreadLocalTest.java44 thread.join(); in test_Ljava_lang_InheritableThreadLocal()
/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/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/jsr166-tests/src/test/java/jsr166/
DThreadLocalTest.java84 child.join(); in run()
100 progenitor.join(); in testGenericITL()
DRecursiveActionTest.java100 assertNull(a.join()); in checkCompletedNormally()
120 a.join(); in checkCancelled()
149 a.join(); in checkCompletedAbnormally()
251 assertNull(f.join()); in testForkJoin()
271 assertNull(f.join()); in testJoinIgnoresInterrupts()
282 f.join(); in testJoinIgnoresInterrupts()
295 f.join(); in testJoinIgnoresInterrupts()
373 assertNull(f.join()); in testJoinIgnoresInterruptsOutsideForkJoinPool()
382 f.join(); in testJoinIgnoresInterruptsOutsideForkJoinPool()
393 f.join(); in testJoinIgnoresInterruptsOutsideForkJoinPool()
[all …]
DRecursiveTaskTest.java97 assertSame(expected, a.join()); in checkCompletedNormally()
113 Integer r = a.join(); in checkCompletesNormally()
137 a.join(); in checkCancelled()
166 a.join(); in checkCompletedAbnormally()
204 return (new FibTask(n - 2)).compute() + f1.join(); in realCompute()
223 return (new FibTask(n - 2)).compute() + f1.join(); in compute()
269 Integer r = f.join(); in testForkJoin()
387 Integer r = f.join(); in testAbnormalForkJoin()
484 Integer r = f.join(); in testCancelledForkJoin()
982 assertEquals(21, (int) f.join()); in testPeekNextLocalTaskAsync()
/libcore/ojluni/src/main/java/java/net/
DAbstractPlainDatagramSocketImpl.java179 protected void join(InetAddress inetaddr) throws IOException { in join() method in AbstractPlainDatagramSocketImpl
180 join(inetaddr, null); in join()
204 join(((InetSocketAddress)mcastaddr).getAddress(), netIf); in joinGroup()
207 protected abstract void join(InetAddress inetaddr, NetworkInterface netIf) in join() method in AbstractPlainDatagramSocketImpl
DPlainDatagramSocketImpl.java61 protected native void join(InetAddress inetaddr, NetworkInterface netIf) in join() method in PlainDatagramSocketImpl
/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()
/libcore/ojluni/src/test/
Dartrun58 function join { local IFS="$1"; shift; echo "$*"; } function
116 export BOOTCLASSPATH=$(join ":" "${BOOT_DEXJARS_ABS[@]}") # a,b,c
/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/ojluni/src/main/native/
DNet.c434 Java_sun_nio_ch_Net_joinOrDrop4(JNIEnv *env, jobject this, jboolean join, jobject fdo, in Java_sun_nio_ch_Net_joinOrDrop4() argument
445 opt = (join) ? IP_ADD_MEMBERSHIP : IP_DROP_MEMBERSHIP; in Java_sun_nio_ch_Net_joinOrDrop4()
464 opt = (join) ? IP_ADD_SOURCE_MEMBERSHIP : IP_DROP_SOURCE_MEMBERSHIP; in Java_sun_nio_ch_Net_joinOrDrop4()
472 if (join && (errno == ENOPROTOOPT)) in Java_sun_nio_ch_Net_joinOrDrop4()
514 Java_sun_nio_ch_Net_joinOrDrop6(JNIEnv *env, jobject this, jboolean join, jobject fdo, in Java_sun_nio_ch_Net_joinOrDrop6() argument
526 opt = (join) ? IPV6_ADD_MEMBERSHIP : IPV6_DROP_MEMBERSHIP; in Java_sun_nio_ch_Net_joinOrDrop6()
535 opt = (join) ? MCAST_JOIN_SOURCE_GROUP : MCAST_LEAVE_SOURCE_GROUP; in Java_sun_nio_ch_Net_joinOrDrop6()
543 if (join && (errno == ENOPROTOOPT)) in Java_sun_nio_ch_Net_joinOrDrop6()
/libcore/luni/src/test/java/libcore/java/net/
DServerSocketConcurrentCloseTest.java117 serverThread.join(); in checkConnectIterationAndCloseSocket()
118 clientThread.join(); in checkConnectIterationAndCloseSocket()
/libcore/ojluni/src/main/java/java/lang/
DApplicationShutdownHooks.java106 hook.join(); in runHooks()

12345