android_packages_modules_Co.../framework
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Chiachang Wang 92ebd70044 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
2021-03-17 23:02:22 +08:00
..
aidl-export/android/net Move OemNetworkPreferences to Connectivity 2021-03-08 09:26:41 +09:00
api Merge "Change the parameter type from ContentResolver to Context" 2021-03-17 06:35:21 +00:00
src Replace the usage of UidRange 2021-03-17 23:02:22 +08:00
Android.bp Remove extra comment 2021-03-17 10:58:08 +00:00