Home
last modified time | relevance | path

Searched refs:storage_info_t (Results 1 – 5 of 5) sorted by relevance

/system/core/storaged/include/
Dstoraged_info.h38 class storage_info_t {
40 FRIEND_TEST(storaged_test, storage_info_t);
61 storage_info_t() : eol(0), lifetime_a(0), lifetime_b(0), in storage_info_t() function
70 storage_info_t* s_info;
73 static storage_info_t* get_storage_info(
75 virtual ~storage_info_t(){}; in ~storage_info_t()
85 class emmc_info_t : public storage_info_t {
98 class ufs_info_t : public storage_info_t {
106 class health_storage_info_t : public storage_info_t {
Dstoraged.h108 unique_ptr<storage_info_t> storage_info;
/system/core/storaged/
Dstoraged_info.cpp59 storage_info_t* storage_info_t::get_storage_info(const shared_ptr<IHealth>& healthService) { in get_storage_info()
68 return new storage_info_t; in get_storage_info()
71 void storage_info_t::load_perf_history_proto(const IOPerfHistory& perf_history) in load_perf_history_proto()
112 void storage_info_t::refresh(IOPerfHistory* perf_history) in refresh()
142 void storage_info_t::publish() in publish()
149 void storage_info_t::update_perf_history(uint32_t bw, in update_perf_history()
200 vector<int> storage_info_t::get_perf_history() in get_perf_history()
231 uint32_t storage_info_t::get_recent_perf() { in get_recent_perf()
Dstoraged.cpp129 storage_info.reset(storage_info_t::get_storage_info(health)); in init()
/system/core/storaged/tests/
Dstoraged_test.cpp373 TEST(storaged_test, storage_info_t) { in TEST() argument
374 storage_info_t si; in TEST()
433 storage_info_t si; in TEST()