/frameworks/base/packages/SystemUI/src/com/android/systemui/security/data/model/ |
D | SecurityModel.kt | 29 val isDeviceManaged: Boolean, constant in com.android.systemui.security.data.model.SecurityModel 70 isDeviceManaged = securityController.isDeviceManaged, in create()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSSecurityFooterUtils.java | 206 final boolean isDeviceManaged = securityModel.isDeviceManaged(); in getButtonConfig() 226 boolean isVisible = (isDeviceManaged && !isDemoDevice) in getButtonConfig() 243 String text = getFooterText(isDeviceManaged, hasWorkProfile, in getButtonConfig() 267 protected CharSequence getFooterText(boolean isDeviceManaged, boolean hasWorkProfile, in getFooterText() argument 276 if (isDeviceManaged || DEBUG_FORCE_VISIBLE) { in getFooterText() 486 final boolean isDeviceManaged = mSecurityController.isDeviceManaged(); in createOrganizationDialogView() 504 CharSequence managementMessage = getManagementMessage(isDeviceManaged, in createOrganizationDialogView() 517 CharSequence caCertsMessage = getCaCertsMessage(isDeviceManaged, hasCACerts, in createOrganizationDialogView() 536 CharSequence networkLoggingMessage = getNetworkLoggingMessage(isDeviceManaged, in createOrganizationDialogView() 555 CharSequence vpnMessage = getVpnMessage(isDeviceManaged, hasWorkProfile, vpnName, in createOrganizationDialogView() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/ |
D | QSSecurityFooterTest.java | 159 when(mSecurityController.isDeviceManaged()).thenReturn(false); in testUnmanaged() 166 when(mSecurityController.isDeviceManaged()).thenReturn(true); in testManagedNoOwnerName() 178 when(mSecurityController.isDeviceManaged()).thenReturn(true); in testManagedOwnerName() 192 when(mSecurityController.isDeviceManaged()).thenReturn(true); in testManagedFinancedDeviceWithOwnerName() 211 when(mSecurityController.isDeviceManaged()).thenReturn(true); in testManagedDemoMode() 255 when(mSecurityController.isDeviceManaged()).thenReturn(true); in testNetworkLoggingEnabled_deviceOwner() 299 when(mSecurityController.isDeviceManaged()).thenReturn(true); in testManagedCACertsInstalled() 310 when(mSecurityController.isDeviceManaged()).thenReturn(true); in testManagedOneVpnEnabled() 334 when(mSecurityController.isDeviceManaged()).thenReturn(true); in testManagedTwoVpnsEnabled() 357 when(mSecurityController.isDeviceManaged()).thenReturn(true); in testNetworkLoggingAndVpnEnabled() [all …]
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/policy/ |
D | FakeSecurityController.kt | 46 override fun isDeviceManaged(): Boolean = fakeState.isDeviceManaged in isDeviceManaged() method in com.android.systemui.statusbar.policy.FakeSecurityController 101 var isDeviceManaged: Boolean = false, variable in com.android.systemui.statusbar.policy.FakeSecurityController.FakeState
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | SecurityControllerTest.java | 132 when(mDevicePolicyManager.isDeviceManaged()).thenReturn(true); in testIsDeviceManaged() 133 assertTrue(mSecurityController.isDeviceManaged()); in testIsDeviceManaged() 135 when(mDevicePolicyManager.isDeviceManaged()).thenReturn(false); in testIsDeviceManaged() 136 assertFalse(mSecurityController.isDeviceManaged()); in testIsDeviceManaged()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | SecurityController.java | 28 boolean isDeviceManaged(); in isDeviceManaged() method
|
D | SecurityControllerImpl.java | 193 public boolean isDeviceManaged() { in isDeviceManaged() method in SecurityControllerImpl 194 return mDevicePolicyManager.isDeviceManaged(); in isDeviceManaged()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/utils/leaks/ |
D | FakeSecurityController.java | 32 public boolean isDeviceManaged() { in isDeviceManaged() method in FakeSecurityController
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/enterprise/ |
D | ActionDisabledByAdminControllerFactory.java | 92 return dpm.isDeviceManaged() && dpm.getDeviceOwnerType( in isFinancedDevice()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | KeyguardIndicationControllerTest.java | 200 when(mDevicePolicyManager.isDeviceManaged()).thenReturn(false); in disclosure_unmanaged() 214 when(mDevicePolicyManager.isDeviceManaged()).thenReturn(true); in disclosure_deviceOwner_noOrganizationName() 243 when(mDevicePolicyManager.isDeviceManaged()).thenReturn(true); in disclosure_deviceOwner_withOrganizationName() 269 when(mDevicePolicyManager.isDeviceManaged()).thenReturn(false); in disclosure_updateOnTheFly() 273 when(mDevicePolicyManager.isDeviceManaged()).thenReturn(true); in disclosure_updateOnTheFly() 281 when(mDevicePolicyManager.isDeviceManaged()).thenReturn(true); in disclosure_updateOnTheFly() 289 when(mDevicePolicyManager.isDeviceManaged()).thenReturn(false); in disclosure_updateOnTheFly() 301 when(mDevicePolicyManager.isDeviceManaged()).thenReturn(true); in disclosure_deviceOwner_financedDeviceWithOrganizationName()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserManagerInternal.java | 214 public abstract boolean isDeviceManaged(); in isDeviceManaged() method in UserManagerInternal
|
D | UserManagerService.java | 7484 public boolean isDeviceManaged() {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/user/domain/interactor/ |
D | GuestUserInteractor.kt | 344 !devicePolicyManager.isDeviceManaged in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | KeyguardIndicationController.java | 551 isFinanced = mDevicePolicyManager.isDeviceManaged() in getDisclosureText() 798 return mDevicePolicyManager.isDeviceManaged() in isOrganizationOwnedDevice() 804 if (mDevicePolicyManager.isDeviceManaged()) { in getOrganizationOwnedDeviceOrganizationName()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/user/domain/interactor/ |
D | GuestUserInteractorTest.kt | 379 whenever(devicePolicyManager.isDeviceManaged).thenReturn(!isAllowed) in setAllowedToAdd()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | BaseLockSettingsServiceTests.java | 231 when(mUserManagerInternal.isDeviceManaged()).thenReturn(true); in setUp_baseServices()
|
D | SyntheticPasswordTests.java | 439 when(mUserManagerInternal.isDeviceManaged()).thenReturn(false); in testEscrowTokenCannotBeActivatedOnUnmanagedUser()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DevicePolicyManagerTest.java | 1512 assertThat(dpm.isDeviceManaged()).isTrue(); in testClearDeviceOwner_fromDifferentUser() 4950 assertThat(dpm.isDeviceManaged()).isTrue(); in testIsDeviceManaged() 4953 assertThat(dpm.isDeviceManaged()).isTrue(); in testIsDeviceManaged() 4956 assertThat(dpm.isDeviceManaged()).isTrue(); in testIsDeviceManaged() 4964 assertThat(dpm.isDeviceManaged()).isFalse(); in testIsDeviceManaged() 4967 assertThat(dpm.isDeviceManaged()).isFalse(); in testIsDeviceManaged()
|
/frameworks/base/core/java/android/app/admin/ |
D | DevicePolicyManager.java | 9629 public boolean isDeviceManaged() { in isDeviceManaged() method in DevicePolicyManager 17083 return isDeviceManaged() in isFinancedDevice()
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | LockSettingsService.java | 3552 if (userManagerInternal.isDeviceManaged()) {
|
/frameworks/base/core/api/ |
D | system-current.txt | 1328 method public boolean isDeviceManaged();
|
/frameworks/base/boot/ |
D | boot-image-profile.txt | 2919 HSPLandroid/app/admin/DevicePolicyManager;->isDeviceManaged()Z
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 2919 HSPLandroid/app/admin/DevicePolicyManager;->isDeviceManaged()Z
|