Home
last modified time | relevance | path

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

/packages/modules/CaptivePortalLogin/src/com/android/captiveportallogin/
DCaptivePortalLoginActivity.java752 boolean isAlwaysOnVpnEnabled() { in isAlwaysOnVpnEnabled() method in CaptivePortalLoginActivity
899 if (hasVpnNetwork() || (isAtLeastR() && isAlwaysOnVpnEnabled())) { in getVpnMsgOrLinkToBrowser()
/packages/modules/CaptivePortalLogin/tests/src/com/android/captiveportallogin/
DCaptivePortalLoginActivityTest.java440 mActivityScenario.onActivity(activity -> assertFalse(activity.isAlwaysOnVpnEnabled())); in testIsAlwaysOnVpnEnabled()
443 mActivityScenario.onActivity(activity -> assertTrue(activity.isAlwaysOnVpnEnabled())); in testIsAlwaysOnVpnEnabled()