android_system_core/storaged
Mark Salyzyn 08cb444d80 storaged: protect global proto_loaded
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
2020-11-23 21:07:41 +00:00
..
binder/android/os
include storaged: protect global proto_loaded 2020-11-23 21:07:41 +00:00
tests storaged: Cap io_history when loading stats from disk. 2018-08-21 09:20:40 -07:00
tools
Android.bp Remove libhwbinder/libhidltransport deps 2019-09-05 14:17:42 -07:00
EventLogTags.logtags
main.cpp storaged: ignore SIGPIPE 2020-03-17 09:31:01 -07:00
OWNERS storaged: update OWNERS 2018-04-11 18:50:14 -07:00
README.properties
storaged.cpp storaged: protect global proto_loaded 2020-11-23 21:07:41 +00:00
storaged.proto
storaged.rc Merge "storaged: lower capabilities in init" am: 183b575e78 2018-04-12 09:41:00 -07:00
storaged_diskstats.cpp storaged: replace LOG_TO() macros with LOG() 2020-01-10 17:10:58 -08:00
storaged_info.cpp storaged: replace LOG_TO() macros with LOG() 2020-01-10 17:10:58 -08:00
storaged_service.cpp Move system/core/ off NO_ERROR. 2018-10-08 11:15:52 -07:00
storaged_uid_monitor.cpp storaged: replace LOG_TO() macros with LOG() 2020-01-10 17:10:58 -08:00
storaged_utils.cpp
uid_info.cpp Move system/core/ off NO_ERROR. 2018-10-08 11:15:52 -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