Searched defs:isDeviceOwner (Results 1 - 4 of 4) sorted by relevance

/frameworks/base/core/java/android/os/
H A DUserManagerInternal.java48 * @param isDeviceOwner whether {@code userId} corresponds to device owner user id.
54 boolean isDeviceOwner, int cameraRestrictionScope);
53 setDevicePolicyUserRestrictions(int userId, @Nullable Bundle restrictions, boolean isDeviceOwner, int cameraRestrictionScope) argument
/frameworks/base/services/core/java/com/android/server/pm/
H A DUserRestrictionsUtils.java362 public static void sortToGlobalAndLocal(@Nullable Bundle in, boolean isDeviceOwner, argument
378 if (isGlobal(isDeviceOwner, key)) {
389 private static boolean isGlobal(boolean isDeviceOwner, String key) { argument
390 return (isDeviceOwner &&
H A DUserManagerService.java1389 boolean isDeviceOwner, int cameraRestrictionScope) {
1394 UserRestrictionsUtils.sortToGlobalAndLocal(restrictions, isDeviceOwner,
1405 if (isDeviceOwner) {
3734 boolean isDeviceOwner, int cameraRestrictionScope) {
3736 isDeviceOwner, cameraRestrictionScope);
1388 setDevicePolicyUserRestrictionsInner(int userId, @Nullable Bundle restrictions, boolean isDeviceOwner, int cameraRestrictionScope) argument
3733 setDevicePolicyUserRestrictions(int userId, @Nullable Bundle restrictions, boolean isDeviceOwner, int cameraRestrictionScope) argument
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
H A DDevicePolicyManagerService.java2415 /* exceptionList =*/ null, /* isDeviceOwner =*/ true);
2445 exceptionList, /* isDeviceOwner =*/ false);
2463 Set<String> exceptionList, boolean isDeviceOwner) {
2474 final boolean canOwnerChange = isDeviceOwner
2680 final boolean ownsDevice = isDeviceOwner(admin.info.getComponent(), userId);
3833 if (isDeviceOwner(adminReceiver, userHandle)) {
3912 if (isDeviceOwner(adminReceiver, userHandle)
5997 if (!isDeviceOwner(admin, userId)) {
7247 boolean isDeviceOwner(ActiveAdmin admin) { method in class:DevicePolicyManagerService
7248 return isDeviceOwner(admi
2462 migrateUserRestrictionsForUser(UserHandle user, ActiveAdmin admin, Set<String> exceptionList, boolean isDeviceOwner) argument
7251 public boolean isDeviceOwner(ComponentName who, int userId) { method in class:DevicePolicyManagerService
[all...]

Completed in 136 milliseconds