Home
last modified time | relevance | path

Searched refs:processStats (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/core/tests/coretests/src/com/android/internal/app/procstats/
DProcessStatsTest.java63 ProcessStats processStats = new ProcessStats(); in testDumpProcessState() local
64 processStats.getProcessStateLocked( in testDumpProcessState()
66 processStats.getProcessStateLocked( in testDumpProcessState()
68 processStats.dumpProcessState(FrameworkStatsLog.PROCESS_STATE, mStatsEventOutput); in testDumpProcessState()
105 ProcessStats processStats = new ProcessStats(); in testNonZeroProcessStateDuration() local
107 processStats.getProcessStateLocked( in testNonZeroProcessStateDuration()
112 processStats.dumpProcessState(FrameworkStatsLog.PROCESS_STATE, mStatsEventOutput); in testNonZeroProcessStateDuration()
133 ProcessStats processStats = new ProcessStats(); in testDumpBoundFgsDuration() local
135 processStats.getProcessStateLocked( in testDumpBoundFgsDuration()
140 processStats.dumpProcessState(FrameworkStatsLog.PROCESS_STATE, mStatsEventOutput); in testDumpBoundFgsDuration()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DProcessStatsService.java1239 ProcessStats processStats;
1249 processStats = new ProcessStats(false);
1250 readLF(processStats, file);
1256 if (processStats.mReadError != null) {
1259 pw.print("; "); pw.println(processStats.mReadError);
1266 processStats.dumpCheckinLocked(pw, reqPackage, section);
1269 pw.print(processStats.mTimePeriodStartClockStr);
1273 processStats.dumpLocked(pw, reqPackage, now, !dumpFullDetails, dumpDetails,
1279 processStats.dumpSummaryLocked(pw, reqPackage, now, activeOnly);
1299 ProcessStats processStats = new ProcessStats(false);
[all …]
DProcessRecord.java1183 boolean onCleanupApplicationRecordLSP(ProcessStatsService processStats, boolean allowRestart, in onCleanupApplicationRecordLSP() argument
1187 resetPackageList(processStats); in onCleanupApplicationRecordLSP()
1191 makeInactive(processStats); in onCleanupApplicationRecordLSP()
DActivityManagerShellCommand.java1791 public int appNotResponding(String processName, int pid, String processStats) {
1804 mPw.print(processStats);
/frameworks/base/core/java/com/android/internal/app/procstats/
DUidState.java50 public UidState(ProcessStats processStats, int uid) { in UidState() argument
51 mStats = processStats; in UidState()
53 mDurations = new DurationsTable(processStats.mTableData); in UidState()
DProcessState.java180 public ProcessState(ProcessStats processStats, String pkg, int uid, long vers, String name) { in ProcessState() argument
181 mStats = processStats; in ProcessState()
187 mDurations = new DurationsTable(processStats.mTableData); in ProcessState()
188 mPssTable = new PssTable(processStats.mTableData); in ProcessState()
1568 int atomTag, ProcessStats processStats, StatsEventOutput statsEventOutput) { in dumpStateDurationToStatsd() argument
1621 (int) TimeUnit.MILLISECONDS.toSeconds(processStats.mTimePeriodStartUptime), in dumpStateDurationToStatsd()
1622 (int) TimeUnit.MILLISECONDS.toSeconds(processStats.mTimePeriodEndUptime), in dumpStateDurationToStatsd()
1625 processStats.mTimePeriodEndUptime in dumpStateDurationToStatsd()
1626 - processStats.mTimePeriodStartUptime), in dumpStateDurationToStatsd()
DAssociationState.java84 SourceState(@NonNull ProcessStats processStats, @Nullable AssociationState associationState, in SourceState() argument
86 mProcessStats = processStats; in SourceState()
562 public AssociationState(ProcessStats processStats, ProcessStats.PackageState packageState, in AssociationState() argument
564 mProcessStats = processStats; in AssociationState()
DServiceState.java74 public ServiceState(ProcessStats processStats, String pkg, String name, in ServiceState() argument
80 mDurations = new DurationsTable(processStats.mTableData); in ServiceState()
/frameworks/base/services/core/java/com/android/server/power/stats/
DCpuPowerCalculator.java249 final ArrayMap<String, ? extends BatteryStats.Uid.Proc> processStats = u.getProcessStats(); in calculatePowerAndDuration() local
250 final int processStatsCount = processStats.size(); in calculatePowerAndDuration()
252 final BatteryStats.Uid.Proc ps = processStats.valueAt(i); in calculatePowerAndDuration()
253 final String processName = processStats.keyAt(i); in calculatePowerAndDuration()
/frameworks/base/core/java/android/app/
DIActivityController.aidl60 int appNotResponding(String processName, int pid, String processStats); in appNotResponding() argument
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/core/
DUiAutomationShellWrapper.java118 public int appNotResponding(String processName, int pid, String processStats) in appNotResponding() argument
/frameworks/base/tests/Compatibility/src/com/android/compatibilitytest/
DAppCompatibility.java347 public int appNotResponding(String processName, int pid, String processStats) in appNotResponding() argument
350 addProcessError(processName, "ANR", processStats); in appNotResponding()
/frameworks/base/core/java/android/os/
DBatteryStats.java5103 final ArrayMap<String, ? extends BatteryStats.Uid.Proc> processStats in dumpCheckinLocked() local
5105 for (int ipr=processStats.size()-1; ipr>=0; ipr--) { in dumpCheckinLocked()
5106 final Uid.Proc ps = processStats.valueAt(ipr); in dumpCheckinLocked()
5117 dumpLine(pw, uid, category, PROCESS_DATA, "\"" + processStats.keyAt(ipr) + "\"", in dumpCheckinLocked()
6732 final ArrayMap<String, ? extends Uid.Proc> processStats in dumpLocked()
6734 for (int ipr=processStats.size()-1; ipr>=0; ipr--) { in dumpLocked()
6735 final Uid.Proc ps = processStats.valueAt(ipr); in dumpLocked()
6755 sb.append(processStats.keyAt(ipr)); sb.append(":\n"); in dumpLocked()
8282 final ArrayMap<String, ? extends BatteryStats.Uid.Proc> processStats = in dumpProtoAppsLocked() local
8284 for (int ipr = processStats.size() - 1; ipr >= 0; --ipr) { in dumpProtoAppsLocked()
[all …]