Home
last modified time | relevance | path

Searched refs:getDeviceOwnerUser (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/packages/SettingsLib/RestrictedLockUtils/src/com/android/settingslib/
DRestrictedLockUtils.java74 if (Objects.equals(dpm.getDeviceOwnerUser(), user)) { in getProfileOrDeviceOwner()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DRestrictedLockUtilsInternal.java560 final UserHandle deviceOwnerUser = dpm.getDeviceOwnerUser(); in checkIfPasswordQualityIsSet()
691 adminComponent, enforcedRestriction, dpm.getDeviceOwnerUser()); in getDeviceOwner()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
DRestrictedLockUtilsTest.java342 when(mDevicePolicyManager.getDeviceOwnerUser()).thenReturn(UserHandle.of(userId)); in setUpDeviceOwner()
/frameworks/opt/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/
DStandardWifiEntryTest.java1757 when(mDevicePolicyManager.getDeviceOwnerUser()) in testCanShare_UserRestrictionSet_returnsFalse()
1774 when(mDevicePolicyManager.getDeviceOwnerUser()) in testCanEasyConnect_UserRestrictionSet_returnsFalse()
/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/
DUtils.java979 deviceOwnerUser = devicePolicyManager.getDeviceOwnerUser(); in getDeviceOwner()
/frameworks/base/core/java/android/app/admin/
DDevicePolicyManager.java9540 public @Nullable UserHandle getDeviceOwnerUser() { in getDeviceOwnerUser() method in DevicePolicyManager
/frameworks/base/core/api/
Dsystem-current.txt1317 …ission(android.Manifest.permission.MANAGE_USERS) public android.os.UserHandle getDeviceOwnerUser();