/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSSecurityFooter.java | 140 final boolean isDeviceManaged = mSecurityController.isDeviceManaged(); in handleRefreshState() 153 mIsVisible = (isDeviceManaged && !isDemoDevice) || hasCACerts || hasCACertsInWorkProfile || in handleRefreshState() 156 mFooterTextContent = getFooterText(isDeviceManaged, hasWorkProfile, in handleRefreshState() 175 protected CharSequence getFooterText(boolean isDeviceManaged, boolean hasWorkProfile, in getFooterText() argument 179 if (isDeviceManaged) { in getFooterText() 254 final boolean isDeviceManaged = mSecurityController.isDeviceManaged(); in createDialog() 273 CharSequence managementMessage = getManagementMessage(isDeviceManaged, in createDialog() 286 CharSequence caCertsMessage = getCaCertsMessage(isDeviceManaged, hasCACerts, in createDialog() 310 CharSequence vpnMessage = getVpnMessage(isDeviceManaged, hasWorkProfile, vpnName, in createDialog() 371 protected CharSequence getManagementMessage(boolean isDeviceManaged, in getManagementMessage() argument [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/ |
D | QSSecurityFooterTest.java | 95 when(mSecurityController.isDeviceManaged()).thenReturn(false); in testUnmanaged() 104 when(mSecurityController.isDeviceManaged()).thenReturn(true); in testManagedNoOwnerName() 119 when(mSecurityController.isDeviceManaged()).thenReturn(true); in testManagedOwnerName() 136 when(mSecurityController.isDeviceManaged()).thenReturn(true); in testManagedDemoMode() 151 when(mSecurityController.isDeviceManaged()).thenReturn(true); in testNetworkLoggingEnabled() 176 when(mSecurityController.isDeviceManaged()).thenReturn(true); in testManagedCACertsInstalled() 187 when(mSecurityController.isDeviceManaged()).thenReturn(true); in testManagedOneVpnEnabled() 213 when(mSecurityController.isDeviceManaged()).thenReturn(true); in testManagedTwoVpnsEnabled() 238 when(mSecurityController.isDeviceManaged()).thenReturn(true); in testNetworkLoggingAndVpnEnabled() 253 when(mSecurityController.isDeviceManaged()).thenReturn(false); in testWorkProfileCACertsInstalled() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | SecurityControllerTest.java | 112 when(mDevicePolicyManager.isDeviceManaged()).thenReturn(true); in testIsDeviceManaged() 113 assertTrue(mSecurityController.isDeviceManaged()); in testIsDeviceManaged() 115 when(mDevicePolicyManager.isDeviceManaged()).thenReturn(false); in testIsDeviceManaged() 116 assertFalse(mSecurityController.isDeviceManaged()); in testIsDeviceManaged()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | KeyguardIndicationControllerTest.java | 152 when(mDevicePolicyManager.isDeviceManaged()).thenReturn(false); in unmanaged() 161 when(mDevicePolicyManager.isDeviceManaged()).thenReturn(true); in managedNoOwnerName() 172 when(mDevicePolicyManager.isDeviceManaged()).thenReturn(true); in managedOwnerName() 183 when(mDevicePolicyManager.isDeviceManaged()).thenReturn(false); in updateOnTheFly() 189 when(mDevicePolicyManager.isDeviceManaged()).thenReturn(true); in updateOnTheFly() 198 when(mDevicePolicyManager.isDeviceManaged()).thenReturn(true); in updateOnTheFly() 208 when(mDevicePolicyManager.isDeviceManaged()).thenReturn(false); in updateOnTheFly()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | SecurityController.java | 24 boolean isDeviceManaged(); in isDeviceManaged() method
|
D | SecurityControllerImpl.java | 152 public boolean isDeviceManaged() { in isDeviceManaged() method in SecurityControllerImpl 153 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 | 261 if (!mDozing && mDevicePolicyManager.isDeviceManaged()) { in updateDisclosure()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DevicePolicyManagerTest.java | 1207 assertTrue(dpm.isDeviceManaged()); in testClearDeviceOwner_fromDifferentUser() 3908 assertTrue(dpm.isDeviceManaged()); in testIsDeviceManaged() 3911 assertTrue(dpm.isDeviceManaged()); in testIsDeviceManaged() 3914 assertTrue(dpm.isDeviceManaged()); in testIsDeviceManaged() 3922 assertFalse(dpm.isDeviceManaged()); in testIsDeviceManaged() 3925 assertFalse(dpm.isDeviceManaged()); in testIsDeviceManaged()
|
/frameworks/base/core/java/android/app/admin/ |
D | DevicePolicyManager.java | 6061 public boolean isDeviceManaged() { in isDeviceManaged() method in DevicePolicyManager
|
/frameworks/base/api/ |
D | test-current.txt | 436 method public boolean isDeviceManaged();
|
D | system-current.txt | 702 method public boolean isDeviceManaged();
|
/frameworks/base/non-updatable-api/ |
D | system-current.txt | 702 method public boolean isDeviceManaged();
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 2535 HSPLandroid/app/admin/DevicePolicyManager;->isDeviceManaged()Z
|