Home
last modified time | relevance | path

Searched refs:localSocket (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DIpSecAlgorithmImplTest.java161 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()
DIpSecManagerTest.java294 DatagramSocket localSocket; in testCreateTransform() local
301 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 …]
/packages/services/Car/service/src/com/android/car/
DCarBugreportManagerService.java304 LocalSocket localSocket = connectSocket(BUGREPORT_PROGRESS_SOCKET); in processBugreportSockets() local
305 if (localSocket == null) { in processBugreportSockets()
310 new BufferedReader(new InputStreamReader(localSocket.getInputStream()))) { in processBugreportSockets()
337 LocalSocket localSocket = connectSocket(remoteSocket); in copySocketToPfd() local
338 if (localSocket == null) { in copySocketToPfd()
344 DataInputStream in = new DataInputStream(localSocket.getInputStream()); in copySocketToPfd()