Searched refs:mMockIpSecService (Results 1 – 4 of 4) sorted by relevance
77 private IpSecService mMockIpSecService; field in IpSecManagerTest88 mMockIpSecService = mock(IpSecService.class); in setUp()89 mIpSecManager = new IpSecManager(mMockContext, mMockIpSecService); in setUp()100 when(mMockIpSecService.allocateSecurityParameterIndex( in testAllocSpi()119 when(mMockIpSecService.allocateSecurityParameterIndex( in testAllocRandomSpi()142 when(mMockIpSecService.allocateSecurityParameterIndex( in testAllocSpiResUnavailableException()159 when(mMockIpSecService.allocateSecurityParameterIndex( in testAllocSpiSpiUnavailableException()239 when(mMockIpSecService.openUdpEncapsulationSocket(eq(0), anyObject())) in testOpenEncapsulationSocketOnRandomPort()268 when(mMockIpSecService.createTunnelInterface( in createAndValidateVti()298 verify(mMockIpSecService) in testAddRemoveAddressesFromVti()[all …]
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()
188 private IpSecService mMockIpSecService; field in ChildSessionStateMachineTest249 mMockIpSecService = mock(IpSecService.class); in setup()250 mMockIpSecManager = new IpSecManager(mContext, mMockIpSecService); in setup()313 when(mMockIpSecService.allocateSecurityParameterIndex( in setUpSpiResource()