/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/message/mschapv2/ |
D | EapMsChapV2SuccessRequestTest.java | 127 EapError eapError = result.eapError; in testDecodeSuccessRequestWrongOpCode() local 128 assertTrue(eapError.cause instanceof EapMsChapV2ParsingException); in testDecodeSuccessRequestWrongOpCode() 136 EapError eapError = result.eapError; in testDecodeSuccessRequestShortMessage() local 137 assertTrue(eapError.cause instanceof BufferUnderflowException); in testDecodeSuccessRequestShortMessage() 145 EapError eapError = result.eapError; in testDecodeSuccessRequestInvalidPrefix() local 146 assertTrue(eapError.cause instanceof EapMsChapV2ParsingException); in testDecodeSuccessRequestInvalidPrefix() 154 EapError eapError = result.eapError; in testDecodeSuccessRequestShortAuthString() local 155 assertTrue(eapError.cause instanceof EapMsChapV2ParsingException); in testDecodeSuccessRequestShortAuthString() 163 EapError eapError = result.eapError; in testDecodeSuccessRequestInvalidAuthString() local 164 assertTrue(eapError.cause instanceof NumberFormatException); in testDecodeSuccessRequestInvalidAuthString() [all …]
|
D | EapMsChapV2ChallengeRequestTest.java | 75 EapError eapError = result.eapError; in testDecodeChallengeRequestWrongOpCode() local 76 assertTrue(eapError.cause instanceof EapMsChapV2ParsingException); in testDecodeChallengeRequestWrongOpCode() 84 EapError eapError = result.eapError; in testDecodeChallengeRequestShortChallenge() local 85 assertTrue(eapError.cause instanceof EapMsChapV2ParsingException); in testDecodeChallengeRequestShortChallenge() 93 EapError eapError = result.eapError; in testDecodeChallengeRequestShortMsLength() local 94 assertTrue(eapError.cause instanceof EapMsChapV2ParsingException); in testDecodeChallengeRequestShortMsLength() 102 EapError eapError = result.eapError; in testDecodeChallengeRequestLongMsLength() local 103 assertTrue(eapError.cause instanceof BufferUnderflowException); in testDecodeChallengeRequestLongMsLength()
|
D | EapMsChapV2FailureRequestTest.java | 119 assertTrue(result.eapError.cause instanceof NumberFormatException); in testDecodeFailureRequestInvalidErrorCode() 127 assertTrue(result.eapError.cause instanceof NumberFormatException); in testDecodeFailureRequestInvalidChallenge() 135 assertTrue(result.eapError.cause instanceof EapMsChapV2ParsingException); in testDecodeFailureRequestShortChallenge() 144 assertTrue(result.eapError.cause instanceof NumberFormatException); in testDecodeFailureRequestInvalidPasswordChangeProtocol() 152 assertTrue(result.eapError.cause instanceof EapMsChapV2ParsingException); in testDecodeFailureExtraAttribute()
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/statemachine/ |
D | EapStateTest.java | 80 EapError eapError = (EapError) result; in testProcessNullPacket() local 81 assertTrue(eapError.cause instanceof IllegalArgumentException); in testProcessNullPacket() 98 EapError eapError = (EapError) result; in testProcessDecodeFailure() local 99 assertTrue(eapError.cause instanceof EapInvalidPacketLengthException); in testProcessDecodeFailure() 107 EapError eapError = (EapError) result; in testProcessResponse() local 108 assertTrue(eapError.cause instanceof EapInvalidRequestException); in testProcessResponse() 116 EapError eapError = (EapError) result; in testProcessNakRequest() local 117 assertTrue(eapError.cause instanceof EapInvalidRequestException); in testProcessNakRequest()
|
D | EapStateMachineTest.java | 66 EapError eapError = (EapError) result; in testSuccessStateProcessFails() local 67 assertTrue(eapError.cause instanceof EapInvalidRequestException); in testSuccessStateProcessFails() 78 EapError eapError = (EapError) result; in testFailureStateProcessFails() local 79 assertTrue(eapError.cause instanceof EapInvalidRequestException); in testFailureStateProcessFails()
|
D | EapSimStartStateTest.java | 104 EapError eapError = (EapError) result; in testProcessSuccess() local 105 assertTrue(eapError.cause instanceof EapInvalidRequestException); in testProcessSuccess() 123 EapError eapError = (EapError) result; in testProcessIncorrectEapMethodType() local 124 assertTrue(eapError.cause instanceof EapInvalidRequestException); in testProcessIncorrectEapMethodType() 199 EapError eapError = (EapError) result; in testAddIdentityAttributeToResponseImsiUnavailable() local 200 assertTrue(eapError.cause instanceof EapSimAkaIdentityUnavailableException); in testAddIdentityAttributeToResponseImsiUnavailable()
|
D | EapSimCreatedStateTest.java | 70 EapError eapError = (EapError) result; in testProcessSuccess() local 71 assertTrue(eapError.cause instanceof EapInvalidRequestException); in testProcessSuccess() 108 EapError eapError = (EapError) result; in testProcessIncorrectEapMethodType() local 109 assertTrue(eapError.cause instanceof EapInvalidRequestException); in testProcessIncorrectEapMethodType()
|
D | EapMsChapV2ValidateAuthenticatorStateTest.java | 160 EapError eapError = (EapError) result; in testProcessEmptyTypeData() local 161 assertTrue(eapError.cause instanceof BufferUnderflowException); in testProcessEmptyTypeData() 173 EapError eapError = (EapError) result; in testProcessInvalidPacket() local 174 assertTrue(eapError.cause instanceof EapInvalidRequestException); in testProcessInvalidPacket()
|
D | EapAkaChallengeStateTest.java | 129 EapError eapError = (EapError) result; in testProcessIncorrectEapMethodType() local 130 assertTrue(eapError.cause instanceof EapInvalidRequestException); in testProcessIncorrectEapMethodType() 151 EapError eapError = (EapError) mEapAkaMethodStateMachine.process(input); in testProcessInvalidSuccess() local 152 assertTrue(eapError.cause instanceof EapInvalidRequestException); in testProcessInvalidSuccess() 320 EapError eapError = (EapError) mEapAkaMethodStateMachine.process(eapMessage); in testProcessIccAuthenticationInvalidTag() local 321 assertTrue(eapError.cause instanceof EapAkaInvalidAuthenticationResponse); in testProcessIccAuthenticationInvalidTag()
|
D | EapSimChallengeStateTest.java | 132 EapError eapError = (EapError) result; in testProcessIncorrectEapMethodType() local 133 assertTrue(eapError.cause instanceof EapInvalidRequestException); in testProcessIncorrectEapMethodType() 347 EapError eapError = (EapError) mEapSimMethodStateMachine.process(eapMessage); in testProcessUiccAuthenticationNullResponse() local 348 assertTrue(eapError.cause instanceof EapSimAkaAuthenticationFailureException); in testProcessUiccAuthenticationNullResponse()
|
D | EapTtlsCreatedStateTest.java | 69 EapError eapError = (EapError) eapResult; in testUnexpectedRequest() local 70 assertTrue(eapError.cause instanceof EapInvalidRequestException); in testUnexpectedRequest()
|
D | EapMsChapV2CreatedStateTest.java | 75 EapError eapError = (EapError) result; in testIncorrectTypeData() local 76 assertTrue(eapError.cause instanceof EapMsChapV2ParsingException); in testIncorrectTypeData()
|
D | EapTtlsStateTest.java | 94 EapError eapError = (EapError) result; in testHandleEapSuccessNotification() local 95 assertTrue(eapError.cause instanceof EapInvalidRequestException); in testHandleEapSuccessNotification()
|
D | EapMsChapV2StateTest.java | 84 EapError eapError = (EapError) result; in testHandleEapSuccess() local 85 assertTrue(eapError.cause instanceof EapInvalidRequestException); in testHandleEapSuccess()
|
D | EapAkaCreatedStateTest.java | 98 EapError eapError = (EapError) result; in testProcessSuccess() local 99 assertTrue(eapError.cause instanceof EapInvalidRequestException); in testProcessSuccess()
|
D | EapMsChapV2ChallengeStateTest.java | 102 EapError eapError = (EapError) result; in testIncorrectTypeData() local 103 assertTrue(eapError.cause instanceof EapMsChapV2ParsingException); in testIncorrectTypeData()
|
D | EapAkaPrimeStateTest.java | 97 EapError eapError = (EapError) result; in testHandleEapSuccess() local 98 assertTrue(eapError.cause instanceof EapInvalidRequestException); in testHandleEapSuccess()
|
/packages/modules/IPsec/src/java/com/android/internal/net/eap/message/ttls/ |
D | EapTtlsTypeData.java | 222 public final EapError eapError; field in EapTtlsTypeData.EapTtlsTypeDataDecoder.DecodeResult 226 this.eapError = null; in DecodeResult() 229 public DecodeResult(EapError eapError) { in DecodeResult() argument 231 this.eapError = eapError; in DecodeResult()
|
/packages/modules/IPsec/src/java/com/android/internal/net/eap/message/mschapv2/ |
D | EapMsChapV2TypeData.java | 578 public final EapError eapError; field in EapMsChapV2TypeData.EapMsChapV2TypeDataDecoder.DecodeResult 582 this.eapError = null; in DecodeResult() 585 public DecodeResult(EapError eapError) { in DecodeResult() argument 587 this.eapError = eapError; in DecodeResult()
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/message/ttls/ |
D | EapTtlsTypeDataTest.java | 94 EapError eapError = decodeResult.eapError; in testDecodeEapTtlsRequest_incorrectMessageLength() local 95 assertTrue(eapError.cause instanceof EapTtlsParsingException); in testDecodeEapTtlsRequest_incorrectMessageLength()
|
/packages/modules/IPsec/src/java/com/android/internal/net/eap/ |
D | EapAuthenticator.java | 184 EapError eapError = (EapError) finalProcessResponse; in processEapMessage() local 187 "EapError returned with cause=" + eapError.cause); in processEapMessage() 188 mCb.onError(eapError.cause); in processEapMessage()
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/ |
D | EapErrorTest.java | 30 EapError eapError = new EapError(EXPECTED_EXCEPTION); in testEapErrorConstructor() local 31 assertEquals(EXPECTED_EXCEPTION, eapError.cause); in testEapErrorConstructor()
|
D | EapResponseTest.java | 67 EapError eapError = (EapError) eapResult; in testGetEapResponseNonRequestMessage() local 68 assertTrue(eapError.cause instanceof InvalidEapResponseException); in testGetEapResponseNonRequestMessage()
|
/packages/modules/IPsec/src/java/com/android/internal/net/eap/statemachine/ |
D | EapTtlsMethodStateMachine.java | 111 LOG.e(mTAG, "Error parsing EAP-TTLS packet type data", decodeResult.eapError.cause); in process() 112 return decodeResult.eapError; in process()
|
D | EapMsChapV2MethodStateMachine.java | 233 return decodeResult.eapError; in process() 253 return decodeResult.eapError; in process() 348 return successDecodeResult.eapError; in process() 390 return failureDecodeResult.eapError; in process()
|