Home
last modified time | relevance | path

Searched refs:mIpSecService (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Connectivity/tests/unit/java/com/android/server/
DIpSecServiceTest.java126 IpSecService mIpSecService; field in IpSecServiceTest
133 mIpSecService = new IpSecService(mMockContext, mMockIpSecSrvConfig); in setUp()
148 mIpSecService.releaseSecurityParameterIndex(1); in testReleaseInvalidSecurityParameterIndex()
171 udpEncapResp = mIpSecService.openUdpEncapsulationSocket(localport, new Binder()); in testOpenAndCloseUdpEncapsulationSocket()
184 mIpSecService.closeUdpEncapsulationSocket(udpEncapResp.resourceId); in testOpenAndCloseUdpEncapsulationSocket()
189 mIpSecService.mUserResourceTracker.getUserRecord(Os.getuid()); in testOpenAndCloseUdpEncapsulationSocket()
202 mIpSecService.openUdpEncapsulationSocket(0, new Binder()); in testUdpEncapsulationSocketBinderDeath()
205 mIpSecService.mUserResourceTracker.getUserRecord(Os.getuid()); in testUdpEncapsulationSocketBinderDeath()
225 mIpSecService.openUdpEncapsulationSocket(0, new Binder()); in testOpenUdpEncapsulationSocketAfterClose()
230 mIpSecService.closeUdpEncapsulationSocket(udpEncapResp.resourceId); in testOpenUdpEncapsulationSocketAfterClose()
[all …]
DIpSecServiceParameterizedTest.java194 IpSecService mIpSecService; field in IpSecServiceParameterizedTest
223 mIpSecService = new IpSecService(mTestContext, mMockIpSecSrvConfig); in setUp()
251 mIpSecService.allocateSecurityParameterIndex( in testIpSecServiceReserveSpi()
263 mIpSecService.allocateSecurityParameterIndex( in testReleaseSecurityParameterIndex()
266 mIpSecService.releaseSecurityParameterIndex(spiResp.resourceId); in testReleaseSecurityParameterIndex()
279 IpSecService.UserRecord userRecord = mIpSecService.mUserResourceTracker.getUserRecord(mUid); in testReleaseSecurityParameterIndex()
295 mIpSecService.allocateSecurityParameterIndex( in testSecurityParameterIndexBinderDeath()
298 IpSecService.UserRecord userRecord = mIpSecService.mUserResourceTracker.getUserRecord(mUid); in testSecurityParameterIndexBinderDeath()
329 mIpSecService.allocateSecurityParameterIndex( in getNewSpiResourceId()
396 mIpSecService.createTransform(ipSecConfig, new Binder(), BLESSED_PACKAGE); in testCreateTransform()
[all …]
DIpSecServiceRefcountedResourceTest.java61 IpSecService mIpSecService; field in IpSecServiceRefcountedResourceTest
67 mIpSecService = new IpSecService(mMockContext, mMockIpSecSrvConfig); in setUp()
101 mIpSecService in getTestRefcountedResource()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DVpnTest.java199 @Mock private IpSecService mIpSecService; field in VpnTest
218 mIpSecManager = new IpSecManager(mContext, mIpSecService); in setUp()
253 when(mIpSecService.createTunnelInterface(any(), any(), any(), any(), any())) in setUp()