Searched refs:localSocket (Results 1 – 3 of 3) sorted by relevance
161 DatagramSocket localSocket = new DatagramSocket(0)) { in runTest()163 localSocket, IpSecManager.DIRECTION_IN, inTransform); in runTest()165 localSocket, IpSecManager.DIRECTION_OUT, outTransform); in runTest()171 testNetwork.bindSocket(localSocket); in runTest()172 localSocket.send(outPacket); in runTest()177 sIpSecManager.removeTransportModeTransforms(localSocket); in runTest()193 localSocket.getLocalPort(), in runTest()
294 DatagramSocket localSocket; in testCreateTransform() local301 localSocket = new DatagramSocket(0); in testCreateTransform()302 localPort = localSocket.getLocalPort(); in testCreateTransform()303 localSocket.setSoTimeout(200); in testCreateTransform()307 localSocket, IpSecManager.DIRECTION_IN, transform); in testCreateTransform()311 localSocket, IpSecManager.DIRECTION_OUT, transform); in testCreateTransform()314 localSocket.send(outPacket); in testCreateTransform()315 localSocket.receive(inPacket); in testCreateTransform()318 mISM.removeTransportModeTransforms(localSocket); in testCreateTransform()319 localSocket.close(); in testCreateTransform()[all …]
304 LocalSocket localSocket = connectSocket(BUGREPORT_PROGRESS_SOCKET); in processBugreportSockets() local305 if (localSocket == null) { in processBugreportSockets()310 new BufferedReader(new InputStreamReader(localSocket.getInputStream()))) { in processBugreportSockets()337 LocalSocket localSocket = connectSocket(remoteSocket); in copySocketToPfd() local338 if (localSocket == null) { in copySocketToPfd()344 DataInputStream in = new DataInputStream(localSocket.getInputStream()); in copySocketToPfd()