Searched refs:requireVpn (Results 1 – 6 of 6) 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() argument 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() argument
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | IConnectivityManager.aidl | 135 void setRequireVpnForUids(boolean requireVpn, in UidRange[] ranges); in setRequireVpnForUids() argument
|
D | ConnectivityManager.java | 1598 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/ |
D | ConnectivityManagerTest.java | 2505 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/ |
D | ConnectivityService.java | 7261 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);
|