Home
last modified time | relevance | path

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

/system/core/storaged/
Dstoraged.cpp188 const UidIOUsage& uid_io_usage = proto.uid_io_usage(); in load_proto() local
190 reinterpret_cast<const Bytef*>(uid_io_usage.SerializeAsString().c_str()), in load_proto()
191 uid_io_usage.ByteSize()); in load_proto()
197 mUidm.load_uid_io_proto(user_id, proto.uid_io_usage()); in load_proto()
207 const UidIOUsage& uid_io_usage = proto->uid_io_usage(); in prepare_proto() local
209 reinterpret_cast<const Bytef*>(uid_io_usage.SerializeAsString().c_str()), in prepare_proto()
210 uid_io_usage.ByteSize())); in prepare_proto()
Dstoraged.proto57 optional UidIOUsage uid_io_usage = 3; field
Dstoraged_uid_monitor.cpp317 struct uid_io_usage& usage = curr_io_stats_[uid.name]; in update_curr_io_stats_locked()
/system/core/storaged/include/
Dstoraged_uid_monitor.h62 struct uid_io_usage { struct
71 uid_io_usage ios; argument
87 unordered_map<string, uid_io_usage> curr_io_stats_;
/system/core/storaged/tests/
Dstoraged_test.cpp494 EXPECT_EQ(protos[0].uid_io_usage().uid_io_items_size(), 2); in TEST()
495 const UidIOItem& user_0_item_0 = protos[0].uid_io_usage().uid_io_items(0); in TEST()
505 const UidIOItem& user_0_item_1 = protos[0].uid_io_usage().uid_io_items(1); in TEST()
513 EXPECT_EQ(protos[1].uid_io_usage().uid_io_items_size(), 2); in TEST()
514 const UidIOItem& user_1_item_0 = protos[1].uid_io_usage().uid_io_items(0); in TEST()
522 const UidIOItem& user_1_item_1 = protos[1].uid_io_usage().uid_io_items(1); in TEST()
554 uidm.load_uid_io_proto(0, protos[0].uid_io_usage()); in TEST()
555 uidm.load_uid_io_proto(1, protos[1].uid_io_usage()); in TEST()
662 UidIOUsage user_0 = protos[0].uid_io_usage(); in TEST()