Searched refs:hasProfileOwner (Results 1 – 6 of 6) sorted by relevance
143 assertFalse(dpms.mOwners.hasProfileOwner(UserHandle.USER_SYSTEM)); in testMigration()144 assertTrue(dpms.mOwners.hasProfileOwner(10)); in testMigration()145 assertTrue(dpms.mOwners.hasProfileOwner(11)); in testMigration()146 assertFalse(dpms.mOwners.hasProfileOwner(12)); in testMigration()257 assertTrue(dpms.mOwners.hasProfileOwner(UserHandle.USER_SYSTEM)); in testMigration2_profileOwnerOnUser0()
21 boolean hasProfileOwner(); in hasProfileOwner() method
111 public boolean hasProfileOwner() { in hasProfileOwner() method in SecurityControllerImpl
151 mUserManagerInternal.setUserManaged(ui.id, hasProfileOwner(ui.id)); in load()153 if (hasDeviceOwner() && hasProfileOwner(getDeviceOwnerUserId())) { in load()330 boolean hasProfileOwner(int userId) { in hasProfileOwner() method in Owners
6003 if (userHandle != mOwners.getDeviceOwnerUserId() && !mOwners.hasProfileOwner(userHandle) in setUserProvisioningState()6204 if (mOwners.hasProfileOwner(userHandle)) { in enforceCanSetProfileOwnerLocked()8465 if (mOwners.hasProfileOwner(deviceOwnerUserId)) { in checkSetDeviceOwnerPreCondition()
139 boolean managed = mSecurityController.hasProfileOwner(); in createDialog()