Home
last modified time | relevance | path

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

/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeDeletePayload.java60 public final int[] spisToDelete; field in IkeDeletePayload
81 spisToDelete = new int[numSpi]; in IkeDeletePayload()
101 spisToDelete[i] = inputBuffer.getInt(); in IkeDeletePayload()
120 spisToDelete = new int[0]; in IkeDeletePayload()
138 spisToDelete = spis; in IkeDeletePayload()
152 for (int toDelete : spisToDelete) { in encodeToByteBuffer()
164 return GENERIC_HEADER_LENGTH + DELETE_HEADER_LEN + spisToDelete.length * spiSize; in getPayloadLength()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeDeletePayloadTest.java69 assertArrayEquals(new int[0], deletePayload.spisToDelete); in testDecodeDeleteIkePayload()
90 assertArrayEquals(new int[] {expectedChildSpi}, deletePayload.spisToDelete); in testDecodeDeleteChildPayload()
161 assertEquals(0, deletePayload.spisToDelete.length); in testOutboundConstructorForIke()
172 assertArrayEquals(childSpis, deletePayload.spisToDelete); in testOutboundConstructorWithSingleChildSa()
183 assertArrayEquals(childSpis, deletePayload.spisToDelete); in testOutboundConstructorWithMultipleChildSas()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DChildSessionStateMachineTest.java807 assertEquals(expectedSpi, deletePayload.spisToDelete[0]); in verifyOutboundDeletePayload()
983 ((IkeDeletePayload) respPayloadList.get(0)).spisToDelete); in testDeleteChildRemote()
DIkeSessionStateMachineTest.java3916 assertArrayEquals(new int[0], deletePayload.spisToDelete); in testRekeyIkeLocalDeleteSendsRequest()
4633 assertArrayEquals(new int[0], deletePayload.spisToDelete); in testDeleteIkeLocalDeleteRequest()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DChildSessionStateMachine.java1203 for (int spi : delPayload.spisToDelete) { in hasRemoteChildSpiForDelete()
DIkeSessionStateMachine.java2761 for (int spi : delPayload.spisToDelete) { in handleInboundDeleteChildRequest()