diff options
author | Kweku Adams <kwekua@google.com> | 2019-05-14 13:44:32 -0700 |
---|---|---|
committer | Kweku Adams <kwekua@google.com> | 2019-05-17 16:13:45 -0700 |
commit | d48eef0d22e1c6442af636b97a8ed39f1550c8b4 (patch) | |
tree | 9e729547ad208ffdff39b9d3f8c08a2d5b0f5e5a /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | b3196e53d7bb17745526ab3c6821a57784d2bf7c (diff) |
Add throttling by job run session.
A session is considered a period of time when jobs for an app ran.
Overlapping jobs are counted as part of the same session. This adds a
way to limit the number of job sessions an app can run. This includes a
mechanism to coalesce sessions -- if a second session started soon after
one just ended, they will only be counted as one session.
Bug: 132227621
Test: atest com.android.server.job.controllers.QuotaControllerTest
Test: atest CtsJobSchedulerTestCases
Change-Id: Id2ac4037731f57547d00985e8d549b9e990a5f3e
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions