Home
last modified time | relevance | path

Searched refs:mMockIpSecService (Results 1 – 3 of 3) sorted by relevance

/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/testutils/
DMockIpSecTestUtils.java48 private IpSecService mMockIpSecService; field in MockIpSecTestUtils
52 mMockIpSecService = mock(IpSecService.class); in MockIpSecTestUtils()
54 mIpSecManager = new IpSecManager(mContext, mMockIpSecService); in MockIpSecTestUtils()
56 when(mMockIpSecService.allocateSecurityParameterIndex(anyString(), anyInt(), anyObject())) in MockIpSecTestUtils()
63 when(mMockIpSecService.openUdpEncapsulationSocket(anyInt(), anyObject())) in MockIpSecTestUtils()
97 return mMockIpSecService; in getIpSecService()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeSaPayloadTest.java165 private IpSecService mMockIpSecService; field in IkeSaPayloadTest
244 IpSecService mMockIpSecService = mMockIpSecTestUtils.getIpSecService(); in setUp() local
245 when(mMockIpSecService.allocateSecurityParameterIndex( in setUp()
250 when(mMockIpSecService.allocateSecurityParameterIndex( in setUp()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DChildSessionStateMachineTest.java187 private IpSecService mMockIpSecService; field in ChildSessionStateMachineTest
248 mMockIpSecService = mock(IpSecService.class); in setup()
249 mMockIpSecManager = new IpSecManager(mContext, mMockIpSecService); in setup()
312 when(mMockIpSecService.allocateSecurityParameterIndex( in setUpSpiResource()