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

Skip to content
Commit f1bf0a50 authored by Xin Guan's avatar Xin Guan
Browse files

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
parent 4a87d601
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment