Home
last modified time | relevance | path

Searched refs:procDiskStats (Results 1 – 6 of 6) sorted by relevance

/packages/services/Car/cpp/watchdog/server/tests/
DProcDiskStatsTest.cpp99 ProcDiskStats procDiskStats(tf.path); in TEST() local
100 ASSERT_TRUE(procDiskStats.enabled()) << "Temporary file is inaccessible"; in TEST()
101 ASSERT_RESULT_OK(procDiskStats.collect()); in TEST()
103 auto actualDiskStats = procDiskStats.deltaSystemWideDiskStats(); in TEST()
122 ASSERT_RESULT_OK(procDiskStats.collect()); in TEST()
124 actualDiskStats = procDiskStats.deltaSystemWideDiskStats(); in TEST()
137 ProcDiskStats procDiskStats(tf.path); in TEST() local
138 ASSERT_TRUE(procDiskStats.enabled()) << "Temporary file is inaccessible"; in TEST()
139 EXPECT_FALSE(procDiskStats.collect().ok()) << "No error returned for invalid file"; in TEST()
DWatchdogPerfServiceTest.cpp210 wp<IProcDiskStatsInterface> procDiskStats(servicePeer.mockProcDiskStats); in TEST() local
268 EXPECT_CALL(*servicePeer.mockDataProcessor, onPeriodicMonitor(_, procDiskStats, _)).Times(1); in TEST()
279 EXPECT_CALL(*servicePeer.mockDataProcessor, onPeriodicMonitor(_, procDiskStats, _)).Times(1); in TEST()
383 EXPECT_CALL(*servicePeer.mockDataProcessor, onPeriodicMonitor(_, procDiskStats, _)).Times(1); in TEST()
533 wp<IProcDiskStatsInterface> procDiskStats(servicePeer.mockProcDiskStats); in TEST() local
539 EXPECT_CALL(*servicePeer.mockDataProcessor, onPeriodicMonitor(_, procDiskStats, _)) in TEST()
/packages/services/Car/cpp/watchdog/server/src/
DIoOveruseMonitor.cpp330 time_t time, const android::wp<IProcDiskStatsInterface>& procDiskStats, in onPeriodicMonitor() argument
332 if (procDiskStats == nullptr) { in onPeriodicMonitor()
346 const auto diskStats = procDiskStats.promote()->deltaSystemWideDiskStats(); in onPeriodicMonitor()
DIoPerfCollection.h153 [[maybe_unused]] const android::wp<IProcDiskStatsInterface>& procDiskStats, in onPeriodicMonitor() argument
DWatchdogPerfService.h103 time_t time, const android::wp<IProcDiskStatsInterface>& procDiskStats,
DIoOveruseMonitor.h137 time_t time, const android::wp<IProcDiskStatsInterface>& procDiskStats,