Detect doubleStuffed frame when duration is over 2*interval
Current doubleStuffed deadline calculation is based on the assumption
that frame duration cannot go beyond 2*interval. But we see on TV
with many >2*interval cases and device is still rendering without
frame drop.
See details in go/jank-tracker-deadline-fix-on-s
Test: build adt3_gtv-userdebug on T, verified gfxinfo is no longer
reporting a high number of "deadline missed"
Test: new test in JankTrackerTests
Bug: 189942694
Change-Id: Id9be2d0d232b89c6e145ecec513054ca8c752814
2 files changed