Searched refs:UidStats (Results 1 – 8 of 8) sorted by relevance
/packages/services/Car/cpp/watchdog/server/src/ |
D | UidStatsCollector.h | 45 struct UidStats { struct 66 virtual const std::vector<UidStats> latestStats() const = 0; argument 68 virtual const std::vector<UidStats> deltaStats() const = 0; 90 const std::vector<UidStats> latestStats() const override { in latestStats() 95 const std::vector<UidStats> deltaStats() const override { in deltaStats() 105 std::vector<UidStats> process( 121 std::vector<UidStats> mLatestStats GUARDED_BY(mMutex); 123 std::vector<UidStats> mDeltaStats GUARDED_BY(mMutex);
|
D | UidStatsCollector.cpp | 33 bool UidStats::hasPackageInfo() const { in hasPackageInfo() 37 uid_t UidStats::uid() const { in uid() 41 std::string UidStats::genericPackageName() const { in genericPackageName() 74 std::vector<UidStats> UidStatsCollector::process( in process() 79 return std::vector<UidStats>(); in process() 96 std::vector<UidStats> uidStats; in process() 98 UidStats curUidStats; in process()
|
D | PerformanceProfiler.h | 121 UserPackageStats(MetricType metricType, const UidStats& uidStats); 122 UserPackageStats(ProcStatType procStatType, const UidStats& uidStats, int topNProcessCount, 152 ProcStatType procStatType, const UidStats& uidStats, int topNProcessCount, 155 const UidStats& uidStats, int topNProcessCount, 158 const UidStats& uidStats, int topNProcessCount, bool isSmapsRollupSupported,
|
D | PerformanceProfiler.cpp | 291 UserPackageStats::UserPackageStats(MetricType metricType, const UidStats& uidStats) { in UserPackageStats() 302 UserPackageStats::UserPackageStats(ProcStatType procStatType, const UidStats& uidStats, in UserPackageStats() 453 ProcStatType procStatType, const UidStats& uidStats, int topNProcessCount, in cacheTopNProcessSingleStats() 481 const UidStats& uidStats, int topNProcessCount, in cacheTopNProcessCpuStats() 511 const UidStats& uidStats, int topNProcessCount, bool isSmapsRollupSupported, in cacheTopNProcessMemStats() 1177 const std::vector<UidStats>& uidStats = uidStatsCollector->deltaStats(); in processUidStatsLocked()
|
/packages/services/Car/cpp/watchdog/server/tests/ |
D | UidStatsCollectorTest.cpp | 57 std::string toString(const UidStats& uidStats) { in toString() 64 std::string toString(const std::vector<UidStats>& uidStats) { in toString() 75 return ExplainMatchResult(AllOf(Field("packageInfo", &UidStats::packageInfo, 77 Field("cpuTimeMillis", &UidStats::cpuTimeMillis, 79 Field("ioStats", &UidStats::ioStats, Eq(expected.ioStats)), 80 Field("procStats", &UidStats::procStats, 85 std::vector<Matcher<const UidStats&>> UidStatsMatchers(const std::vector<UidStats>& uidStats) { in UidStatsMatchers() 86 std::vector<Matcher<const UidStats&>> matchers; in UidStatsMatchers() 130 std::vector<UidStats> sampleUidStats() { in sampleUidStats() 274 const std::vector<UidStats> expected = sampleUidStats(); in TEST_F() [all …]
|
D | MockUidStatsCollector.h | 37 MOCK_METHOD((const std::vector<UidStats>), latestStats, (), (const, override)); 38 MOCK_METHOD((const std::vector<UidStats>), deltaStats, (), (const, override));
|
D | IoOveruseMonitorTest.cpp | 257 std::vector<UidStats> constructUidStats( in constructUidStats() 259 std::vector<UidStats> uidStats; in constructUidStats() 267 uidStats.push_back(UidStats{.packageInfo = packageInfo, in constructUidStats()
|
D | PerformanceProfilerTest.cpp | 400 std::tuple<std::vector<UidStats>, UserPackageSummaryStats> sampleUidStats( in sampleUidStats() 406 std::vector<UidStats> in sampleUidStats() 849 std::vector<UidStats> uidStats = {}; 1467 std::vector<UidStats> nextUidStats = { in TEST_F()
|