Home
last modified time | relevance | path

Searched refs:UidProcStatsCollector (Results 1 – 7 of 7) sorted by relevance

/packages/services/Car/cpp/watchdog/server/src/
DUidProcStatsCollector.h140 class UidProcStatsCollector final : public UidProcStatsCollectorInterface {
146 UidProcStatsCollector() : in UidProcStatsCollector() function
147 UidProcStatsCollector(kProcDirPath, /*isSmapsRollupSupported=*/false) {} in UidProcStatsCollector()
149 UidProcStatsCollector(const std::string& path, bool isSmapsRollupSupported);
151 ~UidProcStatsCollector() {} in ~UidProcStatsCollector()
DUidProcStatsCollector.cpp353 UidProcStatsCollector::UidProcStatsCollector(const std::string& path, bool isSmapsRollupSupported) : in UidProcStatsCollector() function in android::automotive::watchdog::UidProcStatsCollector
364 void UidProcStatsCollector::init() { in init()
425 Result<void> UidProcStatsCollector::collect() { in collect()
490 Result<std::unordered_map<uid_t, UidProcStats>> UidProcStatsCollector::readUidProcStatsLocked() in readUidProcStatsLocked()
530 Result<std::tuple<uid_t, ProcessStats>> UidProcStatsCollector::readProcessStatsLocked( in readProcessStatsLocked()
657 Result<PidStat> UidProcStatsCollector::readStatFileForPid(pid_t pid) { in readStatFileForPid()
662 Result<std::tuple<uid_t, pid_t>> UidProcStatsCollector::readPidStatusFileForPid(pid_t pid) { in readPidStatusFileForPid()
667 bool UidProcStatsCollector::readSmapsRollup(pid_t pid, ProcessStats* processStatsOut) const { in readSmapsRollup()
DUidStatsCollector.h79 mUidProcStatsCollector(android::sp<UidProcStatsCollector>::make()) {} in UidStatsCollector()
DThreadPriorityController.cpp126 return UidProcStatsCollector::readPidStatusFileForPid(pid); in readPidStatusFileForPid()
DWatchdogProcessService.cpp165 auto pidStat = UidProcStatsCollector::readStatFileForPid(pid); in getStartTimeForPid()
/packages/services/Car/cpp/watchdog/server/tests/
DUidProcStatsCollectorTest.cpp212 UidProcStatsCollector collector(firstSnapshot.path, isSmapsRollupSupported(firstSnapshot.path)); in TEST()
408 UidProcStatsCollector collector(procDir.path, isSmapsRollupSupported(procDir.path)); in TEST()
526 UidProcStatsCollector collector(firstSnapshot.path, isSmapsRollupSupported(firstSnapshot.path)); in TEST()
708 UidProcStatsCollector collector(procDir.path, isSmapsRollupSupported(procDir.path)); in TEST()
753 UidProcStatsCollector collector(procDir.path, isSmapsRollupSupported(procDir.path)); in TEST()
791 UidProcStatsCollector collector(procDir.path, isSmapsRollupSupported(procDir.path)); in TEST()
829 UidProcStatsCollector collector(procDir.path, isSmapsRollupSupported(procDir.path)); in TEST()
868 UidProcStatsCollector collector(procDir.path, isSmapsRollupSupported(procDir.path)); in TEST()
908 UidProcStatsCollector collector(procDir.path, isSmapsRollupSupported(procDir.path)); in TEST()
948 UidProcStatsCollector collector(procDir.path, isSmapsRollupSupported(procDir.path)); in TEST()
[all …]
/packages/services/Car/cpp/watchdog/server/
DAndroid.bp132 "src/UidProcStatsCollector.cpp",