Home
last modified time | relevance | path

Searched refs:reqPolicy (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/app/admin/
DDevicePolicyManagerInternal.java80 public abstract boolean isActiveAdminWithPolicy(int uid, int reqPolicy); in isActiveAdminWithPolicy() argument
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java1921 ActiveAdmin getActiveAdminForCallerLocked(ComponentName who, int reqPolicy) in getActiveAdminForCallerLocked() argument
1925 ActiveAdmin result = getActiveAdminWithPolicyForUidLocked(who, reqPolicy, callingUid); in getActiveAdminForCallerLocked()
1934 if (reqPolicy == DeviceAdminInfo.USES_POLICY_DEVICE_OWNER) { in getActiveAdminForCallerLocked()
1938 if (reqPolicy == DeviceAdminInfo.USES_POLICY_PROFILE_OWNER) { in getActiveAdminForCallerLocked()
1944 + admin.info.getTagForPolicy(reqPolicy)); in getActiveAdminForCallerLocked()
1947 + mInjector.binderGetCallingUid() + " for policy #" + reqPolicy); in getActiveAdminForCallerLocked()
1951 ActiveAdmin getActiveAdminForCallerLocked(ComponentName who, int reqPolicy, boolean parent) in getActiveAdminForCallerLocked() argument
1957 ActiveAdmin admin = getActiveAdminForCallerLocked(who, reqPolicy); in getActiveAdminForCallerLocked()
1977 private ActiveAdmin getActiveAdminWithPolicyForUidLocked(ComponentName who, int reqPolicy, in getActiveAdminWithPolicyForUidLocked() argument
1990 if (isActiveAdminWithPolicyForUserLocked(admin, reqPolicy, userId)) { in getActiveAdminWithPolicyForUidLocked()
[all …]