Home
last modified time | relevance | path

Searched refs:latestStats (Results 1 – 12 of 12) sorted by relevance

/packages/services/Car/cpp/watchdog/server/tests/
DUidStatsCollectorTest.cpp230 EXPECT_CALL(*mMockUidIoStatsCollector, latestStats()) in TEST_F()
232 EXPECT_CALL(*mMockUidProcStatsCollector, latestStats()) in TEST_F()
268 EXPECT_CALL(*mMockUidIoStatsCollector, latestStats()).WillOnce(Return(uidIoStatsByUid)); in TEST_F()
269 EXPECT_CALL(*mMockUidProcStatsCollector, latestStats()).WillOnce(Return(uidProcStatsByUid)); in TEST_F()
270 EXPECT_CALL(*mMockUidCpuStatsCollector, latestStats()).WillOnce(Return(uidCpuStatsByUid)); in TEST_F()
276 auto actual = mUidStatsCollector->latestStats(); in TEST_F()
310 actual = mUidStatsCollector->latestStats(); in TEST_F()
340 actual = mUidStatsCollector->latestStats(); in TEST_F()
370 actual = mUidStatsCollector->latestStats(); in TEST_F()
399 actual = mUidStatsCollector->latestStats(); in TEST_F()
[all …]
DMockUidStatsCollector.h37 MOCK_METHOD((const std::vector<UidStats>), latestStats, (), (const, override));
DMockProcStatCollector.h37 MOCK_METHOD(const ProcStatInfo, latestStats, (), (const, override));
DMockUidIoStatsCollector.h37 MOCK_METHOD((const std::unordered_map<uid_t, UidIoStats>), latestStats, (), (const, override));
DMockUidCpuStatsCollector.h37 MOCK_METHOD((const std::unordered_map<uid_t, int64_t>), latestStats, (), (const, override));
DMockUidProcStatsCollector.h39 MOCK_METHOD((const std::unordered_map<uid_t, UidProcStats>), latestStats, (),
/packages/services/Car/cpp/watchdog/server/src/
DUidStatsCollector.cpp67 process(mUidIoStatsCollector->latestStats(), mUidProcStatsCollector->latestStats(), in collect()
68 mUidCpuStatsCollector->latestStats()); in collect()
DUidCpuStatsCollector.h44 virtual const std::unordered_map<uid_t, int64_t> latestStats() const = 0;
69 const std::unordered_map<uid_t, int64_t> latestStats() const override { in latestStats() function
DUidStatsCollector.h66 virtual const std::vector<UidStats> latestStats() const = 0;
90 const std::vector<UidStats> latestStats() const override { in latestStats() function
DUidIoStatsCollector.h93 virtual const std::unordered_map<uid_t, UidIoStats> latestStats() const = 0;
118 const std::unordered_map<uid_t, UidIoStats> latestStats() const override { in latestStats() function
DProcStatCollector.h114 virtual const ProcStatInfo latestStats() const = 0;
145 const ProcStatInfo latestStats() const { in latestStats() function
DUidProcStatsCollector.h131 virtual const std::unordered_map<uid_t, UidProcStats> latestStats() const = 0;
157 const std::unordered_map<uid_t, UidProcStats> latestStats() const { in latestStats() function