Searched refs:getProfileOwnerAsUser (Results 1 – 5 of 5) sorted by relevance
112 return mDevicePolicyManager.getProfileOwnerAsUser(mCurrentUserId) != null; in hasProfileOwner()
524 ComponentName adminComponent = dpm.getProfileOwnerAsUser(userId); in getProfileOrDeviceOwner()559 ComponentName adminComponent = dpm.getProfileOwnerAsUser(userId); in getProfileOwner()
164 .getProfileOwnerAsUser(userId) != null; in setBadgeIfManagedUser()
4016 return getProfileOwnerAsUser(Process.myUserHandle().getIdentifier()); in getProfileOwner()4023 public ComponentName getProfileOwnerAsUser(final int userId) throws IllegalArgumentException { in getProfileOwnerAsUser() method in DevicePolicyManager
175 assertEquals(admin, dpm.getProfileOwnerAsUser(DpmMockContext.CALLER_USER_HANDLE)); in setAsProfileOwner()