Home
last modified time | relevance | path

Searched refs:isOrganizationOwnedDeviceWithManagedProfile (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/notetask/
DNoteTaskControllerTest.kt609 whenever(devicePolicyManager.isOrganizationOwnedDeviceWithManagedProfile).thenReturn(true) in <lambda>()
619 whenever(devicePolicyManager.isOrganizationOwnedDeviceWithManagedProfile).thenReturn(true) in <lambda>()
637 whenever(devicePolicyManager.isOrganizationOwnedDeviceWithManagedProfile).thenReturn(true) in <lambda>()
647 whenever(devicePolicyManager.isOrganizationOwnedDeviceWithManagedProfile).thenReturn(true) in <lambda>()
657 whenever(devicePolicyManager.isOrganizationOwnedDeviceWithManagedProfile).thenReturn(true) in <lambda>()
829 whenever(devicePolicyManager.isOrganizationOwnedDeviceWithManagedProfile).thenReturn(true) in <lambda>()
847 whenever(devicePolicyManager.isOrganizationOwnedDeviceWithManagedProfile).thenReturn(true) in <lambda>()
865 whenever(devicePolicyManager.isOrganizationOwnedDeviceWithManagedProfile).thenReturn(true) in <lambda>()
875 whenever(devicePolicyManager.isOrganizationOwnedDeviceWithManagedProfile).thenReturn(true) in <lambda>()
914 whenever(devicePolicyManager.isOrganizationOwnedDeviceWithManagedProfile).thenReturn(true) in <lambda>()
[all …]
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DRestrictedLockUtilsInternal.java99 if (profileAdmin != null && dpm.isOrganizationOwnedDeviceWithManagedProfile()) { in checkIfInputMethodDisallowed()
/frameworks/base/packages/SystemUI/src/com/android/systemui/notetask/
DNoteTaskController.kt141 devicePolicyManager.isOrganizationOwnedDeviceWithManagedProfile && in getUserForHandlingNotesTaking()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DKeyguardIndicationControllerTest.java201 when(mDevicePolicyManager.isOrganizationOwnedDeviceWithManagedProfile()).thenReturn(false); in disclosure_unmanaged()
228 when(mDevicePolicyManager.isOrganizationOwnedDeviceWithManagedProfile()).thenReturn(true); in disclosure_orgOwnedDeviceWithManagedProfile_noOrganizationName()
256 when(mDevicePolicyManager.isOrganizationOwnedDeviceWithManagedProfile()).thenReturn(true); in disclosure_orgOwnedDeviceWithManagedProfile_withOrganizationName()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSecurityControllerImpl.java262 return mDevicePolicyManager.isOrganizationOwnedDeviceWithManagedProfile(); in isProfileOwnerOfOrganizationOwnedDevice()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyguardIndicationController.java799 || mDevicePolicyManager.isOrganizationOwnedDeviceWithManagedProfile(); in isOrganizationOwnedDevice()
806 } else if (mDevicePolicyManager.isOrganizationOwnedDeviceWithManagedProfile()) { in getOrganizationOwnedDeviceOrganizationName()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/euicc/
DEuiccControllerTest.java935 doReturn(false).when(mDevicePolicyManager).isOrganizationOwnedDeviceWithManagedProfile(); in testDownloadSubscription_profileOwner_usingSwitchAfterDownload_fails()
964 doReturn(true).when(mDevicePolicyManager).isOrganizationOwnedDeviceWithManagedProfile(); in testDownloadSubscription_orgOwnedProfileOwner_usingSwitchAfterDownload_success()
990 doReturn(false).when(mDevicePolicyManager).isOrganizationOwnedDeviceWithManagedProfile(); in testDownloadSubscription_deviceOwner_usingSwitchAfterDownload_success()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DRestrictedLockUtilsInternal.java362 if (profileAdmin != null && dpm.isOrganizationOwnedDeviceWithManagedProfile()) { in checkIfInputMethodDisallowed()
/frameworks/base/core/java/android/app/admin/
DIDevicePolicyManager.aidl198 boolean isOrganizationOwnedDeviceWithManagedProfile(); in isOrganizationOwnedDeviceWithManagedProfile() method
DDevicePolicyManager.java10072 (query) -> getService().isOrganizationOwnedDeviceWithManagedProfile());
10087 public boolean isOrganizationOwnedDeviceWithManagedProfile() { in isOrganizationOwnedDeviceWithManagedProfile() method in DevicePolicyManager
/frameworks/opt/telephony/src/java/com/android/internal/telephony/euicc/
DEuiccController.java2211 && devicePolicyManager.isOrganizationOwnedDeviceWithManagedProfile())); in shouldAllowSwitchAfterDownload()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java10764 public boolean isOrganizationOwnedDeviceWithManagedProfile() {
11717 Preconditions.checkState(isOrganizationOwnedDeviceWithManagedProfile(),
13113 Preconditions.checkState(isOrganizationOwnedDeviceWithManagedProfile(),
18171 Preconditions.checkCallAuthorization(isOrganizationOwnedDeviceWithManagedProfile()
18186 Preconditions.checkCallAuthorization(isOrganizationOwnedDeviceWithManagedProfile()
18232 Preconditions.checkCallAuthorization(isOrganizationOwnedDeviceWithManagedProfile()
18254 Preconditions.checkCallAuthorization(isOrganizationOwnedDeviceWithManagedProfile()
18981 if (!isOrganizationOwnedDeviceWithManagedProfile()) {
18994 boolean orgOwnedProfileDevice = isOrganizationOwnedDeviceWithManagedProfile();
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerTest.java4437 assertThat(dpm.isOrganizationOwnedDeviceWithManagedProfile()).isFalse(); in testIsOrganizationOwnedDevice()
4445 assertThat(dpm.isOrganizationOwnedDeviceWithManagedProfile()).isTrue(); in testIsOrganizationOwnedDevice()
4449 assertThat(dpm.isOrganizationOwnedDeviceWithManagedProfile()).isTrue(); in testIsOrganizationOwnedDevice()
/frameworks/base/boot/
Dboot-image-profile.txt2922 HSPLandroid/app/admin/DevicePolicyManager;->isOrganizationOwnedDeviceWithManagedProfile()Z
2940 HSPLandroid/app/admin/IDevicePolicyManager$Stub$Proxy;->isOrganizationOwnedDeviceWithManagedProfile
/frameworks/base/config/
Dboot-image-profile.txt2922 HSPLandroid/app/admin/DevicePolicyManager;->isOrganizationOwnedDeviceWithManagedProfile()Z
2940 HSPLandroid/app/admin/IDevicePolicyManager$Stub$Proxy;->isOrganizationOwnedDeviceWithManagedProfile
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/services/
Dart-wear-profile9803 …droid/server/devicepolicy/DevicePolicyManagerService;->isOrganizationOwnedDeviceWithManagedProfile
/frameworks/base/core/api/
Dcurrent.txt8123 method public boolean isOrganizationOwnedDeviceWithManagedProfile();