Searched refs:isActiveAdminWithPolicy (Results 1 – 8 of 8) sorted by relevance
114 boolean isDeviceOwner = dpmi != null && dpmi.isActiveAdminWithPolicy(callingUid, in checkAccessLevel()129 boolean isProfileOwner = dpmi != null && dpmi.isActiveAdminWithPolicy(callingUid, in checkAccessLevel()
88 public abstract boolean isActiveAdminWithPolicy(int uid, int reqPolicy); in isActiveAdminWithPolicy() method in DevicePolicyManagerInternal
170 when(mDpmi.isActiveAdminWithPolicy(TEST_UID, DeviceAdminInfo.USES_POLICY_DEVICE_OWNER)) in setIsDeviceOwner()175 when(mDpmi.isActiveAdminWithPolicy(TEST_UID, DeviceAdminInfo.USES_POLICY_PROFILE_OWNER)) in setIsProfileOwner()
1423 && dpmInternal.isActiveAdminWithPolicy(callingUid, in hasObserverPermission()
3688 .isActiveAdminWithPolicy(uid, DeviceAdminInfo.USES_POLICY_PROFILE_OWNER); in isProfileOwner()
5725 && dpmi.isActiveAdminWithPolicy(uid, DeviceAdminInfo.USES_POLICY_PROFILE_OWNER);
4512 mDpm.isActiveAdminWithPolicy(Binder.getCallingUid(),
14053 …/android/server/devicepolicy/DevicePolicyManagerService$LocalService;->isActiveAdminWithPolicy(II)Z