platform_system_core/storaged
Jin Qian a8533325d5 storaged: move proto file to /data/misc_ce/0/storaged
Use proto_stat to indicate status of CE area. Before user_0 unlocks,
storaged detects CE NOT_AVAILABLE when attempting to read the proto
file. It then skips reading/writting the proto.

When user_0 logs in, vold calls onUserStart in storaged, which sets
proto_stat to AVAILABLE. At next event, storaged tries to read the
proto. If it's a success, proto_stat is changed to LOADED. After that,
storaged reads and writes proto normally.

Test: adb shell storaged -u -p
Bug: 63740245
Change-Id: I1fdd42c430e91682f6cc07497fcad5be52489b4e
2017-10-18 13:50:03 -07:00
..
binder/android/os storaged: use AIDL to generate storaged binder calls. 2017-10-18 13:50:03 -07:00
include storaged: move proto file to /data/misc_ce/0/storaged 2017-10-18 13:50:03 -07:00
tests storaged: use AIDL to generate storaged binder calls. 2017-10-18 13:50:03 -07:00
tools storaged: add parser for dumpsys storaged output 2017-08-09 15:25:19 -07:00
Android.bp storaged: use AIDL to generate storaged binder calls. 2017-10-18 13:50:03 -07:00
EventLogTags.logtags storaged: change uid_io reporting 2017-01-30 14:22:49 -08:00
main.cpp storaged: use AIDL to generate storaged binder calls. 2017-10-18 13:50:03 -07:00
README.properties storaged: read emmc health data from sysfs 2017-04-03 16:48:14 +00:00
storaged.cpp storaged: move proto file to /data/misc_ce/0/storaged 2017-10-18 13:50:03 -07:00
storaged.proto storaged: record IO perf history from proto updates 2017-10-10 00:56:03 +00:00
storaged.rc storaged: move proto file to /data/misc_ce/0/storaged 2017-10-18 13:50:03 -07:00
storaged_diskstats.cpp storaged: clean up disk stats code 2017-10-02 15:45:14 -07:00
storaged_info.cpp storaged: move proto file to /data/misc_ce/0/storaged 2017-10-18 13:50:03 -07:00
storaged_service.cpp storaged: move proto file to /data/misc_ce/0/storaged 2017-10-18 13:50:03 -07:00
storaged_uid_monitor.cpp storaged: move proto file to /data/misc_ce/0/storaged 2017-10-18 13:50:03 -07:00
storaged_utils.cpp storaged: use AIDL to generate storaged binder calls. 2017-10-18 13:50:03 -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