summaryrefslogtreecommitdiff
path: root/tests/net/java/com/android/server/ConnectivityServiceTest.java
diff options
context:
space:
mode:
authorChiachang Wang <chiachangwang@google.com>2021-03-11 16:13:13 +0800
committerChiachang Wang <chiachangwang@google.com>2021-03-17 23:13:39 +0800
commit11403c6b1b52ecf6f8673bcd29e0b9c96ee26110 (patch)
tree1e27c366508ef64910bf650b3b2b3e7d02cf3c29 /tests/net/java/com/android/server/ConnectivityServiceTest.java
parente983de910bd00249e01209c1d1eebae7919795f8 (diff)
Expose uids related APIs in NetworkRequest and NetworkCapabilities
NetworkRequest is moving into the incoming connectivity mainline module. The hidden setUids becomes inaccessible outside the module. Shims for support cts in different API levels will need to use it to verify the behavior of NetworkRequest. Thus, expose it to the API surface. Also, VPN uses getUids and setUids to control network capabilities. Networkcapabilities is a part of incoming connectivity mainline module but VPN is not. Thus, exposing these two methods are needed to allow VPN to continue using it. Test: make update-api Bug: 172183305 Change-Id: I107c329d4d7130d488772166eae8b5e7aaa2ff04
Diffstat (limited to 'tests/net/java/com/android/server/ConnectivityServiceTest.java')
0 files changed, 0 insertions, 0 deletions