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 | 217 IpSecService mIpSecService; field in IpSecServiceParameterizedTest 247 mIpSecService = new IpSecService(mTestContext, mDeps); in setUp() 272 mIpSecService.allocateSecurityParameterIndex( in testIpSecServiceReserveSpi() 284 mIpSecService.allocateSecurityParameterIndex( in testReleaseSecurityParameterIndex() 287 mIpSecService.releaseSecurityParameterIndex(spiResp.resourceId); in testReleaseSecurityParameterIndex() 300 IpSecService.UserRecord userRecord = mIpSecService.mUserResourceTracker.getUserRecord(mUid); in testReleaseSecurityParameterIndex() 316 mIpSecService.allocateSecurityParameterIndex( in testSecurityParameterIndexBinderDeath() 319 IpSecService.UserRecord userRecord = mIpSecService.mUserResourceTracker.getUserRecord(mUid); in testSecurityParameterIndexBinderDeath() 350 mIpSecService.allocateSecurityParameterIndex( in getNewSpiResourceId() 417 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 | 41 private final IpSecService mIpSecService; field in ConnectivityServiceInitializer 53 mIpSecService = createIpSecService(context); in ConnectivityServiceInitializer() 72 if (mIpSecService != null) { in onStart() 74 publishBinderService(Context.IPSEC_SERVICE, mIpSecService, /* allowIsolated= */ false); in onStart()
|