HomeSort by relevance Sort by last modified time
    Searched refs:theSocket (Results 1 - 9 of 9) sorted by null

  /libcore/luni/src/test/java/libcore/java/net/
OldSocketTest.java 217 Socket theSocket = new Socket(InetAddress.getLocalHost(), sport, null, 0);
218 theSocket.setKeepAlive(true);
219 assertTrue("getKeepAlive false when it should be true", theSocket
221 theSocket.setKeepAlive(false);
222 assertFalse("getKeepAlive true when it should be False", theSocket
224 theSocket.close();
226 theSocket.setKeepAlive(false);
233 theSocket.getKeepAlive();
439 Socket theSocket = new Socket(InetAddress.getLocalHost(), sport, null, 0);
440 theSocket.setKeepAlive(true)
    [all...]
OldUnixSocketTest.java 87 Socket theSocket = new Socket();
89 theSocket.connect(new InetSocketAddress(InetAddress.getLocalHost(),
95 theSocket.close();
OldServerSocketTest.java 54 ServerSocket theSocket = new ServerSocket();
55 theSocket.setPerformancePreferences(connectionTime, latency, bandwidth);
59 theSocket.bind(theAddress);
60 int portNumber = theSocket.getLocalPort();
63 + theSocket.getLocalSocketAddress().toString()
66 portNumber)).toString(), theSocket
70 assertTrue("Server socket not bound when it should be:", theSocket
79 Socket servSock = theSocket.accept();
82 theSocket.close();
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
ServerSocketTest.java 397 ServerSocket theSocket = new ServerSocket();
400 theSocket.bind(theAddress);
401 int portNumber = theSocket.getLocalPort();
404 + theSocket.getLocalSocketAddress().toString()
407 portNumber)).toString(), theSocket
411 assertTrue("Server socket not bound when it should be:", theSocket
420 Socket servSock = theSocket.accept();
423 theSocket.close();
429 theSocket = new ServerSocket();
430 theSocket.bind(null)
    [all...]
DatagramSocketTest.java 354 DatagramSocket theSocket = new DatagramSocket();
356 theSocket.getPort());
360 theSocket.connect(InetAddress.getLocalHost(), portNumber);
361 assertEquals("getPort returned wrong value", portNumber, theSocket
618 DatagramSocket theSocket = new DatagramSocket((SocketAddress) null);
619 theSocket.bind(null);
620 assertNotNull(theSocket.getLocalSocketAddress());
621 theSocket.close();
641 DatagramSocket theSocket = new DatagramSocket((SocketAddress) null);
643 theSocket.bind(new mySocketAddress())
    [all...]
SocketTest.java 161 Socket theSocket = new Socket();
165 theSocket.bind(bogusAddress);
170 theSocket.close();
173 theSocket = new Socket();
174 theSocket.bind(new InetSocketAddress(InetAddress.getLocalHost(), 0));
175 int portNumber = theSocket.getLocalPort();
181 theSocket.getLocalSocketAddress());
193 theSocket.connect(boundAddress);
199 theSocket.close();
205 theSocket = new Socket()
    [all...]
SocketImplTest.java 44 MockSocketImpl theSocket = new MockSocketImpl();
45 theSocket.setPerformancePreference(1, 1, 1);
  /external/apache-harmony/luni/src/test/api/unix/org/apache/harmony/luni/tests/java/net/
UnixSocketTest.java 91 Socket theSocket = new Socket();
93 theSocket.connect(new InetSocketAddress(InetAddress.getLocalHost(),
99 theSocket.close();
  /hardware/ril/libril/
RilSocket.cpp 48 RilSocket *theSocket = (RilSocket *) param;
50 listenParam.socket = theSocket;
75 RilSocket *theSocket = sc->socketPtr;
78 theSocket->socketRequestsHandler(fd, flags, rs);

Completed in 489 milliseconds