HomeSort by relevance Sort by last modified time
    Searched refs:getLocalSocketAddress (Results 1 - 25 of 86) sorted by null

1 2 3 4

  /libcore/luni/src/test/java/libcore/java/net/
ServerSocketTest.java 55 assertNull(ss.getLocalSocketAddress());
67 InetSocketAddress boundAddress = (InetSocketAddress) ss.getLocalSocketAddress();
75 InetSocketAddress localAddressAfterClose = (InetSocketAddress) ss.getLocalSocketAddress();
ConcurrentCloseTest.java 58 s.connect(ss.getLocalSocketAddress());
73 s.connect(ss.getLocalSocketAddress(), 3600 * 1000);
89 s.connect(ss.getLocalSocketAddress());
109 s.connect(ss.getLocalSocketAddress());
124 s.connect(ss.getLocalSocketAddress());
192 s.connect(ss.getLocalSocketAddress());
236 public SocketAddress getLocalSocketAddress() {
237 return ss.getLocalSocketAddress();
DatagramSocketTest.java 35 InetSocketAddress socketAddress = (InetSocketAddress) ds.getLocalSocketAddress();
56 assertNull(ds.getLocalSocketAddress());
OldSocketTest.java 257 assertTrue("ANY address not IPv6: " + s.getLocalSocketAddress(),
662 s.getLocalSocketAddress());
670 theSocket.getLocalSocketAddress());
675 theSocket.getLocalSocketAddress());
682 assertTrue("ANY address not IPv6: " + s.getLocalSocketAddress(),
683 ((InetSocketAddress) s.getLocalSocketAddress()).getAddress() instanceof Inet6Address);
689 assertTrue("ANY address not IPv6: " + s.getLocalSocketAddress(),
690 ((InetSocketAddress) s.getLocalSocketAddress()).getAddress() instanceof Inet6Address);
700 + s.getLocalSocketAddress().toString(),
743 theSocket.connect(serverSocket.getLocalSocketAddress());
    [all...]
SocketTest.java 122 InetSocketAddress listenAddress = (InetSocketAddress) in.socket().getLocalSocketAddress();
124 InetSocketAddress outLocalAddress = (InetSocketAddress) out.socket().getLocalSocketAddress();
125 InetSocketAddress inLocalAddress = (InetSocketAddress) in.socket().getLocalSocketAddress();
165 assertEquals(listenAddress, ssc.socket().getLocalSocketAddress());
170 (InetSocketAddress) in.socket().getLocalSocketAddress();
175 (InetSocketAddress) out.socket().getLocalSocketAddress();
337 assertNull(s.getLocalSocketAddress());
351 InetSocketAddress boundAddress = (InetSocketAddress) s.getLocalSocketAddress();
360 InetSocketAddress localAddressAfterClose = (InetSocketAddress) s.getLocalSocketAddress();
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
ServerSocketChannelTest.java 117 assertNull(ssc.socket().getLocalSocketAddress());
121 InetSocketAddress localAddress = (InetSocketAddress) ssc.socket().getLocalSocketAddress();
136 ssc.socket().bind(portHog.socket().getLocalSocketAddress());
163 InetSocketAddress address = (InetSocketAddress) portPickingChannel.socket().getLocalSocketAddress();
173 InetSocketAddress boundAddress = (InetSocketAddress) ssc.socket().getLocalSocketAddress();
182 assertNull(ssc.socket().getLocalSocketAddress());
185 assertNull(socket.getLocalSocketAddress());
191 InetSocketAddress actualAddr = (InetSocketAddress) ssc.socket().getLocalSocketAddress();
192 assertEquals(actualAddr, socket.getLocalSocketAddress());
205 assertNull(ssc.socket().getLocalSocketAddress());
    [all...]
DatagramChannelTest.java 81 channel1Address = (InetSocketAddress) channel1.socket().getLocalSocketAddress();
82 channel2Address = (InetSocketAddress) channel2.socket().getLocalSocketAddress();
87 datagramSocket1Address = (InetSocketAddress) datagramSocket1.getLocalSocketAddress();
88 datagramSocket2Address = (InetSocketAddress) datagramSocket2.getLocalSocketAddress();
279 assertNull(s1.getLocalSocketAddress());
331 assertNotNull(s.getLocalSocketAddress());
    [all...]
SocketChannelTest.java 160 assertNull(channel1.socket().getLocalSocketAddress());
164 InetSocketAddress localAddress = (InetSocketAddress) channel1.socket().getLocalSocketAddress();
170 assertNull(channel1.socket().getLocalSocketAddress());
194 InetSocketAddress address = (InetSocketAddress) portPickingChannel.socket().getLocalSocketAddress();
205 InetSocketAddress boundAddress = (InetSocketAddress) channel1.socket().getLocalSocketAddress();
212 assertNull(sc.socket().getLocalSocketAddress());
217 assertNotNull(sc.socket().getLocalSocketAddress());
223 sc.socket().getLocalSocketAddress();
473 assertNotNull(socket.getLocalSocketAddress());
478 assertNull(socket.getLocalSocketAddress());
    [all...]
  /libcore/luni/src/test/java/libcore/java/nio/channels/
SocketChannelTest.java 46 SocketChannel sc = SocketChannel.open(ss.getLocalSocketAddress());
95 SocketChannel sc = SocketChannel.open(ss.getLocalSocketAddress());
116 SocketChannel sc = SocketChannel.open(ss.getLocalSocketAddress());
137 assertNull(sc.socket().getLocalSocketAddress());
145 assertNull(socket.getLocalSocketAddress());
165 assertNull(sc.socket().getLocalSocketAddress());
175 assertNull(sc.socket().getLocalSocketAddress());
178 assertNull(socket.getLocalSocketAddress());
184 InetSocketAddress actualAddr = (InetSocketAddress) sc.socket().getLocalSocketAddress();
185 assertEquals(actualAddr, socket.getLocalSocketAddress());
    [all...]
ServerSocketChannelTest.java 53 assertNull(ssc.socket().getLocalSocketAddress());
59 assertNull(socket.getLocalSocketAddress());
77 assertNull(ssc.socket().getLocalSocketAddress());
86 InetSocketAddress boundAddress = (InetSocketAddress) ssc.socket().getLocalSocketAddress();
112 InetSocketAddress boundAddress = (InetSocketAddress) ssc.socket().getLocalSocketAddress();
DatagramChannelTest.java 43 dc.connect(ds.getLocalSocketAddress());
84 assertNull(socket.getLocalSocketAddress());
125 InetSocketAddress actualAddress = (InetSocketAddress) dc.socket().getLocalSocketAddress();
154 InetSocketAddress actualAddress = (InetSocketAddress) dc.socket().getLocalSocketAddress();
SelectorTest.java 45 sc.connect(ssc.socket().getLocalSocketAddress());
63 sc.connect(ss.getLocalSocketAddress());
138 sc.connect(ssc.socket().getLocalSocketAddress());
OldSocketChannelTest.java 60 this.localAddr1 = (InetSocketAddress) server1.getLocalSocketAddress();
303 sc.connect(ssc.socket().getLocalSocketAddress());
319 sc.connect(ssc.socket().getLocalSocketAddress());
  /libcore/support/src/test/java/tests/net/
StuckServer.java 61 this.address = (InetSocketAddress) serverSocket.getLocalSocketAddress();
78 public InetSocketAddress getLocalSocketAddress() {
  /frameworks/base/core/java/android/net/
LocalServerSocket.java 74 public LocalSocketAddress getLocalSocketAddress()
LocalSocket.java 163 public LocalSocketAddress getLocalSocketAddress() {
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
ServerSocketTest.java 404 + theSocket.getLocalSocketAddress().toString()
408 .getLocalSocketAddress().equals(
439 SocketAddress localAddress = theSocket.getLocalSocketAddress();
488 + theSocket.getLocalSocketAddress().toString()
492 .getLocalSocketAddress().equals(
500 SocketAddress localAddress = theSocket.getLocalSocketAddress();
522 SocketAddress inuseAddress = theSocket.getLocalSocketAddress();
561 localAddress = theSocket.getLocalSocketAddress();
583 * java.net.ServerSocket#getLocalSocketAddress()
592 + theSocket.getLocalSocketAddress().toString(
    [all...]
  /libcore/ojluni/src/main/java/sun/security/ssl/
BaseSSLSocketImpl.java 124 * @see java.net.Socket#getLocalSocketAddress
126 public SocketAddress getLocalSocketAddress() {
128 return super.getLocalSocketAddress();
130 return self.getLocalSocketAddress();
  /external/conscrypt/src/main/java/org/conscrypt/
OpenSSLSocketImplWrapper.java 64 public SocketAddress getLocalSocketAddress() {
65 return socket.getLocalSocketAddress();
  /cts/tests/tests/net/src/android/net/cts/
LocalServerSocketTest.java 32 assertNotNull(localServerSocket.getLocalSocketAddress());
  /external/jetty/src/java/org/eclipse/jetty/io/bio/
SocketEndPoint.java 49 _local=(InetSocketAddress)_socket.getLocalSocketAddress();
63 _local=(InetSocketAddress)_socket.getLocalSocketAddress();
  /cts/tests/tests/security/src/android/security/cts/
OpenSSLEarlyCCSTest.java 181 final SocketAddress serverAddress = getServerListeningSocket().getLocalSocketAddress();
185 final SocketAddress mitmAddress = getMitmListeningSocket().getLocalSocketAddress();
244 Log.i(TAG, "Client connected to server from " + socket.getLocalSocketAddress());
339 Log.i(TAG, "MiTM connected to server from " + serverSocket.getLocalSocketAddress());
  /external/jacoco/org.jacoco.agent.rt.test/src/org/jacoco/agent/rt/internal/output/
MockServerSocket.java 137 public SocketAddress getLocalSocketAddress() {
MockSocketConnection.java 194 public SocketAddress getLocalSocketAddress() {
  /external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DelegatingSSLSocket.java 208 @Override public SocketAddress getLocalSocketAddress() {
209 return delegate.getLocalSocketAddress();

Completed in 609 milliseconds

1 2 3 4