Home
last modified time | relevance | path

Searched refs:process (Results 1 – 25 of 104) sorted by relevance

12345

/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/statemachine/
DMethodStateTest.java85 EapResult result = mEapState.process(EAP_REQUEST_IDENTITY_PACKET); in testProcessUnsupportedEapType()
93 mEapStateMachine.process(EAP_REQUEST_SIM_START_PACKET); in testProcessTransitionsToEapSim()
107 mEapStateMachine.process(EAP_REQUEST_AKA); in testProcessTransitionToEapAka()
124 mEapStateMachine.process(EAP_AKA_PRIME_REQUEST); in testProcessTransitionToEapAkaPrime()
138 mEapStateMachine.process(EAP_REQUEST_MSCHAP_V2); in testProcessTransitionToEapMsChapV2()
152 mEapStateMachine.process(EAP_REQUEST_TTLS_START); in testProcessTransitionToEapTtls()
171 doReturn(eapSuccess).when(mockEapMethodStateMachine).process(argThat(eapSuccessMatcher)); in testProcessTransitionToSuccessState()
174 mEapState.process(EAP_SUCCESS_PACKET); in testProcessTransitionToSuccessState()
175 verify(mockEapMethodStateMachine).process(argThat(eapSuccessMatcher)); in testProcessTransitionToSuccessState()
191 doReturn(eapFailure).when(mockEapMethodStateMachine).process(argThat(eapSuccessMatcher)); in testProcessTransitionToFailureState()
[all …]
DEapStateTest.java69 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()
DEapAkaChallengeStateTest.java128 EapResult result = mChallengeState.process(eapMessage); in testProcessIncorrectEapMethodType()
141 EapSuccess eapSuccess = (EapSuccess) mEapAkaMethodStateMachine.process(input); in testProcessSuccess()
151 EapError eapError = (EapError) mEapAkaMethodStateMachine.process(input); in testProcessInvalidSuccess()
158 EapResult result = mEapAkaMethodStateMachine.process(input); in testProcessFailure()
177 EapResponse eapResponse = (EapResponse) mEapAkaMethodStateMachine.process(eapMessage); in testProcessMissingAtRand()
197 EapResponse eapResponse = (EapResponse) mEapAkaMethodStateMachine.process(eapMessage); in testProcessMissingAtAutn()
217 EapResponse eapResponse = (EapResponse) mEapAkaMethodStateMachine.process(eapMessage); in testProcessMissingAtMac()
286 EapResponse eapResponse = (EapResponse) mEapAkaMethodStateMachine.process(eapMessage); in testProcessIccAuthenticationNullResponse()
320 EapError eapError = (EapError) mEapAkaMethodStateMachine.process(eapMessage); in testProcessIccAuthenticationInvalidTag()
354 EapResponse eapResponse = (EapResponse) mEapAkaMethodStateMachine.process(eapMessage); in testProcessIccAuthenticationSynchronizeTag()
[all …]
DEapAkaIdentityStateTest.java76 EapResponse eapResponse = (EapResponse) mEapAkaMethodStateMachine.process(eapMessage); in testProcessIdentityRequest()
93 EapResponse eapResponse = (EapResponse) mEapAkaMethodStateMachine.process(eapMessage); in testProcessWithoutIdentityRequestAttributes()
112 EapResponse eapResponse = (EapResponse) mEapAkaMethodStateMachine.process(eapMessage); in testProcessMultipleIdentityRequestAttributes()
130 EapError eapError = (EapError) mEapAkaMethodStateMachine.process(eapMessage); in testProcessImsiUnavailable()
153 mEapAkaMethodStateMachine.process(eapMessage); in testProcessTransitionToChallengeState()
DIdentityStateTest.java64 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()
95 mEapState.process(EAP_REQUEST_SIM_START_PACKET); in testProcessSimStart()
DEapAkaPrimeChallengeStateTest.java121 mStateMachine.process(eapMessage); in testTransitionWithEapIdentity()
144 EapResponse eapResponse = (EapResponse) mStateMachine.process(eapMessage); in testTransitionWithEapAkaPrimeIdentity()
156 mStateMachine.process(eapMessage); in testTransitionWithEapAkaPrimeIdentity()
182 EapResponse eapResponse = (EapResponse) mStateMachine.process(eapMessage); in testProcessMissingAtKdf()
203 EapResponse eapResponse = (EapResponse) mStateMachine.process(eapMessage); in testProcessMissingAtKdfInput()
226 EapResponse eapResponse = (EapResponse) mStateMachine.process(eapMessage); in testProcessUnsupportedKdf()
249 EapResponse eapResponse = (EapResponse) mStateMachine.process(eapMessage); in testProcessIncorrectNetworkName()
DEapSimStartStateTest.java102 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()
246 mEapSimMethodStateMachine.process(eapMessage); in testProcessWithoutIdentityRequest()
DEapMsChapV2ValidateAuthenticatorStateTest.java94 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()
DEapSimCreatedStateTest.java68 EapResult result = mCreatedState.process(input); in testProcessSuccess()
77 EapResult result = mCreatedState.process(input); in testProcessFailure()
94 mEapSimMethodStateMachine.process(eapMessage); in testTransitionToStartState()
107 EapResult result = mEapSimMethodStateMachine.process(eapMessage); in testProcessIncorrectEapMethodType()
DEapAkaCreatedStateTest.java63 mEapAkaMethodStateMachine.process(eapMessage); in testProcessTransitionToIdentityState()
83 mEapAkaMethodStateMachine.process(eapMessage); in testProcessTransitionToChallengeState()
96 EapResult result = mEapAkaMethodStateMachine.process(input); in testProcessSuccess()
105 EapResult result = mEapAkaMethodStateMachine.process(input); in testProcessFailure()
DEapAkaPrimeStateTest.java60 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()
DCreatedStateTest.java54 mEapState.process(EAP_REQUEST_IDENTITY_PACKET); in testProcessIdentityRequest()
62 EapResult eapResult = mEapState.process(EAP_REQUEST_NOTIFICATION_PACKET); in testProcessNotificationRequest()
73 mEapState.process(EAP_REQUEST_SIM_START_PACKET); in testProcessSimStart()
DEapTtlsStateTest.java86 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()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/
DEapAuthenticatorTest.java92 doReturn(eapResponse).when(mMockEapStateMachine).process(eq(EAP_REQUEST_SIM_START_PACKET)); in testProcessEapMessageResponse()
99 verify(mMockEapStateMachine).process(eq(EAP_REQUEST_SIM_START_PACKET)); in testProcessEapMessageResponse()
115 doReturn(eapError).when(mMockEapStateMachine).process(eq(REQUEST_UNSUPPORTED_TYPE_PACKET)); in testProcessEapMessageError()
122 verify(mMockEapStateMachine).process(eq(REQUEST_UNSUPPORTED_TYPE_PACKET)); in testProcessEapMessageError()
138 doReturn(eapSuccess).when(mMockEapStateMachine).process(eq(EAP_SUCCESS_PACKET)); in testProcessEapMessageSuccess()
145 verify(mMockEapStateMachine).process(eq(EAP_SUCCESS_PACKET)); in testProcessEapMessageSuccess()
159 doReturn(new EapFailure()).when(mMockEapStateMachine).process(eq(EAP_FAILURE_PACKET)); in testProcessEapMessageFailure()
166 verify(mMockEapStateMachine).process(eq(EAP_FAILURE_PACKET)); in testProcessEapMessageFailure()
180 when(mMockEapStateMachine.process(EAP_REQUEST_SIM_START_PACKET)) in testProcessEapMessageExceptionThrown()
188 verify(mMockEapStateMachine).process(eq(EAP_REQUEST_SIM_START_PACKET)); in testProcessEapMessageExceptionThrown()
[all …]
/packages/apps/Traceur/src/com/android/traceur/
DPerfettoUtils.java228 Process process = TraceUtils.exec(cmd, TEMP_DIR); in traceStart() local
231 if (!process.waitFor(STARTUP_TIMEOUT_MS, TimeUnit.MILLISECONDS)) { in traceStart()
234 process.destroyForcibly(); in traceStart()
238 if (process.exitValue() != 0) { in traceStart()
240 + process.exitValue()); in traceStart()
260 Process process = TraceUtils.exec(cmd); in traceStop() local
261 if (process.waitFor() != 0) { in traceStop()
262 Log.e(TAG, "perfetto traceStop failed with: " + process.exitValue()); in traceStop()
304 Process process = TraceUtils.exec(cmd); in isTracingOn() local
309 int result = process.waitFor(); in isTracingOn()
DTraceUtils.java122 Process process = RUNTIME.exec(cmdarray, envp); in exec() local
123 new Logger("traceService:stderr", process.getErrorStream()); in exec()
125 new Logger("traceService:stdout", process.getInputStream()); in exec()
128 return process; in exec()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/utils/
DSimpleStateMachineTest.java49 doReturn(OUTPUT).when(mMockStartState).process(INPUT); in testProcess()
50 String result = mSimpleStateMachine.process(INPUT); in testProcess()
52 verify(mMockStartState).process(INPUT); in testProcess()
72 doReturn(OUTPUT).when(mMockFinalState).process(INPUT); in testTransitionAndProcess()
75 verify(mMockFinalState).process(INPUT); in testTransitionAndProcess()
91 simpleStateMachine.process(new Object()); in testProcessNullState()
/packages/modules/IPsec/src/java/com/android/internal/net/utils/
DSimpleStateMachine.java35 public R process(T msg) {
44 public abstract R process(T msg); in process() method in SimpleStateMachine.SimpleState
53 public R process(T msg) { in process() method in SimpleStateMachine
54 return mState.process(msg); in process()
83 return mState.process(msg); in transitionAndProcess()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCreateConnectionProcessorTest.java155 mTestCreateConnectionProcessor.process(); in testSimPhoneAccountSuccess()
178 mTestCreateConnectionProcessor.process(); in testbadPhoneAccount()
202 mTestCreateConnectionProcessor.process(); in testConnectionManagerSuccess()
232 mTestCreateConnectionProcessor.process(); in testConnectionManagerFailedFallToSim()
272 mTestCreateConnectionProcessor.process(); in testConnectionManagerFailedDoNotFallToSim()
317 mTestCreateConnectionProcessor.process(); in testFakeEmergencyNumber()
354 mTestCreateConnectionProcessor.process(); in testEmergencyCall()
393 mTestCreateConnectionProcessor.process(); in testEmergencyCallMultiSimNoPreferred()
426 mTestCreateConnectionProcessor.process(); in testEmergencyCallMultiSimTelephonyPreferred()
463 mTestCreateConnectionProcessor.process(); in testEmergencyCallMultiSimUserPreferred()
[all …]
/packages/apps/Camera2/src/com/android/camera/async/
DConcurrentBufferQueue.java51 public void process(T element); in process() method
104 public void process(T element) { in ConcurrentBufferQueue()
137 mUnusedElementProcessor.process(entry.getValue()); in close()
152 mUnusedElementProcessor.process(element); in update()
205 mUnusedElementProcessor.process(nextEntry.getValue()); in discardNext()
DCountableBufferQueue.java38 public void process(T element) { in process() method in CountableBufferQueue.DecrementingProcessor
39 mProcessor.process(element); in process()
66 public void process(T element) { in CountableBufferQueue()
/packages/modules/IPsec/src/java/com/android/internal/net/eap/statemachine/
DEapStateMachine.java187 public EapResult process(@NonNull byte[] packet) { in process() method in EapStateMachine.CreatedState
218 public EapResult process(@NonNull byte[] packet) { in process() method in EapStateMachine.IdentityState
269 public EapResult process(@NonNull byte[] packet) { in process() method in EapStateMachine.MethodState
302 EapResult result = mEapMethodStateMachine.process(decodeResult.eapMessage); in process()
358 public EapResult process(byte[] packet) { in process() method in EapStateMachine.SuccessState
365 public EapResult process(byte[] message) { in process() method in EapStateMachine.FailureState
DEapTtlsMethodStateMachine.java101 public EapResult process(EapMessage message) { in process() method in EapTtlsMethodStateMachine.CreatedState
135 public EapResult process(EapMessage message) { in process() method in EapTtlsMethodStateMachine.HandshakeState
149 public EapResult process(EapMessage message) { in process() method in EapTtlsMethodStateMachine.TunnelState
/packages/apps/Messaging/src/com/android/messaging/sms/
DApnsXmlProcessor.java40 public void process(ContentValues apnValues); in process() method
44 public void process(String mccMnc, String key, String value, String type); in process() method
125 public void process() { in process() method in ApnsXmlProcessor
267 mApnHandler.process(apnValues); in processApn()
326 mMmsConfigHandler.process(mccMnc, key, value, type); in processMmsConfigKeyValue()
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/
DBinaryDictOffdeviceUtils.java126 public T process(@Nonnull final InputStream input) in process() method
132 public File process(@Nonnull final InputStream input) throws IOException, in process() method in BinaryDictOffdeviceUtils.CopyProcessor
154 public DictionaryHeader process(final InputStream input) throws IOException, in process() method in BinaryDictOffdeviceUtils.HeaderReaderProcessor
230 spec.mResult = processor.process(input); in decodeDictionaryForProcess()

12345