Searched refs:setRequireVpnForUids (Results 1 – 9 of 9) sorted by relevance
/packages/modules/NetworkStack/apishim/31/com/android/networkstack/apishim/api31/ |
D | ConnectivityManagerShimImpl.java | 97 public void setRequireVpnForUids(boolean requireVpn, Collection<Range<Integer>> ranges) { in setRequireVpnForUids() method in ConnectivityManagerShimImpl 98 mCm.setRequireVpnForUids(requireVpn, ranges); in setRequireVpnForUids()
|
/packages/modules/NetworkStack/apishim/common/com/android/networkstack/apishim/common/ |
D | ConnectivityManagerShim.java | 60 default void setRequireVpnForUids(boolean requireVpn, Collection<Range<Integer>> ranges) in setRequireVpnForUids() method
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | ConnectivityManagerTest.java | 442 () -> mCmShim.setRequireVpnForUids(false, mVpnRequiredUidRanges), in tearDown() 2505 private void setRequireVpnForUids(boolean requireVpn, Collection<Range<Integer>> ranges) 2507 mCmShim.setRequireVpnForUids(requireVpn, ranges); 2557 runWithShellPermissionIdentity(() -> setRequireVpnForUids( 2563 runWithShellPermissionIdentity(() -> setRequireVpnForUids( 2572 setRequireVpnForUids(false, List.of(myUidRange)), NETWORK_SETTINGS); 2576 runWithShellPermissionIdentity(() -> setRequireVpnForUids( 3837 runWithShellPermissionIdentity(() -> setRequireVpnForUids( 3843 runWithShellPermissionIdentity(() -> setRequireVpnForUids(
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | IConnectivityManager.aidl | 135 void setRequireVpnForUids(boolean requireVpn, in UidRange[] ranges); in setRequireVpnForUids() method
|
D | ConnectivityManager.java | 1598 public void setRequireVpnForUids(boolean requireVpn, in setRequireVpnForUids() method in ConnectivityManager 1607 mService.setRequireVpnForUids(requireVpn, rangesArray); in setRequireVpnForUids()
|
/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/ |
D | VpnTest.java | 1858 mCM.setRequireVpnForUids(true /* requireVpn */, lockdownRange); in testBlockIncomingPackets() 1889 mCM.setRequireVpnForUids(false /* requireVpn */, lockdownRange); in testBlockIncomingPackets()
|
/packages/modules/Connectivity/framework/api/ |
D | module-lib-current.txt | 34 …STACK, android.Manifest.permission.NETWORK_SETTINGS}) public void setRequireVpnForUids(boolean, @N…
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/ |
D | ConnectivityServiceTest.java | 9542 mCm.setRequireVpnForUids(true, primaryRanges); 9557 mCm.setRequireVpnForUids(true, restrictedRanges); 9566 mCm.setRequireVpnForUids(false, restrictedRanges); 9572 mCm.setRequireVpnForUids(false, primaryRanges); 10058 mCm.setRequireVpnForUids(true, primaryRanges); 10081 mCm.setRequireVpnForUids(false, primaryRanges); 10103 mCm.setRequireVpnForUids(true, primaryRangesExcludingUid); 10137 mCm.setRequireVpnForUids(false, primaryRangesExcludingUid); 10141 mCm.setRequireVpnForUids(true, primaryRanges); 10157 mCm.setRequireVpnForUids(false, primaryRanges); [all …]
|
/packages/modules/Connectivity/service/src/com/android/server/ |
D | ConnectivityService.java | 7261 public void setRequireVpnForUids(boolean requireVpn, UidRange[] ranges) {
|