Searched refs:IkeDeletePayload (Results 1 – 7 of 7) sorted by relevance
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/ |
D | IkeDeletePayloadTest.java | 62 assertTrue(payload instanceof IkeDeletePayload); in testDecodeDeleteIkePayload() 64 IkeDeletePayload deletePayload = (IkeDeletePayload) payload; in testDecodeDeleteIkePayload() 81 assertTrue(payload instanceof IkeDeletePayload); in testDecodeDeleteChildPayload() 83 IkeDeletePayload deletePayload = (IkeDeletePayload) payload; in testDecodeDeleteChildPayload() 155 IkeDeletePayload deletePayload = new IkeDeletePayload(); in testOutboundConstructorForIke() 166 IkeDeletePayload deletePayload = new IkeDeletePayload(childSpis); in testOutboundConstructorWithSingleChildSa() 177 IkeDeletePayload deletePayload = new IkeDeletePayload(childSpis); in testOutboundConstructorWithMultipleChildSas() 188 IkeDeletePayload deletePayload = new IkeDeletePayload(new int[] {}); in testOutboundConstructorWithNoChildSas() 196 IkeDeletePayload deletePayload = new IkeDeletePayload(); in testEncodeForIke() 208 IkeDeletePayload deletePayload = new IkeDeletePayload(childSpis); in testEncodeWithSingleChildSa() [all …]
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/ |
D | IkeSessionStateMachineTest.java | 135 import com.android.internal.net.ipsec.ike.message.IkeDeletePayload; 988 private ReceivedIkePacket makeDeleteChildPacket(IkeDeletePayload[] payloads, boolean isResp) in makeDeleteChildPacket() 1720 ChildSessionStateMachine child, IkeDeletePayload[] expectedDelPayloads) { in verifyChildReceiveDeleteRequest() 1732 assertEquals(expectedDelPayloads[i], (IkeDeletePayload) reqPayloads.get(i)); in verifyChildReceiveDeleteRequest() 1738 IkeDeletePayload delPayload, in outboundDeleteChildPayloadsReady() 1766 IkeDeletePayload[] inboundDelPayloads = in testDeferChildRequestToChildProcedureOngoing() 1767 new IkeDeletePayload[] {new IkeDeletePayload(new int[] {CHILD_SPI_REMOTE})}; in testDeferChildRequestToChildProcedureOngoing() 1785 IkeDeletePayload[] inboundDelPayloads = in testRemoteDeleteOneChild() 1786 new IkeDeletePayload[] {new IkeDeletePayload(new int[] {CHILD_SPI_REMOTE})}; in testRemoteDeleteOneChild() 1796 IkeDeletePayload outDelPayload = new IkeDeletePayload(new int[] {CHILD_SPI_LOCAL}); in testRemoteDeleteOneChild() [all …]
|
D | ChildSessionStateMachineTest.java | 109 import com.android.internal.net.ipsec.ike.message.IkeDeletePayload; 722 inboundPayloads.add(new IkeDeletePayload(new int[] {spi})); in makeDeletePayloads() 737 List<IkeDeletePayload> deletePayloads = in verifyOutboundDeletePayload() 739 PAYLOAD_TYPE_DELETE, IkeDeletePayload.class, outPayloadList); in verifyOutboundDeletePayload() 741 IkeDeletePayload deletePayload = deletePayloads.get(0); in verifyOutboundDeletePayload() 892 ((IkeDeletePayload) respPayloadList.get(0)).spisToDelete); in testDeleteChildRemote()
|
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/ |
D | IkeDeletePayload.java | 55 public final class IkeDeletePayload extends IkeInformationalPayload { class 74 IkeDeletePayload(boolean critical, byte[] payloadBody) throws IkeProtocolException { in IkeDeletePayload() method in IkeDeletePayload 116 public IkeDeletePayload() { in IkeDeletePayload() method in IkeDeletePayload 129 public IkeDeletePayload(int[] spis) { in IkeDeletePayload() method in IkeDeletePayload
|
D | IkePayloadFactory.java | 82 return new IkeDeletePayload(isCritical, payloadBody); in decodeIkePayload()
|
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ |
D | ChildSessionStateMachine.java | 86 import com.android.internal.net.ipsec.ike.message.IkeDeletePayload; 1122 List<IkeDeletePayload> delPayloads = in hasRemoteChildSpiForDelete() 1124 PAYLOAD_TYPE_DELETE, IkeDeletePayload.class, payloads); in hasRemoteChildSpiForDelete() 1126 for (IkeDeletePayload delPayload : delPayloads) { in hasRemoteChildSpiForDelete() 1140 outIkePayloads.add(new IkeDeletePayload(new int[] {childSaRecord.getLocalSpi()})); in sendDeleteChild()
|
D | IkeSessionStateMachine.java | 117 import com.android.internal.net.ipsec.ike.message.IkeDeletePayload; 1342 List<IkeDeletePayload> deletePayloads = in getIkeExchangeSubType() 1344 IkePayload.PAYLOAD_TYPE_DELETE, IkeDeletePayload.class); in getIkeExchangeSubType() 1352 for (IkeDeletePayload deletePayload : deletePayloads) { in getIkeExchangeSubType() 1543 new IkeInformationalPayload[] {new IkeDeletePayload()}; in buildIkeDeleteReq() 2458 IkeDeletePayload delPayload = (IkeDeletePayload) payload; in handleInboundDeleteChildRequest()
|