/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
H A 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() 276 if (isDeviceManaged || DEBUG_FORCE_VISIBLE) { in getFooterText() 486 final boolean isDeviceManaged = mSecurityController.isDeviceManaged(); in createOrganizationDialogView() 655 protected CharSequence getManagementMessage(boolean isDeviceManaged, in getManagementMessage() argument 657 if (!isDeviceManaged) { in getManagementMessage() 680 if (isDeviceManaged) { in getCaCertsMessage() 695 if (isDeviceManaged) { in getNetworkLoggingMessage() 709 if (isDeviceManaged) { in getVpnMessage() [all …]
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/ |
H A D | QSSecurityFooterTest.java | 158 when(mSecurityController.isDeviceManaged()).thenReturn(false); in testUnmanaged() 165 when(mSecurityController.isDeviceManaged()).thenReturn(true); in testManagedNoOwnerName() 177 when(mSecurityController.isDeviceManaged()).thenReturn(true); in testManagedOwnerName() 191 when(mSecurityController.isDeviceManaged()).thenReturn(true); in testManagedFinancedDeviceWithOwnerName() 210 when(mSecurityController.isDeviceManaged()).thenReturn(true); in testManagedDemoMode() 254 when(mSecurityController.isDeviceManaged()).thenReturn(true); in testNetworkLoggingEnabled_deviceOwner() 298 when(mSecurityController.isDeviceManaged()).thenReturn(true); in testManagedCACertsInstalled() 309 when(mSecurityController.isDeviceManaged()).thenReturn(true); in testManagedOneVpnEnabled() 333 when(mSecurityController.isDeviceManaged()).thenReturn(true); in testManagedTwoVpnsEnabled() 356 when(mSecurityController.isDeviceManaged()).thenReturn(true); in testNetworkLoggingAndVpnEnabled() [all …]
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/security/data/model/ |
H A D | SecurityModel.kt | 29 val isDeviceManaged: Boolean, 70 isDeviceManaged = securityController.isDeviceManaged,
|
/aosp14/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/policy/ |
H A D | FakeSecurityController.kt | 46 override fun isDeviceManaged(): Boolean = fakeState.isDeviceManaged 99 var isDeviceManaged: Boolean = false,
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
H A D | SecurityControllerTest.java | 130 when(mDevicePolicyManager.isDeviceManaged()).thenReturn(true); in testIsDeviceManaged() 131 assertTrue(mSecurityController.isDeviceManaged()); in testIsDeviceManaged() 133 when(mDevicePolicyManager.isDeviceManaged()).thenReturn(false); in testIsDeviceManaged() 134 assertFalse(mSecurityController.isDeviceManaged()); in testIsDeviceManaged()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | SecurityController.java | 28 boolean isDeviceManaged(); in isDeviceManaged() method
|
H A D | SecurityControllerImpl.java | 168 public boolean isDeviceManaged() { in isDeviceManaged() method in SecurityControllerImpl 169 return mDevicePolicyManager.isDeviceManaged(); in isDeviceManaged()
|
/aosp14/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/utils/leaks/ |
H A D | FakeSecurityController.java | 32 public boolean isDeviceManaged() { in isDeviceManaged() method in FakeSecurityController
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
H A D | KeyguardIndicationControllerTest.java | 195 when(mDevicePolicyManager.isDeviceManaged()).thenReturn(false); in disclosure_unmanaged() 209 when(mDevicePolicyManager.isDeviceManaged()).thenReturn(true); in disclosure_deviceOwner_noOrganizationName() 238 when(mDevicePolicyManager.isDeviceManaged()).thenReturn(true); in disclosure_deviceOwner_withOrganizationName() 264 when(mDevicePolicyManager.isDeviceManaged()).thenReturn(false); in disclosure_updateOnTheFly() 268 when(mDevicePolicyManager.isDeviceManaged()).thenReturn(true); in disclosure_updateOnTheFly() 276 when(mDevicePolicyManager.isDeviceManaged()).thenReturn(true); in disclosure_updateOnTheFly() 284 when(mDevicePolicyManager.isDeviceManaged()).thenReturn(false); in disclosure_updateOnTheFly() 296 when(mDevicePolicyManager.isDeviceManaged()).thenReturn(true); in disclosure_deviceOwner_financedDeviceWithOrganizationName()
|
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/enterprise/ |
H A D | ActionDisabledByAdminControllerFactory.java | 92 return dpm.isDeviceManaged() && dpm.getDeviceOwnerType( in isFinancedDevice()
|
/aosp14/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | UserManagerInternal.java | 213 public abstract boolean isDeviceManaged(); in isDeviceManaged() method in UserManagerInternal
|
H A D | UserManagerService.java | 6863 public boolean isDeviceManaged() {
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/user/domain/interactor/ |
H A D | GuestUserInteractor.kt | 342 !devicePolicyManager.isDeviceManaged
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | KeyguardIndicationController.java | 494 isFinanced = mDevicePolicyManager.isDeviceManaged() in getDisclosureText() 722 return mDevicePolicyManager.isDeviceManaged() in isOrganizationOwnedDevice() 728 if (mDevicePolicyManager.isDeviceManaged()) { in getOrganizationOwnedDeviceOrganizationName()
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/user/domain/interactor/ |
H A D | GuestUserInteractorTest.kt | 365 whenever(devicePolicyManager.isDeviceManaged).thenReturn(!isAllowed)
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
H A D | BaseLockSettingsServiceTests.java | 234 when(mUserManagerInternal.isDeviceManaged()).thenReturn(true); in setUp_baseServices()
|
H A D | SyntheticPasswordTests.java | 439 when(mUserManagerInternal.isDeviceManaged()).thenReturn(false); in testEscrowTokenCannotBeActivatedOnUnmanagedUser()
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
H A D | DevicePolicyManagerTest.java | 1506 assertThat(dpm.isDeviceManaged()).isTrue(); in testClearDeviceOwner_fromDifferentUser() 4944 assertThat(dpm.isDeviceManaged()).isTrue(); in testIsDeviceManaged() 4947 assertThat(dpm.isDeviceManaged()).isTrue(); in testIsDeviceManaged() 4950 assertThat(dpm.isDeviceManaged()).isTrue(); in testIsDeviceManaged() 4958 assertThat(dpm.isDeviceManaged()).isFalse(); in testIsDeviceManaged() 4961 assertThat(dpm.isDeviceManaged()).isFalse(); in testIsDeviceManaged()
|
/aosp14/frameworks/base/core/java/android/app/admin/ |
H A D | DevicePolicyManager.java | 9301 public boolean isDeviceManaged() { in isDeviceManaged() method in DevicePolicyManager 16605 return isDeviceManaged() in isFinancedDevice()
|
/aosp14/frameworks/base/services/core/java/com/android/server/locksettings/ |
H A D | LockSettingsService.java | 3311 if (userManagerInternal.isDeviceManaged()) {
|
/aosp14/frameworks/base/core/api/ |
H A D | system-current.txt | 1267 method public boolean isDeviceManaged();
|
/aosp14/frameworks/base/boot/ |
H A D | boot-image-profile.txt | 2978 HSPLandroid/app/admin/DevicePolicyManager;->isDeviceManaged()Z
|
/aosp14/frameworks/base/config/ |
H A D | boot-image-profile.txt | 2978 HSPLandroid/app/admin/DevicePolicyManager;->isDeviceManaged()Z
|