Searched refs:procDiskStats (Results 1 – 6 of 6) sorted by relevance
/packages/services/Car/cpp/watchdog/server/tests/ |
D | ProcDiskStatsTest.cpp | 99 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()
|
D | WatchdogPerfServiceTest.cpp | 210 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/ |
D | IoOveruseMonitor.cpp | 330 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()
|
D | IoPerfCollection.h | 153 [[maybe_unused]] const android::wp<IProcDiskStatsInterface>& procDiskStats, in onPeriodicMonitor() argument
|
D | WatchdogPerfService.h | 103 time_t time, const android::wp<IProcDiskStatsInterface>& procDiskStats,
|
D | IoOveruseMonitor.h | 137 time_t time, const android::wp<IProcDiskStatsInterface>& procDiskStats,
|