Home
last modified time | relevance | path

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

/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DIkeUdpEncapSocket.java60 UdpEncapsulationSocket udpEncapSocket, IkeSocketConfig sockConfig, Handler handler) { in IkeUdpEncapSocket() argument
62 mUdpEncapSocket = udpEncapSocket; in IkeUdpEncapSocket()
86 UdpEncapsulationSocket udpEncapSocket = ipsecManager.openUdpEncapsulationSocket(); in getIkeUdpEncapSocket() local
87 FileDescriptor fd = udpEncapSocket.getFileDescriptor(); in getIkeUdpEncapSocket()
90 ikeSocket = new IkeUdpEncapSocket(udpEncapSocket, sockConfig, new Handler(looper)); in getIkeUdpEncapSocket()
DSaRecord.java436 childSaRecordConfig.udpEncapSocket, in makeChildSaRecord()
447 childSaRecordConfig.udpEncapSocket, in makeChildSaRecord()
499 UdpEncapsulationSocket udpEncapSocket, in makeIpSecTransform() argument
517 if (udpEncapSocket != null && sourceAddress instanceof Inet6Address) { in makeIpSecTransform()
520 if (udpEncapSocket != null && sourceAddress instanceof Inet4Address) { in makeIpSecTransform()
522 udpEncapSocket, IkeSocket.SERVER_PORT_UDP_ENCAPSULATED); in makeIpSecTransform()
587 @Nullable public final UdpEncapsulationSocket udpEncapSocket; field in SaRecord.ChildSaRecordConfig
603 @Nullable UdpEncapsulationSocket udpEncapSocket, in ChildSaRecordConfig() argument
616 this.udpEncapSocket = udpEncapSocket; in ChildSaRecordConfig()
1025 @Nullable UdpEncapsulationSocket udpEncapSocket, in makeChildSaRecord() argument
[all …]
DChildSessionStateMachine.java384 UdpEncapsulationSocket udpEncapSocket, in handleFirstChildExchange() argument
391 this.mUdpEncapSocket = udpEncapSocket; in handleFirstChildExchange()
419 UdpEncapsulationSocket udpEncapSocket, in createChildSession() argument
425 this.mUdpEncapSocket = udpEncapSocket; in createChildSession()
468 UdpEncapsulationSocket udpEncapSocket) { in performMigration() argument
474 this.mUdpEncapSocket = udpEncapSocket; in performMigration()
495 performRekeyMigration(localAddress, remoteAddress, udpEncapSocket); in performMigration()
520 UdpEncapsulationSocket udpEncapSocket) { in performRekeyMigration() argument
524 this.mUdpEncapSocket = udpEncapSocket; in performRekeyMigration()
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DIpSecServiceRefcountedResourceTest.java268 RefcountedResource<IResource> udpEncapSocket = getTestRefcountedResource(); in testSampleUdpEncapTranform() local
270 getTestRefcountedResource(spi1, spi2, udpEncapSocket); in testSampleUdpEncapTranform()
276 udpEncapSocket.userRelease(); in testSampleUdpEncapTranform()
285 assertResourceState(udpEncapSocket, -1, 1, 2, 1, 1); in testSampleUdpEncapTranform()
295 RefcountedResource<IResource> udpEncapSocket = getTestRefcountedResource(); in testSampleDualTransformEncapSocket() local
297 getTestRefcountedResource(spi1, spi2, udpEncapSocket); in testSampleDualTransformEncapSocket()
299 getTestRefcountedResource(spi3, spi4, udpEncapSocket); in testSampleDualTransformEncapSocket()
305 udpEncapSocket.userRelease(); in testSampleDualTransformEncapSocket()
319 assertResourceState(udpEncapSocket, -1, 1, 3, 1, 1); in testSampleDualTransformEncapSocket()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DChildSessionStateMachineTest.java465 assertEquals(newEncapSocket, childSaRecordConfig.udpEncapSocket); in verifyChildSaRecordConfig()