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()
2009 final boolean ownsProfile = isProfileOwner(admin.info.getComponent(), userId); in isActiveAdminWithPolicyForUserLocked()2951 if (isProfileOwner(adminReceiver, userHandle)) { in forceRemoveActiveAdmin()2985 || isProfileOwner(adminReceiver, userHandle)) { in removeActiveAdmin()5740 public boolean isProfileOwner(ComponentName who, int userId) { in isProfileOwner() method in DevicePolicyManagerService7840 final boolean ownsProfile = isProfileOwner(admin.info.getComponent(), userHandle); in notifyLockTaskModeChanged()
5174 if (isProfileOwner(callingUid)) { in canUserModifyAccounts()5186 if (isProfileOwner(callingUid)) { in canUserModifyAccountsForType()5203 private boolean isProfileOwner(int uid) { in isProfileOwner() method in AccountManagerService