Home
last modified time | relevance | path

Searched refs:isWorkProfileOn (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSSecurityFooter.java188 final boolean isWorkProfileOn = mSecurityController.isWorkProfileOn(); in handleRefreshState()
197 || (hasDisclosableWorkProfilePolicy && isWorkProfileOn); in handleRefreshState()
203 && (!hasDisclosableWorkProfilePolicy || !isWorkProfileOn)) { in handleRefreshState()
215 isWorkProfileOn); in handleRefreshState()
248 boolean isWorkProfileOn) { in getFooterText() argument
292 if (hasCACertsInWorkProfile && isWorkProfileOn) { in getFooterText()
307 if (vpnNameWorkProfile != null && isWorkProfileOn) { in getFooterText()
320 if (hasWorkProfile && isNetworkLoggingEnabled && isWorkProfileOn) { in getFooterText()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DQSSecurityFooterTest.java207 when(mSecurityController.isWorkProfileOn()).thenReturn(true); in testTappableView_profileOwnerOfOrgOwnedDevice_networkLoggingEnabled()
221 when(mSecurityController.isWorkProfileOn()).thenReturn(false); in testUntappableView_profileOwnerOfOrgOwnedDevice_workProfileOff()
258 when(mSecurityController.isWorkProfileOn()).thenReturn(true); in testNetworkLoggingEnabled_managedProfileOwner_workProfileOn()
271 when(mSecurityController.isWorkProfileOn()).thenReturn(false); in testNetworkLoggingEnabled_managedProfileOwner_workProfileOff()
359 when(mSecurityController.isWorkProfileOn()).thenReturn(true); in testWorkProfileCACertsInstalled_workProfileOn()
384 when(mSecurityController.isWorkProfileOn()).thenReturn(false); in testWorkProfileCACertsInstalled_workProfileOff()
420 when(mSecurityController.isWorkProfileOn()).thenReturn(true); in testWorkProfileVpnEnabled_workProfileOn()
435 when(mSecurityController.isWorkProfileOn()).thenReturn(false); in testWorkProfileVpnEnabled_workProfileOff()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSecurityController.java32 boolean isWorkProfileOn(); in isWorkProfileOn() method
DSecurityControllerImpl.java214 public boolean isWorkProfileOn() { in isWorkProfileOn() method in SecurityControllerImpl
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/leaks/
DFakeSecurityController.java47 public boolean isWorkProfileOn() { in isWorkProfileOn() method in FakeSecurityController