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.h87 unique_ptr<storage_info_t> storage_info;
/system/core/storaged/
Dstoraged_info.cpp60 storage_info_t* storage_info_t::get_storage_info(const sp<IHealth>& healthService) { in get_storage_info()
69 return new storage_info_t; in get_storage_info()
72 void storage_info_t::load_perf_history_proto(const IOPerfHistory& perf_history) in load_perf_history_proto()
113 void storage_info_t::refresh(IOPerfHistory* perf_history) in refresh()
143 void storage_info_t::publish() in publish()
150 void storage_info_t::update_perf_history(uint32_t bw, in update_perf_history()
201 vector<int> storage_info_t::get_perf_history() in get_perf_history()
232 uint32_t storage_info_t::get_recent_perf() { in get_recent_perf()
Dstoraged.cpp91 storage_info.reset(storage_info_t::get_storage_info(health)); in init()
/system/core/storaged/tests/
Dstoraged_test.cpp360 TEST(storaged_test, storage_info_t) { in TEST() argument
361 storage_info_t si; in TEST()
420 storage_info_t si; in TEST()