Make sure out-of-quota EJs stop in time.
If an app runs out of EJ quota while one of its EJs is running, then the
running EJ should only be allowed to run for the minimum execution limit
(currently 3 minutes). Once that execution time has transpired, the
out-of-quota EJ should be stopped.
Bug: 171305774
Test: atest frameworks/base/services/tests/mockingservicestests/src/com/android/server/job
Test: atest frameworks/base/services/tests/servicestests/src/com/android/server/job
Test: atest CtsJobSchedulerTestCases
Change-Id: Iacabac599939204783e417b700a754ffd0a5759c
6 files changed