Searched refs:parentUser (Results 1 – 5 of 5) sorted by relevance
213 UserInfo parentUser = userManager.getProfileParent(profileId); in isProfileOfOrSame() local214 return parentUser != null && parentUser.id == userId; in isProfileOfOrSame()
246 UserInfo parentUser = userManager.getProfileParent(profileId); in isProfileOfOrSame() local247 return parentUser != null && parentUser.id == userId; in isProfileOfOrSame()
217 UserInfo parentUser = mUserManager.getProfileParent(userId); in isUserSecure() local218 if (parentUser == null) { in isUserSecure()221 return lockPatternUtils.isSecure(parentUser.id); in isUserSecure()
456 UserInfo parentUser = mUm.getProfileParent(UserHandle.myUserId()); in isLockScreenSecure() local457 if (parentUser != null){ in isLockScreenSecure()458 lockscreenSecure |= mLockPatternUtils.isSecure(parentUser.id); in isLockScreenSecure()
259 int parentUser = (ui != null) ? ui.id : UserHandle.USER_NULL; in checkCallerAllowManagedProfiles() local263 (foregroundUser == parentUser); in checkCallerAllowManagedProfiles()