Searched refs:reqPolicy (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/core/java/android/app/admin/ |
D | DevicePolicyManagerInternal.java | 81 public abstract boolean isActiveAdminWithPolicy(int uid, int reqPolicy); in isActiveAdminWithPolicy() argument
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerService.java | 2588 ActiveAdmin getActiveAdminForCallerLocked(ComponentName who, int reqPolicy) in getActiveAdminForCallerLocked() argument 2593 ActiveAdmin result = getActiveAdminWithPolicyForUidLocked(who, reqPolicy, callingUid); in getActiveAdminForCallerLocked() 2602 if (reqPolicy == DeviceAdminInfo.USES_POLICY_DEVICE_OWNER) { in getActiveAdminForCallerLocked() 2606 if (reqPolicy == DeviceAdminInfo.USES_POLICY_PROFILE_OWNER) { in getActiveAdminForCallerLocked() 2612 + admin.info.getTagForPolicy(reqPolicy)); in getActiveAdminForCallerLocked() 2615 + mInjector.binderGetCallingUid() + " for policy #" + reqPolicy); in getActiveAdminForCallerLocked() 2619 ActiveAdmin getActiveAdminForCallerLocked(ComponentName who, int reqPolicy, boolean parent) in getActiveAdminForCallerLocked() argument 2626 ActiveAdmin admin = getActiveAdminForCallerLocked(who, reqPolicy); in getActiveAdminForCallerLocked() 2647 private ActiveAdmin getActiveAdminWithPolicyForUidLocked(ComponentName who, int reqPolicy, in getActiveAdminWithPolicyForUidLocked() argument 2661 if (isActiveAdminWithPolicyForUserLocked(admin, reqPolicy, userId)) { in getActiveAdminWithPolicyForUidLocked() [all …]
|