Home
last modified time | relevance | path

Searched refs:EsnTransform (Results 1 – 3 of 3) sorted by relevance

/packages/modules/IPsec/src/java/android/net/ipsec/ike/
DChildSaProposal.java19 import static com.android.internal.net.ipsec.ike.message.IkeSaPayload.EsnTransform.ESN_POLICY_NO_EX…
32 import com.android.internal.net.ipsec.ike.message.IkeSaPayload.EsnTransform;
75 private final EsnTransform[] mEsns;
94 EsnTransform[] esns) { in ChildSaProposal()
220 public EsnTransform[] getEsnTransforms() { in getEsnTransforms()
379 new EsnTransform[] {new EsnTransform()}); in build()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeSaPayload.java688 List<EsnTransform> esnList = new LinkedList<>(); in readFrom()
707 esnList.add((EsnTransform) transform); in readFrom()
730 esnList.toArray(new EsnTransform[esnList.size()])); in readFrom()
1105 return new EsnTransform(id, attributeList); in readFrom()
1652 public static final class EsnTransform extends Transform { class in IkeSaPayload
1664 public EsnTransform() { in EsnTransform() method in IkeSaPayload.EsnTransform
1675 protected EsnTransform(int id, List<Attribute> attributeList) in EsnTransform() method in IkeSaPayload.EsnTransform
1687 if (!(o instanceof EsnTransform)) return false; in equals()
1689 EsnTransform other = (EsnTransform) o; in equals()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeSaPayloadTest.java63 import com.android.internal.net.ipsec.test.ike.message.IkeSaPayload.EsnTransform;
489 assertTrue(transform instanceof EsnTransform); in testDecodeEsnTransform()
491 assertEquals(EsnTransform.ESN_POLICY_NO_EXTENDED, transform.id); in testDecodeEsnTransform()
506 assertTrue(transform instanceof EsnTransform); in testDecodeEsnTransformWithUnsupportedId()
521 assertTrue(transform instanceof EsnTransform); in testDecodeEsnTransformWithUnrecognizedAttribute()
523 assertEquals(EsnTransform.ESN_POLICY_NO_EXTENDED, transform.id); in testDecodeEsnTransformWithUnrecognizedAttribute()
529 EsnTransform mEsnTransform = new EsnTransform(); in testEncodeEsnTransform()