Home
last modified time | relevance | path

Searched refs:setAlwaysOnPackage (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/tests/net/java/com/android/server/connectivity/
DVpnTest.java294 assertTrue(vpn.setAlwaysOnPackage(PKGS[1], false, Collections.emptyList(), mKeyStore)); in testGetAlwaysAndOnGetLockDown()
299 assertTrue(vpn.setAlwaysOnPackage(PKGS[1], true, Collections.emptyList(), mKeyStore)); in testGetAlwaysAndOnGetLockDown()
304 assertTrue(vpn.setAlwaysOnPackage(null, false, Collections.emptyList(), mKeyStore)); in testGetAlwaysAndOnGetLockDown()
318 assertTrue(vpn.setAlwaysOnPackage(PKGS[1], false, null, mKeyStore)); in testLockdownChangingPackage()
322 assertTrue(vpn.setAlwaysOnPackage(PKGS[1], true, null, mKeyStore)); in testLockdownChangingPackage()
331 assertTrue(vpn.setAlwaysOnPackage(PKGS[3], true, null, mKeyStore)); in testLockdownChangingPackage()
350 assertTrue(vpn.setAlwaysOnPackage( in testLockdownWhitelist()
360 assertTrue(vpn.setAlwaysOnPackage( in testLockdownWhitelist()
373 assertTrue(vpn.setAlwaysOnPackage( in testLockdownWhitelist()
387 assertTrue(vpn.setAlwaysOnPackage(PKGS[0], true, null, mKeyStore)); in testLockdownWhitelist()
[all …]
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpn.java528 public synchronized boolean setAlwaysOnPackage( in setAlwaysOnPackage() method in Vpn
687 setAlwaysOnPackage(null, false, null, keyStore); in startAlwaysOnVpn()
2958 setAlwaysOnPackage(null, false, null, keyStore);
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java4906 if (!vpn.setAlwaysOnPackage(packageName, lockdown, lockdownWhitelist, mKeyStore)) { in setAlwaysOnVpnPackage()
4910 vpn.setAlwaysOnPackage(null, false, null, mKeyStore); in setAlwaysOnVpnPackage()
5180 vpn.setAlwaysOnPackage(null, false, null, mKeyStore); in onPackageRemoved()