OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:socketAddress
(Results
1 - 15
of
15
) sorted by null
/libcore/luni/src/test/java/libcore/java/net/
DatagramSocketTest.java
35
InetSocketAddress
socketAddress
= (InetSocketAddress) ds.getLocalSocketAddress();
36
assertEquals(ds.getLocalPort(),
socketAddress
.getPort());
37
assertEquals(ds.getLocalAddress(),
socketAddress
.getAddress());
InetSocketAddressTest.java
177
InetSocketAddress
socketAddress
= new InetSocketAddress(inetAddress, 1234);
178
assertEquals("127.0.0.1",
socketAddress
.getHostString());
179
assertEquals("localhost",
socketAddress
.getHostName());
180
assertEquals("localhost",
socketAddress
.getHostString());
183
socketAddress
= new InetSocketAddress(inetAddress, 1234);
184
assertEquals("127.0.0.1",
socketAddress
.getHostString());
185
assertEquals("localhost",
socketAddress
.getHostName());
186
assertEquals("localhost",
socketAddress
.getHostString());
ServerSocketConcurrentCloseTest.java
125
* Repeatedly tries to connect to and disconnect from a
SocketAddress
until
130
private final
SocketAddress
socketAddress
;
134
SocketAddress
socketAddress
, CountDownLatch shutdownLatch) {
135
this.
socketAddress
=
socketAddress
;
144
socket.connect(
socketAddress
, /* timeout (msec) */ 10);
OldSocketTest.java
32
import java.net.
SocketAddress
;
814
class mySocketAddress extends
SocketAddress
{
[
all
...]
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/
RecordingProxySelector.java
22
import java.net.
SocketAddress
;
45
@Override public void connectFailed(URI uri,
SocketAddress
sa, IOException ioe) {
46
InetSocketAddress
socketAddress
= (InetSocketAddress) sa;
48
String.format("%s %s:%d %s", uri,
socketAddress
.getHostName(),
socketAddress
.getPort(),
RouteSelectorTest.java
347
InetSocketAddress
socketAddress
= InetSocketAddress.createUnresolved("host", 1234);
348
assertEquals("host", RouteSelector.getHostString(
socketAddress
));
349
socketAddress
= InetSocketAddress.createUnresolved("127.0.0.1", 1234);
350
assertEquals("127.0.0.1", RouteSelector.getHostString(
socketAddress
));
353
socketAddress
= new InetSocketAddress(InetAddress.getByName("localhost"), 1234);
354
assertEquals("127.0.0.1", RouteSelector.getHostString(
socketAddress
));
355
socketAddress
= new InetSocketAddress(
357
assertEquals("127.0.0.1", RouteSelector.getHostString(
socketAddress
));
358
socketAddress
= new InetSocketAddress(
360
assertEquals("127.0.0.1", RouteSelector.getHostString(
socketAddress
));
[
all
...]
/libcore/luni/src/test/java/libcore/java/nio/channels/
DatagramChannelTest.java
188
InetSocketAddress
socketAddress
= new InetSocketAddress(Inet4Address.LOOPBACK, 0);
190
channel.bind(
socketAddress
);
191
assertEquals(
socketAddress
.getAddress(),
196
channel.bind(
socketAddress
);
201
socketAddress
= new InetSocketAddress(Inet4Address.LOOPBACK,
204
DatagramChannel.open().bind(
socketAddress
);
209
socketAddress
= new InetSocketAddress(Inet4Address.LOOPBACK, 0);
211
channel.bind(
socketAddress
);
216
InetSocketAddress
socketAddress
= new InetSocketAddress(Inet4Address.LOOPBACK, 0);
219
serverChannel.bind(
socketAddress
);
[
all
...]
SocketChannelTest.java
299
InetSocketAddress
socketAddress
= new InetSocketAddress(Inet4Address.LOOPBACK, 0);
301
sc.bind(
socketAddress
);
302
assertEquals(
socketAddress
.getAddress(),
307
sc.bind(
socketAddress
);
312
socketAddress
= new InetSocketAddress(Inet4Address.LOOPBACK,
315
SocketChannel.open().bind(
socketAddress
);
321
socketAddress
= new InetSocketAddress(Inet4Address.LOOPBACK, 0);
323
sc.bind(
socketAddress
);
/packages/apps/Email/provider_src/com/android/email/mail/transport/
MailTransport.java
38
import java.net.
SocketAddress
;
113
SocketAddress
socketAddress
= new InetSocketAddress(getHost(), getPort());
120
mSocket.connect(
socketAddress
, SOCKET_CONNECT_TIMEOUT);
/prebuilts/tools/common/m2/repository/org/apache/httpcomponents/httpcore/4.3.1/
httpcore-4.3.1.jar
/prebuilts/tools/common/m2/repository/org/apache/httpcomponents/httpcore/4.2.1/
httpcore-4.2.1.jar
/prebuilts/tools/common/m2/repository/org/apache/httpcomponents/httpcore/4.2.5/
httpcore-4.2.5.jar
/prebuilts/tools/common/m2/repository/com/squareup/okhttp/okhttp/2.5.0/
okhttp-2.5.0.jar
/prebuilts/eclipse/maven/apache-maven-3.2.1/lib/
wagon-http-2.6-shaded.jar
/packages/apps/TV/usbtuner/libs/
exoplayer_1.5.6.jar
Completed in 946 milliseconds