Home
last modified time | relevance | path

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

/packages/modules/IPsec/tests/cts/src/android/ipsec/ike/cts/
DIkeSessionRekeyTest.java152 mTunNetworkContext.tunUtils.injectPacket( in testRekeyIke()
154 mTunNetworkContext.tunUtils.awaitResp( in testRekeyIke()
156 mTunNetworkContext.tunUtils.injectPacket( in testRekeyIke()
158 mTunNetworkContext.tunUtils.awaitResp( in testRekeyIke()
166 mTunNetworkContext.tunUtils.injectPacket(buildInboundPkt(localRemotePorts, deleteIkeReq)); in testRekeyIke()
167 mTunNetworkContext.tunUtils.awaitResp( in testRekeyIke()
241 mTunNetworkContext.tunUtils.injectPacket( in testRekeyTransportModeChildSa()
243 mTunNetworkContext.tunUtils.awaitResp( in testRekeyTransportModeChildSa()
245 mTunNetworkContext.tunUtils.injectPacket( in testRekeyTransportModeChildSa()
247 mTunNetworkContext.tunUtils.awaitResp( in testRekeyTransportModeChildSa()
[all …]
DIkeSessionMschapV2Test.java174 mTunNetworkContext.tunUtils.awaitReqAndInjectResp( in testIkeSessionSetupAndChildSessionSetupWithTransportMode()
180 mTunNetworkContext.tunUtils.awaitReqAndInjectResp( in testIkeSessionSetupAndChildSessionSetupWithTransportMode()
187 mTunNetworkContext.tunUtils.awaitReqAndInjectResp( in testIkeSessionSetupAndChildSessionSetupWithTransportMode()
192 mTunNetworkContext.tunUtils.awaitReqAndInjectResp( in testIkeSessionSetupAndChildSessionSetupWithTransportMode()
197 mTunNetworkContext.tunUtils.awaitReqAndInjectResp( in testIkeSessionSetupAndChildSessionSetupWithTransportMode()
DIkeSessionMobikeTest.java170 mSecondaryTunNetworkContext.tunUtils.awaitReqAndInjectResp( in testMigrateNetworksWithoutXfrmMigrate()
218 tunNetworkContext.tunUtils.awaitReqAndInjectResp( in setNetworkAndVerifyConnectionInfoChange()
240 tunNetworkContext.tunUtils.awaitReqAndInjectResp( in injectCreateChildRespAndVerifyTransformsMigrated()
260 tunNetworkContext.tunUtils.awaitReqAndInjectResp( in injectDeleteChildRespAndVerifyTransformsDeleted()
366 mSecondaryTunNetworkContext.tunUtils.awaitReqAndInjectResp( in testSetNetworkWithoutMobikeEnabled()
DIkeSessionPskTest.java122 mTunNetworkContext.tunUtils.awaitReqAndInjectResp( in testIkeSessionSetupAndChildSessionSetupWithTunnelMode()
142 mTunNetworkContext.tunUtils.awaitReqAndInjectResp( in testIkeSessionSetupAndChildSessionSetupWithTunnelMode()
323 mTunNetworkContext.tunUtils.awaitReqAndInjectResp( in verifyIkeInitFail()
DIkeTestNetworkBase.java75 public final IkeTunUtils tunUtils; field in IkeTestNetworkBase.TunNetworkContext
111 tunUtils = new IkeTunUtils(tunFd); in TunNetworkContext()
DIkeSessionTestBase.java263 mTunNetworkContext.tunUtils.awaitReqAndInjectResp( in performSetupIkeAndFirstChildBlocking()
271 .tunUtils in performSetupIkeAndFirstChildBlocking()
288 mTunNetworkContext.tunUtils.awaitReqAndInjectResp( in performCloseIkeBlocking()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DIkev2VpnTest.java397 private void checkStartStopVpnProfileBuildsNetworks(IkeTunUtils tunUtils, boolean testIpv6) in checkStartStopVpnProfileBuildsNetworks() argument
415 tunUtils.awaitReqAndInjectResp(IKE_INITIATOR_SPI, expectedMsgId++, false /* isEncap */, in checkStartStopVpnProfileBuildsNetworks()
417 tunUtils.awaitReqAndInjectResp(IKE_INITIATOR_SPI, expectedMsgId++, hasNat /* isEncap */, in checkStartStopVpnProfileBuildsNetworks()
455 final IkeTunUtils tunUtils = new IkeTunUtils(testIface.getFileDescriptor()); in runTest() local
457 checkStartStopVpnProfileBuildsNetworks(tunUtils, mTestIpv6Only); in runTest()
DIpSecManagerTunnelTest.java332 Network ipsecNetwork, IpSecTunnelInterface tunnelIface, TunUtils tunUtils) in getIpSecTunnelTestRunnable()
352 tunUtils.awaitEspPacketNoPlaintext( in getIpSecTunnelTestRunnable()
381 Network ipsecNetwork, IpSecTunnelInterface tunnelIface, TunUtils tunUtils)
395 tunUtils.reflectPackets();
426 Network ipsecNetwork, IpSecTunnelInterface tunnelIface, TunUtils tunUtils)
463 tunUtils.injectPacket(pkt);
503 Network ipsecNetwork, IpSecTunnelInterface tunnelIface, TunUtils tunUtils)
558 TunUtils tunUtils,
625 .run(ipsecNetwork, tunnelIface, tunUtils);
DIpSecAlgorithmImplTest.java135 final TunUtils tunUtils = new TunUtils(testIface.getFileDescriptor()); in runTest() local
174 tunUtils.awaitEspPacket(outSpi.getSpi(), false /* useEncap */); in runTest()