Searched refs:isProfileOwner (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsAccess.java | 129 boolean isProfileOwner = dpmi != null && dpmi.isActiveAdminWithPolicy(callingUid, in checkAccessLevel() 131 if (isProfileOwner) { in checkAccessLevel()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerService.java | 2740 final boolean isProfileOwner = isProfileOwner(admin.info.getComponent(), userId); in getActiveAdminOrCheckPermissionForCallerLocked() 2750 if (DA_DISALLOWED_POLICIES.contains(reqPolicy) && !isDeviceOwner && !isProfileOwner) { in getActiveAdminOrCheckPermissionForCallerLocked() 2855 final boolean ownsProfile = isProfileOwner(admin.info.getComponent(), userId); in isActiveAdminWithPolicyForUserLocked() 3462 return !isProfileOwner(deviceAdminComponent, userHandle) in shouldOverwritePoliciesFromXml() 4033 if (isProfileOwner(adminReceiver, userHandle)) { in forceRemoveActiveAdmin() 4110 || isProfileOwner(adminReceiver, userHandle)) { in removeActiveAdmin() 5476 if (!isProfileOwner(adminComponent, callingUserId)) { in lockNow() 7909 public boolean isProfileOwner(ComponentName who, int userId) { in isProfileOwner() method 9808 return !isProfileOwner(admin, userId); in isAdminAffectedByRestriction() 10786 final boolean ownsProfile = isProfileOwner(admin.info.getComponent(), userHandle); in notifyLockTaskModeChanged() [all …]
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
D | AccountManagerService.java | 700 if (isProfileOwner(uid)) { in resolveAccountVisibility() 2166 && !isProfileOwner(callingUid)) { in removeAccountAsUser() 5696 if (isProfileOwner(callingUid)) { 5708 if (isProfileOwner(callingUid)) { 5725 private boolean isProfileOwner(int uid) {
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DevicePolicyManagerTest.java | 5018 assertTrue(dpms.isProfileOwner(admin1, DpmMockContext.CALLER_USER_HANDLE)); in testRevertProfileOwnership_noMetadataFile()
|
/frameworks/base/services/ |
D | art-profile | 6321 PLcom/android/server/devicepolicy/DevicePolicyManagerService;->isProfileOwner(Landroid/content/Comp…
|