/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/src/java/com/android/internal/net/eap/statemachine/ |
D | EapTtlsMethodStateMachine.java | 160 LOG.e(mTAG, "Error parsing EAP-TTLS packet type data", decodeResult.eapError.cause); in process() 161 return decodeResult.eapError; in process() 215 LOG.e(mTAG, "Error parsing EAP-TTLS packet type data", decodeResult.eapError.cause); in process() 217 return decodeResult.eapError; in process() 220 mTAG, message.eapIdentifier, decodeResult.eapError); in process() 275 EapError eapError = in process() local 283 transitionTo(new ErroredAndAwaitingClosureState(eapError)); in process() 430 LOG.e(mTAG, "Error parsing EAP-TTLS packet type data", decodeResult.eapError.cause); in process() 432 mTAG, message.eapIdentifier, decodeResult.eapError); in process() 460 LOG.e(mTAG, "Error parsing EAP-TTLS AVP", avpDecodeResult.eapError.cause); in process() [all …]
|
/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 | EapSimCreatedStateTest.java | 72 EapError eapError = (EapError) result; in testProcessSuccess() local 73 assertTrue(eapError.cause instanceof EapInvalidRequestException); in testProcessSuccess() 110 EapError eapError = (EapError) result; in testProcessIncorrectEapMethodType() local 111 assertTrue(eapError.cause instanceof EapInvalidRequestException); in testProcessIncorrectEapMethodType()
|
D | EapSimStartStateTest.java | 105 EapError eapError = (EapError) result; in testProcessSuccess() local 106 assertTrue(eapError.cause instanceof EapInvalidRequestException); in testProcessSuccess() 124 EapError eapError = (EapError) result; in testProcessIncorrectEapMethodType() local 125 assertTrue(eapError.cause instanceof EapInvalidRequestException); in testProcessIncorrectEapMethodType() 200 EapError eapError = (EapError) result; in testAddIdentityAttributeToResponseImsiUnavailable() local 201 assertTrue(eapError.cause instanceof EapSimAkaIdentityUnavailableException); in testAddIdentityAttributeToResponseImsiUnavailable()
|
D | EapMsChapV2ValidateAuthenticatorStateTest.java | 161 EapError eapError = (EapError) result; in testProcessEmptyTypeData() local 162 assertTrue(eapError.cause instanceof BufferUnderflowException); in testProcessEmptyTypeData() 174 EapError eapError = (EapError) result; in testProcessInvalidPacket() local 175 assertTrue(eapError.cause instanceof EapInvalidRequestException); in testProcessInvalidPacket()
|
D | EapTtlsStateTest.java | 148 EapError eapError = (EapError) result; in testHandleEapSuccessNotification() local 149 assertTrue(eapError.cause instanceof EapInvalidRequestException); in testHandleEapSuccessNotification() 229 EapError eapError = (EapError) result; in processMessageAndVerifyEapError() local 230 assertTrue(error.isInstance(eapError.cause)); in processMessageAndVerifyEapError()
|
D | EapTtlsErroredAndAwaitingClosureStateTest.java | 71 EapError eapError = in testTransitionToClosureState_eapError() local 77 assertTrue(eapError.cause instanceof EapTtlsParsingException); in testTransitionToClosureState_eapError()
|
D | EapAkaChallengeStateTest.java | 136 EapError eapError = (EapError) result; in testProcessIncorrectEapMethodType() local 137 assertTrue(eapError.cause instanceof EapInvalidRequestException); in testProcessIncorrectEapMethodType() 158 EapError eapError = (EapError) mEapAkaMethodStateMachine.process(input); in testProcessInvalidSuccess() local 159 assertTrue(eapError.cause instanceof EapInvalidRequestException); in testProcessInvalidSuccess() 327 EapError eapError = (EapError) mEapAkaMethodStateMachine.process(eapMessage); in testProcessIccAuthenticationInvalidTag() local 328 assertTrue(eapError.cause instanceof EapAkaInvalidAuthenticationResponse); in testProcessIccAuthenticationInvalidTag()
|
D | EapMsChapV2CreatedStateTest.java | 76 EapError eapError = (EapError) result; in testIncorrectTypeData() local 77 assertTrue(eapError.cause instanceof EapMsChapV2ParsingException); in testIncorrectTypeData()
|
D | EapMsChapV2StateTest.java | 84 EapError eapError = (EapError) result; in testHandleEapSuccess() local 85 assertTrue(eapError.cause instanceof EapInvalidRequestException); in testHandleEapSuccess()
|
D | EapAkaCreatedStateTest.java | 99 EapError eapError = (EapError) result; in testProcessSuccess() local 100 assertTrue(eapError.cause instanceof EapInvalidRequestException); in testProcessSuccess()
|
D | EapAkaPrimeStateTest.java | 98 EapError eapError = (EapError) result; in testHandleEapSuccess() local 99 assertTrue(eapError.cause instanceof EapInvalidRequestException); in testHandleEapSuccess()
|
/packages/modules/IPsec/src/java/com/android/internal/net/eap/message/ttls/ |
D | EapTtlsTypeData.java | 231 public final EapError eapError; field in EapTtlsTypeData.EapTtlsTypeDataDecoder.DecodeResult 235 this.eapError = null; in DecodeResult() 238 public DecodeResult(EapError eapError) { in DecodeResult() argument 240 this.eapError = eapError; in DecodeResult()
|
D | EapTtlsAvp.java | 294 public final EapError eapError; field in EapTtlsAvp.EapTtlsAvpDecoder.AvpDecodeResult 298 this.eapError = null; in AvpDecodeResult() 301 public AvpDecodeResult(EapError eapError) { in AvpDecodeResult() argument 303 this.eapError = eapError; in AvpDecodeResult()
|
/packages/modules/IPsec/src/java/com/android/internal/net/eap/crypto/ |
D | TlsSession.java | 505 public final EapError eapError; field in TlsSession.EapTtlsKeyingMaterial 510 this.eapError = null; in EapTtlsKeyingMaterial() 513 public EapTtlsKeyingMaterial(EapError eapError) { in EapTtlsKeyingMaterial() argument 516 this.eapError = eapError; in EapTtlsKeyingMaterial() 520 return eapError == null; in isSuccessful()
|
/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/ |
D | EapAuthenticator.java | 173 EapError eapError = (EapError) finalProcessResponse; in processEapMessage() local 176 "EapError returned with cause=" + eapError.cause); in processEapMessage() 177 mCb.onError(eapError.cause); in processEapMessage()
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/message/ttls/ |
D | EapTtlsTypeDataTest.java | 97 EapError eapError = decodeResult.eapError; in testDecodeEapTtlsRequest_incorrectMessageLength() local 98 assertTrue(eapError.cause instanceof EapTtlsParsingException); in testDecodeEapTtlsRequest_incorrectMessageLength()
|
D | EapTtlsAvpTest.java | 228 EapError eapError = decodeResult.eapError; in verifyAvpDecodingFailure() local 229 assertTrue(eapError.cause instanceof EapTtlsParsingException); in verifyAvpDecodingFailure()
|
/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()
|