Home
last modified time | relevance | path

Searched refs:AtRes (Results 1 – 5 of 5) sorted by relevance

/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/message/simaka/attributes/
DAtResTest.java35 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.AtRes;
56 AtRes atRes = (AtRes) result; in testDecode()
94 AtRes atRes = new AtRes(AT_RES.length, RES_BYTES); in testEncode()
103 AtRes atRes = AtRes.getAtRes(RES_BYTES); in testGetAtRes()
113 assertTrue(AtRes.isValidResLen(5)); in testIsValidResLen()
114 assertFalse(AtRes.isValidResLen(0)); in testIsValidResLen()
115 assertFalse(AtRes.isValidResLen(20)); in testIsValidResLen()
/packages/modules/IPsec/src/java/com/android/internal/net/eap/message/simaka/
DEapSimAkaAttribute.java934 public static class AtRes extends EapSimAkaAttribute { class in EapSimAkaAttribute
941 public AtRes(int lengthInBytes, ByteBuffer byteBuffer) in AtRes() method in EapSimAkaAttribute.AtRes
965 public AtRes(int lengthInBytes, byte[] res) throws EapSimAkaInvalidAttributeException { in AtRes() method in EapSimAkaAttribute.AtRes
995 public static AtRes getAtRes(byte[] res) throws EapSimAkaInvalidAttributeException { in getAtRes()
1002 return new AtRes(resLenBytes, res); in getAtRes()
DEapAkaAttributeFactory.java32 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.AtRes;
86 return new AtRes(lengthInBytes, byteBuffer); in getAttribute()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/message/simaka/
DEapAkaTypeDataTest.java46 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.AtRes;
99 assertArrayEquals(RES_BYTES, ((AtRes) entry.getValue()).res); in testDecode()
/packages/modules/IPsec/src/java/com/android/internal/net/eap/statemachine/
DEapAkaMethodStateMachine.java66 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.AtRes;
444 Arrays.asList(AtRes.getAtRes(result.res))); in handleChallengeAuthentication()
460 if (!AtRes.isValidResLen(res.length)) { in RandChallengeResult()