Searched refs:usesPolicy (Results 1 – 6 of 6) sorted by relevance
410 public boolean usesPolicy(int policyIdent) { in usesPolicy() method in DeviceAdminInfo428 if (usesPolicy(pi.ident)) { in getUsedPolicies()
106 boolean hasGrantedPolicy(in ComponentName policyReceiver, int usesPolicy, int userHandle); in hasGrantedPolicy() argument
589 public boolean hasGrantedPolicy(ComponentName admin, int usesPolicy) { in hasGrantedPolicy() argument592 return mService.hasGrantedPolicy(admin, usesPolicy, UserHandle.myUserId()); in hasGrantedPolicy()
1151 if (admin.info.usesPolicy(reqPolicy)) { in getActiveAdminForCallerLocked()1213 if (admin.info.usesPolicy(reqPolicy)) { in sendAdminCommandLocked()1247 boolean doProxyCleanup = admin.info.usesPolicy( in removeActiveAdminLocked()1657 if (admin.info.usesPolicy(DeviceAdminInfo.USES_POLICY_EXPIRE_PASSWORD) in handlePasswordExpirationNotification()1847 return administrator.info.usesPolicy(policyId); in hasGrantedPolicy()3158 if (admin.info.usesPolicy(DeviceAdminInfo.USES_POLICY_EXPIRE_PASSWORD)) { in updatePasswordExpirationsLocked()
5380 method public boolean usesPolicy(int);
5253 method public boolean usesPolicy(int);