Searched refs:UidIoUsage (Results 1 – 5 of 5) sorted by relevance
/packages/services/Car/watchdog/server/tests/ |
D | UidIoStatsTest.cpp | 39 std::unordered_map<uint32_t, UidIoUsage> expectedFirstUsage = { in TEST() 62 const UidIoUsage& expected = it.second; in TEST() 63 const UidIoUsage& actual = actualFirstUsage->at(it.first); in TEST() 75 std::unordered_map<uint32_t, UidIoUsage> expectedSecondUsage = { in TEST() 93 const UidIoUsage& expected = it.second; in TEST() 94 const UidIoUsage& actual = actualSecondUsage->at(it.first); in TEST()
|
D | IoPerfCollectionTest.cpp | 56 Result<std::unordered_map<uint32_t, UidIoUsage>> collect() override { in collect() 66 void push(const std::unordered_map<uint32_t, UidIoUsage>& entry) { mCache.push(entry); } in push() 70 std::queue<std::unordered_map<uint32_t, UidIoUsage>> mCache;
|
/packages/services/Car/watchdog/server/src/ |
D | UidIoStats.cpp | 87 Result<std::unordered_map<uint32_t, UidIoUsage>> UidIoStats::collect() { in collect() 98 std::unordered_map<uint32_t, UidIoUsage> usage; in collect() 102 struct UidIoUsage& uidUsage = usage[uidIoStat.uid]; in collect()
|
D | IoPerfCollection.cpp | 747 const Result<std::unordered_map<uint32_t, UidIoUsage>>& usage = mUidIoStats->collect(); in collectUidIoPerfDataLocked() 753 UidIoUsage tempUsage = {}; in collectUidIoPerfDataLocked() 754 std::vector<const UidIoUsage*> topNReads(mTopNStatsPerCategory, &tempUsage); in collectUidIoPerfDataLocked() 755 std::vector<const UidIoUsage*> topNWrites(mTopNStatsPerCategory, &tempUsage); in collectUidIoPerfDataLocked() 759 const UidIoUsage& curUsage = uIt.second; in collectUidIoPerfDataLocked() 780 const UidIoUsage* curRead = *it; in collectUidIoPerfDataLocked() 790 const UidIoUsage* curWrite = *it; in collectUidIoPerfDataLocked()
|
D | UidIoStats.h | 86 struct UidIoUsage { struct 99 virtual android::base::Result<std::unordered_map<uint32_t, UidIoUsage>> collect(); argument
|