replicant-frameworks_native/cmds/dumpstate
Mark Salyzyn 8f37aa5011 dumpstate: modify logcat timeout to compensate for storage speed
(cherry pick from commit f989162bb8)

Discover the logcat buffer size, divide by the worst storage
speed in kb/s, and multiply by ten to estimate the timeout in
ms for each named buffer. If that value is less than 20 seconds,
then select 20 seconds. Apply this to each logcat request.

Bug: 21555259
Change-Id: Id36aebff83cb06e94350e4a84fa266b66a8444fc
2015-06-15 07:28:28 -07:00
..
Android.mk dumpstate: switch to HAL static libraries 2013-08-13 16:30:01 -07:00
dumpstate.c dumpstate: modify logcat timeout to compensate for storage speed 2015-06-15 07:28:28 -07:00
dumpstate.h dumpstate: report per-partition MMC performance 2015-05-01 14:50:55 -07:00
libdumpstate_default.c dumpstate: switch to HAL static libraries 2013-08-13 16:30:01 -07:00
utils.c Don't use TEMP_FAILURE_RETRY on close in frameworks/native. 2015-05-15 17:26:44 -07:00