Home
last modified time | relevance | path

Searched refs:processId (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/core/java/com/android/internal/os/
DKernelCpuThreadReader.java185 final int processId = getProcessId(processPath); in getProcessCpuUsage() local
186 final int uid = mInjector.getUidForPid(processId); in getProcessCpuUsage()
187 if (uid == ID_ERROR || processId == ID_ERROR) { in getProcessCpuUsage()
195 getProcessCpuUsage(processPath, processId, uid); in getProcessCpuUsage()
262 private ProcessCpuUsage getProcessCpuUsage(Path processPath, int processId, int uid) { in getProcessCpuUsage() argument
269 + processId in getProcessCpuUsage()
296 return new ProcessCpuUsage(processId, getProcessName(processPath), uid, threadCpuUsages); in getProcessCpuUsage()
531 public final int processId; field in KernelCpuThreadReader.ProcessCpuUsage
538 int processId, in ProcessCpuUsage() argument
542 this.processId = processId; in ProcessCpuUsage()
DKernelCpuThreadReaderDiff.java173 processCpuUsage.processId, in createCpuUsageMap()
198 processCpuUsage.processId, in changeToDiffs()
282 ThreadKey(int processId, int threadId, String processName, String threadName) { in ThreadKey() argument
283 this.mProcessId = processId; in ThreadKey()
/frameworks/base/services/core/java/com/android/server/resources/
DResourcesManagerShellCommand.java64 String processId = getNextArgRequired(); in dumpResources() local
70 if (!mInterface.dumpResources(processId, pfd, finishCallback)) { in dumpResources()
71 getErrPrintWriter().println("RESOURCES DUMP FAILED on process " + processId); in dumpResources()
/frameworks/native/services/inputflinger/tests/
DMultiTouchInputMapper_test.cpp161 std::list<NotifyArgs> processId(int32_t id) { return process(EV_ABS, ABS_MT_TRACKING_ID, id); } in processId() function in android::MultiTouchInputMapperUnitTest
183 args += processId(FIRST_TRACKING_ID); in TEST_F()
186 args += processId(SECOND_TRACKING_ID); in TEST_F()
257 args += processId(-1); in TEST_F()
267 args += processId(-1); in TEST_F()
DInputReader_test.cpp7088 void processId(MultiTouchInputMapper& mapper, int32_t id);
7181 void MultiTouchInputMapperTest::processId(MultiTouchInputMapper& mapper, int32_t id) { in processId() function in android::MultiTouchInputMapperTest
7550 processId(mapper, 1); in TEST_F()
7553 processId(mapper, 2); in TEST_F()
7580 processId(mapper, 1); in TEST_F()
7583 processId(mapper, 2); in TEST_F()
7602 processId(mapper, 2); in TEST_F()
7629 processId(mapper, 2); in TEST_F()
7644 processId(mapper, 2); in TEST_F()
7647 processId(mapper, 3); in TEST_F()
[all …]
/frameworks/base/services/core/java/com/android/server/tv/tunerresourcemanager/
DClientProfile.java394 public Builder processId(int processId) { in processId() method in ClientProfile.Builder
395 this.mProcessId = processId; in processId()
DTunerResourceManagerService.java739 .processId(pid) in registerClientProfileInternal()
/frameworks/base/services/core/java/com/android/server/vr/
DVrManagerService.java372 final int processId; field in VrManagerService.VrState
379 int processId, ComponentName callingPackage) { in VrState() argument
383 this.processId = processId; in VrState()
391 int processId, ComponentName callingPackage, boolean defaultPermissionsGranted) { in VrState() argument
395 this.processId = processId; in VrState()
709 public void setVrMode(boolean enabled, ComponentName packageName, int userId, int processId, in setVrMode() argument
711 … VrManagerService.this.setVrMode(enabled, packageName, userId, processId, callingPackage); in setVrMode()
904 @NonNull ComponentName component, int userId, int processId, ComponentName calling) { in updateCurrentVrServiceLocked() argument
968 mVrAppProcessId = processId; in updateCurrentVrServiceLocked()
1222 mPendingState.targetPackageName, mPendingState.userId, mPendingState.processId, in consumeAndApplyPendingStateLocked()
[all …]
DVrManagerInternal.java59 int userId, int processId, @NonNull ComponentName calling); in setVrMode() argument
/frameworks/base/services/core/java/com/android/server/wm/
DVrController.java197 int processId = -1; in onVrModeChanged() local
209 processId = record.app.getPid(); in onVrModeChanged()
215 vrService.setVrMode(vrMode, requestedPackage, userId, processId, callingPackage); in onVrModeChanged()
DAccessibilityController.java2083 int callingUid, StackTraceElement[] callStack, long timeStamp, int processId, in logTrace() argument
2086 timeStamp, processId, threadId, ignoreStackEntries); in logTrace()
2309 int callingUid, StackTraceElement[] callingStack, long timeStamp, int processId, in logState() argument
2315 String.valueOf(processId), String.valueOf(threadId), ignoreStackEntries); in logState()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DKernelCpuThreadReaderTest.java99 processCpuUsageByUids.sort(Comparator.comparing(usage -> usage.processId)); in testReader_byUids()
146 int[] readerCpuFrequencies, int uid, int processId, int[] threadIds, String processName, in checkResults() argument
149 assertEquals(processId, processCpuUsage.processId); in checkResults()
DKernelCpuThreadReaderEndToEndTest.java139 .filter(p -> p.processId == Process.myPid()) in getAverageWorkTime()
/frameworks/base/core/tests/coretests/src/android/view/accessibility/
DAccessibilityServiceConnectionImpl.java197 public void logTrace(long timestamp, String where, String callingParams, int processId, in logTrace() argument
217 int processId, long threadId, int callingUid, Bundle serializedCallingStackInBundle) {} in logTrace() argument
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityTraceManager.java159 int processId, long threadId, int callingUid, StackTraceElement[] callStack, in logTrace() argument
163 callStack, timestamp, processId, threadId, in logTrace()
DAbstractAccessibilityServiceConnection.java2620 int processId, long threadId, int callingUid, Bundle callingStack) { in logTrace() argument
2630 mTrace.logTrace(timestamp, where, loggingTypes, callingParams, processId, threadId, in logTrace()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/app/
DGameServiceProviderInstanceImplTest.java1171 private void startProcessForPackage(int processId, @Nullable String packageName) { in startProcessForPackage() argument
1173 when(mMockActivityManagerInternal.getPackageNameByPid(processId)).thenReturn( in startProcessForPackage()
1177 dispatchProcessActivity(processId); in startProcessForPackage()
1180 private void dispatchProcessActivity(int processId) { in dispatchProcessActivity() argument
1183 processObserver.onForegroundActivitiesChanged(processId, /*uid=*/ in dispatchProcessActivity()
1188 private void dispatchProcessDied(int processId) { in dispatchProcessDied() argument
1191 processObserver.onProcessDied(processId, /*uid=*/ 0); in dispatchProcessDied()
/frameworks/base/core/java/android/accessibilityservice/
DAccessibilityTrace.java214 int processId, long threadId, int callingUid, StackTraceElement[] callStack, in logTrace() argument
DIAccessibilityServiceConnection.aidl187 int processId, long threadId, int callingUid, in Bundle serializedCallingStackInBundle); in logTrace() argument
/frameworks/base/services/core/java/com/android/server/stats/pull/
DStatsPullAtomService.java3416 processCpuUsage.processId, threadCpuUsage.threadId,