android_system_core/storaged
Jin Qian 6df3bc6301 storaged: split proto file into multiple CE areas
Use user_id (from app uid) to determine file location.
/data/misc_ce/<user_id>/storaged/storaged.proto

Vold notifies storaged when a user's CE area becomes available.
Then storaged restores data from the proto in that area and
combines them into IO history.

Vold also notifies storaged when the CE area is being deleted.
Storaged clears internal history about this user and deletes the
proto file.

IO perf is stored in user_0 area since it's not user related.

Test: dumpsys storaged before/after multiple users' unlock
Bug: 63740245
Change-Id: I39f923f6b09e9f2a29e9286ce02b3b3bcbfb9f94
2017-10-31 14:31:13 -07:00
..
binder/android/os storaged: use AIDL to generate storaged binder calls. 2017-10-18 13:50:03 -07:00
include storaged: split proto file into multiple CE areas 2017-10-31 14:31:13 -07:00
tests storaged: split proto file into multiple CE areas 2017-10-31 14:31:13 -07: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: split proto file into multiple CE areas 2017-10-31 14:31:13 -07:00
storaged.proto storaged: split proto file into multiple CE areas 2017-10-31 14:31:13 -07: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: split proto file into multiple CE areas 2017-10-31 14:31:13 -07: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: split proto file into multiple CE areas 2017-10-31 14:31:13 -07: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