android_packages_modules_Co.../tests/unit/java/com/android/server
Repository files (latest commit first)
Filename Latest commit message Latest commit date
lucaslin 3ba7cc25c0 Create a new API to make a set of UIDs use only VPN by default
Create a new API - setVpnNetworkPreference() for the caller to
set VPN as the preference network.

VPN will be disconnected when its underlying network is gone.
To prevent packets going through an underlying network when the
underlying network is back but VPN is not connected yet, set VPN
as the only preferred network for specific apps.

Bug: 231749077
Test: 1. atest FrameworksNetTests
      2. Create a test app to register default network and check if
         the VPN is the only default network for the test app.
Change-Id: Iabcd38e2fec2aefedbf78d20e338f222d83a9e7f
2022-12-19 05:35:04 +00:00
..
connectivity Create a new API to make a set of UIDs use only VPN by default 2022-12-19 05:35:04 +00:00
ethernet ethernet: consolidate interface enabling functions in EthernetTracker 2022-10-25 19:15:17 +00:00
net Revert consider TEMPORARILY_NOT_METERED as unmetered in data usage 2022-12-02 16:04:55 +08:00
BpfNetMapsTest.java Move CookieTag map dump to BpfNetMaps 2022-10-05 18:28:13 +09:00
ConnectivityServiceTest.java Merge "Add unit tests checking MTU of interfaces are set." 2022-12-13 07:01:19 +00:00
IpSecServiceParameterizedTest.java Fix policy leak by deleting forwarding security policies 2022-10-31 22:51:08 +00:00
IpSecServiceRefcountedResourceTest.java Add some non-connectivity-module-test back to ConnectivityCoverageTests 2022-05-27 07:16:46 +00:00
IpSecServiceTest.java Add some non-connectivity-module-test back to ConnectivityCoverageTests 2022-05-27 07:16:46 +00:00
LegacyTypeTrackerTest.kt Build ethernet framework source into framework-connectivity-tiramisu 2022-03-14 14:06:35 +00:00
NetIdManagerTest.kt Address comments on aosp/1781202 2022-08-17 07:11:55 +00:00
NsdServiceTest.java Add null check for clientInfo 2022-08-16 07:21:55 +00:00
VpnManagerServiceTest.java Verify lock down related flows 2022-08-05 02:00:16 +00:00
VpnTestBase.java Test VPN app exclusion 2022-06-29 06:15:41 +00:00