Home
last modified time | relevance | path

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

/frameworks/base/tests/net/java/com/android/server/
DIpSecServiceTest.java120 IpSecService mIpSecService; field in IpSecServiceTest
127 mIpSecService = new IpSecService(mMockContext, mMockIpSecSrvConfig); in setUp()
142 mIpSecService.releaseSecurityParameterIndex(1); in testReleaseInvalidSecurityParameterIndex()
165 udpEncapResp = mIpSecService.openUdpEncapsulationSocket(localport, new Binder()); in testOpenAndCloseUdpEncapsulationSocket()
178 mIpSecService.closeUdpEncapsulationSocket(udpEncapResp.resourceId); in testOpenAndCloseUdpEncapsulationSocket()
183 mIpSecService.mUserResourceTracker.getUserRecord(Os.getuid()); in testOpenAndCloseUdpEncapsulationSocket()
196 mIpSecService.openUdpEncapsulationSocket(0, new Binder()); in testUdpEncapsulationSocketBinderDeath()
199 mIpSecService.mUserResourceTracker.getUserRecord(Os.getuid()); in testUdpEncapsulationSocketBinderDeath()
219 mIpSecService.openUdpEncapsulationSocket(0, new Binder()); in testOpenUdpEncapsulationSocketAfterClose()
224 mIpSecService.closeUdpEncapsulationSocket(udpEncapResp.resourceId); in testOpenUdpEncapsulationSocketAfterClose()
[all …]
DIpSecServiceParameterizedTest.java140 IpSecService mIpSecService; field in IpSecServiceParameterizedTest
165 mIpSecService = new IpSecService(mMockContext, mMockIpSecSrvConfig); in setUp()
193 mIpSecService.allocateSecurityParameterIndex( in testIpSecServiceReserveSpi()
205 mIpSecService.allocateSecurityParameterIndex( in testReleaseSecurityParameterIndex()
208 mIpSecService.releaseSecurityParameterIndex(spiResp.resourceId); in testReleaseSecurityParameterIndex()
221 IpSecService.UserRecord userRecord = mIpSecService.mUserResourceTracker.getUserRecord(mUid); in testReleaseSecurityParameterIndex()
237 mIpSecService.allocateSecurityParameterIndex( in testSecurityParameterIndexBinderDeath()
240 IpSecService.UserRecord userRecord = mIpSecService.mUserResourceTracker.getUserRecord(mUid); in testSecurityParameterIndexBinderDeath()
271 mIpSecService.allocateSecurityParameterIndex( in getNewSpiResourceId()
338 mIpSecService.createTransform(ipSecConfig, new Binder(), "blessedPackage"); in testCreateTransform()
[all …]
DIpSecServiceRefcountedResourceTest.java58 IpSecService mIpSecService; field in IpSecServiceRefcountedResourceTest
64 mIpSecService = new IpSecService(mMockContext, mMockIpSecSrvConfig); in setUp()
98 mIpSecService in getTestRefcountedResource()