summaryrefslogtreecommitdiff
path: root/tools/aidl/generate_java.cpp
diff options
context:
space:
mode:
authorBenedict Wong <benedictwong@google.com>2021-07-21 02:05:47 +0000
committerBenedict Wong <benedictwong@google.com>2021-07-21 02:11:01 +0000
commit8d35744f98c14ff30fb04e7fd9225a20552b1671 (patch)
tree623329103e96aca1ecdae3f3a1c54c3163ffc954 /tools/aidl/generate_java.cpp
parent019189c35a9f629823f57b254a37c01da4290643 (diff)
Set TRANSPORT_PRIMARY for VCN NetworkOffers and NetworkAgents
This change sets TRANSPORT_PRIMARY for all NetworkScore objects passed to ConnectivityService by the VCN. Without this patch, a VCN in safe mode will never get any NetworkRequests, since the new Policy-based NetworkRanker always prioritizes a existing satisfier of a network, regardless of score. However, a higher-priority policy check ensures that a TRANSPORT_PRIMARY request is used if it exists. This changes the VCN to utilize that functionality. Bug: 194122634 Test: atest FrameworksVcnTests Original-Change: https://android-review.googlesource.com/1772025 Merged-In: I3a298a6c4c594c6e224f3f05764614802c00e9b0 Change-Id: I3a298a6c4c594c6e224f3f05764614802c00e9b0
Diffstat (limited to 'tools/aidl/generate_java.cpp')
0 files changed, 0 insertions, 0 deletions