Searched defs:usesPolicy (Results 1 - 2 of 2) sorted by path

/frameworks/base/core/java/android/app/admin/
H A DDeviceAdminInfo.java434 public boolean usesPolicy(int policyIdent) { method in class:DeviceAdminInfo
440 * are as per {@link #usesPolicy(int)}. If the given identifier is not
452 if (usesPolicy(pi.ident)) {
H A DDevicePolicyManager.java1676 * @param usesPolicy Which uses-policy to check, as defined in {@link DeviceAdminInfo}.
1679 public boolean hasGrantedPolicy(@NonNull ComponentName admin, int usesPolicy) { argument
1683 return mService.hasGrantedPolicy(admin, usesPolicy, myUserId());

Completed in 78 milliseconds