Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSSecurityFooter.java144 final boolean hasWorkProfile = mSecurityController.hasWorkProfile(); in handleRefreshState()
160 mFooterTextContent = getFooterText(isDeviceManaged, hasWorkProfile, in handleRefreshState()
180 protected CharSequence getFooterText(boolean isDeviceManaged, boolean hasWorkProfile, in getFooterText() argument
239 if (hasWorkProfile) { in getFooterText()
270 final boolean hasWorkProfile = mSecurityController.hasWorkProfile(); in createDialog()
332 CharSequence vpnMessage = getVpnMessage(isDeviceManaged, hasWorkProfile, vpnName, in createDialog()
427 protected CharSequence getVpnMessage(boolean isDeviceManaged, boolean hasWorkProfile, in getVpnMessage() argument
447 } else if (hasWorkProfile) { in getVpnMessage()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSecurityController.java26 boolean hasWorkProfile(); in hasWorkProfile() method
DSecurityControllerImpl.java205 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.java140 assertTrue(mSecurityController.hasWorkProfile()); in testWorkAccount()
/frameworks/base/core/java/com/android/internal/app/
DResolverActivity.java572 private boolean hasWorkProfile() {
577 return hasWorkProfile() && ENABLE_TABBED_VIEW;
1326 if (!hasWorkProfile() || currentUserHandle.equals(getUser())) {
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DQSSecurityFooterTest.java359 when(mSecurityController.hasWorkProfile()).thenReturn(true); in testVpnEnabled()