Searched refs:parentUser (Results 1 – 7 of 7) sorted by relevance
152 final UserInfo parentUser = mUm.getProfileParent(UserHandle.myUserId()); in getLockscreenNotificationsEnabled() local153 final int primaryUserId = parentUser != null ? parentUser.id : UserHandle.myUserId(); in getLockscreenNotificationsEnabled()165 UserInfo parentUser = mUm.getProfileParent(UserHandle.myUserId()); in isLockScreenSecure() local166 if (parentUser != null){ in isLockScreenSecure()167 lockscreenSecure |= mLockPatternUtils.isSecure(parentUser.id); in isLockScreenSecure()
218 UserInfo parentUser = mUserManager.getProfileParent(userId); in isUserSecure() local219 if (parentUser == null) { in isUserSecure()222 return lockPatternUtils.isSecure(parentUser.id); in isUserSecure()
828 UserHandle parentUser = getSystemServiceSafe(context, UserManager.class) in getParentUserContext() local831 if (parentUser == null) { in getParentUserContext()839 parentUser); in getParentUserContext()842 throw new IllegalStateException("Could not switch to parent user " + parentUser, e); in getParentUserContext()
354 int parentUser = (ui != null) ? ui.id : UserHandle.USER_NULL; in checkCallerAllowManagedProfiles() local357 return (sForegroundUserId == callingUser) || (sForegroundUserId == parentUser) in checkCallerAllowManagedProfiles()
822 final UserInfo parentUser = userManager.getProfileParent(UserHandle.myUserId()); in getParentUserId() local823 return parentUser == null ? UserHandle.USER_NULL : parentUser.id; in getParentUserId()