diff options
author | Kweku Adams <kwekua@google.com> | 2021-04-20 09:30:43 -0700 |
---|---|---|
committer | Kweku Adams <kwekua@google.com> | 2021-04-20 09:30:43 -0700 |
commit | 60028e750192c7180d20a0ccdfe8dafa3fbe5576 (patch) | |
tree | 798599cef68a821961bed4750146de5e1a5aa7e4 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | d215e29f75b7f564677cd67d39485d1d81e8a6db (diff) |
Simplify running job checking.
Now that we have a list of the currently running jobs, we no longer need
to iterate through all JobServiceContexts to know if a job is running.
Clean up the code by using the set of running jobs instead of iterating.
Bug: 141645789
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: Icfdf420fa14496f0fd93f6aa6e67aaa229372985
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions