Home
last modified time | relevance | path

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

123456

/libcore/luni/src/test/java/libcore/java/nio/channels/
DDatagramChannelMulticastTest.java163 dc.join(GOOD_MULTICAST_IPv4, ipv4NetworkInterface); in test_joinAnySource_afterClose()
175 dc.join(null, ipv4NetworkInterface); in test_joinAnySource_nullGroupAddress()
188 dc.join(GOOD_MULTICAST_IPv4, null); in test_joinAnySource_nullNetworkInterface()
201 dc.join(UNICAST_IPv4_1, ipv4NetworkInterface); in test_joinAnySource_nonMulticastGroupAddress_IPv4()
214 dc.join(UNICAST_IPv6_1, ipv6NetworkInterface); in test_joinAnySource_nonMulticastGroupAddress_IPv6()
237 receiverChannel.join(group, networkInterface); in check_joinAnySource()
265 dc.join(groupAddress, ipv4NetworkInterface); in test_joinAnySource_processLimit()
283 MembershipKey key = dc.join(GOOD_MULTICAST_IPv4, ipv4NetworkInterface); in test_joinAnySource_blockLimit()
306 dc.join(GOOD_MULTICAST_IPv4, ipv4NetworkInterface); in test_joinAnySource_doesNotCauseBind()
359 dc.join(group, thisInterface); in test_joinAnySource_networkInterfaces()
[all …]
/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()
185 st.join(); in test_ConstructorLjava_lang_ThreadGroupLjava_lang_RunnableLjava_lang_String()
232 t.join(); in test_activeCount()
252 st.join(); in test_checkAccess()
348 firstOne.join(); in test_enumerate$Ljava_lang_Thread()
349 secondOne.join(); in test_enumerate$Ljava_lang_Thread()
362 t.join(); in test_enumerate$Ljava_lang_Thread()
419 st.join(); in test_getThreadGroup()
538 st.join(); in test_isAlive()
556 st.join(); in test_isDaemon()
[all …]
DThreadLocalTest.java90 t.join(); in test_get()
140 t.join(); in test_setLjava_lang_Object()
183 t.join(); in test_withInitial()
/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()
DStringTest.java742 assertEquals("", String.join("-")); in testJoin_CharSequenceArray()
743 assertEquals("", String.join("-", "")); in testJoin_CharSequenceArray()
744 assertEquals("foo", String.join("-", "foo")); in testJoin_CharSequenceArray()
745 assertEquals("foo---bar---boo", String.join("---", "foo", "bar", "boo")); in testJoin_CharSequenceArray()
746 assertEquals("foobarboo", String.join("", "foo", "bar", "boo")); in testJoin_CharSequenceArray()
747 assertEquals("null-null", String.join("-", null, null)); in testJoin_CharSequenceArray()
748 assertEquals("¯\\_(ツ)_/¯", String.join("(ツ)", "¯\\_", "_/¯")); in testJoin_CharSequenceArray()
753 String.join(null, "foo", "bar"); in testJoin_CharSequenceArray_NPE()
760 assertEquals("", String.join("-", iterable)); in testJoin_Iterable()
763 assertEquals("foo", String.join("-", iterable)); in testJoin_Iterable()
[all …]
DThreadTest.java203 t1.join(); in testGetStackTrace()
215 t2.join(); in testGetAllStackTracesIncludesAllGroups()
260 watchdog.join(); in testParkUntilWithUnderflowValue()
290 thread.join(); in testThreadDoubleStart()
303 thread.join(); in testThreadRestart()
DEnumTest.java113 t1.join(); in testDeadlock()
119 t2.join(); in testDeadlock()
/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/ojluni/src/main/java/java/nio/channels/
DMulticastChannel.java180 MembershipKey join(InetAddress group, NetworkInterface interf) in join() method
228 MembershipKey join(InetAddress group, NetworkInterface interf, InetAddress source) in join() method
/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/json/src/test/java/libcore/org/json/
DJSONArrayTest.java38 assertEquals("", array.join(" AND ")); in testEmptyArray()
264 array.join(" ")); in testStrings()
306 assertEquals("null", array.join(" & ")); in testJoin()
308 assertEquals("null & \"\\\"\"", array.join(" & ")); in testJoin()
310 assertEquals("null & \"\\\"\" & 5", array.join(" & ")); in testJoin()
312 assertEquals("null & \"\\\"\" & 5 & true", array.join(" & ")); in testJoin()
314 assertEquals("null & \"\\\"\" & 5 & true & [true,false]", array.join(" & ")); in testJoin()
316 assertEquals("null & \"\\\"\" & 5 & true & [true,false] & {\"x\":6}", array.join(" & ")); in testJoin()
321 assertEquals("5null6", array.join(null)); in testJoinWithNull()
326 assertEquals("5\"6", array.join("\"")); in testJoinWithSpecialCharacters()
/libcore/tools/upstream/
Dupstream-diff88 [d for d in os.listdir(upstreams) if os.path.isdir(os.path.join(upstreams, d))]
92 'available repositories: ' + ' '.join(repositories) + '.')
/libcore/luni/src/test/java/libcore/java/util/
DAbstractCollectionTest.java57 reader.join(); in test_toArray()
58 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/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/main/java/java/net/
DAbstractPlainDatagramSocketImpl.java198 protected void join(InetAddress inetaddr) throws IOException { in join() method in AbstractPlainDatagramSocketImpl
199 join(inetaddr, null); in join()
223 join(((InetSocketAddress)mcastaddr).getAddress(), netIf); in joinGroup()
226 protected abstract void join(InetAddress inetaddr, NetworkInterface netIf) in join() method in AbstractPlainDatagramSocketImpl
/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.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 …]
/libcore/ojluni/src/test/
Dartrun58 function join { local IFS="$1"; shift; echo "$*"; } function
115 export BOOTCLASSPATH=$(join ":" "${BOOT_DEXJARS_ABS[@]}") # a,b,c
/libcore/ojluni/annotations/mmodule/java/lang/
DThread.annotated.java110 public final void join(long millis) throws java.lang.InterruptedException { throw new RuntimeExcept… in join() method in Thread
112 public final void join(long millis, int nanos) throws java.lang.InterruptedException { throw new Ru… in join() method in Thread
114 public final void join() throws java.lang.InterruptedException { throw new RuntimeException("Stub!"… in join() method in Thread
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
DMockDatagramChannel.java120 public MembershipKey join(InetAddress group, NetworkInterface interf) { in join() method in MockDatagramChannel
125 public MembershipKey join(InetAddress group, NetworkInterface interf, InetAddress source) in join() method in MockDatagramChannel
/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()

123456