Home
last modified time | relevance | path

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

/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/testutils/
DMockIpSecTestUtils.java40 public final class MockIpSecTestUtils { class
51 private MockIpSecTestUtils() throws Exception { in MockIpSecTestUtils() method in MockIpSecTestUtils
72 public static MockIpSecTestUtils setUpMockIpSec() throws Exception { in setUpMockIpSec()
73 return new MockIpSecTestUtils(); in setUpMockIpSec()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DIkeUdpEncapSocketTest.java49 import com.android.internal.net.ipsec.ike.testutils.MockIpSecTestUtils;
78 MockIpSecTestUtils mockIpSecTestUtils = MockIpSecTestUtils.setUpMockIpSec(); in setUp()
83 .thenReturn(MockIpSecTestUtils.buildDummyIpSecUdpEncapResponse(12345)); in setUp()
87 .thenReturn(MockIpSecTestUtils.buildDummyIpSecUdpEncapResponse(23456)); in setUp()
DSaRecordTest.java56 import com.android.internal.net.ipsec.ike.testutils.MockIpSecTestUtils;
234 MockIpSecTestUtils mockIpSecTestUtils = MockIpSecTestUtils.setUpMockIpSec(); in testMakeChildSaRecord()
241 .thenReturn(MockIpSecTestUtils.buildDummyIpSecSpiResponse(FIRST_CHILD_INIT_SPI)); in testMakeChildSaRecord()
244 .thenReturn(MockIpSecTestUtils.buildDummyIpSecSpiResponse(FIRST_CHILD_RESP_SPI)); in testMakeChildSaRecord()
DIkeSessionTestBase.java44 import com.android.internal.net.ipsec.ike.testutils.MockIpSecTestUtils;
63 protected MockIpSecTestUtils mMockIpSecTestUtils;
75 mMockIpSecTestUtils = MockIpSecTestUtils.setUpMockIpSec(); in setUp()
DChildSessionStateMachineTest.java121 import com.android.internal.net.ipsec.ike.testutils.MockIpSecTestUtils;
314 .thenReturn(MockIpSecTestUtils.buildDummyIpSecSpiResponse(spiRequested)); in setUpSpiResource()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeSaPayloadTest.java64 import com.android.internal.net.ipsec.ike.testutils.MockIpSecTestUtils;
164 private MockIpSecTestUtils mMockIpSecTestUtils;
241 mMockIpSecTestUtils = MockIpSecTestUtils.setUpMockIpSec(); in setUp()
247 .thenReturn(MockIpSecTestUtils.buildDummyIpSecSpiResponse(CHILD_SPI_LOCAL_ONE)) in setUp()
248 .thenReturn(MockIpSecTestUtils.buildDummyIpSecSpiResponse(CHILD_SPI_LOCAL_TWO)); in setUp()
252 .thenReturn(MockIpSecTestUtils.buildDummyIpSecSpiResponse(CHILD_SPI_REMOTE)); in setUp()