Searched refs:setAlwaysOnPackage (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/tests/net/java/com/android/server/connectivity/ |
D | VpnTest.java | 184 assertTrue(vpn.setAlwaysOnPackage(PKGS[1], false)); in testLockdownChangingPackage() 188 assertTrue(vpn.setAlwaysOnPackage(PKGS[1], true)); in testLockdownChangingPackage() 197 assertTrue(vpn.setAlwaysOnPackage(PKGS[3], true)); in testLockdownChangingPackage() 224 assertTrue(vpn.setAlwaysOnPackage(PKGS[3], true)); in testLockdownAddingAProfile() 261 vpn.setAlwaysOnPackage(PKGS[0], false); in testNotificationShownForAlwaysOnApp() 273 vpn.setAlwaysOnPackage(null, false); in testNotificationShownForAlwaysOnApp()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | Vpn.java | 277 public synchronized boolean setAlwaysOnPackage(String packageName, boolean lockdown) { in setAlwaysOnPackage() method in Vpn 372 if (setAlwaysOnPackage(packageName, lockdown)) { in setAndSaveAlwaysOnPackage()
|
/frameworks/base/services/core/java/com/android/server/ |
D | ConnectivityService.java | 3643 if (!vpn.setAlwaysOnPackage(packageName, lockdown)) { in setAlwaysOnVpnPackage() 3647 vpn.setAlwaysOnPackage(null, false); in setAlwaysOnVpnPackage() 3819 userVpn.setAlwaysOnPackage(alwaysOnPackage, alwaysOnLockdown); in onUserStart()
|