summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorKweku Adams <kwekua@google.com>2021-03-23 16:28:02 -0700
committerKweku Adams <kwekua@google.com>2021-03-25 12:58:50 -0700
commit8697a083a882694a473f75b1d323eee178012428 (patch)
treead8805cc0e859972f805358e1586dce4103e0716 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent2e998fc49789f86ccdfa55516e12771b638dae27 (diff)
Migrate to the asynchronous version of getActiveNetworkForUid.
Register a network callback to get the active network for each UID that schedules a job with a network constraint. Using the asynchronous version means that JS no longer has to call any synchronous network APIs. The networking stack has a hard limit on the number of callbacks that can be scheduled, so we try to prioritize the UIDs that we register callbacks for based on certain characteristics. Bug: 134978280 Bug: 165835257 Bug: 179501234 Bug: 183089482 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: Ie93cd22b11cc28135a385c0cf6ad6b577b61d1b7
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions