Home
last modified time | relevance | path

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

/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeNotifyPayloadTest.java67 IkeNotifyPayload payload = new IkeNotifyPayload(false, inputPacket); in testDecodeNotifyPayloadSpiUnset()
70 assertEquals(IkeNotifyPayload.NOTIFY_TYPE_NAT_DETECTION_SOURCE_IP, payload.notifyType); in testDecodeNotifyPayloadSpiUnset()
79 IkeNotifyPayload payload = new IkeNotifyPayload(false, inputPacket); in testDecodeNotifyPayloadSpiSet()
82 assertEquals(IkeNotifyPayload.NOTIFY_TYPE_REKEY_SA, payload.notifyType); in testDecodeNotifyPayloadSpiSet()
94 IkeNotifyPayload.generateNatDetectionData( in testGenerateNatDetectionData()
104 IkeNotifyPayload notifyPayload = in testBuildIkeErrorNotifyWithData()
105 new IkeNotifyPayload( in testBuildIkeErrorNotifyWithData()
116 IkeNotifyPayload notifyPayload = in testBuildIkeErrorNotifyWithoutData()
117 new IkeNotifyPayload(IkeProtocolException.ERROR_TYPE_INVALID_SYNTAX); in testBuildIkeErrorNotifyWithoutData()
126 IkeNotifyPayload notifyPayload = in testBuildChildConfigNotify()
[all …]
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DIkeSessionStateMachine.java33 import static com.android.internal.net.ipsec.ike.message.IkeNotifyPayload.NOTIFY_TYPE_EAP_ONLY_AUTH…
34 import static com.android.internal.net.ipsec.ike.message.IkeNotifyPayload.NOTIFY_TYPE_IKEV2_FRAGMEN…
35 import static com.android.internal.net.ipsec.ike.message.IkeNotifyPayload.NOTIFY_TYPE_NAT_DETECTION…
36 import static com.android.internal.net.ipsec.ike.message.IkeNotifyPayload.NOTIFY_TYPE_NAT_DETECTION…
37 import static com.android.internal.net.ipsec.ike.message.IkeNotifyPayload.NOTIFY_TYPE_REKEY_SA;
131 import com.android.internal.net.ipsec.ike.message.IkeNotifyPayload;
1328 List<IkeNotifyPayload> notifyPayloads = in getIkeExchangeSubType()
1330 IkePayload.PAYLOAD_TYPE_NOTIFY, IkeNotifyPayload.class); in getIkeExchangeSubType()
1334 for (IkeNotifyPayload notifyPayload : notifyPayloads) { in getIkeExchangeSubType()
1335 if (notifyPayload.notifyType == IkeNotifyPayload.NOTIFY_TYPE_REKEY_SA) { in getIkeExchangeSubType()
[all …]
DChildSessionStateMachine.java31 import static com.android.internal.net.ipsec.ike.message.IkeNotifyPayload.NOTIFY_TYPE_REKEY_SA;
32 import static com.android.internal.net.ipsec.ike.message.IkeNotifyPayload.NOTIFY_TYPE_USE_TRANSPORT…
89 import com.android.internal.net.ipsec.ike.message.IkeNotifyPayload;
90 import com.android.internal.net.ipsec.ike.message.IkeNotifyPayload.NotifyType;
521 IkeNotifyPayload notifyPayload = new IkeNotifyPayload(notifyType, notifyData); in replyErrorNotification()
1227 IkeNotifyPayload notify = (IkeNotifyPayload) payload; in validateDeleteRespPayloadAndExchangeType()
2010 new IkeNotifyPayload( in getRekeyChildCreateReqPayloads()
2041 new IkeNotifyPayload( in getRekeyChildCreateRespPayloads()
2072 if (isTransport) payloadList.add(new IkeNotifyPayload(NOTIFY_TYPE_USE_TRANSPORT_MODE)); in getChildCreatePayloads()
2163 List<IkeNotifyPayload> notifyPayloads = in hasRemoteChildSpiForRekey()
[all …]
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeNotifyPayload.java77 public final class IkeNotifyPayload extends IkeInformationalPayload { class
78 private static final String TAG = IkeNotifyPayload.class.getSimpleName();
230 IkeNotifyPayload(boolean isCritical, byte[] payloadBody) throws IkeProtocolException { in IkeNotifyPayload() method in IkeNotifyPayload
348 protected IkeNotifyPayload( in IkeNotifyPayload() method in IkeNotifyPayload
366 public IkeNotifyPayload(int notifyType, byte[] notifyData) { in IkeNotifyPayload() method in IkeNotifyPayload
381 public IkeNotifyPayload(int notifyType) { in IkeNotifyPayload() method in IkeNotifyPayload
392 public IkeNotifyPayload( in IkeNotifyPayload() method in IkeNotifyPayload
DIkePayloadFactory.java80 return new IkeNotifyPayload(isCritical, payloadBody); in decodeIkePayload()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DIkeSessionStateMachineTest.java48 import static com.android.internal.net.ipsec.ike.message.IkeNotifyPayload.NOTIFY_TYPE_EAP_ONLY_AUTH…
49 import static com.android.internal.net.ipsec.ike.message.IkeNotifyPayload.NOTIFY_TYPE_IKEV2_FRAGMEN…
50 import static com.android.internal.net.ipsec.ike.message.IkeNotifyPayload.NOTIFY_TYPE_NAT_DETECTION…
51 import static com.android.internal.net.ipsec.ike.message.IkeNotifyPayload.NOTIFY_TYPE_NAT_DETECTION…
52 import static com.android.internal.net.ipsec.ike.message.IkeNotifyPayload.NOTIFY_TYPE_SIGNATURE_HAS…
150 import com.android.internal.net.ipsec.ike.message.IkeNotifyPayload;
376 new IkeNotifyPayload( in makeDummyReceivedIkeInitRespPacket()
378 IkeNotifyPayload.generateNatDetectionData( in makeDummyReceivedIkeInitRespPacket()
954 IkeNotifyPayload rekeyPayload = in makeRekeyChildCreateMessage()
955 new IkeNotifyPayload( in makeRekeyChildCreateMessage()
[all …]
DChildSessionStateMachineTest.java33 import static com.android.internal.net.ipsec.ike.message.IkeNotifyPayload.NOTIFY_TYPE_REKEY_SA;
112 import com.android.internal.net.ipsec.ike.message.IkeNotifyPayload;
578 PAYLOAD_TYPE_NOTIFY, IkeNotifyPayload.class, reqPayloadList) in testCreateChild()
605 IkeNotifyPayload notifyPayload = new IkeNotifyPayload(notifyType); in createChildSessionAndReceiveErrorNotification()
860 IkeNotifyPayload notifyPayload = (IkeNotifyPayload) respPayloadList.get(0); in testReplyRekeyRequestDuringDeletion()
911 List<IkeNotifyPayload> notifyPayloads = in verifyOutboundRekeyNotifyPayload()
913 PAYLOAD_TYPE_NOTIFY, IkeNotifyPayload.class, outboundPayloads); in verifyOutboundRekeyNotifyPayload()
915 IkeNotifyPayload notifyPayload = notifyPayloads.get(0); in verifyOutboundRekeyNotifyPayload()
986 new IkeNotifyPayload( in makeInboundRekeyChildPayloads()
1093 IkeNotifyPayload notifyPayload = new IkeNotifyPayload(ERROR_TYPE_INTERNAL_ADDRESS_FAILURE); in testRekeyLocalCreateHandlesErrorNotifyResp()
[all …]
/packages/modules/IPsec/tests/iketests/src/java/android/net/ipsec/ike/exceptions/
DIkeProtocolExceptionTest.java27 import com.android.internal.net.ipsec.ike.message.IkeNotifyPayload;
44 IkeNotifyPayload payload = exception.buildNotifyPayload(); in buildNotifyPayloadWithData()
54 IkeNotifyPayload payload = exception.buildNotifyPayload(); in buildNotifyPayloadWithoutData()
/packages/modules/IPsec/src/java/android/net/ipsec/ike/exceptions/
DIkeProtocolException.java22 import com.android.internal.net.ipsec.ike.message.IkeNotifyPayload;
219 public IkeNotifyPayload buildNotifyPayload() { in buildNotifyPayload()
220 return new IkeNotifyPayload(mErrorType, mErrorData); in buildNotifyPayload()