Searched refs:parentUser (Results 1 – 2 of 2) sorted by relevance
77 UserInfo parentUser = userManager.getProfileParent(profileId); in isProfileOfOrSame() local78 return parentUser != null && parentUser.id == userId; in isProfileOfOrSame()
241 int parentUser = (ui != null) ? ui.id : UserHandle.USER_NULL; in checkCallerAllowManagedProfiles() local245 (foregroundUser == parentUser); in checkCallerAllowManagedProfiles()