Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 7a9fe088 authored by alexbianchi's avatar alexbianchi Committed by Alex Bianchi
Browse files

Adjust Flex Deadline For Rescheduled Jobs

Rescheduled jobs do not have deadlines, leaving Flexibility Controller
to determine when all flexible constraints should be dropped by,
When jobs are rescheduled the first few times, we want to give them
adequate opportunity to execute again. If a job keeps failing then its
likely faulty and should be more restricted than normal jobs.
Flexibility controller will not use it's fallback deadline for
rescheduled jobs and instead scale a deadline based on how many times a
job has been rescheduled.

Bug: 242316188

Test: atest frameworks/base/services/tests/mockingservicestests/src/com/android/server/job
Test: atest frameworks/base/services/tests/servicestests/src/com/android/server/job
Test: atest CtsJobSchedulerTestCases
Change-Id: I00529bc97606f15d5c9b220ba593f3709b18e2af
parent aa4bae78
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment