/packages/modules/IPsec/src/java/com/android/internal/net/eap/statemachine/ |
D | EapStateMachine.java | 47 import com.android.internal.net.eap.EapResult; 48 import com.android.internal.net.eap.EapResult.EapError; 49 import com.android.internal.net.eap.EapResult.EapFailure; 50 import com.android.internal.net.eap.EapResult.EapResponse; 51 import com.android.internal.net.eap.EapResult.EapSuccess; 73 public class EapStateMachine extends SimpleStateMachine<byte[], EapResult> { 112 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 | EapMsChapV2MethodStateMachine.java | 36 import com.android.internal.net.eap.EapResult; 37 import com.android.internal.net.eap.EapResult.EapError; 38 import com.android.internal.net.eap.EapResult.EapFailure; 39 import com.android.internal.net.eap.EapResult.EapResponse; 40 import com.android.internal.net.eap.EapResult.EapSuccess; 216 EapResult handleEapNotification(String tag, EapMessage message) { in handleEapNotification() 224 public EapResult process(EapMessage message) { in process() 225 EapResult result = handleEapSuccessFailureNotification(mTAG, message); in process() 244 public EapResult process(EapMessage message) { in process() 245 EapResult result = handleEapSuccessFailureNotification(mTAG, message); in process() [all …]
|
D | EapMethodStateMachine.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.EapFailure; 39 public abstract class EapMethodStateMachine extends SimpleStateMachine<EapMessage, EapResult> { 69 abstract EapResult handleEapNotification(String tag, EapMessage message); in handleEapNotification() 83 EapResult handleEapSuccessFailureNotification(String tag, EapMessage message) { in handleEapSuccessFailureNotification() 115 public EapResult process(EapMessage msg) { in process()
|
D | EapTtlsMethodStateMachine.java | 27 import com.android.internal.net.eap.EapResult; 28 import com.android.internal.net.eap.EapResult.EapError; 89 EapResult handleEapNotification(String tag, EapMessage message) { in handleEapNotification() 101 public EapResult process(EapMessage message) { in process() 103 EapResult result = handleEapSuccessFailureNotification(mTAG, message); in process() 135 public EapResult process(EapMessage message) { in process() 149 public EapResult process(EapMessage message) { in process()
|
D | EapAkaMethodStateMachine.java | 44 import com.android.internal.net.eap.EapResult; 45 import com.android.internal.net.eap.EapResult.EapError; 46 import com.android.internal.net.eap.EapResult.EapSuccess; 173 public EapResult process(EapMessage message) { in process() 174 EapResult result = handleEapSuccessFailureNotification(mTAG, message); in process() 212 public EapResult process(EapMessage message) { in process() 213 EapResult result = handleEapSuccessFailureNotification(mTAG, message); in process() 324 public EapResult process(EapMessage message) { in process() 336 EapResult result = handleEapSuccessFailureNotification(mTAG, message); in process() 374 protected EapResult handleChallengeAuthentication( in handleChallengeAuthentication() [all …]
|
D | EapSimMethodStateMachine.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.EapSuccess; 138 public EapResult process(EapMessage message) { in process() 139 EapResult result = handleEapSuccessFailureNotification(mTAG, message); in process() 196 public EapResult process(EapMessage message) { in process() 197 EapResult result = handleEapSuccessFailureNotification(mTAG, message); in process() 367 public EapResult process(EapMessage message) { in process() 379 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.EapResult; 36 import com.android.internal.net.eap.EapResult.EapError; 37 import com.android.internal.net.eap.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 | 36 import com.android.internal.net.eap.EapResult; 37 import com.android.internal.net.eap.EapResult.EapError; 38 import com.android.internal.net.eap.EapResult.EapFailure; 39 import com.android.internal.net.eap.EapResult.EapResponse; 60 EapResult result = mStateMachine.process(notification); in testProcessNotification() 78 EapResult result = mStateMachine.process(eapMessage); in testProcessInvalidDecodeResult() 89 EapResult result = mStateMachine.process(new EapMessage(EAP_CODE_FAILURE, ID_INT, null)); in testHandleEapFailure() 96 EapResult result = mStateMachine.process(new EapMessage(EAP_CODE_SUCCESS, ID_INT, null)); in testHandleEapSuccess()
|
D | EapMsChapV2ValidateAuthenticatorStateTest.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.EapFailure; 49 import com.android.internal.net.eap.EapResult.EapResponse; 94 EapResult result = mStateMachine.process(eapMessage); in testProcessSuccessRequest() 116 EapResult result = mStateMachine.process(eapMessage); in testProcessInvalidSuccessRequest() 143 EapResult result = mStateMachine.process(eapMessage); in testProcessFailureRequest() 159 EapResult result = mStateMachine.process(eapMessage); in testProcessEmptyTypeData() 172 EapResult result = mStateMachine.process(eapMessage); in testProcessInvalidPacket()
|
D | EapTtlsStateTest.java | 39 import com.android.internal.net.eap.EapResult; 40 import com.android.internal.net.eap.EapResult.EapError; 41 import com.android.internal.net.eap.EapResult.EapFailure; 42 import com.android.internal.net.eap.EapResult.EapResponse; 86 EapResult result = mStateMachine.process(new EapMessage(EAP_CODE_FAILURE, ID_INT, null)); in testHandleEapFailureNotification() 93 EapResult result = mStateMachine.process(new EapMessage(EAP_CODE_SUCCESS, ID_INT, null)); in testHandleEapSuccessNotification() 104 EapResult result = mStateMachine.process(eapMessage); in testHandleEapNotification()
|
D | EapMsChapV2StateTest.java | 36 import com.android.internal.net.eap.EapResult; 37 import com.android.internal.net.eap.EapResult.EapError; 38 import com.android.internal.net.eap.EapResult.EapFailure; 39 import com.android.internal.net.eap.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.EapResult; 52 import com.android.internal.net.eap.EapResult.EapError; 53 import com.android.internal.net.eap.EapResult.EapFailure; 54 import com.android.internal.net.eap.EapResult.EapResponse; 55 import com.android.internal.net.eap.EapResult.EapSuccess; 85 EapResult result = mEapState.process(EAP_REQUEST_IDENTITY_PACKET); in testProcessUnsupportedEapType() 202 EapResult result = mEapStateMachine.process(EAP_FAILURE_PACKET); in testProcessEapFailureWithNoEapMethodState() 209 EapResult result = mEapStateMachine.process(EAP_SUCCESS_PACKET); in testProcessEapSuccessWithNoEapMethodState() 217 EapResult result = mEapStateMachine.process(EAP_REQUEST_NOTIFICATION_PACKET); in testProcessEapNotificationWithNoEapMethodState()
|
D | EapAkaStateTest.java | 44 import com.android.internal.net.eap.EapResult; 45 import com.android.internal.net.eap.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 | EapSimStartStateTest.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; 102 EapResult result = mStartState.process(input); in testProcessSuccess() 111 EapResult result = mStartState.process(input); in testProcessFailure() 122 EapResult result = mStartState.process(eapMessage); in testProcessIncorrectEapMethodType() 198 EapResult result = mStartState.process(eapMessage); in testAddIdentityAttributeToResponseImsiUnavailable() 229 EapResult result = mEapSimMethodStateMachine.process(eapMessage); in testProcessWithoutIdentityRequest()
|
D | EapSimCreatedStateTest.java | 33 import com.android.internal.net.eap.EapResult; 34 import com.android.internal.net.eap.EapResult.EapError; 35 import com.android.internal.net.eap.EapResult.EapFailure; 68 EapResult result = mCreatedState.process(input); in testProcessSuccess() 77 EapResult result = mCreatedState.process(input); in testProcessFailure() 107 EapResult result = mEapSimMethodStateMachine.process(eapMessage); in testProcessIncorrectEapMethodType()
|
D | IdentityStateTest.java | 36 import com.android.internal.net.eap.EapResult; 37 import com.android.internal.net.eap.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 | 35 import com.android.internal.net.eap.EapResult; 36 import com.android.internal.net.eap.EapResult.EapError; 37 import com.android.internal.net.eap.EapResult.EapFailure; 96 EapResult result = mEapAkaMethodStateMachine.process(input); in testProcessSuccess() 105 EapResult result = mEapAkaMethodStateMachine.process(input); in testProcessFailure()
|
D | EapMsChapV2ChallengeStateTest.java | 39 import com.android.internal.net.eap.EapResult; 40 import com.android.internal.net.eap.EapResult.EapError; 41 import com.android.internal.net.eap.EapResult.EapResponse; 82 EapResult result = mStateMachine.process(eapMessage); in testProcessChallenge() 101 EapResult result = mStateMachine.process(eapMessage); in testIncorrectTypeData()
|
D | EapSimAkaMethodStateMachineTest.java | 86 import com.android.internal.net.eap.EapResult; 87 import com.android.internal.net.eap.EapResult.EapError; 88 import com.android.internal.net.eap.EapResult.EapResponse; 173 EapResult result = in testBuildClientErrorResponse() 175 assertTrue(result instanceof EapResult.EapResponse); in testBuildClientErrorResponse() 176 EapResult.EapResponse eapResponse = (EapResult.EapResponse) result; in testBuildClientErrorResponse() 187 EapResult result = in testBuildResponseMessage() 193 assertTrue(result instanceof EapResult); in testBuildResponseMessage() 354 EapResult result = in testBuildResponseMessageWithMac()
|
D | EapStateMachineTest.java | 29 import com.android.internal.net.eap.EapResult; 30 import com.android.internal.net.eap.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 | 28 public abstract class EapResult { class 36 public static class EapSuccess extends EapResult { 55 public static class EapFailure extends EapResult {} 63 public static class EapResponse extends EapResult { 81 public static EapResult getEapResponse(@NonNull EapMessage message) { in getEapResponse() 99 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.EapResult.EapError; 27 import com.android.internal.net.eap.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()
|