Searched refs:hasAuthority (Results 1 – 4 of 4) sorted by relevance
46 .filter(a -> a.hasAuthority(authority)).findFirst(); in resolve()
1128 if (admin.hasAuthority(EnforcingAdmin.DPC_AUTHORITY)) { in updateDeviceAdminsServicesForUser()1275 if (admin.hasAuthority(roleAuthority)) { in handleRoleChanged()1278 if (!admin.hasAuthority(roleAuthority)) { in handleRoleChanged()1433 if (admin.hasAuthority(EnforcingAdmin.DPC_AUTHORITY)) { in updateDeviceAdminServiceOnPackageChanged()1462 if (enforcingAdmin.hasAuthority(EnforcingAdmin.DPC_AUTHORITY)) { in updateDeviceAdminServiceOnPolicyAddLocked()1491 if (enforcingAdmin.hasAuthority(EnforcingAdmin.DPC_AUTHORITY)) { in updateDeviceAdminServiceOnPolicyRemoveLocked()
193 boolean hasAuthority(String authority) { in hasAuthority() method in EnforcingAdmin
15129 if (admin.hasAuthority(EnforcingAdmin.DPC_AUTHORITY)) { in maybeClearLockTaskPolicyLocked()15213 if (admin.hasAuthority(EnforcingAdmin.DPC_AUTHORITY)) { in notifyLockTaskModeChanged()