summaryrefslogtreecommitdiff
path: root/tests/common/java/android/net/NetworkStackTest.java
diff options
context:
space:
mode:
authorjunyulai <junyulai@google.com>2021-01-13 18:13:11 +0800
committerjunyulai <junyulai@google.com>2021-02-22 10:19:16 +0800
commitb2966facbb3be5aa7a6f6dbcf18c3275ae9375fd (patch)
tree3344562a05bef9c653633a61fac857edcf162c60 /tests/common/java/android/net/NetworkStackTest.java
parent565664eabeda134e9f6d41b5bbf85038bdb52c19 (diff)
[VCN07] Bypass VCN for non-internet app accessible cellular services
Deduce the NET_CAPABILITY_NOT_VCN_MANAGED capability from other capabilities and user intention, which includes: 1. For the requests that don't have anything besides VCN_SUPPORTED_CAPABILITIES, add the NOT_VCN_MANAGED to allow the callers automatically utilize VCN networks if available. 2. For the requests that explicitly add or remove NOT_VCN_MANAGED, do not alter them to allow user fire request that suits their need. Test: atest NetworkRequestTest#testBypassingVcnForNonInternetRequest Bug: 175662146 Change-Id: I2876264cee14b624c89ba3b380027a8b521ad8ea (cherry-picked from aosp/1549817)
Diffstat (limited to 'tests/common/java/android/net/NetworkStackTest.java')
0 files changed, 0 insertions, 0 deletions