summaryrefslogtreecommitdiff
path: root/libs/hwui/renderthread/VulkanManager.cpp
diff options
context:
space:
mode:
authorKweku Adams <kwekua@google.com>2018-12-13 22:13:28 -0800
committerKweku Adams <kwekua@google.com>2018-12-13 22:33:20 -0800
commitbffea5a13f6dff36061e2f43c1a22e382ee4f363 (patch)
tree8b37a85acece07e89bba92772a6873a727aa98a7 /libs/hwui/renderthread/VulkanManager.cpp
parent96dc16389442c52c88739ab03f2bbd81b807f666 (diff)
TimeController skips alarms for jobs that wouldn't be ready.
If a job runs out of quota, the deadline alarm will not make it ready to run. Similarly, there are two other implicit constraints (device not dozing and not-restricted-in-background) that will stop a job from running even if the deadline constraint has been satisfied. As such, it doesn't make much sense to set an alarm to wake up the device when those constraints aren't satisfied. When those constraints are updated, TimeController is told to recheck its jobs, so this should have no negative impact on jobs, but should reduce the number of wakeups the device has from JobScheduler. Bug: 117846754 Bug: 111423978 Test: atest com.android.server.job.controllers.TimeControllerTest Change-Id: Ia0c09400079154287dff9ff2ac622d8870ef4110
Diffstat (limited to 'libs/hwui/renderthread/VulkanManager.cpp')
0 files changed, 0 insertions, 0 deletions