Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/security/data/model/
DSecurityModel.kt31 val isWorkProfileOn: Boolean, constant in com.android.systemui.security.data.model.SecurityModel
72 isWorkProfileOn = securityController.isWorkProfileOn, in create()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSSecurityFooterUtils.java222 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() argument
283 isWorkProfileOn); in getFooterText()
365 boolean isProfileOwnerOfOrganizationOwnedDevice, boolean isWorkProfileOn) { in getManagedAndPersonalProfileFooterText() argument
366 if (hasCACerts || (hasCACertsInWorkProfile && isWorkProfileOn)) { in getManagedAndPersonalProfileFooterText()
369 isWorkProfileOn); in getManagedAndPersonalProfileFooterText()
371 if (vpnName != null || (vpnNameWorkProfile != null && isWorkProfileOn)) { in getManagedAndPersonalProfileFooterText()
[all …]
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/policy/
DFakeSecurityController.kt52 override fun isWorkProfileOn(): Boolean = fakeState.isWorkProfileOn in isDeviceManaged() method in com.android.systemui.statusbar.policy.FakeSecurityController
104 var isWorkProfileOn: Boolean = false, variable in com.android.systemui.statusbar.policy.FakeSecurityController.FakeState
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DQSSecurityFooterTest.java234 when(mSecurityController.isWorkProfileOn()).thenReturn(true); in testTappableView_profileOwnerOfOrgOwnedDevice_networkLoggingEnabled()
246 when(mSecurityController.isWorkProfileOn()).thenReturn(false); in testUntappableView_profileOwnerOfOrgOwnedDevice_workProfileOff()
279 when(mSecurityController.isWorkProfileOn()).thenReturn(true); in testNetworkLoggingEnabled_managedProfileOwner_workProfileOn()
292 when(mSecurityController.isWorkProfileOn()).thenReturn(false); in testNetworkLoggingEnabled_managedProfileOwner_workProfileOff()
373 when(mSecurityController.isWorkProfileOn()).thenReturn(true); in testWorkProfileCACertsInstalled_workProfileOn()
397 when(mSecurityController.isWorkProfileOn()).thenReturn(false); in testWorkProfileCACertsInstalled_workProfileOff()
431 when(mSecurityController.isWorkProfileOn()).thenReturn(true); in testWorkProfileVpnEnabled_workProfileOn()
446 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.java255 public boolean isWorkProfileOn() { in isWorkProfileOn() method in SecurityControllerImpl
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/utils/leaks/
DFakeSecurityController.java47 public boolean isWorkProfileOn() { in isWorkProfileOn() method in FakeSecurityController