Home
last modified time | relevance | path

Searched refs:setRequireVpnForUids (Results 1 – 9 of 9) sorted by relevance

/packages/modules/NetworkStack/apishim/31/com/android/networkstack/apishim/api31/
DConnectivityManagerShimImpl.java97 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/
DConnectivityManagerShim.java60 default void setRequireVpnForUids(boolean requireVpn, Collection<Range<Integer>> ranges) in setRequireVpnForUids() method
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DConnectivityManagerTest.java442 () -> 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/
DIConnectivityManager.aidl135 void setRequireVpnForUids(boolean requireVpn, in UidRange[] ranges); in setRequireVpnForUids() method
DConnectivityManager.java1598 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/
DVpnTest.java1858 mCM.setRequireVpnForUids(true /* requireVpn */, lockdownRange); in testBlockIncomingPackets()
1889 mCM.setRequireVpnForUids(false /* requireVpn */, lockdownRange); in testBlockIncomingPackets()
/packages/modules/Connectivity/framework/api/
Dmodule-lib-current.txt34 …STACK, android.Manifest.permission.NETWORK_SETTINGS}) public void setRequireVpnForUids(boolean, @N…
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DConnectivityServiceTest.java9542 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/
DConnectivityService.java7261 public void setRequireVpnForUids(boolean requireVpn, UidRange[] ranges) {