Searched refs:isWorkProfileOn (Results 1 – 5 of 5) sorted by relevance
188 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() argument292 if (hasCACertsInWorkProfile && isWorkProfileOn) { in getFooterText()307 if (vpnNameWorkProfile != null && isWorkProfileOn) { in getFooterText()320 if (hasWorkProfile && isNetworkLoggingEnabled && isWorkProfileOn) { in getFooterText()
207 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()
32 boolean isWorkProfileOn(); in isWorkProfileOn() method
214 public boolean isWorkProfileOn() { in isWorkProfileOn() method in SecurityControllerImpl
47 public boolean isWorkProfileOn() { in isWorkProfileOn() method in FakeSecurityController