android_system_core/storaged
Jin Qian baff640d5d storaged: handle negative delta in io usage
When UID is uninstalled and reinstalled, IO usage of the UID is
reset. This caused problem in accounting since it assumes IO usage
is always increasing for the same UID. In such case, use the current
usage instead of negative delta for accounting.

Bug: 34198239
Change-Id: I74661feccc05d19ba8a0feff8a2e38d72c7d1465
2017-02-16 18:46:41 -08:00
..
include storaged: allow dump window to be less than an hour 2017-02-10 17:25:34 -08:00
tests Add permission bits to open with O_CREAT. 2017-02-03 14:45:47 -08:00
Android.mk storaged: fix selinux dac_override denial 2017-02-10 18:33:13 -08:00
EventLogTags.logtags storaged: change uid_io reporting 2017-01-30 14:22:49 -08:00
main.cpp storaged: fix selinux dac_override denial 2017-02-10 18:33:13 -08:00
README.properties storaged: replace cmd arguments with properties 2017-01-24 14:45:50 -08:00
storaged.cpp storaged: account on/off charger per uid io usage 2017-02-07 21:41:15 +00:00
storaged.rc storaged: fix selinux dac_override denial 2017-02-10 18:33:13 -08:00
storaged_service.cpp storaged: allow dump window to be less than an hour 2017-02-10 17:25:34 -08:00
storaged_uid_monitor.cpp storaged: handle negative delta in io usage 2017-02-16 18:46:41 -08:00
storaged_utils.cpp storaged: account on/off charger per uid io usage 2017-02-07 21:41:15 +00: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.emmc_info_pub     # interval storaged publish emmc info, 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