diff options
author | Kweku Adams <kwekua@google.com> | 2021-04-09 09:48:45 -0700 |
---|---|---|
committer | Kweku Adams <kwekua@google.com> | 2021-04-15 09:24:27 -0700 |
commit | 02def928920b3e62e73bd5f8447d796c9d0c6eb4 (patch) | |
tree | ed54687058b50af230d5eb22c3065a1fd361a128 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 062dde5e2b0269eb0756dd38e793843e2d17b084 (diff) |
Add intra-package job concurrency limits.
Add limits so that individual packages can't run more than X number
of jobs concurrently (so that we allow other apps to run their jobs
as well). For now, limit packages to 3 concurrent expedited jobs and
8 concurrent regular jobs. TOP apps are not subject to this restriction,
and the restriction also only comes into effect if there are more jobs
running+pending than slots available.
Bug: 171305774
Test: atest frameworks/base/services/tests/servicestests/src/com/android/server/job
Test: atest frameworks/base/services/tests/mockingservicestests/src/com/android/server/job
Test: atest CtsJobSchedulerTestCases
Change-Id: Id9d6f118b078ab54e3abafffd7d0ed00795d19c6
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions