Home
last modified time | relevance | path

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

/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
H A DDevicePolicyManagerServiceMigrationTest.java174 assertThat(dpms.mOwners.hasProfileOwner(USER_SYSTEM)).isFalse(); in testMigration()
175 assertThat(dpms.mOwners.hasProfileOwner(10)).isTrue(); in testMigration()
176 assertThat(dpms.mOwners.hasProfileOwner(11)).isTrue(); in testMigration()
177 assertThat(dpms.mOwners.hasProfileOwner(12)).isFalse(); in testMigration()
287 assertThat(dpms.mOwners.hasProfileOwner(USER_SYSTEM)).isTrue(); in testMigration2_profileOwnerOnUser0()
357 assertThat(dpms.mOwners.hasProfileOwner(10)).isTrue(); in testMigration3_managedProfileOwner()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DSecurityController.java29 boolean hasProfileOwner(); in hasProfileOwner() method
H A DSecurityControllerImpl.java166 public boolean hasProfileOwner() { in hasProfileOwner() method in SecurityControllerImpl
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/leaks/
H A DFakeSecurityController.java37 public boolean hasProfileOwner() { in hasProfileOwner() method in FakeSecurityController
/aosp12/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
H A DOwners.java214 mUserManagerInternal.setUserManaged(ui.id, hasProfileOwner(ui.id)); in load()
216 if (hasDeviceOwner() && hasProfileOwner(getDeviceOwnerUserId())) { in load()
565 boolean hasProfileOwner(int userId) { in hasProfileOwner() method in Owners
H A DDevicePolicyManagerService.java5924 if (hasProfileOwner(caller.getUserId())) {
7816 if (mOwners.hasProfileOwner(userId) || mOwners.hasDeviceOwner()) {
7856 if (mOwners.hasProfileOwner(userId) || mOwners.hasDeviceOwner()) {
8526 return mOwners.hasProfileOwner(userId)
8583 private boolean hasProfileOwner(int userId) {
8585 return mOwners.hasProfileOwner(userId);
9030 if (userHandle != mOwners.getDeviceOwnerUserId() && !mOwners.hasProfileOwner(userHandle)
9414 if (mOwners.hasProfileOwner(userHandle)) {
13901 if (mOwners.hasProfileOwner(deviceOwnerUserId)) {
14043 if (mOwners.hasProfileOwner(userId)) {
[all …]
/aosp12/frameworks/base/services/
H A Dart-profile16862 PLcom/android/server/devicepolicy/DevicePolicyManagerService;->hasProfileOwner(I)Z
17274 HSPLcom/android/server/devicepolicy/Owners;->hasProfileOwner(I)Z+]Lcom/android/server/devicepolicy/…