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.test.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/
DEapAkaAttributeFactory.java32 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.AtRes;
86 return new AtRes(lengthInBytes, byteBuffer); in getAttribute()
DEapSimAkaAttribute.java974 public static class AtRes extends EapSimAkaAttribute { class in EapSimAkaAttribute
981 public AtRes(int lengthInBytes, ByteBuffer byteBuffer) in AtRes() method in EapSimAkaAttribute.AtRes
1005 public AtRes(int lengthInBytes, byte[] res) throws EapSimAkaInvalidAttributeException { in AtRes() method in EapSimAkaAttribute.AtRes
1035 public static AtRes getAtRes(byte[] res) throws EapSimAkaInvalidAttributeException { in getAtRes()
1042 return new AtRes(resLenBytes, res); in getAtRes()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/message/simaka/
DEapAkaTypeDataTest.java46 import com.android.internal.net.eap.test.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.java67 import com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.AtRes;
446 Arrays.asList(AtRes.getAtRes(result.res))); in handleChallengeAuthentication()
462 if (!AtRes.isValidResLen(res.length)) { in RandChallengeResult()