Home
last modified time | relevance | path

Searched refs:setAllowOnlyVpnForUids (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/tests/net/java/com/android/server/connectivity/
DVpnTest.java256 verify(mNetService).setAllowOnlyVpnForUids(eq(true), aryEq(new UidRange[] { in testLockdownChangingPackage()
265 verify(mNetService).setAllowOnlyVpnForUids(eq(false), aryEq(new UidRange[] { in testLockdownChangingPackage()
269 verify(mNetService).setAllowOnlyVpnForUids(eq(true), aryEq(new UidRange[] { in testLockdownChangingPackage()
292 verify(mNetService).setAllowOnlyVpnForUids(eq(true), aryEq(new UidRange[] { in testLockdownAddingAProfile()
303 verify(mNetService).setAllowOnlyVpnForUids(eq(true), aryEq(new UidRange[] { in testLockdownAddingAProfile()
311 verify(mNetService).setAllowOnlyVpnForUids(eq(false), aryEq(new UidRange[] { in testLockdownAddingAProfile()
323 verify(mNetService, times(1)).setAllowOnlyVpnForUids( in testLockdownRuleRepeatability()
328 verify(mNetService, times(1)).setAllowOnlyVpnForUids(anyBoolean(), any(UidRange[].class)); in testLockdownRuleRepeatability()
332 verify(mNetService, times(1)).setAllowOnlyVpnForUids( in testLockdownRuleRepeatability()
337 verify(mNetService, times(2)).setAllowOnlyVpnForUids(anyBoolean(), any(UidRange[].class)); in testLockdownRuleRepeatability()
[all …]
/frameworks/base/core/java/android/os/
DINetworkManagementService.aidl450 void setAllowOnlyVpnForUids(boolean enable, in UidRange[] uidRanges); in setAllowOnlyVpnForUids() method
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpn.java1334 setAllowOnlyVpnForUids(false, removedRanges); in setVpnForcedLocked()
1335 setAllowOnlyVpnForUids(true, addedRanges); in setVpnForcedLocked()
1349 private boolean setAllowOnlyVpnForUids(boolean enforce, Collection<UidRange> ranges) { in setAllowOnlyVpnForUids() method in Vpn
1355 mNetd.setAllowOnlyVpnForUids(enforce, rangesArray); in setAllowOnlyVpnForUids()
/frameworks/base/services/core/java/com/android/server/
DNetworkManagementService.java1790 public void setAllowOnlyVpnForUids(boolean add, UidRange[] uidRanges) in setAllowOnlyVpnForUids() method in NetworkManagementService
/frameworks/base/config/
Dboot-image-profile.txt27728 HSPLandroid/os/INetworkManagementService;->setAllowOnlyVpnForUids(Z[Landroid/net/UidRange;)V