Home
last modified time | relevance | path

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

/system/core/storaged/include/
Dstoraged_utils.h28 bool parse_disk_stats(const char* disk_stats_path, struct disk_stats* stats);
/system/core/storaged/tests/
Dstoraged_test.cpp70 EXPECT_TRUE(parse_disk_stats(DISK_STATS_PATH, &stats)); in TEST()
77 EXPECT_FALSE(parse_disk_stats(wrong_path, &stats)); in TEST()
87 ASSERT_TRUE(parse_disk_stats(DISK_STATS_PATH, &stats)); in TEST()
102 ASSERT_TRUE(parse_disk_stats(DISK_STATS_PATH, &curr)); in TEST()
/system/core/storaged/
Dstoraged.cpp46 if (parse_disk_stats(DISK_STATS_PATH, &curr)) { in update()
146 if (LIKELY(parse_disk_stats(DISK_STATS_PATH, &curr))) { in update()
Dstoraged_utils.cpp44 bool parse_disk_stats(const char* disk_stats_path, struct disk_stats* stats) { in parse_disk_stats() function