Searched refs:lockdownRange (Results 1 – 3 of 3) sorted by relevance
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/ |
D | PermissionMonitorTest.java | 918 final UidRange[] lockdownRange = { in testLockdownUidFilteringWithLockdownEnableDisable() local 924 mPermissionMonitor.updateVpnLockdownUidRanges(true /* add */, lockdownRange); in testLockdownUidFilteringWithLockdownEnableDisable() 932 mPermissionMonitor.updateVpnLockdownUidRanges(false /* add */, lockdownRange); in testLockdownUidFilteringWithLockdownEnableDisable() 949 final UidRange[] lockdownRange = {range}; in testLockdownUidFilteringWithLockdownEnableDisableWithMultiAdd() local 952 mPermissionMonitor.updateVpnLockdownUidRanges(true /* add */, lockdownRange); in testLockdownUidFilteringWithLockdownEnableDisableWithMultiAdd() 960 mPermissionMonitor.updateVpnLockdownUidRanges(true /* add */, lockdownRange); in testLockdownUidFilteringWithLockdownEnableDisableWithMultiAdd() 967 mPermissionMonitor.updateVpnLockdownUidRanges(false /* add */, lockdownRange); in testLockdownUidFilteringWithLockdownEnableDisableWithMultiAdd() 974 mPermissionMonitor.updateVpnLockdownUidRanges(false /* add */, lockdownRange); in testLockdownUidFilteringWithLockdownEnableDisableWithMultiAdd() 1051 final UidRange[] lockdownRange = {range}; in testLockdownUidFilteringWithLockdownEnableDisableWithDuplicates() local 1062 mPermissionMonitor.updateVpnLockdownUidRanges(false /* add */, lockdownRange); in testLockdownUidFilteringWithLockdownEnableDisableWithDuplicates() [all …]
|
/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/ |
D | VpnTest.java | 1832 final List<Range<Integer>> lockdownRange = List.of(new Range<>(remoteUid, remoteUid)); in testBlockIncomingPackets() local 1858 mCM.setRequireVpnForUids(true /* requireVpn */, lockdownRange); in testBlockIncomingPackets() 1889 mCM.setRequireVpnForUids(false /* requireVpn */, lockdownRange); in testBlockIncomingPackets()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/ |
D | ConnectivityServiceTest.java | 10491 final List<Range<Integer>> lockdownRange = 10494 mCm.setRequireVpnForUids(true /* requireVpn */, lockdownRange); 10506 mCm.setRequireVpnForUids(false /* requireVPN */, lockdownRange);
|