Searched refs:getProfileOwnerAsUser (Results 1 – 6 of 6) sorted by relevance
551 ComponentName adminComponent = dpm.getProfileOwnerAsUser(userId); in getProfileOrDeviceOwner()586 ComponentName adminComponent = dpm.getProfileOwnerAsUser(userId); in getProfileOwner()
165 .getProfileOwnerAsUser(userId) != null; in setBadgeIfManagedUser()
142 return mDevicePolicyManager.getProfileOwnerAsUser(mCurrentUserId) != null; in hasProfileOwner()
4970 return getProfileOwnerAsUser(Process.myUserHandle().getIdentifier()); in getProfileOwner()4977 public @Nullable ComponentName getProfileOwnerAsUser(final int userId) in getProfileOwnerAsUser() method in DevicePolicyManager
2224 if (dpm.getProfileOwnerAsUser(userId) != null) { in disableEscrowTokenOnNonManagedDevicesIfNeeded()
246 assertEquals(admin, dpm.getProfileOwnerAsUser(DpmMockContext.CALLER_USER_HANDLE)); in setAsProfileOwner()