JobScheduler: Adjust quota default parameters
- Change the quota window sizes for different standby buckets to
enforce more regular job duration quota restrictions.
EXEMPTED: unlimited -> 10 mins within past 20 mins
ACTIVE: unlimited -> 10 mins within past 30 mins
WORKING: 10 mins within past 2 hours -> 10 mins within past 4 hours.
FREQUENT: 10 mins within past 8 hours -> 10 mins within past 12 hours.
- Change the EJ session limit for WORING bucket
- Change the rewards for EJ quota based on usages
Bug: 347058927
Test: atest FrameworksMockingServicesTests:com.android.server.job.controllers.QuotaControllerTest
Test: atest CtsJobSchedulerTestCases
Flag: com.android.server.job.adjust_quota_default_constants
Change-Id: I7a3fbb244ce386094595998c174d13daf6563155
3 files changed