Home
last modified time | relevance | path

Searched refs:spiResp (Results 1 – 3 of 3) 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()
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DIpSecServiceParameterizedTest.java254 IpSecSpiResponse spiResp = in testIpSecServiceReserveSpi() local
257 assertEquals(IpSecManager.Status.OK, spiResp.status); in testIpSecServiceReserveSpi()
258 assertEquals(TEST_SPI, spiResp.spi); in testIpSecServiceReserveSpi()
266 IpSecSpiResponse spiResp = in testReleaseSecurityParameterIndex() local
270 mIpSecService.releaseSecurityParameterIndex(spiResp.resourceId); in testReleaseSecurityParameterIndex()
286 userRecord.mSpiRecords.getRefcountedResourceOrThrow(spiResp.resourceId); in testReleaseSecurityParameterIndex()
298 IpSecSpiResponse spiResp = in testSecurityParameterIndexBinderDeath() local
304 userRecord.mSpiRecords.getRefcountedResourceOrThrow(spiResp.resourceId); in testSecurityParameterIndexBinderDeath()
321 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()