Searched refs:isProfileOwner (Results 1 – 3 of 3) sorted by relevance
129 boolean isProfileOwner = dpmi != null && dpmi.isActiveAdminWithPolicy(callingUid, in checkAccessLevel()131 if (isProfileOwner) { in checkAccessLevel()
2018 final boolean ownsProfile = isProfileOwner(admin.info.getComponent(), userId); in isActiveAdminWithPolicyForUserLocked()2971 if (isProfileOwner(adminReceiver, userHandle)) { in forceRemoveActiveAdmin()3005 || isProfileOwner(adminReceiver, userHandle)) { in removeActiveAdmin()5760 public boolean isProfileOwner(ComponentName who, int userId) { in isProfileOwner() method in DevicePolicyManagerService7861 final boolean ownsProfile = isProfileOwner(admin.info.getComponent(), userHandle); in notifyLockTaskModeChanged()
5207 if (isProfileOwner(callingUid)) { in canUserModifyAccounts()5219 if (isProfileOwner(callingUid)) { in canUserModifyAccountsForType()5236 private boolean isProfileOwner(int uid) { in isProfileOwner() method in AccountManagerService