Home
last modified time | relevance | path

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

/packages/services/Car/cpp/watchdog/server/tests/
DUidProcStatsCollectorTest.cpp113 for (auto& [pid, processStats] : uidProcStats.processStatsByPid) { in applyFeatureFilter()
175 .processStatsByPid = in TEST()
192 .processStatsByPid = {{1000, in TEST()
266 .processStatsByPid = {{1, in TEST()
284 .processStatsByPid = { in TEST()
368 .processStatsByPid = in TEST()
385 .processStatsByPid = in TEST()
476 .processStatsByPid = {{1, in TEST()
500 .processStatsByPid = in TEST()
593 .processStatsByPid = in TEST()
[all …]
DUidProcStatsCollectorTestUtils.h70 ::testing::Value(actual.processStatsByPid,
72 expected.processStatsByPid));
DUidStatsCollectorTest.cpp116 .processStatsByPid = {{1, {"init", 0, 10, 220, 2, 1}}}}}, in sampleUidProcStatsByUid()
122 .processStatsByPid = { in sampleUidProcStatsByUid()
139 .processStatsByPid = {{1, {"init", 0, 10, 220, 2, 1}}}}}, in sampleUidStats()
149 .processStatsByPid = { in sampleUidStats()
DPerformanceProfilerTest.cpp421 .processStatsByPid = in sampleUidStats()
448 .processStatsByPid = in sampleUidStats()
484 .processStatsByPid = in sampleUidStats()
507 .processStatsByPid = { in sampleUidStats()
1480 .processStatsByPid = {{/*pid=*/100, in TEST_F()
/packages/services/Car/cpp/watchdog/server/src/
DUidProcStatsCollector.cpp344 for (const auto& [pid, processStats] : processStatsByPid) { in toString()
451 for (const auto& [pid, processStats] : currUidStats.processStatsByPid) { in collect()
453 if (const auto& it = prevUidStats.processStatsByPid.find(pid); in collect()
454 it != prevUidStats.processStatsByPid.end() && in collect()
482 deltaUidStats.processStatsByPid[pid] = deltaProcessStats; in collect()
525 uidProcStats->processStatsByPid[pid] = std::move(processStats); in readUidProcStatsLocked()
551 if (const auto it = uidProcStats.processStatsByPid.find(pid); in readProcessStatsLocked()
552 it != uidProcStats.processStatsByPid.end() && in readProcessStatsLocked()
DUidProcStatsCollector.h116 std::unordered_map<pid_t, ProcessStats> processStatsByPid = {}; member
DPerformanceProfiler.cpp173 for (auto [_, processStats] : procStats.processStatsByPid) { in calculateUidUptimeMillis()
322 for (auto [_, processStats] : uidStats.procStats.processStatsByPid) { in UserPackageStats()
456 for (const auto& [_, processStats] : uidStats.procStats.processStatsByPid) { in cacheTopNProcessSingleStats()
484 for (const auto& [pid, processStats] : uidStats.procStats.processStatsByPid) { in cacheTopNProcessCpuStats()
514 for (const auto& [pid, processStats] : uidStats.procStats.processStatsByPid) { in cacheTopNProcessMemStats()