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.java25 import com.android.internal.net.ipsec.ike.message.IkeSaPayload.EsnTransform;
46 private final EsnTransform[] mEsns;
65 EsnTransform[] esns) { in ChildSaProposal()
75 public EsnTransform[] getEsnTransforms() { in getEsnTransforms()
205 new EsnTransform[] {new EsnTransform()}); in build()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeSaPayload.java620 List<EsnTransform> esnList = new LinkedList<>(); in readFrom()
639 esnList.add((EsnTransform) transform); in readFrom()
662 esnList.toArray(new EsnTransform[esnList.size()])); in readFrom()
1037 return new EsnTransform(id, attributeList); in readFrom()
1560 public static final class EsnTransform extends Transform { class in IkeSaPayload
1572 public EsnTransform() { in EsnTransform() method in IkeSaPayload.EsnTransform
1583 protected EsnTransform(int id, List<Attribute> attributeList) in EsnTransform() method in IkeSaPayload.EsnTransform
1595 if (!(o instanceof EsnTransform)) return false; in equals()
1597 EsnTransform other = (EsnTransform) o; in equals()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeSaPayloadTest.java54 import com.android.internal.net.ipsec.ike.message.IkeSaPayload.EsnTransform;
480 assertTrue(transform instanceof EsnTransform); in testDecodeEsnTransform()
482 assertEquals(EsnTransform.ESN_POLICY_NO_EXTENDED, transform.id); in testDecodeEsnTransform()
497 assertTrue(transform instanceof EsnTransform); in testDecodeEsnTransformWithUnsupportedId()
512 assertTrue(transform instanceof EsnTransform); in testDecodeEsnTransformWithUnrecognizedAttribute()
514 assertEquals(EsnTransform.ESN_POLICY_NO_EXTENDED, transform.id); in testDecodeEsnTransformWithUnrecognizedAttribute()
520 EsnTransform mEsnTransform = new EsnTransform(); in testEncodeEsnTransform()