Home
last modified time | relevance | path

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

123456

/packages/modules/adb/daemon/
Djdwp_service.cpp152 JdwpProcess(unique_fd socket, ProcessInfo process) { in JdwpProcess()
153 CHECK(process.pid != 0); in JdwpProcess()
156 this->process = process; in JdwpProcess()
184 ProcessInfo process; member
195 if (!proc->process.debuggable) continue; in jdwp_process_list()
196 std::string next = std::to_string(proc->process.pid) + "\n"; in jdwp_process_list()
216 if (!proc->process.debuggable && !proc->process.profileable) continue; in app_process_list()
218 entry->set_pid(proc->process.pid); in app_process_list()
219 entry->set_debuggable(proc->process.debuggable); in app_process_list()
220 entry->set_profileable(proc->process.profileable); in app_process_list()
[all …]
/packages/services/Car/cpp/watchdog/server/src/
DProcPidStat.cpp210 cachedIt->second.process.startTime != curStats.process.startTime) { in collect()
218 deltaStats.process.majorFaults -= cachedStats.process.majorFaults; in collect()
249 auto ret = readPidStatFile(path, &curStats.process); in getProcessStatsLocked()
263 path = StringPrintf((mPath + kStatusFileFormat).c_str(), curStats.process.pid); in getProcessStatsLocked()
267 return Error() << "Failed to read pid status for pid " << curStats.process.pid in getProcessStatsLocked()
270 ALOGW("Failed to read pid status for pid %" PRIu32 ": %s", curStats.process.pid, in getProcessStatsLocked()
276 const auto& it = mLatestProcessStats.find(curStats.process.pid); in getProcessStatsLocked()
278 it->second.process.startTime == curStats.process.startTime) { in getProcessStatsLocked()
284 if (curStats.tgid != -1 && curStats.tgid != curStats.process.pid) { in getProcessStatsLocked()
286 curStats.process.pid); in getProcessStatsLocked()
[all …]
/packages/services/Car/cpp/watchdog/server/tests/
DProcPidStatTest.cpp53 stats.vmRssKb, toString(stats.process).c_str()); in toString()
82 return l.process.pid < r.process.pid; in isEqual()
85 return l.process.pid < r.process.pid; in isEqual()
91 l.vmRssKb != r.vmRssKb || !isEqual(l.process, r.process) || in isEqual()
152 .process = {1, "init", "S", 0, 220, 2, 0}, in TEST()
161 .process = {1000, "system_server", "R", 1, 600, 2, 1000}, in TEST()
204 .process = {1, "init", "S", 0, 700, 2, 0}, in TEST()
213 .process = {1000, "system_server", "R", 1, 950, 2, 1000}, in TEST()
267 .process = {1, "init", "S", 0, 220, 1, 0}, in TEST()
271 .process = {1000, "system_server", "R", 1, 600, 1, 1000}, in TEST()
[all …]
DIoPerfCollectionTest.cpp198 .process = {100, "disk I/O", "D", 1, 11000, 1, 234}, in TEST()
266 .process = {100, "disk I/O", "D", 1, 11000, 1, 234}, in TEST()
342 .process = {100, "cts_test", "D", 1, 50900, 2, 234}, in TEST()
347 .process = {1000, "system_server", "D", 1, 1234, 1, 345}, in TEST()
351 .process = {4000, "random_process", "D", 1, 3456, 1, 890}, in TEST()
568 .process = {1, "init", "S", 0, 220, 2, 0}, in TEST()
573 .process = {2456, "system_server", "R", 1, 6000, 3, 1000}, in TEST()
579 .process = {7890, "logd", "D", 1, 15000, 3, 2345}, in TEST()
585 .process = {18902, "disk I/O", "D", 1, 45678, 3, 897654}, in TEST()
591 .process = {28900, "tombstoned", "D", 1, 89765, 1, 2345671}, in TEST()
[all …]
/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()
156 mEapStateMachine.process(EAP_REQUEST_TTLS_START); in testProcessTransitionToEapTtls()
175 doReturn(eapSuccess).when(mockEapMethodStateMachine).process(argThat(eapSuccessMatcher)); in testProcessTransitionToSuccessState()
178 mEapState.process(EAP_SUCCESS_PACKET); in testProcessTransitionToSuccessState()
179 verify(mockEapMethodStateMachine).process(argThat(eapSuccessMatcher)); in testProcessTransitionToSuccessState()
195 doReturn(eapFailure).when(mockEapMethodStateMachine).process(argThat(eapSuccessMatcher)); in testProcessTransitionToFailureState()
[all …]
DEapTtlsTunnelStateTest.java119 when(mMockInnerEapStateMachine.process(eq(EAP_FAILURE_PACKET))) in testHandleEapFailureNotification()
122 EapResult result = mStateMachine.process(eapMessage); in testHandleEapFailureNotification()
125 verify(mMockInnerEapStateMachine).process(eq(EAP_FAILURE_PACKET)); in testHandleEapFailureNotification()
136 when(mMockInnerEapStateMachine.process(eq(EAP_SUCCESS_PACKET))).thenReturn(msChapV2Success); in testHandleEapSuccessNotification()
140 EapResult result = mStateMachine.process(eapMessage); in testHandleEapSuccessNotification()
145 verify(mMockInnerEapStateMachine).process(eq(EAP_SUCCESS_PACKET)); in testHandleEapSuccessNotification()
153 when(mMockInnerEapStateMachine.process(eq(EAP_SUCCESS_PACKET))) in testTunnel_prematureSuccess()
156 EapResult result = mStateMachine.process(eapMessage); in testTunnel_prematureSuccess()
159 verify(mMockInnerEapStateMachine).process(eq(EAP_SUCCESS_PACKET)); in testTunnel_prematureSuccess()
195 verify(mMockInnerEapStateMachine).process(eq(EAP_DUMMY_REQUEST_BYTES)); in testTunnel_encryptFailure()
[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.java130 EapResult result = mChallengeState.process(eapMessage); in testProcessIncorrectEapMethodType()
143 EapSuccess eapSuccess = (EapSuccess) mEapAkaMethodStateMachine.process(input); in testProcessSuccess()
153 EapError eapError = (EapError) mEapAkaMethodStateMachine.process(input); in testProcessInvalidSuccess()
160 EapResult result = mEapAkaMethodStateMachine.process(input); in testProcessFailure()
179 EapResponse eapResponse = (EapResponse) mEapAkaMethodStateMachine.process(eapMessage); in testProcessMissingAtRand()
199 EapResponse eapResponse = (EapResponse) mEapAkaMethodStateMachine.process(eapMessage); in testProcessMissingAtAutn()
219 EapResponse eapResponse = (EapResponse) mEapAkaMethodStateMachine.process(eapMessage); in testProcessMissingAtMac()
288 EapResponse eapResponse = (EapResponse) mEapAkaMethodStateMachine.process(eapMessage); in testProcessIccAuthenticationNullResponse()
322 EapError eapError = (EapError) mEapAkaMethodStateMachine.process(eapMessage); in testProcessIccAuthenticationInvalidTag()
356 EapResponse eapResponse = (EapResponse) mEapAkaMethodStateMachine.process(eapMessage); in testProcessIccAuthenticationSynchronizeTag()
[all …]
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()
DEapAkaIdentityStateTest.java78 EapResponse eapResponse = (EapResponse) mEapAkaMethodStateMachine.process(eapMessage); in testProcessIdentityRequest()
95 EapResponse eapResponse = (EapResponse) mEapAkaMethodStateMachine.process(eapMessage); in testProcessWithoutIdentityRequestAttributes()
114 EapResponse eapResponse = (EapResponse) mEapAkaMethodStateMachine.process(eapMessage); in testProcessMultipleIdentityRequestAttributes()
132 EapError eapError = (EapError) mEapAkaMethodStateMachine.process(eapMessage); in testProcessImsiUnavailable()
155 mEapAkaMethodStateMachine.process(eapMessage); in testProcessTransitionToChallengeState()
DEapAkaPrimeChallengeStateTest.java122 mStateMachine.process(eapMessage); in testTransitionWithEapIdentity()
145 EapResponse eapResponse = (EapResponse) mStateMachine.process(eapMessage); in testTransitionWithEapAkaPrimeIdentity()
157 mStateMachine.process(eapMessage); in testTransitionWithEapAkaPrimeIdentity()
183 EapResponse eapResponse = (EapResponse) mStateMachine.process(eapMessage); in testProcessMissingAtKdf()
204 EapResponse eapResponse = (EapResponse) mStateMachine.process(eapMessage); in testProcessMissingAtKdfInput()
227 EapResponse eapResponse = (EapResponse) mStateMachine.process(eapMessage); in testProcessUnsupportedKdf()
250 EapResponse eapResponse = (EapResponse) mStateMachine.process(eapMessage); in testProcessIncorrectNetworkName()
DEapAkaCreatedStateTest.java64 mEapAkaMethodStateMachine.process(eapMessage); in testProcessTransitionToIdentityState()
84 mEapAkaMethodStateMachine.process(eapMessage); in testProcessTransitionToChallengeState()
97 EapResult result = mEapAkaMethodStateMachine.process(input); in testProcessSuccess()
106 EapResult result = mEapAkaMethodStateMachine.process(input); in testProcessFailure()
/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.java245 Process process = TraceUtils.exec(cmd, TEMP_DIR); in traceStart() local
248 if (!process.waitFor(STARTUP_TIMEOUT_MS, TimeUnit.MILLISECONDS)) { in traceStart()
251 process.destroyForcibly(); in traceStart()
255 if (process.exitValue() != 0) { in traceStart()
257 + process.exitValue()); in traceStart()
277 Process process = TraceUtils.exec(cmd); in traceStop() local
278 if (process.waitFor() != 0) { in traceStop()
279 Log.e(TAG, "perfetto traceStop failed with: " + process.exitValue()); in traceStop()
312 Process process = TraceUtils.exec(cmd); in isTracingOn() local
317 int result = process.waitFor(); in isTracingOn()
/packages/modules/adb/libs/adbconnection/
Dadbconnection_server.cpp41 void adbconnection_listen(void (*callback)(int fd, ProcessInfo process)) { in adbconnection_listen() argument
111 ProcessInfo process; in adbconnection_listen() local
112 int rc = TEMP_FAILURE_RETRY(recv(it->get(), &process, sizeof(process), MSG_DONTWAIT)); in adbconnection_listen()
113 if (rc != sizeof(process)) { in adbconnection_listen()
115 << ", expected " << sizeof(process); in adbconnection_listen()
117 callback(it->release(), process); in adbconnection_listen()
Dadbconnection_client.cpp170 ProcessInfo process(*pid, *debuggable, *profileable, *architecture); in adbconnection_client_new() local
171 rc = TEMP_FAILURE_RETRY(write(ctx->control_socket_.get(), &process, sizeof(process))); in adbconnection_client_new()
172 if (rc != sizeof(process)) { in adbconnection_client_new()
/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/apps/Launcher3/robolectric_tests/src/com/android/launcher3/widget/picker/
DWidgetsDiffReporterTest.java115 mWidgetsDiffReporter.process(currentList, currentList, COMPARATOR); in listNotChanged_shouldNotInvokeAnyCallbacks()
134 mWidgetsDiffReporter.process(currentList, newList, COMPARATOR); in headersOnly_emptyListToNonEmpty_shouldInvokeNotifyDataSetChanged()
151 mWidgetsDiffReporter.process(currentList, newList, COMPARATOR); in headersOnly_nonEmptyToEmptyList_shouldInvokeNotifyDataSetChanged()
168 mWidgetsDiffReporter.process(currentList, newList, COMPARATOR); in headersOnly_itemAddedAndRemovedInTheNewList_shouldInvokeCorrectCallbacks()
191 mWidgetsDiffReporter.process(currentList, newList, COMPARATOR); in headersContentsMix_itemAddedAndRemovedInTheNewList_shouldInvokeCorrectCallbacks()
215 mWidgetsDiffReporter.process(currentList, newList, COMPARATOR); in headersContentsMix_userInteractWithHeader_shouldInvokeCorrectCallbacks()
236 mWidgetsDiffReporter.process(currentList, newList, COMPARATOR); in headersContentsMix_headerWidgetsModified_shouldInvokeCorrectCallbacks()
260 mWidgetsDiffReporter.process(currentList, newList, COMPARATOR); in headersContentsMix_contentMaxSpanSizeModified_shouldInvokeCorrectCallbacks()
/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()
/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/modules/Wifi/service/tests/mts/src/android/net/wifi/mts/
DStreamReader.java73 Process process = Runtime.getRuntime().exec(command); in runProcessCommand() local
76 new InputStreamReader(process.getInputStream())); in runProcessCommand()
78 new InputStreamReader(process.getErrorStream())); in runProcessCommand()
85 process.waitFor(); in runProcessCommand()
/packages/apps/Settings/src/com/android/settings/sim/smartForwarding/
DEnableSmartForwardingTask.java160 result = currentStep.process(); in startProcess()
239 boolean process() throws Exception; in process() method
289 public boolean process() throws Exception { in process() method in EnableSmartForwardingTask.QueryCallWaitingCommand
322 public boolean process() throws Exception{ in process() method in EnableSmartForwardingTask.QueryCallForwardingCommand
359 public boolean process() throws Exception { in process() method in EnableSmartForwardingTask.UpdateCallWaitingCommand
399 public boolean process() throws Exception { in process() method in EnableSmartForwardingTask.UpdateCallForwardingCommand
/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
272 public EapResult process(@NonNull byte[] packet) { in process() method in EapStateMachine.MethodState
304 EapResult result = mEapMethodStateMachine.process(decodeResult.eapMessage); in process()
362 public EapResult process(byte[] packet) { in process() method in EapStateMachine.SuccessState
369 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()

123456