commit | 8639b574ef7365cbf4328d3ea6f05fe0d89f28f3 | [log] [tgz] |
---|---|---|
author | Kweku Adams <kwekua@google.com> | Thu Oct 18 18:24:21 2018 -0700 |
committer | Kweku Adams <kwekua@google.com> | Mon Oct 22 11:38:34 2018 -0700 |
tree | 09b41074f7f008c2e949cf55b2258157548dbf4f | |
parent | 4a772fc4d2d8578489cdd305f03832f8ca04981f [diff] |
ConnectivityController tracks jobs by UID. There could be hundreds of jobs requesting connectivity. A single ArraySet for all of them is inefficient. Splitting by UID makes processing a little bit faster. This should also help make job quota management easier. Bug: 117841374 Bug: 111423978 Bug: 117846754 Test: atest com.android.server.job.controllers.ConnectivityControllerTest Change-Id: I8b3b0209c6b57c91b13a69106b6fe8705b26d385