Home
last modified time | relevance | path

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

/packages/modules/Connectivity/tests/unit/java/android/net/
DIpSecManagerTest.java98 IpSecSpiResponse spiResp = in testAllocSpi() local
104 .thenReturn(spiResp); in testAllocSpi()
117 IpSecSpiResponse spiResp = in testAllocRandomSpi() local
123 .thenReturn(spiResp); in testAllocRandomSpi()
140 IpSecSpiResponse spiResp = in testAllocSpiResUnavailableException() local
144 .thenReturn(spiResp); in testAllocSpiResUnavailableException()
158 IpSecSpiResponse spiResp = new IpSecSpiResponse(IpSecManager.Status.SPI_UNAVAILABLE, 0, 0); in testAllocSpiSpiUnavailableException() local
161 .thenReturn(spiResp); in testAllocSpiSpiUnavailableException()
DIpSecTransformTest.java98 final IpSecSpiResponse spiResp = in setUp() local
101 .thenReturn(spiResp); in setUp()
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DIpSecServiceParameterizedTest.java271 IpSecSpiResponse spiResp = in testIpSecServiceReserveSpi() local
274 assertEquals(IpSecManager.Status.OK, spiResp.status); in testIpSecServiceReserveSpi()
275 assertEquals(TEST_SPI, spiResp.spi); in testIpSecServiceReserveSpi()
283 IpSecSpiResponse spiResp = in testReleaseSecurityParameterIndex() local
287 mIpSecService.releaseSecurityParameterIndex(spiResp.resourceId); in testReleaseSecurityParameterIndex()
303 userRecord.mSpiRecords.getRefcountedResourceOrThrow(spiResp.resourceId); in testReleaseSecurityParameterIndex()
315 IpSecSpiResponse spiResp = in testSecurityParameterIndexBinderDeath() local
321 userRecord.mSpiRecords.getRefcountedResourceOrThrow(spiResp.resourceId); in testSecurityParameterIndexBinderDeath()
338 userRecord.mSpiRecords.getRefcountedResourceOrThrow(spiResp.resourceId); in testSecurityParameterIndexBinderDeath()
DIpSecServiceTest.java451 IpSecSpiResponse spiResp = in testValidateIpAddresses() local
568 for (IpSecSpiResponse spiResp : reservedSpis) { in testSpiResourceTrackerLimitation()
569 mIpSecService.releaseSecurityParameterIndex(spiResp.resourceId); in testSpiResourceTrackerLimitation()