Home
last modified time | relevance | path

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

/aosp12/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
H A DIkeUdpEncapSocketTest.java88 mSpyUdpEncapSocket = spy(ipSecManager.openUdpEncapsulationSocket()); in setUp()
94 when(ipSecService.openUdpEncapsulationSocket(anyInt(), anyObject())) in setUp()
96 mSpyDummyUdpEncapSocketOne = spy(dummyIpSecManager.openUdpEncapsulationSocket()); in setUp()
98 when(ipSecService.openUdpEncapsulationSocket(anyInt(), anyObject())) in setUp()
100 mSpyDummyUdpEncapSocketTwo = spy(dummyIpSecManager.openUdpEncapsulationSocket()); in setUp()
106 .openUdpEncapsulationSocket(); in setUp()
130 verify(mSpyIpSecManager).openUdpEncapsulationSocket(); in testGetAndCloseIkeUdpEncapSocketSameNetwork()
138 verify(mSpyIpSecManager, times(2)).openUdpEncapsulationSocket(); in testGetAndCloseIkeUdpEncapSocketDifferentNetwork()
177 doReturn(mSpyUdpEncapSocket).when(mSpyIpSecManager).openUdpEncapsulationSocket(); in checkReceiveIkePacket()
/aosp12/packages/modules/Connectivity/tests/unit/java/com/android/server/
H A DIpSecServiceTest.java202 mIpSecService.openUdpEncapsulationSocket(0, new Binder()); in testUdpEncapsulationSocketBinderDeath()
225 mIpSecService.openUdpEncapsulationSocket(0, new Binder()); in testOpenUdpEncapsulationSocketAfterClose()
246 mIpSecService.openUdpEncapsulationSocket(0, new Binder()); in testUdpEncapPortNotReleased()
266 mIpSecService.openUdpEncapsulationSocket(0, new Binder()); in testOpenUdpEncapsulationSocketOnRandomPort()
292 mIpSecService.openUdpEncapsulationSocket(0, new Binder()); in testOpenUdpEncapsulationSocketTwice()
298 mIpSecService.openUdpEncapsulationSocket(localport, new Binder()); in testOpenUdpEncapsulationSocketTwice()
477 mIpSecService.openUdpEncapsulationSocket(0, new Binder()); in testSocketResourceTrackerLimitation()
492 mIpSecService.openUdpEncapsulationSocket(0, new Binder()); in testSocketResourceTrackerLimitation()
502 extraUdpEncapSocket = mIpSecService.openUdpEncapsulationSocket(0, new Binder()); in testSocketResourceTrackerLimitation()
617 testIpSecService.openUdpEncapsulationSocket(0, new Binder());
[all …]
H A DIpSecServiceParameterizedTest.java418 IpSecUdpEncapResponse udpSock = mIpSecService.openUdpEncapsulationSocket(0, new Binder()); in testCreateTransportModeTransformWithEncap()
444 IpSecUdpEncapResponse udpSock = mIpSecService.openUdpEncapsulationSocket(0, new Binder()); in testCreateTunnelModeTransformWithEncap()
H A DConnectivityServiceTest.java5526 final UdpEncapsulationSocket testSocket = mIpSec.openUdpEncapsulationSocket(); in doTestNattSocketKeepalivesWithExecutor()
5683 final UdpEncapsulationSocket testSocket2 = mIpSec.openUdpEncapsulationSocket(); in doTestNattSocketKeepalivesWithExecutor()
5807 final UdpEncapsulationSocket testSocket = mIpSec.openUdpEncapsulationSocket(); in doTestNattSocketKeepalivesFdWithExecutor()
/aosp12/packages/modules/Connectivity/tests/unit/java/android/net/
H A DIpSecManagerTest.java190 when(mMockIpSecService.openUdpEncapsulationSocket(eq(TEST_UDP_ENCAP_PORT), anyObject())) in testOpenEncapsulationSocket()
194 mIpSecManager.openUdpEncapsulationSocket(TEST_UDP_ENCAP_PORT); in testOpenEncapsulationSocket()
239 when(mMockIpSecService.openUdpEncapsulationSocket(eq(0), anyObject())) in testOpenEncapsulationSocketOnRandomPort()
243 mIpSecManager.openUdpEncapsulationSocket(); in testOpenEncapsulationSocketOnRandomPort()
256 mIpSecManager.openUdpEncapsulationSocket(IpSecManager.INVALID_SECURITY_PARAMETER_INDEX); in testOpenEncapsulationSocketWithInvalidPort()
/aosp12/frameworks/base/core/java/android/net/
H A DIpSecManager.java569 mService.openUdpEncapsulationSocket(port, new Binder()); in UdpEncapsulationSocket()
676 public UdpEncapsulationSocket openUdpEncapsulationSocket(int port) in openUdpEncapsulationSocket() method in IpSecManager
710 public UdpEncapsulationSocket openUdpEncapsulationSocket() in openUdpEncapsulationSocket() method in IpSecManager
H A DIIpSecService.aidl40 IpSecUdpEncapResponse openUdpEncapsulationSocket(int port, in IBinder binder); in openUdpEncapsulationSocket() method
/aosp12/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/testutils/
H A DMockIpSecTestUtils.java63 when(mMockIpSecService.openUdpEncapsulationSocket(anyInt(), anyObject())) in MockIpSecTestUtils()
/aosp12/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
H A DIkeUdpEncapSocket.java86 UdpEncapsulationSocket udpEncapSocket = ipsecManager.openUdpEncapsulationSocket(); in getIkeUdpEncapSocket()
/aosp12/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
H A DIpSecManagerTunnelTest.java584 UdpEncapsulationSocket encapSocket = mISM.openUdpEncapsulationSocket()) {
704 UdpEncapsulationSocket encapSocket = mISM.openUdpEncapsulationSocket()) {
786 UdpEncapsulationSocket encapSocket = mISM.openUdpEncapsulationSocket()) {
H A DIpSecManagerTest.java500 try (IpSecManager.UdpEncapsulationSocket encapSocket = mISM.openUdpEncapsulationSocket(); in checkTransform()
653 try (IpSecManager.UdpEncapsulationSocket encapSocket = mISM.openUdpEncapsulationSocket()) { in testIkeOverUdpEncapSocket()
1501 encapSocket = mISM.openUdpEncapsulationSocket(port); in testOpenUdpEncapSocketSpecificPort()
1525 try (IpSecManager.UdpEncapsulationSocket encapSocket = mISM.openUdpEncapsulationSocket()) { in testOpenUdpEncapSocketRandomPort()
H A DConnectivityManagerTest.java1583 final UdpEncapsulationSocket nattSocket = mIpSec.openUdpEncapsulationSocket(); in createConcurrentNattSocketKeepalives()
/aosp12/frameworks/base/services/core/java/com/android/server/
H A DIpSecService.java1242 public synchronized IpSecUdpEncapResponse openUdpEncapsulationSocket(int port, IBinder binder) in openUdpEncapsulationSocket() method in IpSecService
/aosp12/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/aosp12/frameworks/base/core/api/
H A Dcurrent.txt26433 …NonNull public android.net.IpSecManager.UdpEncapsulationSocket openUdpEncapsulationSocket(int) thr…
26434 …NonNull public android.net.IpSecManager.UdpEncapsulationSocket openUdpEncapsulationSocket() throws…
/aosp12/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt35461 Landroid/net/IIpSecService$Stub$Proxy;->openUdpEncapsulationSocket(ILandroid/os/IBinder;)Landroid/n…
35490 Landroid/net/IIpSecService;->openUdpEncapsulationSocket(ILandroid/os/IBinder;)Landroid/net/IpSecUdp…
/aosp12/frameworks/base/services/
H A Dart-profile1887 HPLcom/android/server/IpSecService;->openUdpEncapsulationSocket(ILandroid/os/IBinder;)Landroid/net/…