Searched refs:getDeviceOwnerUser (Results 1 – 7 of 7) sorted by relevance
74 if (Objects.equals(dpm.getDeviceOwnerUser(), user)) { in getProfileOrDeviceOwner()
560 final UserHandle deviceOwnerUser = dpm.getDeviceOwnerUser(); in checkIfPasswordQualityIsSet()691 adminComponent, enforcedRestriction, dpm.getDeviceOwnerUser()); in getDeviceOwner()
342 when(mDevicePolicyManager.getDeviceOwnerUser()).thenReturn(UserHandle.of(userId)); in setUpDeviceOwner()
1757 when(mDevicePolicyManager.getDeviceOwnerUser()) in testCanShare_UserRestrictionSet_returnsFalse()1774 when(mDevicePolicyManager.getDeviceOwnerUser()) in testCanEasyConnect_UserRestrictionSet_returnsFalse()
979 deviceOwnerUser = devicePolicyManager.getDeviceOwnerUser(); in getDeviceOwner()
9540 public @Nullable UserHandle getDeviceOwnerUser() { in getDeviceOwnerUser() method in DevicePolicyManager
1317 …ission(android.Manifest.permission.MANAGE_USERS) public android.os.UserHandle getDeviceOwnerUser();