/packages/modules/IPsec/src/java/com/android/internal/net/eap/statemachine/ |
D | EapTtlsMethodStateMachine.java | 41 import com.android.internal.net.eap.EapResult; 42 import com.android.internal.net.eap.EapResult.EapError; 43 import com.android.internal.net.eap.EapResult.EapFailure; 44 import com.android.internal.net.eap.EapResult.EapResponse; 45 import com.android.internal.net.eap.EapResult.EapSuccess; 138 EapResult handleEapNotification(String tag, EapMessage message) { in handleEapNotification() 150 public EapResult process(EapMessage message) { in process() 152 EapResult result = handleEapSuccessFailureNotification(mTAG, message); in process() 206 public EapResult process(EapMessage message) { in process() 207 EapResult eapResult = handleEapSuccessFailureNotification(mTAG, message); in process() [all …]
|
D | EapStateMachine.java | 49 import com.android.internal.net.eap.EapResult; 50 import com.android.internal.net.eap.EapResult.EapError; 51 import com.android.internal.net.eap.EapResult.EapFailure; 52 import com.android.internal.net.eap.EapResult.EapResponse; 53 import com.android.internal.net.eap.EapResult.EapSuccess; 74 public class EapStateMachine extends SimpleStateMachine<byte[], EapResult> { 113 protected EapResult transitionAndProcess(EapState newState, byte[] packet) { in transitionAndProcess() 166 public final EapResult eapResult; 173 public DecodeResult(EapResult eapResult) { in DecodeResult() 187 public EapResult process(@NonNull byte[] packet) { in process() [all …]
|
D | EapSimAkaMethodStateMachine.java | 30 import com.android.internal.net.eap.EapResult; 31 import com.android.internal.net.eap.EapResult.EapError; 32 import com.android.internal.net.eap.EapResult.EapResponse; 126 EapResult handleEapNotification(String tag, EapMessage message) { in handleEapNotification() 135 EapResult buildClientErrorResponse( in buildClientErrorResponse() 146 return EapResult.EapResponse.getEapResponse(response); in buildClientErrorResponse() 148 return new EapResult.EapError(ex); in buildClientErrorResponse() 153 EapResult buildResponseMessage( in buildResponseMessage() 163 return EapResult.EapResponse.getEapResponse(eapMessage); in buildResponseMessage() 165 return new EapResult.EapError(ex); in buildResponseMessage() [all …]
|
D | EapMethodStateMachine.java | 28 import com.android.internal.net.eap.EapResult; 29 import com.android.internal.net.eap.EapResult.EapError; 30 import com.android.internal.net.eap.EapResult.EapFailure; 39 public abstract class EapMethodStateMachine extends SimpleStateMachine<EapMessage, EapResult> { 73 abstract EapResult handleEapNotification(String tag, EapMessage message); in handleEapNotification() 87 EapResult handleEapSuccessFailureNotification(String tag, EapMessage message) { in handleEapSuccessFailureNotification() 119 public EapResult process(EapMessage msg) { in process()
|
D | EapMsChapV2MethodStateMachine.java | 38 import com.android.internal.net.eap.EapResult; 39 import com.android.internal.net.eap.EapResult.EapError; 40 import com.android.internal.net.eap.EapResult.EapFailure; 41 import com.android.internal.net.eap.EapResult.EapResponse; 42 import com.android.internal.net.eap.EapResult.EapSuccess; 220 EapResult handleEapNotification(String tag, EapMessage message) { in handleEapNotification() 228 public EapResult process(EapMessage message) { in process() 229 EapResult result = handleEapSuccessFailureNotification(mTAG, message); in process() 248 public EapResult process(EapMessage message) { in process() 249 EapResult result = handleEapSuccessFailureNotification(mTAG, message); in process() [all …]
|
D | EapAkaMethodStateMachine.java | 46 import com.android.internal.net.eap.EapResult; 47 import com.android.internal.net.eap.EapResult.EapError; 48 import com.android.internal.net.eap.EapResult.EapSuccess; 174 public EapResult process(EapMessage message) { in process() 175 EapResult result = handleEapSuccessFailureNotification(mTAG, message); in process() 213 public EapResult process(EapMessage message) { in process() 214 EapResult result = handleEapSuccessFailureNotification(mTAG, message); in process() 326 public EapResult process(EapMessage message) { in process() 338 EapResult result = handleEapSuccessFailureNotification(mTAG, message); in process() 376 protected EapResult handleChallengeAuthentication( in handleChallengeAuthentication() [all …]
|
D | EapSimMethodStateMachine.java | 43 import com.android.internal.net.eap.EapResult; 44 import com.android.internal.net.eap.EapResult.EapError; 45 import com.android.internal.net.eap.EapResult.EapSuccess; 139 public EapResult process(EapMessage message) { in process() 140 EapResult result = handleEapSuccessFailureNotification(mTAG, message); in process() 197 public EapResult process(EapMessage message) { in process() 198 EapResult result = handleEapSuccessFailureNotification(mTAG, message); in process() 368 public EapResult process(EapMessage message) { in process() 380 EapResult eapResult = handleEapSuccessFailureNotification(mTAG, message); in process()
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/statemachine/ |
D | EapStateTest.java | 35 import com.android.internal.net.eap.test.EapResult; 36 import com.android.internal.net.eap.test.EapResult.EapError; 37 import com.android.internal.net.eap.test.EapResult.EapResponse; 69 public EapResult process(byte[] msg) { in setUp() 77 EapResult result = mEapState.process(null); in testProcessNullPacket() 86 EapResult result = mEapState.process(REQUEST_UNSUPPORTED_TYPE_PACKET); in testProcessUnsupportedEapDataType() 95 EapResult result = mEapState.process(SHORT_PACKET); in testProcessDecodeFailure() 104 EapResult result = mEapState.process(EAP_RESPONSE_NOTIFICATION_PACKET); in testProcessResponse() 113 EapResult result = mEapState.process(EAP_REQUEST_NAK_PACKET); in testProcessNakRequest() 122 EapResult result = mEapState.process(EAP_REQUEST_MD5_CHALLENGE); in testProcessMd5Challenge()
|
D | EapAkaPrimeStateTest.java | 37 import com.android.internal.net.eap.test.EapResult; 38 import com.android.internal.net.eap.test.EapResult.EapError; 39 import com.android.internal.net.eap.test.EapResult.EapFailure; 40 import com.android.internal.net.eap.test.EapResult.EapResponse; 61 EapResult result = mStateMachine.process(notification); in testProcessNotification() 79 EapResult result = mStateMachine.process(eapMessage); in testProcessInvalidDecodeResult() 90 EapResult result = mStateMachine.process(new EapMessage(EAP_CODE_FAILURE, ID_INT, null)); in testHandleEapFailure() 97 EapResult result = mStateMachine.process(new EapMessage(EAP_CODE_SUCCESS, ID_INT, null)); in testHandleEapSuccess()
|
D | EapMsChapV2StateTest.java | 36 import com.android.internal.net.eap.test.EapResult; 37 import com.android.internal.net.eap.test.EapResult.EapError; 38 import com.android.internal.net.eap.test.EapResult.EapFailure; 39 import com.android.internal.net.eap.test.EapResult.EapResponse; 76 EapResult result = mStateMachine.process(new EapMessage(EAP_CODE_FAILURE, ID_INT, null)); in testHandleEapFailure() 83 EapResult result = mStateMachine.process(new EapMessage(EAP_CODE_SUCCESS, ID_INT, null)); in testHandleEapSuccess() 94 EapResult result = mStateMachine.process(notification); in testHandleEapNotification()
|
D | MethodStateTest.java | 51 import com.android.internal.net.eap.test.EapResult; 52 import com.android.internal.net.eap.test.EapResult.EapError; 53 import com.android.internal.net.eap.test.EapResult.EapFailure; 54 import com.android.internal.net.eap.test.EapResult.EapResponse; 55 import com.android.internal.net.eap.test.EapResult.EapSuccess; 85 EapResult result = mEapState.process(EAP_REQUEST_IDENTITY_PACKET); in testProcessUnsupportedEapType() 206 EapResult result = mEapStateMachine.process(EAP_FAILURE_PACKET); in testProcessEapFailureWithNoEapMethodState() 213 EapResult result = mEapStateMachine.process(EAP_SUCCESS_PACKET); in testProcessEapSuccessWithNoEapMethodState() 221 EapResult result = mEapStateMachine.process(EAP_REQUEST_NOTIFICATION_PACKET); in testProcessEapNotificationWithNoEapMethodState()
|
D | EapMsChapV2ValidateAuthenticatorStateTest.java | 47 import com.android.internal.net.eap.test.EapResult; 48 import com.android.internal.net.eap.test.EapResult.EapError; 49 import com.android.internal.net.eap.test.EapResult.EapFailure; 50 import com.android.internal.net.eap.test.EapResult.EapResponse; 95 EapResult result = mStateMachine.process(eapMessage); in testProcessSuccessRequest() 117 EapResult result = mStateMachine.process(eapMessage); in testProcessInvalidSuccessRequest() 144 EapResult result = mStateMachine.process(eapMessage); in testProcessFailureRequest() 160 EapResult result = mStateMachine.process(eapMessage); in testProcessEmptyTypeData() 173 EapResult result = mStateMachine.process(eapMessage); in testProcessInvalidPacket()
|
D | EapTtlsStateTest.java | 52 import com.android.internal.net.eap.test.EapResult; 53 import com.android.internal.net.eap.test.EapResult.EapError; 54 import com.android.internal.net.eap.test.EapResult.EapFailure; 55 import com.android.internal.net.eap.test.EapResult.EapResponse; 140 EapResult result = mStateMachine.process(new EapMessage(EAP_CODE_FAILURE, ID_INT, null)); in testHandleEapFailureNotification() 147 EapResult result = mStateMachine.process(new EapMessage(EAP_CODE_SUCCESS, ID_INT, null)); in testHandleEapSuccessNotification() 158 EapResult result = mStateMachine.process(eapMessage); in testHandleEapNotification() 196 EapResult result = mStateMachine.process(eapMessage); in processMessageAndVerifyEapResponse() 228 EapResult result = mStateMachine.process(eapMessage); in processMessageAndVerifyEapError()
|
D | EapTtlsTunnelStateTest.java | 54 import com.android.internal.net.eap.test.EapResult; 55 import com.android.internal.net.eap.test.EapResult.EapError; 56 import com.android.internal.net.eap.test.EapResult.EapFailure; 57 import com.android.internal.net.eap.test.EapResult.EapResponse; 58 import com.android.internal.net.eap.test.EapResult.EapSuccess; 90 private EapResult mDummyEapResponse; 122 EapResult result = mStateMachine.process(eapMessage); in testHandleEapFailureNotification() 140 EapResult result = mStateMachine.process(eapMessage); in testHandleEapSuccessNotification() 156 EapResult result = mStateMachine.process(eapMessage); in testTunnel_prematureSuccess() 361 EapTtlsTypeData decodedTypeData, byte[] assembledData, EapResult innerResult) in processMessageAndVerifyConnectionClosed() [all …]
|
D | EapAkaStateTest.java | 44 import com.android.internal.net.eap.test.EapResult; 45 import com.android.internal.net.eap.test.EapResult.EapResponse; 102 EapResult result = mEapAkaMethodStateMachine.process(notification); in testProcessNotification() 106 assertTrue(result instanceof EapResult.EapResponse); in testProcessNotification() 107 EapResult.EapResponse eapResponse = (EapResult.EapResponse) result; in testProcessNotification() 141 EapResult result = mEapAkaMethodStateMachine.process(eapMessage); in testProcessInvalidDecodeResult()
|
D | EapSimCreatedStateTest.java | 34 import com.android.internal.net.eap.test.EapResult; 35 import com.android.internal.net.eap.test.EapResult.EapError; 36 import com.android.internal.net.eap.test.EapResult.EapFailure; 70 EapResult result = mCreatedState.process(input); in testProcessSuccess() 79 EapResult result = mCreatedState.process(input); in testProcessFailure() 109 EapResult result = mEapSimMethodStateMachine.process(eapMessage); in testProcessIncorrectEapMethodType()
|
D | EapSimStartStateTest.java | 49 import com.android.internal.net.eap.test.EapResult; 50 import com.android.internal.net.eap.test.EapResult.EapError; 51 import com.android.internal.net.eap.test.EapResult.EapFailure; 52 import com.android.internal.net.eap.test.EapResult.EapResponse; 103 EapResult result = mStartState.process(input); in testProcessSuccess() 112 EapResult result = mStartState.process(input); in testProcessFailure() 123 EapResult result = mStartState.process(eapMessage); in testProcessIncorrectEapMethodType() 199 EapResult result = mStartState.process(eapMessage); in testAddIdentityAttributeToResponseImsiUnavailable() 230 EapResult result = mEapSimMethodStateMachine.process(eapMessage); in testProcessWithoutIdentityRequest()
|
D | IdentityStateTest.java | 36 import com.android.internal.net.eap.test.EapResult; 37 import com.android.internal.net.eap.test.EapResult.EapResponse; 64 EapResult eapResult = mEapState.process(EAP_REQUEST_IDENTITY_PACKET); in testProcess() 74 EapResult eapResult = mEapState.process(EAP_REQUEST_IDENTITY_PACKET); in testProcessDefaultIdentity() 84 EapResult eapResult = mEapState.process(EAP_REQUEST_NOTIFICATION_PACKET); in testProcessNotificationRequest()
|
D | EapAkaCreatedStateTest.java | 36 import com.android.internal.net.eap.test.EapResult; 37 import com.android.internal.net.eap.test.EapResult.EapError; 38 import com.android.internal.net.eap.test.EapResult.EapFailure; 97 EapResult result = mEapAkaMethodStateMachine.process(input); in testProcessSuccess() 106 EapResult result = mEapAkaMethodStateMachine.process(input); in testProcessFailure()
|
D | EapMsChapV2ChallengeStateTest.java | 40 import com.android.internal.net.eap.test.EapResult; 41 import com.android.internal.net.eap.test.EapResult.EapError; 42 import com.android.internal.net.eap.test.EapResult.EapResponse; 83 EapResult result = mStateMachine.process(eapMessage); in testProcessChallenge() 102 EapResult result = mStateMachine.process(eapMessage); in testIncorrectTypeData()
|
D | EapStateMachineTest.java | 29 import com.android.internal.net.eap.test.EapResult; 30 import com.android.internal.net.eap.test.EapResult.EapError; 63 EapResult result = successState.process(EAP_SUCCESS_PACKET); in testSuccessStateProcessFails() 75 EapResult result = failureState.process(EAP_SUCCESS_PACKET); in testFailureStateProcessFails()
|
/packages/modules/IPsec/src/java/com/android/internal/net/eap/ |
D | EapResult.java | 32 public abstract class EapResult { class 40 public static class EapSuccess extends EapResult { 69 public static class EapFailure extends EapResult {} 77 public static class EapResponse extends EapResult { 95 public static EapResult getEapResponse(@NonNull EapMessage message) { in getEapResponse() 113 public static class EapError extends EapResult {
|
D | EapAuthenticator.java | 26 import com.android.internal.net.eap.EapResult.EapError; 27 import com.android.internal.net.eap.EapResult.EapResponse; 28 import com.android.internal.net.eap.EapResult.EapSuccess; 161 EapResult processResponse; in processEapMessage() 169 final EapResult finalProcessResponse = processResponse; in processEapMessage()
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/ |
D | EapResponseTest.java | 26 import com.android.internal.net.eap.test.EapResult.EapError; 27 import com.android.internal.net.eap.test.EapResult.EapResponse; 46 EapResult eapResult = EapResponse.getEapResponse(mEapResponse); in testGetEapResponse() 64 EapResult eapResult = EapResponse.getEapResponse(mEapSuccess); in testGetEapResponseNonRequestMessage()
|
/packages/modules/IPsec/src/java/com/android/internal/net/eap/message/ |
D | EapMessage.java | 27 import com.android.internal.net.eap.EapResult; 28 import com.android.internal.net.eap.EapResult.EapError; 29 import com.android.internal.net.eap.EapResult.EapResponse; 194 public static EapResult getNotificationResponse(int eapIdentifier) { in getNotificationResponse() 215 public static EapResult getNakResponse( in getNakResponse()
|