Home
last modified time | relevance | path

Searched refs:vpnRange (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java6665 final Set<UidRange> vpnRange = Collections.singleton(UidRange.createForUser(VPN_USER)); in testFullyRoutedVpnResultsInInterfaceFilteringRules() local
6666 final TestNetworkAgentWrapper vpnNetworkAgent = establishVpn(lp, VPN_UID, vpnRange); in testFullyRoutedVpnResultsInInterfaceFilteringRules()
6674 assertTrue(mService.mPermissionMonitor.getVpnUidRanges("tun0").equals(vpnRange)); in testFullyRoutedVpnResultsInInterfaceFilteringRules()
6692 final Set<UidRange> vpnRange = Collections.singleton(UidRange.createForUser(VPN_USER)); in testLegacyVpnDoesNotResultInInterfaceFilteringRule() local
6694 lp, Process.SYSTEM_UID, vpnRange); in testLegacyVpnDoesNotResultInInterfaceFilteringRule()
6708 final Set<UidRange> vpnRange = Collections.singleton(UidRange.createForUser(VPN_USER)); in testLocalIpv4OnlyVpnDoesNotResultInInterfaceFilteringRule() local
6710 lp, Process.SYSTEM_UID, vpnRange); in testLocalIpv4OnlyVpnDoesNotResultInInterfaceFilteringRule()
6723 final Set<UidRange> vpnRange = Collections.singleton(UidRange.createForUser(VPN_USER)); in testVpnHandoverChangesInterfaceFilteringRule() local
6724 final TestNetworkAgentWrapper vpnNetworkAgent = establishVpn(lp, VPN_UID, vpnRange); in testVpnHandoverChangesInterfaceFilteringRule()
6774 final UidRange vpnRange = UidRange.createForUser(VPN_USER); in testUidUpdateChangesInterfaceFilteringRule() local
[all …]
/frameworks/base/tests/net/java/com/android/server/connectivity/
DPermissionMonitorTest.java499 final Set<UidRange> vpnRange = Collections.singleton(UidRange.createForUser(MOCK_USER1)); in testUidFilteringDuringPackageInstallAndUninstall() local
500 mPermissionMonitor.onVpnUidRangesAdded("tun0", vpnRange, VPN_UID); in testUidFilteringDuringPackageInstallAndUninstall()