Home
last modified time | relevance | path

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

/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkePayloadFactory.java60 int payloadType, boolean isCritical, boolean isResp, byte[] payloadBody) in decodeIkePayload() argument
64 return new IkeSaPayload(isCritical, isResp, payloadBody); in decodeIkePayload()
66 return new IkeKePayload(isCritical, payloadBody); in decodeIkePayload()
68 return new IkeIdPayload(isCritical, payloadBody, true); in decodeIkePayload()
70 return new IkeIdPayload(isCritical, payloadBody, false); in decodeIkePayload()
72 return IkeCertPayload.getIkeCertPayload(isCritical, payloadBody); in decodeIkePayload()
74 return new IkeCertReqPayload(isCritical, payloadBody); in decodeIkePayload()
76 return IkeAuthPayload.getIkeAuthPayload(isCritical, payloadBody); in decodeIkePayload()
78 return new IkeNoncePayload(isCritical, payloadBody); in decodeIkePayload()
80 return new IkeNotifyPayload(isCritical, payloadBody); in decodeIkePayload()
[all …]
DIkeInformationalPayload.java25 IkeInformationalPayload(int payloadType, boolean isCritical) { in IkeInformationalPayload() argument
26 super(payloadType, isCritical); in IkeInformationalPayload()
DIkeEapPayload.java43 IkeEapPayload(boolean isCritical, byte[] eapMessage) { in IkeEapPayload() argument
44 super(PAYLOAD_TYPE_EAP, isCritical); in IkeEapPayload()
DIkePayload.java144 public final boolean isCritical; field in IkePayload
158 isCritical = critical; in IkePayload()
DIkeNotifyPayload.java230 IkeNotifyPayload(boolean isCritical, byte[] payloadBody) throws IkeProtocolException { in IkeNotifyPayload() argument
231 super(PAYLOAD_TYPE_NOTIFY, isCritical); in IkeNotifyPayload()
DIkeMessage.java179 } else if (payload.isCritical) { in decodePayloadList()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeMessageTest.java225 boolean isCritical = (boolean) invocation.getArguments()[1]; in setUp()
227 return new TestIkeSupportedPayload(payloadType, isCritical); in setUp()
229 return new IkeUnsupportedPayload(payloadType, isCritical); in setUp()
DIkeConfigPayloadTest.java196 assertFalse(payload.isCritical); in verifyDecodeHeaderAndGetPayload()
335 assertFalse(configPayload.isCritical); in testBuildAndEncodeOutboundConfig()