Home
last modified time | relevance | path

Searched refs:isCritical (Results 1 – 10 of 10) 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.java278 IkeNotifyPayload(boolean isCritical, byte[] payloadBody) throws IkeProtocolException { in IkeNotifyPayload() argument
279 super(PAYLOAD_TYPE_NOTIFY, isCritical); in IkeNotifyPayload()
DIkeMessage.java224 } else if (payload.isCritical) { in decodePayloadList()
/packages/modules/Connectivity/netbpfload/
Dloader.h73 int loadProg(const char* elfPath, bool* isCritical, const unsigned int bpfloader_ver,
Dloader.cpp1093 int loadProg(const char* const elfPath, bool* const isCritical, const unsigned int bpfloader_ver, in loadProg() argument
1101 if (!isCritical) return -1; in loadProg()
1102 *isCritical = false; in loadProg()
1108 *isCritical = !ret; in loadProg()
1116 *isCritical ? "critical for " : "optional", *isCritical ? (char*)critical.data() : "", in loadProg()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeMessageTest.java227 boolean isCritical = (boolean) invocation.getArguments()[1]; in setUp()
229 return new TestIkeSupportedPayload(payloadType, isCritical); in setUp()
231 return new IkeUnsupportedPayload(payloadType, isCritical); in setUp()
DIkeConfigPayloadTest.java197 assertFalse(payload.isCritical); in verifyDecodeHeaderAndGetPayload()
336 assertFalse(configPayload.isCritical); in testBuildAndEncodeOutboundConfig()