summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Kweku Adams <kwekua@google.com> 2022-01-11 22:01:42 +0000
committer Kweku Adams <kwekua@google.com> 2022-01-12 15:45:18 +0000
commitb32b6aed4ee194ded36059f46e2cd3fa739928c2 (patch)
treefe934aeff6b82b985d70f965c841a75941bf9c2e /api/api.go
parentda94cf36583d99d463fb17f7fc04d324c015f6f9 (diff)
Combine battery trackers.
Combine the separate Controller battery/charging trackers into one so that JobScheduler only has to receive the battery change broadcasts once to update all of the state. This also makes testing easier since the test can be sure that once the battery sequence is updated, all of JS has processed the battery state change. Bug: 141645789 Bug: 213277873 Test: atest --rerun-until-failure 25 CtsJobSchedulerTestCases:android.jobscheduler.cts.JobThrottlingTest#testRestrictingStopReason_Quota 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: I7151798f17c177eb5e86a6ec51c2d545768a4fcd
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions