Searched refs:MockIpSecTestUtils (Results 1 – 6 of 6) sorted by relevance
40 public final class MockIpSecTestUtils { class51 private MockIpSecTestUtils() throws Exception { in MockIpSecTestUtils() method in MockIpSecTestUtils72 public static MockIpSecTestUtils setUpMockIpSec() throws Exception { in setUpMockIpSec()73 return new MockIpSecTestUtils(); in setUpMockIpSec()
49 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()
56 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()
44 import com.android.internal.net.ipsec.ike.testutils.MockIpSecTestUtils;63 protected MockIpSecTestUtils mMockIpSecTestUtils;75 mMockIpSecTestUtils = MockIpSecTestUtils.setUpMockIpSec(); in setUp()
121 import com.android.internal.net.ipsec.ike.testutils.MockIpSecTestUtils;314 .thenReturn(MockIpSecTestUtils.buildDummyIpSecSpiResponse(spiRequested)); in setUpSpiResource()
64 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()