summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2017-11-06 13:54:11 -0700
committerJeff Sharkey <jsharkey@android.com>2017-11-07 09:51:53 -0700
commit7e19f53f75386eab289a2ddf33dd6619775d6f21 (patch)
treeff9dc83f1de638ecdc3450f587ed7d5903ab92d1 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentaa422681a68e8ec7cdfce7e543295548a528f289 (diff)
Abort long-running benchmarks, report progress.
A typical storage device finishes the benchmark in under 10 seconds, but some extremely slow devices can take minutes, resulting in a confusing UX that looks like we've frozen. Even worse, we keep churning through all that I/O even though we know the device will blow past our user-warning threshold. So periodically check if we've timed out, and also use that to report progress up into the Settings UI. Test: manual Bug: 62201209, 65639764, 67055204 Change-Id: Id28e63a7ea1476d83184abab5aea737a1d193f3a
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions