summaryrefslogtreecommitdiff
path: root/libs/hwui/HardwareBitmapUploader.cpp
diff options
context:
space:
mode:
author Kweku Adams <kwekua@google.com> 2024-02-08 06:56:53 +0000
committer Kweku Adams <kwekua@google.com> 2024-02-08 15:52:34 +0000
commit0f72d99536872904bdfc101e01dd0aa41cdea6e4 (patch)
treedb2197bf608bb1dc36bf02798f2e4bc0eafb8276 /libs/hwui/HardwareBitmapUploader.cpp
parente7143188377ea9a5967d73538311874e7414f557 (diff)
Apply flex policy to jobs with short deadlines.
Apply flex policy to all jobs with deadlines and adjust other factors to accomodate increased scope: 1. Don't exclude jobs with short deadlines from flex policy. 2. Use the standard flex fallback duration for the policy, unless the job's own deadline results in a later end time. In that case, use the job's deadline instead. 3. Exclude jobs from the TOP app from score calculation so that apps aren't penalized for doing work while in the TOP state. 4. Cache job score to avoid recalculating if buckets haven't changed. 5. Address comments from previous change. 6. Adjust scores and max values to avoid extreme delays. Bug: 236261941 Test: atest frameworks/base/services/tests/mockingservicestests/src/com/android/server/job Test: CtsJobSchedulerTestCases:FlexibilityConstraintTest Change-Id: I2dd85732eddc4aace3ab81a914d781fb25d9c6f6
Diffstat (limited to 'libs/hwui/HardwareBitmapUploader.cpp')
0 files changed, 0 insertions, 0 deletions