Home
last modified time | relevance | path

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

/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/security/data/model/
H A DSecurityModel.kt31 val isWorkProfileOn: Boolean,
72 isWorkProfileOn = securityController.isWorkProfileOn,
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A 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()
366 if (hasCACerts || (hasCACertsInWorkProfile && isWorkProfileOn)) { in getManagedAndPersonalProfileFooterText()
369 isWorkProfileOn); in getManagedAndPersonalProfileFooterText()
385 if (hasCACertsInWorkProfile && isWorkProfileOn) { in getMonitoringText()
404 boolean isWorkProfileOn) { in getVpnText() argument
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/policy/
H A DFakeSecurityController.kt52 override fun isWorkProfileOn(): Boolean = fakeState.isWorkProfileOn
102 var isWorkProfileOn: Boolean = false,
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
H A DQSSecurityFooterTest.java233 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()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DSecurityController.java32 boolean isWorkProfileOn(); in isWorkProfileOn() method
H A DSecurityControllerImpl.java230 public boolean isWorkProfileOn() { in isWorkProfileOn() method in SecurityControllerImpl
/aosp14/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/utils/leaks/
H A DFakeSecurityController.java47 public boolean isWorkProfileOn() { in isWorkProfileOn() method in FakeSecurityController