Searched refs:mIpSecService (Results 1 – 4 of 4) sorted by relevance
/packages/modules/Connectivity/tests/unit/java/com/android/server/ |
D | IpSecServiceTest.java | 127 IpSecService mIpSecService; field in IpSecServiceTest 134 mIpSecService = new IpSecService(mMockContext, mDeps); in setUp() 135 assertNotNull(mIpSecService); in setUp() 147 mIpSecService.releaseSecurityParameterIndex(1); in testReleaseInvalidSecurityParameterIndex() 170 udpEncapResp = mIpSecService.openUdpEncapsulationSocket(localport, new Binder()); in testOpenAndCloseUdpEncapsulationSocket() 183 mIpSecService.closeUdpEncapsulationSocket(udpEncapResp.resourceId); in testOpenAndCloseUdpEncapsulationSocket() 188 mIpSecService.mUserResourceTracker.getUserRecord(Os.getuid()); in testOpenAndCloseUdpEncapsulationSocket() 201 mIpSecService.openUdpEncapsulationSocket(0, new Binder()); in testUdpEncapsulationSocketBinderDeath() 204 mIpSecService.mUserResourceTracker.getUserRecord(Os.getuid()); in testUdpEncapsulationSocketBinderDeath() 224 mIpSecService.openUdpEncapsulationSocket(0, new Binder()); in testOpenUdpEncapsulationSocketAfterClose() [all …]
|
D | IpSecServiceParameterizedTest.java | 214 IpSecService mIpSecService; field in IpSecServiceParameterizedTest 244 mIpSecService = new IpSecService(mTestContext, mDeps); in setUp() 269 mIpSecService.allocateSecurityParameterIndex( in testIpSecServiceReserveSpi() 281 mIpSecService.allocateSecurityParameterIndex( in testReleaseSecurityParameterIndex() 284 mIpSecService.releaseSecurityParameterIndex(spiResp.resourceId); in testReleaseSecurityParameterIndex() 297 IpSecService.UserRecord userRecord = mIpSecService.mUserResourceTracker.getUserRecord(mUid); in testReleaseSecurityParameterIndex() 313 mIpSecService.allocateSecurityParameterIndex( in testSecurityParameterIndexBinderDeath() 316 IpSecService.UserRecord userRecord = mIpSecService.mUserResourceTracker.getUserRecord(mUid); in testSecurityParameterIndexBinderDeath() 347 mIpSecService.allocateSecurityParameterIndex( in getNewSpiResourceId() 414 mIpSecService.createTransform(ipSecConfig, new Binder(), BLESSED_PACKAGE); in testCreateTransform() [all …]
|
D | IpSecServiceRefcountedResourceTest.java | 61 IpSecService mIpSecService; field in IpSecServiceRefcountedResourceTest 67 mIpSecService = new IpSecService(mMockContext, mMockDeps); in setUp() 101 mIpSecService in getTestRefcountedResource()
|
/packages/modules/Connectivity/service-t/src/com/android/server/ |
D | ConnectivityServiceInitializer.java | 48 private final IpSecService mIpSecService; field in ConnectivityServiceInitializer 62 mIpSecService = createIpSecService(context); in ConnectivityServiceInitializer() 83 if (mIpSecService != null) { in onStart() 85 publishBinderService(Context.IPSEC_SERVICE, mIpSecService, /* allowIsolated= */ false); in onStart()
|