Home
last modified time | relevance | path

Searched refs:mNetService (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/tests/net/java/com/android/server/connectivity/
DVpnTest.java146 @Mock private INetworkManagementService mNetService; field in VpnTest
177 doNothing().when(mNetService).registerObserver(any()); in setUp()
283 verify(mNetService).setAllowOnlyVpnForUids(eq(true), aryEq(new UidRange[] { in testLockdownChangingPackage()
292 verify(mNetService).setAllowOnlyVpnForUids(eq(false), aryEq(new UidRange[] { in testLockdownChangingPackage()
296 verify(mNetService).setAllowOnlyVpnForUids(eq(true), aryEq(new UidRange[] { in testLockdownChangingPackage()
311 verify(mNetService).setAllowOnlyVpnForUids(eq(true), aryEq(new UidRange[] { in testLockdownWhitelist()
320 verify(mNetService).setAllowOnlyVpnForUids(eq(false), aryEq(new UidRange[] { in testLockdownWhitelist()
323 verify(mNetService).setAllowOnlyVpnForUids(eq(true), aryEq(new UidRange[] { in testLockdownWhitelist()
332 verify(mNetService).setAllowOnlyVpnForUids(eq(false), aryEq(new UidRange[] { in testLockdownWhitelist()
336 verify(mNetService).setAllowOnlyVpnForUids(eq(true), aryEq(new UidRange[] { in testLockdownWhitelist()
[all …]
/frameworks/base/services/core/java/com/android/server/net/
DLockdownVpnTracker.java69 private final INetworkManagementService mNetService; field in LockdownVpnTracker
92 mNetService = Preconditions.checkNotNull(netService); in LockdownVpnTracker()