Home
last modified time | relevance | path

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

/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java419 private static final Set<Integer> DA_DISALLOWED_POLICIES; field in DevicePolicyManagerService
457 DA_DISALLOWED_POLICIES = new ArraySet<>();
458 DA_DISALLOWED_POLICIES.add(DeviceAdminInfo.USES_POLICY_DISABLE_CAMERA);
459 DA_DISALLOWED_POLICIES.add(DeviceAdminInfo.USES_POLICY_DISABLE_KEYGUARD_FEATURES);
460 DA_DISALLOWED_POLICIES.add(DeviceAdminInfo.USES_POLICY_EXPIRE_PASSWORD);
461 DA_DISALLOWED_POLICIES.add(DeviceAdminInfo.USES_POLICY_LIMIT_PASSWORD);
2750 if (DA_DISALLOWED_POLICIES.contains(reqPolicy) && !isDeviceOwner && !isProfileOwner) { in getActiveAdminOrCheckPermissionForCallerLocked()
2864 || !DA_DISALLOWED_POLICIES.contains(reqPolicy) in isActiveAdminWithPolicyForUserLocked()