OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:getLocalSocketAddress
(Results
1 - 25
of
68
) sorted by null
1
2
3
/libcore/luni/src/test/java/libcore/java/nio/channels/
SocketChannelTest.java
57
SocketChannel sc = SocketChannel.open(ss.
getLocalSocketAddress
());
102
SocketChannel sc = SocketChannel.open(ss.
getLocalSocketAddress
());
123
SocketChannel sc = SocketChannel.open(ss.
getLocalSocketAddress
());
144
assertNull(sc.socket().
getLocalSocketAddress
());
152
assertNull(socket.
getLocalSocketAddress
());
172
assertNull(sc.socket().
getLocalSocketAddress
());
182
assertNull(sc.socket().
getLocalSocketAddress
());
185
assertNull(socket.
getLocalSocketAddress
());
191
InetSocketAddress actualAddr = (InetSocketAddress) sc.socket().
getLocalSocketAddress
();
192
assertEquals(actualAddr, socket.
getLocalSocketAddress
());
[
all
...]
ServerSocketChannelTest.java
50
assertNull(ssc.socket().
getLocalSocketAddress
());
56
assertNull(socket.
getLocalSocketAddress
());
74
assertNull(ssc.socket().
getLocalSocketAddress
());
83
InetSocketAddress boundAddress = (InetSocketAddress) ssc.socket().
getLocalSocketAddress
();
109
InetSocketAddress boundAddress = (InetSocketAddress) ssc.socket().
getLocalSocketAddress
();
DatagramChannelTest.java
38
dc.connect(ds.
getLocalSocketAddress
());
79
assertNull(socket.
getLocalSocketAddress
());
120
InetSocketAddress actualAddress = (InetSocketAddress) dc.socket().
getLocalSocketAddress
();
149
InetSocketAddress actualAddress = (InetSocketAddress) dc.socket().
getLocalSocketAddress
();
SelectorTest.java
45
sc.connect(ssc.socket().
getLocalSocketAddress
());
63
sc.connect(ss.
getLocalSocketAddress
());
157
sc.connect(ssc.socket().
getLocalSocketAddress
());
OldSocketChannelTest.java
58
this.localAddr1 = (InetSocketAddress) server1.
getLocalSocketAddress
();
301
sc.connect(ssc.socket().
getLocalSocketAddress
());
317
sc.connect(ssc.socket().
getLocalSocketAddress
());
/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
());
SocketTest.java
113
InetSocketAddress listenAddress = (InetSocketAddress) in.socket().
getLocalSocketAddress
();
115
InetSocketAddress outLocalAddress = (InetSocketAddress) out.socket().
getLocalSocketAddress
();
116
InetSocketAddress inLocalAddress = (InetSocketAddress) in.socket().
getLocalSocketAddress
();
156
assertEquals(listenAddress, ssc.socket().
getLocalSocketAddress
());
161
(InetSocketAddress) in.socket().
getLocalSocketAddress
();
166
(InetSocketAddress) out.socket().
getLocalSocketAddress
();
328
assertNull(s.
getLocalSocketAddress
());
342
InetSocketAddress boundAddress = (InetSocketAddress) s.
getLocalSocketAddress
();
351
InetSocketAddress localAddressAfterClose = (InetSocketAddress) s.
getLocalSocketAddress
();
OldSocketTest.java
255
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
...]
OldServerSocketTest.java
63
+ theSocket.
getLocalSocketAddress
().toString()
67
.
getLocalSocketAddress
().equals(
/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
77
channel1Address = (InetSocketAddress) channel1.socket().
getLocalSocketAddress
();
78
channel2Address = (InetSocketAddress) channel2.socket().
getLocalSocketAddress
();
83
datagramSocket1Address = (InetSocketAddress) datagramSocket1.
getLocalSocketAddress
();
84
datagramSocket2Address = (InetSocketAddress) datagramSocket2.
getLocalSocketAddress
();
275
assertNull(s1.
getLocalSocketAddress
());
327
assertNotNull(s.
getLocalSocketAddress
());
[
all
...]
SocketChannelTest.java
157
assertNull(channel1.socket().
getLocalSocketAddress
());
161
InetSocketAddress localAddress = (InetSocketAddress) channel1.socket().
getLocalSocketAddress
();
167
assertNull(channel1.socket().
getLocalSocketAddress
());
191
InetSocketAddress address = (InetSocketAddress) portPickingChannel.socket().
getLocalSocketAddress
();
202
InetSocketAddress boundAddress = (InetSocketAddress) channel1.socket().
getLocalSocketAddress
();
209
assertNull(sc.socket().
getLocalSocketAddress
());
214
assertNotNull(sc.socket().
getLocalSocketAddress
());
220
sc.socket().
getLocalSocketAddress
();
470
assertNotNull(socket.
getLocalSocketAddress
());
475
assertNull(socket.
getLocalSocketAddress
());
[
all
...]
UnixSelectorTest.java
80
boolean isConnected = socketChannel.connect(server.socket.
getLocalSocketAddress
());
/libcore/support/src/test/java/tests/net/
StuckServer.java
47
this.address = (InetSocketAddress) serverSocket.
getLocalSocketAddress
();
69
public InetSocketAddress
getLocalSocketAddress
() {
/frameworks/base/core/java/android/net/
LocalServerSocket.java
78
public LocalSocketAddress
getLocalSocketAddress
()
LocalSocket.java
162
public LocalSocketAddress
getLocalSocketAddress
() {
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
ServerSocketTest.java
390
+ theSocket.
getLocalSocketAddress
().toString()
394
.
getLocalSocketAddress
().equals(
425
SocketAddress localAddress = theSocket.
getLocalSocketAddress
();
474
+ theSocket.
getLocalSocketAddress
().toString()
478
.
getLocalSocketAddress
().equals(
486
SocketAddress localAddress = theSocket.
getLocalSocketAddress
();
508
SocketAddress inuseAddress = theSocket.
getLocalSocketAddress
();
547
localAddress = theSocket.
getLocalSocketAddress
();
569
* java.net.ServerSocket#
getLocalSocketAddress
()
578
+ theSocket.
getLocalSocketAddress
().toString(
[
all
...]
/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
30
assertNotNull(localServerSocket.
getLocalSocketAddress
());
LocalSocketTest.java
121
assertEquals(addr, socket.
getLocalSocketAddress
());
/cts/tests/tests/security/src/android/security/cts/
OpenSSLEarlyCCSTest.java
183
final SocketAddress serverAddress = getServerListeningSocket().
getLocalSocketAddress
();
187
final SocketAddress mitmAddress = getMitmListeningSocket().
getLocalSocketAddress
();
246
Log.i(TAG, "Client connected to server from " + socket.
getLocalSocketAddress
());
341
Log.i(TAG, "MiTM connected to server from " + serverSocket.
getLocalSocketAddress
());
/libcore/luni/src/main/java/java/net/
ServerSocket.java
352
public SocketAddress
getLocalSocketAddress
() {
/libcore/luni/src/test/java/libcore/java/io/
InterruptedStreamTest.java
114
clientSocketChannel.connect(serverSocketChannel.socket().
getLocalSocketAddress
());
Completed in 258 milliseconds
1
2
3