Searched refs:isWorkProfileOn (Results 1 – 7 of 7) sorted by relevance
31 val isWorkProfileOn: Boolean,72 isWorkProfileOn = securityController.isWorkProfileOn,
222 final boolean isWorkProfileOn = securityModel.isWorkProfileOn(); in getButtonConfig()231 || (hasDisclosableWorkProfilePolicy && isWorkProfileOn); in getButtonConfig()241 && (!hasDisclosableWorkProfilePolicy || !isWorkProfileOn)); in getButtonConfig()247 isWorkProfileOn).toString(); in getButtonConfig()272 boolean isWorkProfileOn) { in getFooterText() argument283 isWorkProfileOn); in getFooterText()366 if (hasCACerts || (hasCACertsInWorkProfile && isWorkProfileOn)) { in getManagedAndPersonalProfileFooterText()369 isWorkProfileOn); in getManagedAndPersonalProfileFooterText()385 if (hasCACertsInWorkProfile && isWorkProfileOn) { in getMonitoringText()404 boolean isWorkProfileOn) { in getVpnText() argument[all …]
52 override fun isWorkProfileOn(): Boolean = fakeState.isWorkProfileOn102 var isWorkProfileOn: Boolean = false,
233 when(mSecurityController.isWorkProfileOn()).thenReturn(true); in testTappableView_profileOwnerOfOrgOwnedDevice_networkLoggingEnabled()245 when(mSecurityController.isWorkProfileOn()).thenReturn(false); in testUntappableView_profileOwnerOfOrgOwnedDevice_workProfileOff()278 when(mSecurityController.isWorkProfileOn()).thenReturn(true); in testNetworkLoggingEnabled_managedProfileOwner_workProfileOn()291 when(mSecurityController.isWorkProfileOn()).thenReturn(false); in testNetworkLoggingEnabled_managedProfileOwner_workProfileOff()372 when(mSecurityController.isWorkProfileOn()).thenReturn(true); in testWorkProfileCACertsInstalled_workProfileOn()396 when(mSecurityController.isWorkProfileOn()).thenReturn(false); in testWorkProfileCACertsInstalled_workProfileOff()430 when(mSecurityController.isWorkProfileOn()).thenReturn(true); in testWorkProfileVpnEnabled_workProfileOn()445 when(mSecurityController.isWorkProfileOn()).thenReturn(false); in testWorkProfileVpnEnabled_workProfileOff()
32 boolean isWorkProfileOn(); in isWorkProfileOn() method
230 public boolean isWorkProfileOn() { in isWorkProfileOn() method in SecurityControllerImpl
47 public boolean isWorkProfileOn() { in isWorkProfileOn() method in FakeSecurityController