/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSSecurityFooter.java | 129 final boolean isDeviceManaged = mSecurityController.isDeviceManaged(); in handleRefreshState() 139 mIsVisible = isDeviceManaged || hasCACerts || hasCACertsInWorkProfile || in handleRefreshState() 142 mFooterTextContent = getFooterText(isDeviceManaged, hasWorkProfile, in handleRefreshState() 156 protected CharSequence getFooterText(boolean isDeviceManaged, boolean hasWorkProfile, in getFooterText() argument 160 if (isDeviceManaged) { in getFooterText() 235 final boolean isDeviceManaged = mSecurityController.isDeviceManaged(); in createDialog() 253 CharSequence managementMessage = getManagementMessage(isDeviceManaged, in createDialog() 266 CharSequence caCertsMessage = getCaCertsMessage(isDeviceManaged, hasCACerts, in createDialog() 290 CharSequence vpnMessage = getVpnMessage(isDeviceManaged, hasWorkProfile, vpnName, in createDialog() 315 protected CharSequence getManagementMessage(boolean isDeviceManaged, in getManagementMessage() argument [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | KeyguardIndicationControllerTest.java | 90 when(mDevicePolicyManager.isDeviceManaged()).thenReturn(false); in unmanaged() 99 when(mDevicePolicyManager.isDeviceManaged()).thenReturn(true); in managedNoOwnerName() 110 when(mDevicePolicyManager.isDeviceManaged()).thenReturn(true); in managedOwnerName() 121 when(mDevicePolicyManager.isDeviceManaged()).thenReturn(false); in updateOnTheFly() 127 when(mDevicePolicyManager.isDeviceManaged()).thenReturn(true); in updateOnTheFly() 136 when(mDevicePolicyManager.isDeviceManaged()).thenReturn(true); in updateOnTheFly() 146 when(mDevicePolicyManager.isDeviceManaged()).thenReturn(false); in updateOnTheFly()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/ |
D | QSSecurityFooterTest.java | 86 when(mSecurityController.isDeviceManaged()).thenReturn(false); in testUnmanaged() 95 when(mSecurityController.isDeviceManaged()).thenReturn(true); in testManagedNoOwnerName() 110 when(mSecurityController.isDeviceManaged()).thenReturn(true); in testManagedOwnerName() 127 when(mSecurityController.isDeviceManaged()).thenReturn(true); in testNetworkLoggingEnabled() 152 when(mSecurityController.isDeviceManaged()).thenReturn(true); in testManagedCACertsInstalled() 163 when(mSecurityController.isDeviceManaged()).thenReturn(true); in testManagedOneVpnEnabled() 189 when(mSecurityController.isDeviceManaged()).thenReturn(true); in testManagedTwoVpnsEnabled() 214 when(mSecurityController.isDeviceManaged()).thenReturn(true); in testNetworkLoggingAndVpnEnabled() 229 when(mSecurityController.isDeviceManaged()).thenReturn(false); in testWorkProfileCACertsInstalled() 254 when(mSecurityController.isDeviceManaged()).thenReturn(false); in testCACertsInstalled()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | SecurityControllerTest.java | 98 when(mDevicePolicyManager.isDeviceManaged()).thenReturn(true); in testIsDeviceManaged() 99 assertTrue(mSecurityController.isDeviceManaged()); in testIsDeviceManaged() 101 when(mDevicePolicyManager.isDeviceManaged()).thenReturn(false); in testIsDeviceManaged() 102 assertFalse(mSecurityController.isDeviceManaged()); in testIsDeviceManaged()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | SecurityController.java | 24 boolean isDeviceManaged(); in isDeviceManaged() method
|
D | SecurityControllerImpl.java | 131 public boolean isDeviceManaged() { in isDeviceManaged() method in SecurityControllerImpl 132 return mDevicePolicyManager.isDeviceManaged(); in isDeviceManaged()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/leaks/ |
D | FakeSecurityController.java | 29 public boolean isDeviceManaged() { in isDeviceManaged() method in FakeSecurityController
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | KeyguardIndicationController.java | 167 if (!mDozing && mDevicePolicyManager.isDeviceManaged()) { in updateDisclosure()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DevicePolicyManagerTest.java | 1046 assertTrue(dpm.isDeviceManaged()); in testClearDeviceOwner_fromDifferentUser() 3542 assertTrue(dpm.isDeviceManaged()); in testIsDeviceManaged() 3545 assertTrue(dpm.isDeviceManaged()); in testIsDeviceManaged() 3548 assertTrue(dpm.isDeviceManaged()); in testIsDeviceManaged() 3556 assertFalse(dpm.isDeviceManaged()); in testIsDeviceManaged() 3559 assertFalse(dpm.isDeviceManaged()); in testIsDeviceManaged()
|
/frameworks/base/core/java/android/app/admin/ |
D | DevicePolicyManager.java | 4626 public boolean isDeviceManaged() { in isDeviceManaged() method in DevicePolicyManager
|
/frameworks/base/api/ |
D | system-current.txt | 6553 method public boolean isDeviceManaged();
|