proto_loaded is not thread safe, so we must protect it with
a mutex proto_lock.
Signed-off-by: hanhongli@360.cn
Signed-off-by: gongguang@360.cn
Signed-off-by: Mark Salyzyn <salyzyn@google.com>
Bug: 170732441
Test: compile
Change-Id: I93416598b6047e890c66b922b360093aa42db8c5
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| binder/android/os | ||
| include | ||
| tests | ||
| tools | ||
| Android.bp | ||
| EventLogTags.logtags | ||
| main.cpp | ||
| OWNERS | ||
| 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