Add tests confirming EJs stop when quota is finished.

Currently, the tests require changing the framework to allow setting the
EJ quota to 1 minute. We don't want to change the framework to allow
that value on end devices, so the tests are currently disabled. We can
re-enable them after making QuotaController more testable.

Bug: 224533485
Test: atest CtsJobSchedulerTestCases:JobThrottlingTest#testRestrictingStopReason_ExpeditedQuota_noCharging
Test: atest CtsJobSchedulerTestCases:JobThrottlingTest#testRestrictingStopReason_ExpeditedQuota_startOnCharging
Change-Id: I6ff2b4578146b8d145dcf0b16056e9e2b000cf45
1 file changed