Home
last modified time | relevance | path

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

/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeDeletePayloadTest.java64 IkeDeletePayload deletePayload = (IkeDeletePayload) payload; in testDecodeDeleteIkePayload() local
65 assertEquals(IkePayload.PROTOCOL_ID_IKE, deletePayload.protocolId); in testDecodeDeleteIkePayload()
66 assertEquals(IkePayload.SPI_LEN_NOT_INCLUDED, deletePayload.spiSize); in testDecodeDeleteIkePayload()
67 assertEquals(0, deletePayload.numSpi); in testDecodeDeleteIkePayload()
68 assertArrayEquals(new int[0], deletePayload.spisToDelete); in testDecodeDeleteIkePayload()
83 IkeDeletePayload deletePayload = (IkeDeletePayload) payload; in testDecodeDeleteChildPayload() local
84 assertEquals(IkePayload.PROTOCOL_ID_ESP, deletePayload.protocolId); in testDecodeDeleteChildPayload()
85 assertEquals(IkePayload.SPI_LEN_IPSEC, deletePayload.spiSize); in testDecodeDeleteChildPayload()
86 assertEquals(NUM_CHILD_SPI, deletePayload.numSpi); in testDecodeDeleteChildPayload()
89 assertArrayEquals(new int[] {expectedChildSpi}, deletePayload.spisToDelete); in testDecodeDeleteChildPayload()
[all …]
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DIkeSessionStateMachineTest.java3331 IkeDeletePayload deletePayload = deletePayloadList.get(0); in testRekeyIkeLocalDeleteSendsRequest() local
3332 assertEquals(IkePayload.PROTOCOL_ID_IKE, deletePayload.protocolId); in testRekeyIkeLocalDeleteSendsRequest()
3333 assertEquals(0, deletePayload.numSpi); in testRekeyIkeLocalDeleteSendsRequest()
3334 assertEquals(0, deletePayload.spiSize); in testRekeyIkeLocalDeleteSendsRequest()
3335 assertArrayEquals(new int[0], deletePayload.spisToDelete); in testRekeyIkeLocalDeleteSendsRequest()
4008 IkeDeletePayload deletePayload = deletePayloadList.get(0); in testDeleteIkeLocalDeleteRequest() local
4009 assertEquals(IkePayload.PROTOCOL_ID_IKE, deletePayload.protocolId); in testDeleteIkeLocalDeleteRequest()
4010 assertEquals(0, deletePayload.numSpi); in testDeleteIkeLocalDeleteRequest()
4011 assertEquals(0, deletePayload.spiSize); in testDeleteIkeLocalDeleteRequest()
4012 assertArrayEquals(new int[0], deletePayload.spisToDelete); in testDeleteIkeLocalDeleteRequest()
DChildSessionStateMachineTest.java741 IkeDeletePayload deletePayload = deletePayloads.get(0); in verifyOutboundDeletePayload() local
742 assertEquals(expectedSpi, deletePayload.spisToDelete[0]); in verifyOutboundDeletePayload()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DIkeSessionStateMachine.java1352 for (IkeDeletePayload deletePayload : deletePayloads) { in getIkeExchangeSubType()
1353 if (deletePayload.protocolId == IkePayload.PROTOCOL_ID_IKE) { in getIkeExchangeSubType()