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.java176 final boolean hasWorkProfile = mSecurityController.hasWorkProfile(); in handleRefreshState()
190 || vpnNameWorkProfile != null || (hasWorkProfile && isNetworkLoggingEnabled); in handleRefreshState()
211 mFooterTextContent = getFooterText(isDeviceManaged, hasWorkProfile, in handleRefreshState()
243 protected CharSequence getFooterText(boolean isDeviceManaged, boolean hasWorkProfile, in getFooterText() argument
312 if (hasWorkProfile) { in getFooterText()
320 if (hasWorkProfile && isNetworkLoggingEnabled && isWorkProfileOn) { in getFooterText()
367 final boolean hasWorkProfile = mSecurityController.hasWorkProfile(); in createOrganizationDialogView()
422 CharSequence vpnMessage = getVpnMessage(isDeviceManaged, hasWorkProfile, vpnName, in createOrganizationDialogView()
548 protected CharSequence getVpnMessage(boolean isDeviceManaged, boolean hasWorkProfile, in getVpnMessage() argument
568 } else if (hasWorkProfile) { in getVpnMessage()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSecurityController.java30 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.java42 public boolean hasWorkProfile() { in hasWorkProfile() method in FakeSecurityController
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DQSSecurityFooterTest.java208 when(mSecurityController.hasWorkProfile()).thenReturn(true); in testTappableView_profileOwnerOfOrgOwnedDevice_networkLoggingEnabled()
256 when(mSecurityController.hasWorkProfile()).thenReturn(true); in testNetworkLoggingEnabled_managedProfileOwner_workProfileOn()
269 when(mSecurityController.hasWorkProfile()).thenReturn(true); in testNetworkLoggingEnabled_managedProfileOwner_workProfileOff()
481 when(mSecurityController.hasWorkProfile()).thenReturn(true); in testVpnEnabled()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DSecurityControllerTest.java161 assertTrue(mSecurityController.hasWorkProfile()); in testWorkAccount()
/frameworks/base/core/java/com/android/internal/app/
DResolverActivity.java568 private boolean hasWorkProfile() {
573 return hasWorkProfile() && ENABLE_TABBED_VIEW;
1322 if (!hasWorkProfile() || currentUserHandle.equals(getUser())) {