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 | 153 EapSimTypeData eapSimTypeData = decodeResult.eapTypeData; in process() local 154 switch (eapSimTypeData.eapSubtype) { in process() 165 eapSimTypeData); in process() 214 EapSimTypeData eapSimTypeData = decodeResult.eapTypeData; in process() local 215 switch (eapSimTypeData.eapSubtype) { in process() 226 eapSimTypeData); in process() 241 if (!isValidStartAttributes(eapSimTypeData)) { in process() 242 LOG.e(mTAG, "Invalid attributes: " + eapSimTypeData.attributeMap.keySet()); in process() 254 eapSimTypeData.attributeMap.get(EAP_AT_VERSION_LIST); in process() 265 AtIdentity atIdentity = getIdentityResponse(eapSimTypeData); in process() [all …]
|
| D | EapSimAkaMethodStateMachine.java | 183 EapSimAkaTypeData eapSimTypeData = getEapSimAkaTypeData(eapSubtype, attributes); in buildResponseMessage() local 184 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 | 171 EapSimTypeData eapSimTypeData = new EapSimTypeData(EAP_SIM_CHALLENGE, attributeMap); in testIsValidChallengeAttributes() local 172 assertFalse(mChallengeState.isValidChallengeAttributes(eapSimTypeData)); in testIsValidChallengeAttributes() 175 eapSimTypeData = new EapSimTypeData(EAP_SIM_CHALLENGE, attributeMap); in testIsValidChallengeAttributes() 176 assertFalse(mChallengeState.isValidChallengeAttributes(eapSimTypeData)); in testIsValidChallengeAttributes() 179 eapSimTypeData = new EapSimTypeData(EAP_SIM_CHALLENGE, attributeMap); in testIsValidChallengeAttributes() 180 assertTrue(mChallengeState.isValidChallengeAttributes(eapSimTypeData)); in testIsValidChallengeAttributes() 255 EapSimTypeData eapSimTypeData = in testGetRandChallengeResults() local 275 mChallengeState.getRandChallengeResults(eapSimTypeData); in testGetRandChallengeResults() 297 EapSimTypeData eapSimTypeData = in testGetRandChallengeResultsBufferUnderflow() local 317 mChallengeState.getRandChallengeResults(eapSimTypeData); in testGetRandChallengeResultsBufferUnderflow()
|
| D | EapSimAkaMethodStateMachineTest.java | 377 EapSimTypeData eapSimTypeData = in testGetMac() local 384 byte[] mac = mStateMachine.getMac(EAP_CODE_REQUEST, ID_INT, eapSimTypeData, NONCE_MT); in testGetMac() 386 AtMac postCalculationAtMac = (AtMac) eapSimTypeData.attributeMap.get(EAP_AT_MAC); in testGetMac() 406 EapSimTypeData eapSimTypeData = in testReceivedValidMac() local 413 .getMac(eq(EAP_CODE_REQUEST), eq(ID_INT), eq(eapSimTypeData), eq(NONCE_MT)); in testReceivedValidMac() 415 assertTrue(mStateMachine.isValidMac(TAG, message, eapSimTypeData, NONCE_MT)); in testReceivedValidMac() 419 .getMac(eq(EAP_CODE_REQUEST), eq(ID_INT), eq(eapSimTypeData), eq(NONCE_MT)); in testReceivedValidMac() 421 assertFalse(mStateMachine.isValidMac(TAG, message, eapSimTypeData, NONCE_MT)); in testReceivedValidMac() 424 .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 …]
|