Searched refs:hasProfileOwner (Results 1 – 7 of 7) sorted by relevance
137 assertFalse(dpms.mOwners.hasProfileOwner(UserHandle.USER_SYSTEM)); in testMigration()138 assertTrue(dpms.mOwners.hasProfileOwner(10)); in testMigration()139 assertTrue(dpms.mOwners.hasProfileOwner(11)); in testMigration()140 assertFalse(dpms.mOwners.hasProfileOwner(12)); in testMigration()249 assertTrue(dpms.mOwners.hasProfileOwner(UserHandle.USER_SYSTEM)); in testMigration2_profileOwnerOnUser0()316 assertTrue(dpms.mOwners.hasProfileOwner(10)); in testMigration3_managedProfileOwner()
25 boolean hasProfileOwner(); in hasProfileOwner() method
162 public boolean hasProfileOwner() { in hasProfileOwner() method in SecurityControllerImpl
34 public boolean hasProfileOwner() { in hasProfileOwner() method in FakeSecurityController
190 mUserManagerInternal.setUserManaged(ui.id, hasProfileOwner(ui.id)); in load()192 if (hasDeviceOwner() && hasProfileOwner(getDeviceOwnerUserId())) { in load()468 boolean hasProfileOwner(int userId) { in hasProfileOwner() method in Owners
5769 if (hasProfileOwner(userId)) { in enforceCallerCanRequestDeviceIdAttestation()7904 return mOwners.hasProfileOwner(userId) in isProfileOwnerPackage()7914 private boolean hasProfileOwner(int userId) { in hasProfileOwner() method7916 return mOwners.hasProfileOwner(userId); in hasProfileOwner()8293 if (userHandle != mOwners.getDeviceOwnerUserId() && !mOwners.hasProfileOwner(userHandle) in setUserProvisioningState()8580 if (mOwners.hasProfileOwner(userHandle)) { in enforceCanSetProfileOwnerLocked()11946 if (mOwners.hasProfileOwner(deviceOwnerUserId)) { in checkDeviceOwnerProvisioningPreConditionLocked()12059 if (mOwners.hasProfileOwner(userId)) { in getOwnerComponent()13122 if (!mOwners.hasProfileOwner(userId) || !TextUtils.equals( in canUserBindToDeviceOwnerLocked()
6456 HSPLcom/android/server/devicepolicy/Owners;->hasProfileOwner(I)Z