Lines Matching defs:lockdown
281 * Used to enable/disable legacy VPN lockdown.
287 * @param lockdown whether to prevent all traffic outside of a VPN.
289 public synchronized void setLockdown(boolean lockdown) {
292 setVpnForcedLocked(lockdown);
293 mLockdown = lockdown;
295 // Update app lockdown setting if it changed. Legacy VPN lockdown status is controlled by
365 * @param lockdown whether to prevent traffic outside of a VPN, for example while connecting.
368 public synchronized boolean setAlwaysOnPackage(String packageName, boolean lockdown) {
371 if (setAlwaysOnPackageInternal(packageName, lockdown)) {
385 * @param lockdown whether to prevent traffic outside of a VPN, for example while connecting.
389 private boolean setAlwaysOnPackageInternal(String packageName, boolean lockdown) {
406 mLockdown = (mAlwaysOn && lockdown);
451 * lockdown instead.
460 * Save the always-on package and lockdown config into Settings.Secure
476 * Load the always-on package and lockdown config from Settings.Secure
1140 // Switch off networking lockdown (if it was enabled)