Home
last modified time | relevance | path

Searched refs:requireVpn (Results 1 – 6 of 6) 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() argument
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() argument
/packages/modules/Connectivity/framework/src/android/net/
DIConnectivityManager.aidl135 void setRequireVpnForUids(boolean requireVpn, in UidRange[] ranges); in setRequireVpnForUids() argument
DConnectivityManager.java1598 public void setRequireVpnForUids(boolean requireVpn, in setRequireVpnForUids() argument
1607 mService.setRequireVpnForUids(requireVpn, rangesArray); in setRequireVpnForUids()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DConnectivityManagerTest.java2505 private void setRequireVpnForUids(boolean requireVpn, Collection<Range<Integer>> ranges)
2507 mCmShim.setRequireVpnForUids(requireVpn, ranges);
2509 if (requireVpn) {
/packages/modules/Connectivity/service/src/com/android/server/
DConnectivityService.java7261 public void setRequireVpnForUids(boolean requireVpn, UidRange[] ranges) {
7264 encodeBool(requireVpn), 0 /* arg2 */, ranges));
7267 private void handleSetRequireVpnForUids(boolean requireVpn, UidRange[] ranges) {
7269 Log.d(TAG, "Setting VPN " + (requireVpn ? "" : "not ") + "required for UIDs: "
7275 if (requireVpn) {
7283 mNetd.networkRejectNonSecureVpn(requireVpn, toUidRangeStableParcels(ranges));
7285 Log.e(TAG, "setRequireVpnForUids(" + requireVpn + ", "
7290 mPermissionMonitor.updateVpnLockdownUidRanges(requireVpn, ranges);