Home
last modified time | relevance | path

Searched refs:hasWorkProfile (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSSecurityFooter.java144 final boolean hasWorkProfile = mSecurityController.hasWorkProfile(); in handleRefreshState()
156 mFooterTextContent = getFooterText(isDeviceManaged, hasWorkProfile, in handleRefreshState()
175 protected CharSequence getFooterText(boolean isDeviceManaged, boolean hasWorkProfile, in getFooterText() argument
233 if (hasWorkProfile) { in getFooterText()
255 final boolean hasWorkProfile = mSecurityController.hasWorkProfile(); in createDialog()
310 CharSequence vpnMessage = getVpnMessage(isDeviceManaged, hasWorkProfile, vpnName, in createDialog()
398 protected CharSequence getVpnMessage(boolean isDeviceManaged, boolean hasWorkProfile, in getVpnMessage() argument
418 } else if (hasWorkProfile) { in getVpnMessage()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSecurityController.java26 boolean hasWorkProfile(); in hasWorkProfile() method
DSecurityControllerImpl.java209 public boolean hasWorkProfile() { in hasWorkProfile() method in SecurityControllerImpl
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/leaks/
DFakeSecurityController.java39 public boolean hasWorkProfile() { in hasWorkProfile() method in FakeSecurityController
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DSecurityControllerTest.java138 assertTrue(mSecurityController.hasWorkProfile()); in testWorkAccount()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DQSSecurityFooterTest.java328 when(mSecurityController.hasWorkProfile()).thenReturn(true); in testVpnEnabled()