Searched refs:hasAuthority (Results 1 – 4 of 4) sorted by relevance
46 .filter(a -> a.hasAuthority(authority)).findFirst(); in resolve()
1197 if (admin.hasAuthority(EnforcingAdmin.DPC_AUTHORITY)) { in updateDeviceAdminsServicesForUser()1344 if (admin.hasAuthority(roleAuthority)) { in handleRoleChanged()1347 if (!admin.hasAuthority(roleAuthority)) { in handleRoleChanged()1501 if (admin.hasAuthority(EnforcingAdmin.DPC_AUTHORITY)) { in updateDeviceAdminServiceOnPackageChanged()1530 if (enforcingAdmin.hasAuthority(EnforcingAdmin.DPC_AUTHORITY)) { in updateDeviceAdminServiceOnPolicyAddLocked()1559 if (enforcingAdmin.hasAuthority(EnforcingAdmin.DPC_AUTHORITY)) { in updateDeviceAdminServiceOnPolicyRemoveLocked()
234 boolean hasAuthority(String authority) { in hasAuthority() method in EnforcingAdmin
14907 if (admin.hasAuthority(EnforcingAdmin.DPC_AUTHORITY)) { in maybeClearLockTaskPolicyLocked()14973 if (admin.hasAuthority(EnforcingAdmin.DPC_AUTHORITY)) { in notifyLockTaskModeChanged()