Searched refs:usesPolicy (Results 1 – 7 of 7) sorted by relevance
434 public boolean usesPolicy(int policyIdent) { in usesPolicy() method in DeviceAdminInfo452 if (usesPolicy(pi.ident)) { in getUsedPolicies()
125 boolean hasGrantedPolicy(in ComponentName policyReceiver, int usesPolicy, int userHandle); in hasGrantedPolicy() argument
1662 public boolean hasGrantedPolicy(@NonNull ComponentName admin, int usesPolicy) { in hasGrantedPolicy() argument1666 return mService.hasGrantedPolicy(admin, usesPolicy, myUserId()); in hasGrantedPolicy()
2363 return admin.info.usesPolicy(reqPolicy); in isActiveAdminWithPolicyForUserLocked()2404 if (admin.info.usesPolicy(reqPolicy)) { in sendAdminCommandLocked()3118 if (admin.info.usesPolicy(DeviceAdminInfo.USES_POLICY_EXPIRE_PASSWORD) in handlePasswordExpirationNotification()3278 return administrator.info.usesPolicy(policyId); in hasGrantedPolicy()5488 if (admin.info.usesPolicy(DeviceAdminInfo.USES_POLICY_EXPIRE_PASSWORD)) { in updatePasswordExpirationsLocked()9371 return admin.info.usesPolicy(DeviceAdminInfo.USES_POLICY_LIMIT_PASSWORD); in isLimitPasswordAllowed()10457 final boolean doProxyCleanup = admin.info.usesPolicy( in removeAdminArtifacts()
5253 method public boolean usesPolicy(int);
6182 method public boolean usesPolicy(int);
6397 method public boolean usesPolicy(int);