summaryrefslogtreecommitdiff
path: root/libs/hwui/FrameInfoVisualizer.cpp
diff options
context:
space:
mode:
author Kweku Adams <kwekua@google.com> 2022-01-10 23:45:34 +0000
committer Kweku Adams <kwekua@google.com> 2022-02-09 16:26:31 +0000
commit1256b08bb3dcc5257c39566c125d495df2f52799 (patch)
treec0e2070c9da34020d9750f9abd94f09cff0cca7a /libs/hwui/FrameInfoVisualizer.cpp
parente7e3dd676c44aa5e79ea19412ea23841a9622afa (diff)
Make Light Doze timings deterministic.
Switch the light idle timing mechanism to ensure the system always exits light idle at consistent times after screen off. With this change, we don't need to formally enter light idle to get into the maintenance window at the correct time, so we change that alarm to a non-wakeup alarm. The alarm will fire when the CPU is awake. If the CPU isn't awake, then waking up the CPU just to say we're going to light idle doesn't provide much benefit. We keep a wakeup alarm only for coming out of light idle to enter the maintenance window. Also, removing the PRE_IDLE state and combining the duration with the INACTIVE->IDLE time. Bug: 208820086 Test: atest DeviceIdleTest Test: atest FrameworksMockingServicesTests:DeviceIdleControllerTest Change-Id: Icccf78850039c51ac67abc5fa126c6a33f51dfba
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions