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 |
||
|---|---|---|
| .. | ||
| binder/android/os | ||
| include | ||
| tests | ||
| tools | ||
| Android.bp | ||
| EventLogTags.logtags | ||
| main.cpp | ||
| README.properties | ||
| storaged.cpp | ||
| storaged.proto | ||
| storaged.rc | ||
| storaged_diskstats.cpp | ||
| storaged_info.cpp | ||
| storaged_service.cpp | ||
| storaged_uid_monitor.cpp | ||
| storaged_utils.cpp | ||
| uid_info.cpp | ||
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