Kweku Adams 045fb57278 Adding limit for active apps.
Add an overall time limit for all apps, including ACTIVE apps. Right
now, the default is 4 hours per day, so apps can only have their jobs
running for a maximum of 4 hours in a rolling 24 hour window.

Also fix calculation bug where an app could be brought back into quota
despite having less than the quota buffer time available.

Bug: 117846754
Bug: 111423978
Test: atest com.android.server.job.controllers.QuotaControllerTest
Change-Id: Ia0773ef9fe26f0a502fe487f1e11c243eede30b3
2018-12-13 15:23:20 -08:00
2018-12-13 21:04:14 +00:00
2018-12-13 15:23:20 -08:00
2018-12-13 00:07:32 +00:00
2018-10-24 09:25:55 -06:00
2018-08-02 14:46:03 +01:00
2018-12-13 15:23:20 -08:00
2018-12-13 16:55:37 +00:00
2018-12-13 00:07:32 +00:00
2018-12-05 16:31:53 +00:00
2018-12-05 11:43:11 +00:00
Description
No description provided
21 GiB
Languages
Java 73.7%
Kotlin 14%
PowerBuilder 5.8%
C++ 5.2%
AIDL 1%