commit | 8c8a4329c20362f30cc4c4c8f04c999f8cf2ba8d | [log] [tgz] |
---|---|---|
author | Alec Mouri <alecmouri@google.com> | Fri May 27 22:25:10 2022 +0000 |
committer | Alec Mouri <alecmouri@google.com> | Fri May 27 22:25:10 2022 +0000 |
tree | 294f1b6ceaa52646655efc878d9f08afd4d6466c | |
parent | 03a6527d723e044729ec2f3aded6501adbf76f2e [diff] |
Deflake FrameMetricsListenerTest Sometimes the GPU duration can be zero if, for instance, a frame dropped, or if GPU work completed so quickly it outran the estimated start timepoint on the CPU. HWUI will try to clamp to ensure that the GPU duration is nonnegative, but the test should allow for occasional zero-durations. Bug: 230713131 Test: FrameMetricsListenerTest Change-Id: I70eee2dbbc73f22a9136ca9a09986f37c0595651