Home
last modified time | relevance | path

Searched refs:usesPolicy (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/java/android/app/admin/
DDeviceAdminInfo.java434 public boolean usesPolicy(int policyIdent) { in usesPolicy() method in DeviceAdminInfo
452 if (usesPolicy(pi.ident)) { in getUsedPolicies()
DIDevicePolicyManager.aidl115 boolean hasGrantedPolicy(in ComponentName policyReceiver, int usesPolicy, int userHandle); in hasGrantedPolicy() argument
DDevicePolicyManager.java1173 public boolean hasGrantedPolicy(@NonNull ComponentName admin, int usesPolicy) { in hasGrantedPolicy() argument
1177 return mService.hasGrantedPolicy(admin, usesPolicy, myUserId()); in hasGrantedPolicy()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java2017 return admin.info.usesPolicy(reqPolicy); in isActiveAdminWithPolicyForUserLocked()
2059 if (admin.info.usesPolicy(reqPolicy)) { in sendAdminCommandLocked()
2646 if (admin.info.usesPolicy(DeviceAdminInfo.USES_POLICY_EXPIRE_PASSWORD) in handlePasswordExpirationNotification()
2879 return administrator.info.usesPolicy(policyId); in hasGrantedPolicy()
4718 if (admin.info.usesPolicy(DeviceAdminInfo.USES_POLICY_EXPIRE_PASSWORD)) { in updatePasswordExpirationsLocked()
8172 return admin.info.usesPolicy(DeviceAdminInfo.USES_POLICY_LIMIT_PASSWORD); in isLimitPasswordAllowed()
9021 final boolean doProxyCleanup = admin.info.usesPolicy( in removeAdminArtifacts()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt5253 method public boolean usesPolicy(int);
/frameworks/base/api/
Dcurrent.txt5832 method public boolean usesPolicy(int);
Dtest-current.txt5838 method public boolean usesPolicy(int);
Dsystem-current.txt5985 method public boolean usesPolicy(int);