Home
last modified time | relevance | path

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

/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/
H A DMainClearConfirmTest.java147 when(mDevicePolicyManager.isOrganizationOwnedDeviceWithManagedProfile()).thenReturn(true); in shouldWipePersistentDataBlock_hasFactoryResetProtectionPolicy_shouldReturnFalse()
164 when(mDevicePolicyManager.isOrganizationOwnedDeviceWithManagedProfile()).thenReturn(false); in shouldWipePersistentDataBlock_isNotOrganizationOwnedDevice_shouldReturnTrue()
/aosp12/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
H A DBaseIDevicePolicyManager.java96 public boolean isOrganizationOwnedDeviceWithManagedProfile() { in isOrganizationOwnedDeviceWithManagedProfile() method in BaseIDevicePolicyManager
H A DDevicePolicyManagerService.java2304 final boolean hasOrgOwnedProfile = isOrganizationOwnedDeviceWithManagedProfile(); in setDeviceOwnershipSystemPropertyLocked()
9288 public boolean isOrganizationOwnedDeviceWithManagedProfile() {
14768 Preconditions.checkCallAuthorization(isOrganizationOwnedDeviceWithManagedProfile()
14813 Preconditions.checkCallAuthorization(isOrganizationOwnedDeviceWithManagedProfile()
15375 if (!isOrganizationOwnedDeviceWithManagedProfile()) {
15387 boolean orgOwnedProfileDevice = isOrganizationOwnedDeviceWithManagedProfile();
/aosp12/packages/apps/Settings/src/com/android/settings/accounts/
H A DAccountRestrictionHelper.java78 return dpm.isOrganizationOwnedDeviceWithManagedProfile(); in isOrganizationOwnedDevice()
/aosp12/packages/apps/Settings/src/com/android/settings/wifi/
H A DWifiUtils.java107 } else if (dpm.isOrganizationOwnedDeviceWithManagedProfile()) { in isNetworkLockedDown()
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
H A DKeyguardIndicationControllerTest.java328 when(mDevicePolicyManager.isOrganizationOwnedDeviceWithManagedProfile()).thenReturn(false); in disclosure_unmanaged()
347 when(mDevicePolicyManager.isOrganizationOwnedDeviceWithManagedProfile()).thenReturn(true); in disclosure_orgOwnedDeviceWithManagedProfile_noOrganizationName()
369 when(mDevicePolicyManager.isOrganizationOwnedDeviceWithManagedProfile()).thenReturn(true); in disclosure_orgOwnedDeviceWithManagedProfile_withOrganizationName()
/aosp12/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
H A DWifiConfigHelper.java274 } else if (dpm.isOrganizationOwnedDeviceWithManagedProfile()) { in isNetworkLockedDown()
/aosp12/packages/apps/Settings/src/com/android/settings/
H A DMainClearConfirm.java165 if (dpm.isOrganizationOwnedDeviceWithManagedProfile() && frpPolicy != null in shouldWipePersistentDataBlock()
/aosp12/packages/apps/Settings/src/com/android/settings/applications/specialaccess/deviceadmin/
H A DDeviceAdminAdd.java474 if (adminComponent != null && mDPM.isOrganizationOwnedDeviceWithManagedProfile()) { in showPolicyTransparencyDialogIfRequired()
663 if ((hasBaseRestriction && mDPM.isOrganizationOwnedDeviceWithManagedProfile()) in updateInterface()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DKeyguardIndicationController.java523 || mDevicePolicyManager.isOrganizationOwnedDeviceWithManagedProfile(); in isOrganizationOwnedDevice()
530 } else if (mDevicePolicyManager.isOrganizationOwnedDeviceWithManagedProfile()) { in getOrganizationOwnedDeviceOrganizationName()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DSecurityControllerImpl.java225 return mDevicePolicyManager.isOrganizationOwnedDeviceWithManagedProfile(); in isProfileOwnerOfOrganizationOwnedDevice()
/aosp12/packages/apps/TvSettings/Settings/src/com/android/tv/settings/deviceadmin/
H A DDeviceAdminAdd.java479 if ((hasBaseRestriction && mDPM.isOrganizationOwnedDeviceWithManagedProfile()) in updateInterface()
/aosp12/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
H A DRestrictedLockUtilsInternal.java293 if (profileAdmin != null && dpm.isOrganizationOwnedDeviceWithManagedProfile()) { in checkIfInputMethodDisallowed()
/aosp12/frameworks/base/core/java/android/app/admin/
H A DIDevicePolicyManager.aidl180 boolean isOrganizationOwnedDeviceWithManagedProfile(); in isOrganizationOwnedDeviceWithManagedProfile() method
H A DDevicePolicyManager.java8452 public boolean isOrganizationOwnedDeviceWithManagedProfile() { in isOrganizationOwnedDeviceWithManagedProfile() method in DevicePolicyManager
8456 return mService.isOrganizationOwnedDeviceWithManagedProfile(); in isOrganizationOwnedDeviceWithManagedProfile()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
H A DDevicePolicyManagerTest.java4233 assertThat(dpm.isOrganizationOwnedDeviceWithManagedProfile()).isFalse(); in testIsOrganizationOwnedDevice()
4241 assertThat(dpm.isOrganizationOwnedDeviceWithManagedProfile()).isTrue(); in testIsOrganizationOwnedDevice()
4245 assertThat(dpm.isOrganizationOwnedDeviceWithManagedProfile()).isTrue(); in testIsOrganizationOwnedDevice()
/aosp12/frameworks/base/boot/
H A Dboot-image-profile.txt2867 HSPLandroid/app/admin/DevicePolicyManager;->isOrganizationOwnedDeviceWithManagedProfile()Z+]Landroi…
2880 HSPLandroid/app/admin/IDevicePolicyManager$Stub$Proxy;->isOrganizationOwnedDeviceWithManagedProfile
/aosp12/frameworks/base/config/
H A Dboot-image-profile.txt2867 HSPLandroid/app/admin/DevicePolicyManager;->isOrganizationOwnedDeviceWithManagedProfile()Z+]Landroi…
2880 HSPLandroid/app/admin/IDevicePolicyManager$Stub$Proxy;->isOrganizationOwnedDeviceWithManagedProfile
/aosp12/frameworks/base/core/api/
H A Dcurrent.txt7238 method public boolean isOrganizationOwnedDeviceWithManagedProfile();
/aosp12/frameworks/base/services/
H A Dart-profile16897 …droid/server/devicepolicy/DevicePolicyManagerService;->isOrganizationOwnedDeviceWithManagedProfile