Home
last modified time | relevance | path

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

/aosp14/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/policy/
H A DFakeSecurityController.kt48 override fun hasProfileOwner(): Boolean = fakeState.hasProfileOwner
100 var hasProfileOwner: Boolean = false,
/aosp14/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
H A DDeviceStateCacheImpl.java67 void setHasProfileOwner(int userId, boolean hasProfileOwner) { in setHasProfileOwner() argument
68 if (hasProfileOwner) { in setHasProfileOwner()
H A DOwners.java124 mDeviceStateCache.setHasProfileOwner(userId, hasProfileOwner(userId)); in load()
129 mUserManagerInternal.setUserManaged(userId, hasProfileOwner(userId)); in load()
500 boolean hasProfileOwner(int userId) { in hasProfileOwner() method in Owners
H A DDevicePolicyManagerService.java9868 private boolean hasProfileOwner(int userId) {
9870 return mOwners.hasProfileOwner(userId);
10419 boolean hasProfileOwner = mOwners.hasProfileOwner(userId);
10420 if (!hasProfileOwner) {
10910 if (mOwners.hasProfileOwner(userId)) {
17406 if (mOwners.hasProfileOwner(deviceOwnerUserId)) {
17564 if (mOwners.hasProfileOwner(userId)) {
18834 if (!mOwners.hasProfileOwner(userId) || !TextUtils.equals(
23070 if (userInfo.isManagedProfile() && hasProfileOwner(userInfo.id)) {
23821 if (userId == 0 && mOwners.hasProfileOwner(0)) {
[all …]
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DSecurityController.java29 boolean hasProfileOwner(); in hasProfileOwner() method
H A DSecurityControllerImpl.java178 public boolean hasProfileOwner() { in hasProfileOwner() method in SecurityControllerImpl
/aosp14/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/utils/leaks/
H A DFakeSecurityController.java37 public boolean hasProfileOwner() { in hasProfileOwner() method in FakeSecurityController
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
H A DDevicePolicyManagerServiceMigrationTest.java131 assertThat(dpms.mOwners.hasProfileOwner(10)).isTrue(); in testMigration_managedProfileOwner()