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.java251 assertTrue(vpn.setAlwaysOnPackage(PKGS[1], false)); in testLockdownChangingPackage()
255 assertTrue(vpn.setAlwaysOnPackage(PKGS[1], true)); in testLockdownChangingPackage()
264 assertTrue(vpn.setAlwaysOnPackage(PKGS[3], true)); in testLockdownChangingPackage()
291 assertTrue(vpn.setAlwaysOnPackage(PKGS[3], true)); in testLockdownAddingAProfile()
417 vpn.setAlwaysOnPackage(PKGS[0], false); in testNotificationShownForAlwaysOnApp()
431 vpn.setAlwaysOnPackage(null, false); in testNotificationShownForAlwaysOnApp()
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpn.java238 setAlwaysOnPackage(null, false);
449 public synchronized boolean setAlwaysOnPackage(String packageName, boolean lockdown) { in setAlwaysOnPackage() method in Vpn
586 setAlwaysOnPackage(null, false); in startAlwaysOnVpn()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java3931 if (!vpn.setAlwaysOnPackage(packageName, lockdown)) { in setAlwaysOnVpnPackage()
3935 vpn.setAlwaysOnPackage(null, false); in setAlwaysOnVpnPackage()