Home
last modified time | relevance | path

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

/frameworks/base/tests/net/java/com/android/server/
DIpSecServiceParameterizedTest.java71 private static final int TEST_SPI = 0xD1201D; field in IpSecServiceParameterizedTest
189 when(mMockNetd.ipSecAllocateSpi(anyInt(), anyString(), eq(mDestinationAddr), eq(TEST_SPI))) in testIpSecServiceReserveSpi()
190 .thenReturn(TEST_SPI); in testIpSecServiceReserveSpi()
194 mDestinationAddr, TEST_SPI, new Binder()); in testIpSecServiceReserveSpi()
196 assertEquals(TEST_SPI, spiResp.spi); in testIpSecServiceReserveSpi()
201 when(mMockNetd.ipSecAllocateSpi(anyInt(), anyString(), eq(mDestinationAddr), eq(TEST_SPI))) in testReleaseSecurityParameterIndex()
202 .thenReturn(TEST_SPI); in testReleaseSecurityParameterIndex()
206 mDestinationAddr, TEST_SPI, new Binder()); in testReleaseSecurityParameterIndex()
215 eq(TEST_SPI), in testReleaseSecurityParameterIndex()
233 when(mMockNetd.ipSecAllocateSpi(anyInt(), anyString(), eq(mDestinationAddr), eq(TEST_SPI))) in testSecurityParameterIndexBinderDeath()
[all …]