Home
last modified time | relevance | path

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

12345

/packages/services/Car/watchdog/server/src/
DProcPidStat.cpp134 cachedIt->second.process.startTime != curStats.process.startTime) { in collect()
142 deltaStats.process.majorFaults -= cachedStats.process.majorFaults; in collect()
173 const auto& ret = readPidStatFile(path, &curStats.process); in getProcessStatsLocked()
188 const auto& it = mLastProcessStats.find(curStats.process.pid); in getProcessStatsLocked()
190 it->second.process.startTime != curStats.process.startTime || it->second.tgid == -1 || in getProcessStatsLocked()
195 return Error() << "Failed to read pid status for pid " << curStats.process.pid in getProcessStatsLocked()
198 ALOGW("Failed to read pid status for pid %" PRIu32 ": %s", curStats.process.pid, in getProcessStatsLocked()
208 if (curStats.tgid != -1 && curStats.tgid != curStats.process.pid) { in getProcessStatsLocked()
210 curStats.process.pid); in getProcessStatsLocked()
247 if (curThreadStat.pid == curStats.process.pid) { in getProcessStatsLocked()
[all …]
/packages/services/Car/watchdog/server/tests/
DProcPidStatTest.cpp50 toString(stats.process).c_str()); in toString()
79 return l.process.pid < r.process.pid; in isEqual()
82 return l.process.pid < r.process.pid; in isEqual()
87 !isEqual(l.process, r.process) || in isEqual()
133 .process = {1, "init", "S", 0, 220, 2, 0}, in TEST()
143 .process = {1000, "system_server", "R", 1, 600, 2, 1000}, in TEST()
190 .process = {1, "init", "S", 0, 700, 2, 0}, in TEST()
200 .process = {1000, "system_server", "R", 1, 950, 2, 1000}, in TEST()
262 .process = {1, "init", "S", 0, 220, 1, 0}, in TEST()
268 .process = {1000, "system_server", "R", 1, 600, 1, 1000}, in TEST()
[all …]
DIoPerfCollectionTest.cpp243 .process = {.pid = 100, in TEST()
294 .process = {.pid = 100, in TEST()
357 .process = {.pid = 100, in TEST()
431 .process = {.pid = 100, in TEST()
491 .process = {.pid = 100, in TEST()
571 .process = {.pid = 100, in TEST()
630 .process = {.pid = 100, in TEST()
713 .process = {.pid = 100, in TEST()
891 .process = {.pid = 100, in TEST()
916 .process = {.pid = 1000, in TEST()
[all …]
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/statemachine/
DMethodStateTest.java82 EapResult result = mEapState.process(EAP_REQUEST_IDENTITY_PACKET); in testProcessUnsupportedEapType()
90 mEapStateMachine.process(EAP_REQUEST_SIM_START_PACKET); in testProcessTransitionsToEapSim()
104 mEapStateMachine.process(EAP_REQUEST_AKA); in testProcessTransitionToEapAka()
121 mEapStateMachine.process(EAP_AKA_PRIME_REQUEST); in testProcessTransitionToEapAkaPrime()
135 mEapStateMachine.process(EAP_REQUEST_MSCHAP_V2); in testProcessTransitionToEapMsChapV2()
153 doReturn(eapSuccess).when(mockEapMethodStateMachine).process(argThat(eapSuccessMatcher)); in testProcessTransitionToSuccessState()
156 mEapState.process(EAP_SUCCESS_PACKET); in testProcessTransitionToSuccessState()
157 verify(mockEapMethodStateMachine).process(argThat(eapSuccessMatcher)); in testProcessTransitionToSuccessState()
173 doReturn(eapFailure).when(mockEapMethodStateMachine).process(argThat(eapSuccessMatcher)); in testProcessTransitionToFailureState()
176 mEapState.process(EAP_FAILURE_PACKET); 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()
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()
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()
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()
/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()
/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.java185 public EapResult process(@NonNull byte[] packet) { in process() method in EapStateMachine.CreatedState
216 public EapResult process(@NonNull byte[] packet) { in process() method in EapStateMachine.IdentityState
267 public EapResult process(@NonNull byte[] packet) { in process() method in EapStateMachine.MethodState
300 EapResult result = mEapMethodStateMachine.process(decodeResult.eapMessage); in process()
352 public EapResult process(byte[] packet) { in process() method in EapStateMachine.SuccessState
359 public EapResult process(byte[] message) { in process() method in EapStateMachine.FailureState
/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