Home
last modified time | relevance | path

Searched refs:atIdentity (Results 1 – 4 of 4) sorted by relevance

/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/message/simaka/attributes/
DAtIdentityTest.java53 AtIdentity atIdentity = (AtIdentity) result; in testDecode() local
54 assertEquals(EAP_AT_IDENTITY, atIdentity.attributeType); in testDecode()
55 assertEquals(AT_IDENTITY.length, atIdentity.lengthInBytes); in testDecode()
56 assertArrayEquals(IDENTITY, atIdentity.identity); in testDecode()
61 AtIdentity atIdentity = new AtIdentity(AT_IDENTITY.length, IDENTITY); in testEncode() local
63 atIdentity.encode(result); in testEncode()
70 AtIdentity atIdentity = AtIdentity.getAtIdentity(IDENTITY); in testGetAtIdentity() local
72 assertArrayEquals(IDENTITY, atIdentity.identity); in testGetAtIdentity()
74 ByteBuffer buffer = ByteBuffer.allocate(atIdentity.lengthInBytes); in testGetAtIdentity()
75 atIdentity.encode(buffer); in testGetAtIdentity()
[all …]
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/statemachine/
DEapSimStartStateTest.java178 AtIdentity atIdentity = mStartState.getIdentityResponse(eapSimTypeData); in testAddIdentityAttributeToResponse() local
181 assertArrayEquals(EAP_SIM_IDENTITY.getBytes(), atIdentity.identity); in testAddIdentityAttributeToResponse()
211 AtIdentity atIdentity = mStartState.getIdentityResponse(eapSimTypeData); in testAddIdentityAttributeToResponseNoIdRequest() local
212 assertNull(atIdentity); in testAddIdentityAttributeToResponseNoIdRequest()
/packages/modules/IPsec/src/java/com/android/internal/net/eap/statemachine/
DEapSimMethodStateMachine.java265 AtIdentity atIdentity = getIdentityResponse(eapSimTypeData); in process() local
266 if (atIdentity != null) { in process()
267 responseAttributes.add(atIdentity); in process()
DEapAkaMethodStateMachine.java346 AtIdentity atIdentity; in process() local
348 atIdentity = AtIdentity.getAtIdentity(identityToResponse); in process()
358 Arrays.asList(atIdentity)); in process()