Searched refs:eapSimTypeData (Results 1 – 6 of 6) sorted by relevance
/packages/modules/IPsec/src/java/com/android/internal/net/eap/statemachine/ |
D | EapSimMethodStateMachine.java | 154 EapSimTypeData eapSimTypeData = decodeResult.eapTypeData; in process() local 155 switch (eapSimTypeData.eapSubtype) { in process() 163 eapSimTypeData); in process() 212 EapSimTypeData eapSimTypeData = decodeResult.eapTypeData; in process() local 213 switch (eapSimTypeData.eapSubtype) { in process() 221 eapSimTypeData); in process() 236 if (!isValidStartAttributes(eapSimTypeData)) { in process() 237 LOG.e(mTAG, "Invalid attributes: " + eapSimTypeData.attributeMap.keySet()); in process() 249 eapSimTypeData.attributeMap.get(EAP_AT_VERSION_LIST); in process() 260 AtIdentity atIdentity = getIdentityResponse(eapSimTypeData); in process() [all …]
|
D | EapSimAkaMethodStateMachine.java | 158 EapSimAkaTypeData eapSimTypeData = getEapSimAkaTypeData(eapSubtype, attributes); in buildResponseMessage() local 159 EapData eapData = new EapData(eapType, eapSimTypeData.encode()); in buildResponseMessage()
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/statemachine/ |
D | EapSimStartStateTest.java | 132 EapSimTypeData eapSimTypeData = new EapSimTypeData(EAP_SIM_START, mAttributes); in testIsValidStartAttributes() local 133 assertTrue(mStartState.isValidStartAttributes(eapSimTypeData)); in testIsValidStartAttributes() 139 EapSimTypeData eapSimTypeData = new EapSimTypeData(EAP_SIM_START, mAttributes); in testIsValidStartAttributesMissingVersionList() local 140 assertFalse(mStartState.isValidStartAttributes(eapSimTypeData)); in testIsValidStartAttributesMissingVersionList() 148 EapSimTypeData eapSimTypeData = new EapSimTypeData(EAP_SIM_START, mAttributes); in testIsValidStartAttributesMultipleIdRequests() local 149 assertFalse(mStartState.isValidStartAttributes(eapSimTypeData)); in testIsValidStartAttributesMultipleIdRequests() 157 EapSimTypeData eapSimTypeData = new EapSimTypeData(EAP_SIM_START, mAttributes); in testIsValidStartAttributesInvalidAttributes() local 158 assertFalse(mStartState.isValidStartAttributes(eapSimTypeData)); in testIsValidStartAttributesInvalidAttributes() 162 eapSimTypeData = new EapSimTypeData(EAP_SIM_START, mAttributes); in testIsValidStartAttributesInvalidAttributes() 163 assertFalse(mStartState.isValidStartAttributes(eapSimTypeData)); in testIsValidStartAttributesInvalidAttributes() [all …]
|
D | EapSimChallengeStateTest.java | 164 EapSimTypeData eapSimTypeData = new EapSimTypeData(EAP_SIM_CHALLENGE, attributeMap); in testIsValidChallengeAttributes() local 165 assertFalse(mChallengeState.isValidChallengeAttributes(eapSimTypeData)); in testIsValidChallengeAttributes() 168 eapSimTypeData = new EapSimTypeData(EAP_SIM_CHALLENGE, attributeMap); in testIsValidChallengeAttributes() 169 assertFalse(mChallengeState.isValidChallengeAttributes(eapSimTypeData)); in testIsValidChallengeAttributes() 172 eapSimTypeData = new EapSimTypeData(EAP_SIM_CHALLENGE, attributeMap); in testIsValidChallengeAttributes() 173 assertTrue(mChallengeState.isValidChallengeAttributes(eapSimTypeData)); in testIsValidChallengeAttributes() 248 EapSimTypeData eapSimTypeData = in testGetRandChallengeResults() local 268 mChallengeState.getRandChallengeResults(eapSimTypeData); in testGetRandChallengeResults() 290 EapSimTypeData eapSimTypeData = in testGetRandChallengeResultsBufferUnderflow() local 310 mChallengeState.getRandChallengeResults(eapSimTypeData); in testGetRandChallengeResultsBufferUnderflow()
|
D | EapSimAkaMethodStateMachineTest.java | 332 EapSimTypeData eapSimTypeData = in testGetMac() local 339 byte[] mac = mStateMachine.getMac(EAP_CODE_REQUEST, ID_INT, eapSimTypeData, NONCE_MT); in testGetMac() 341 AtMac postCalculationAtMac = (AtMac) eapSimTypeData.attributeMap.get(EAP_AT_MAC); in testGetMac() 361 EapSimTypeData eapSimTypeData = in testReceivedValidMac() local 368 .getMac(eq(EAP_CODE_REQUEST), eq(ID_INT), eq(eapSimTypeData), eq(NONCE_MT)); in testReceivedValidMac() 370 assertTrue(mStateMachine.isValidMac(TAG, message, eapSimTypeData, NONCE_MT)); in testReceivedValidMac() 374 .getMac(eq(EAP_CODE_REQUEST), eq(ID_INT), eq(eapSimTypeData), eq(NONCE_MT)); in testReceivedValidMac() 376 assertFalse(mStateMachine.isValidMac(TAG, message, eapSimTypeData, NONCE_MT)); in testReceivedValidMac() 379 .getMac(eq(EAP_CODE_REQUEST), eq(ID_INT), eq(eapSimTypeData), eq(NONCE_MT)); in testReceivedValidMac()
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/message/simaka/ |
D | EapSimTypeDataTest.java | 75 EapSimTypeData eapSimTypeData = new EapSimTypeData(EAP_SIM_START, attributes); in testConstructor() local 76 assertEquals(EAP_SIM_START, eapSimTypeData.eapSubtype); in testConstructor() 80 eapSimTypeData.attributeMap.entrySet().iterator(); in testConstructor() 95 EapSimTypeData eapSimTypeData = result.eapTypeData; in testDecode() local 96 assertEquals(EAP_SIM_START, eapSimTypeData.eapSubtype); in testDecode() 97 assertTrue(eapSimTypeData.attributeMap.containsKey(EAP_AT_VERSION_LIST)); in testDecode() 99 eapSimTypeData.attributeMap.get(EAP_AT_VERSION_LIST); in testDecode() 101 assertTrue(eapSimTypeData.attributeMap.containsKey(EAP_AT_PERMANENT_ID_REQ)); in testDecode() 104 Iterator<Integer> itr = eapSimTypeData.attributeMap.keySet().iterator(); in testDecode() 161 EapSimTypeData eapSimTypeData = new EapSimTypeData(EAP_SIM_START, attributes); in testEncode() local [all …]
|