Searched refs:isActiveAdminWithPolicy (Results 1 – 6 of 6) sorted by relevance
114 boolean isDeviceOwner = dpmi != null && dpmi.isActiveAdminWithPolicy(callingUid, in checkAccessLevel()129 boolean isProfileOwner = dpmi != null && dpmi.isActiveAdminWithPolicy(callingUid, in checkAccessLevel()
80 public abstract boolean isActiveAdminWithPolicy(int uid, int reqPolicy); in isActiveAdminWithPolicy() method in DevicePolicyManagerInternal
156 when(mDpmi.isActiveAdminWithPolicy(TEST_UID, DeviceAdminInfo.USES_POLICY_DEVICE_OWNER)) in setIsDeviceOwner()161 when(mDpmi.isActiveAdminWithPolicy(TEST_UID, DeviceAdminInfo.USES_POLICY_PROFILE_OWNER)) in setIsProfileOwner()
3174 final boolean isUidDeviceOwner = dpmi != null && dpmi.isActiveAdminWithPolicy(uid,3196 final boolean isConfigEligibleForLockdown = dpmi != null && dpmi.isActiveAdminWithPolicy(
5207 && dpmi.isActiveAdminWithPolicy(uid, DeviceAdminInfo.USES_POLICY_PROFILE_OWNER); in isProfileOwner()
8119 public boolean isActiveAdminWithPolicy(int uid, int reqPolicy) { in isActiveAdminWithPolicy() method in DevicePolicyManagerService.LocalService