Home
last modified time | relevance | path

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

/packages/modules/Connectivity/tests/unit/java/com/android/server/
DIpSecServiceTest.java473 List<IpSecUdpEncapResponse> openUdpEncapSockets = new ArrayList<IpSecUdpEncapResponse>(); in testSocketResourceTrackerLimitation() local
482 openUdpEncapSockets.add(newUdpEncapSocket); in testSocketResourceTrackerLimitation()
485 assertTrue("No UDP encap socket was open", !openUdpEncapSockets.isEmpty()); in testSocketResourceTrackerLimitation()
488 openUdpEncapSockets.size() < MAX_NUM_ENCAP_SOCKETS); in testSocketResourceTrackerLimitation()
497 mIpSecService.closeUdpEncapsulationSocket(openUdpEncapSockets.get(0).resourceId); in testSocketResourceTrackerLimitation()
498 openUdpEncapSockets.get(0).fileDescriptor.close(); in testSocketResourceTrackerLimitation()
499 openUdpEncapSockets.remove(0); in testSocketResourceTrackerLimitation()
505 openUdpEncapSockets.add(extraUdpEncapSocket); in testSocketResourceTrackerLimitation()
508 for (IpSecUdpEncapResponse openSocket : openUdpEncapSockets) { in testSocketResourceTrackerLimitation()