Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/notification/app/
DVisibilityPreferenceController.java159 final UserInfo parentUser = mUm.getProfileParent(UserHandle.myUserId()); in getLockscreenNotificationsEnabled() local
160 final int primaryUserId = parentUser != null ? parentUser.id : UserHandle.myUserId(); in getLockscreenNotificationsEnabled()
172 UserInfo parentUser = mUm.getProfileParent(UserHandle.myUserId()); in isLockScreenSecure() local
173 if (parentUser != null){ in isLockScreenSecure()
174 lockscreenSecure |= mLockPatternUtils.isSecure(parentUser.id); in isLockScreenSecure()
/packages/apps/Settings/src/com/android/settings/
DTrustedCredentialsDialogBuilder.java218 UserInfo parentUser = mUserManager.getProfileParent(userId); in isUserSecure() local
219 if (parentUser == null) { in isUserSecure()
222 return lockPatternUtils.isSecure(parentUser.id); in isUserSecure()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/
DUtils.java1033 UserHandle parentUser = getSystemServiceSafe(context, UserManager.class) in getParentUserContext() local
1036 if (parentUser == null) { in getParentUserContext()
1044 parentUser); in getParentUserContext()
1047 throw new IllegalStateException("Could not switch to parent user " + parentUser, e); in getParentUserContext()
/packages/apps/Bluetooth/src/com/android/bluetooth/
DUtils.java631 int parentUser = (ui != null) ? ui.id : UserHandle.USER_NULL; in checkCallerIsSystemOrActiveOrManagedUser() local
634 return (sForegroundUserId == callingUser) || (sForegroundUserId == parentUser) in checkCallerIsSystemOrActiveOrManagedUser()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarProvider2.java839 final UserInfo parentUser = userManager.getProfileParent(UserHandle.myUserId()); in getParentUserId() local
840 return parentUser == null ? UserHandle.USER_NULL : parentUser.id; in getParentUserId()