summaryrefslogtreecommitdiff
path: root/tests/net/java/com/android/server/IpSecServiceRefcountedResourceTest.java
diff options
context:
space:
mode:
authorChiachang Wang <chiachangwang@google.com>2021-02-22 18:36:38 +0800
committerChiachang Wang <chiachangwang@google.com>2021-03-17 23:02:22 +0800
commite983de910bd00249e01209c1d1eebae7919795f8 (patch)
tree629dfefdccc0b7ed2fca992b441a965713696cde /tests/net/java/com/android/server/IpSecServiceRefcountedResourceTest.java
parent86203dde896281cec9ea2e5e11154da1a0f1745e (diff)
Replace the usage of UidRange
UidRange is used in a shared way between ConnectivityService and VPN through the use of NetworkCapabilities. UidRange will be part of the ConnectivityService mainline but Vpn.java will stay in the framework. We need a way to replace the APIs using UidRange, or to make UidRange system API. The only really relevant surface here is NetworkCapabilities#{setUids, getUids}. The need for UidRange could be replaced by an integer Range, so replace the usage of UidRange by a integer Range in NetworkCapabilities#{setUids, getUids} and update the relevant callers. Bug: 172183305 Test: atest FrameworksNetTests CtsNetTestCasesLatestSdk Change-Id: I4e5aec6ef1ea02e038fcd7ed117a3b67b69c5cb9
Diffstat (limited to 'tests/net/java/com/android/server/IpSecServiceRefcountedResourceTest.java')
0 files changed, 0 insertions, 0 deletions