Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/app/admin/
DDeviceAdminInfo.java410 public boolean usesPolicy(int policyIdent) { in usesPolicy() method in DeviceAdminInfo
428 if (usesPolicy(pi.ident)) { in getUsedPolicies()
DIDevicePolicyManager.aidl106 boolean hasGrantedPolicy(in ComponentName policyReceiver, int usesPolicy, int userHandle); in hasGrantedPolicy() argument
DDevicePolicyManager.java589 public boolean hasGrantedPolicy(ComponentName admin, int usesPolicy) { in hasGrantedPolicy() argument
592 return mService.hasGrantedPolicy(admin, usesPolicy, UserHandle.myUserId()); in hasGrantedPolicy()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java1151 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()
/frameworks/base/api/
Dsystem-current.txt5380 method public boolean usesPolicy(int);
Dcurrent.txt5253 method public boolean usesPolicy(int);