Home
last modified time | relevance | path

Searched refs:parse_disk_stats (Results 1 – 3 of 3) sorted by relevance

/system/core/storaged/include/
Dstoraged_utils.h30 bool parse_disk_stats(const char* disk_stats_path, struct disk_stats* stats);
/system/core/storaged/
Dstoraged_diskstats.cpp87 bool parse_disk_stats(const char* disk_stats_path, struct disk_stats* stats) { in parse_disk_stats() function
315 if (!parse_disk_stats(DISK_STATS_PATH, &curr)) { in update()
/system/core/storaged/tests/
Dstoraged_test.cpp80 EXPECT_TRUE(parse_disk_stats(DISK_STATS_PATH, &stats)); in TEST()
87 EXPECT_FALSE(parse_disk_stats(wrong_path, &stats)); in TEST()
95 ASSERT_TRUE(parse_disk_stats(DISK_STATS_PATH, &stats)); in TEST()
106 ASSERT_TRUE(parse_disk_stats(DISK_STATS_PATH, &curr)); in TEST()