Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerServiceMigrationTest.java137 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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSecurityController.java25 boolean hasProfileOwner(); in hasProfileOwner() method
DSecurityControllerImpl.java162 public boolean hasProfileOwner() { in hasProfileOwner() method in SecurityControllerImpl
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/leaks/
DFakeSecurityController.java34 public boolean hasProfileOwner() { in hasProfileOwner() method in FakeSecurityController
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DOwners.java190 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
DDevicePolicyManagerService.java5769 if (hasProfileOwner(userId)) { in enforceCallerCanRequestDeviceIdAttestation()
7904 return mOwners.hasProfileOwner(userId) in isProfileOwnerPackage()
7914 private boolean hasProfileOwner(int userId) { in hasProfileOwner() method
7916 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()
/frameworks/base/services/
Dart-profile6456 HSPLcom/android/server/devicepolicy/Owners;->hasProfileOwner(I)Z