platform_system_core/storaged
Jin Qian 94b64ef332 storaged: remove protos from storaged class
protobuf is only needed when serializing/deserializing data. Instead of
maintaining a permanent buffer in storaged object, move the container to
stack so that the buffer is released when we don't need it. In addition,
we don't need to clear the buffer before updating it.

Also added a function to clear user io history when the user is removed.

Bug: 63740245
Change-Id: Ia5d19b9a0c3f92a93b061a56be89bb0b958a2a29
2017-11-09 17:24:58 -08:00
..
binder/android/os storaged: use AIDL to generate storaged binder calls. 2017-10-18 13:50:03 -07:00
include storaged: remove protos from storaged class 2017-11-09 17:24:58 -08:00
tests storaged: remove protos from storaged class 2017-11-09 17:24:58 -08:00
tools storaged: add parser for dumpsys storaged output 2017-08-09 15:25:19 -07:00
Android.bp storaged: talk to healthd in hwbinder. 2017-10-19 14:55:53 -07:00
EventLogTags.logtags storaged: change uid_io reporting 2017-01-30 14:22:49 -08:00
main.cpp storaged: split proto file into multiple CE areas 2017-10-31 14:31:13 -07:00
README.properties storaged: read emmc health data from sysfs 2017-04-03 16:48:14 +00:00
storaged.cpp storaged: remove protos from storaged class 2017-11-09 17:24:58 -08:00
storaged.proto storaged: remove protos from storaged class 2017-11-09 17:24:58 -08:00
storaged.rc storaged: split proto file into multiple CE areas 2017-10-31 14:31:13 -07:00
storaged_diskstats.cpp storaged: clean up disk stats code 2017-10-02 15:45:14 -07:00
storaged_info.cpp storaged: remove protos from storaged class 2017-11-09 17:24:58 -08:00
storaged_service.cpp storaged: split proto file into multiple CE areas 2017-10-31 14:31:13 -07:00
storaged_uid_monitor.cpp storaged: remove protos from storaged class 2017-11-09 17:24:58 -08:00
storaged_utils.cpp storaged: split proto file into multiple CE areas 2017-10-31 14:31:13 -07:00
uid_info.cpp storaged: use AIDL to generate storaged binder calls. 2017-10-18 13:50:03 -07:00

ro.storaged.event.interval    # interval storaged scans for IO stats, in seconds
ro.storaged.event.perf_check  # check for time spent in event loop, in microseconds
ro.storaged.disk_stats_pub    # interval storaged publish disk stats, in seconds
ro.storaged.uid_io.interval   # interval storaged checks Per UID IO usage, in seconds
ro.storaged.uid_io.threshold  # Per UID IO usage limit, in bytes