Home
last modified time | relevance | path

Searched refs:ss2 (Results 1 – 5 of 5) sorted by relevance

/libcore/luni/src/test/java/libcore/java/net/
DOldServerSocketTest.java182 ServerSocket ss2 = new ServerSocket(); in test_LocalPort() local
183 ss2.bind(new InetSocketAddress("127.0.0.1", 4343)); in test_LocalPort()
184 assertEquals(ss2.getLocalPort(), 4343); in test_LocalPort()
185 ss2.close(); in test_LocalPort()
/libcore/luni/src/test/java/libcore/java/nio/
DOldAndroidNIOTest.java483 short[] ss2 = {10, 22, 30}; in shortBufferTest() local
485 sb.put(ss2, 1, 1); in shortBufferTest()
587 int[] ss2 = {10, 22, 30}; in intBufferTest() local
589 ib.put(ss2, 1, 1); in intBufferTest()
691 float[] ss2 = {10, 22, 30}; in floatBufferTest() local
693 fb.put(ss2, 1, 1); in floatBufferTest()
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DSignatureSpiTest.java50 MySignatureSpi2 ss2 = new MySignatureSpi2(); in testClone() local
52 ss2.clone(); in testClone()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DServerSocketTest.java238 ServerSocket ss2 = new ServerSocket(0); in test_accept() local
239 ss2.setSoTimeout(500); in test_accept()
242 ss2.accept(); in test_accept()
251 ss2.close(); in test_accept()
DSocketTest.java874 try (ServerSocket ss2 = new ServerSocket(0); in test_getOutputStream() argument
875 Socket s = new Socket("127.0.0.1", ss2.getLocalPort())) { in test_getOutputStream()
876 ss2.accept(); in test_getOutputStream()