Searched refs:uid_monitor (Results 1 – 4 of 4) sorted by relevance
/system/core/storaged/ |
D | storaged_uid_monitor.cpp | 52 std::unordered_map<uint32_t, uid_info> uid_monitor::get_uid_io_stats() in get_uid_io_stats() 153 std::unordered_map<uint32_t, uid_info> uid_monitor::get_uid_io_stats_locked() in get_uid_io_stats_locked() 213 void uid_monitor::add_records_locked(uint64_t curr_ts) in add_records_locked() 249 void uid_monitor::maybe_shrink_history_for_items(size_t nitems) { in maybe_shrink_history_for_items() 258 std::map<uint64_t, struct uid_records> uid_monitor::dump( in dump() 303 void uid_monitor::update_curr_io_stats_locked() in update_curr_io_stats_locked() 366 void uid_monitor::report(unordered_map<int, StoragedProto>* protos) in report() 408 void uid_monitor::update_uid_io_proto(unordered_map<int, StoragedProto>* protos) in update_uid_io_proto() 448 void uid_monitor::clear_user_history(userid_t user_id) in clear_user_history() 470 void uid_monitor::load_uid_io_proto(userid_t user_id, const UidIOUsage& uid_io_proto) in load_uid_io_proto() [all …]
|
/system/core/storaged/include/ |
D | storaged_uid_monitor.h | 79 class uid_monitor { 81 FRIEND_TEST(storaged_test, uid_monitor); 113 uid_monitor();
|
D | storaged.h | 84 uid_monitor mUidm;
|
/system/core/storaged/tests/ |
D | storaged_test.cpp | 444 TEST(storaged_test, uid_monitor) { in TEST() argument 445 uid_monitor uidm; in TEST() 632 uid_monitor uidm; in TEST() 672 for (size_t i = 0; i < uid_monitor::MAX_UID_RECORDS_SIZE * 2; i++) { in TEST() 678 ASSERT_GT(io_history.size(), size_t(uid_monitor::MAX_UID_RECORDS_SIZE)); in TEST() 685 ASSERT_LE(io_history.size(), size_t(uid_monitor::MAX_UID_RECORDS_SIZE)); in TEST()
|