Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/app/admin/
DDeviceAdminInfo.java457 public boolean usesPolicy(int policyIdent) { in usesPolicy() method in DeviceAdminInfo
483 if (usesPolicy(pi.ident)) { in getUsedPolicies()
DIDevicePolicyManager.aidl132 boolean hasGrantedPolicy(in ComponentName policyReceiver, int usesPolicy, int userHandle); in hasGrantedPolicy() argument
DDevicePolicyManager.java2452 public boolean hasGrantedPolicy(@NonNull ComponentName admin, int usesPolicy) { in hasGrantedPolicy() argument
2456 return mService.hasGrantedPolicy(admin, usesPolicy, myUserId()); in hasGrantedPolicy()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java2858 return allowedToUsePolicy && admin.info.usesPolicy(reqPolicy); in isActiveAdminWithPolicyForUserLocked()
2925 if (admin.info.usesPolicy(reqPolicy)) {
3721 if (admin.info.usesPolicy(DeviceAdminInfo.USES_POLICY_EXPIRE_PASSWORD) in handlePasswordExpirationNotification()
3962 return administrator.info.usesPolicy(policyId); in hasGrantedPolicy()
6722 if (admin.info.usesPolicy(DeviceAdminInfo.USES_POLICY_EXPIRE_PASSWORD)) { in updatePasswordExpirationsLocked()
11489 return admin.info.usesPolicy(DeviceAdminInfo.USES_POLICY_LIMIT_PASSWORD); in isLimitPasswordAllowed()
12917 final boolean doProxyCleanup = admin.info.usesPolicy( in removeAdminArtifacts()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...