Home
last modified time | relevance | path

Searched refs:hasProfileOwner (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerServiceMigrationTest.java143 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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSecurityController.java21 boolean hasProfileOwner(); in hasProfileOwner() method
DSecurityControllerImpl.java111 public boolean hasProfileOwner() { in hasProfileOwner() method in SecurityControllerImpl
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DOwners.java151 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
DDevicePolicyManagerService.java6003 if (userHandle != mOwners.getDeviceOwnerUserId() && !mOwners.hasProfileOwner(userHandle) in setUserProvisioningState()
6204 if (mOwners.hasProfileOwner(userHandle)) { in enforceCanSetProfileOwnerLocked()
8465 if (mOwners.hasProfileOwner(deviceOwnerUserId)) { in checkSetDeviceOwnerPreCondition()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSFooter.java139 boolean managed = mSecurityController.hasProfileOwner(); in createDialog()