Searched refs:mMockIpSecService (Results 1 – 3 of 3) sorted by relevance
48 private IpSecService mMockIpSecService; field in MockIpSecTestUtils52 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()
165 private IpSecService mMockIpSecService; field in IkeSaPayloadTest244 IpSecService mMockIpSecService = mMockIpSecTestUtils.getIpSecService(); in setUp() local245 when(mMockIpSecService.allocateSecurityParameterIndex( in setUp()250 when(mMockIpSecService.allocateSecurityParameterIndex( in setUp()
187 private IpSecService mMockIpSecService; field in ChildSessionStateMachineTest248 mMockIpSecService = mock(IpSecService.class); in setup()249 mMockIpSecManager = new IpSecManager(mContext, mMockIpSecService); in setup()312 when(mMockIpSecService.allocateSecurityParameterIndex( in setUpSpiResource()