Searched refs:parentUser (Results 1 – 5 of 5) sorted by relevance
90 UserHandle parentUser; in getSettingsForProfileGroup() local94 parentUser = parentUserInfo.getUserHandle(); in getSettingsForProfileGroup()96 parentUser = user; in getSettingsForProfileGroup()101 parentUser.getIdentifier()); in getSettingsForProfileGroup()103 settings = new UsbProfileGroupSettingsManager(mContext, parentUser, this); in getSettingsForProfileGroup()104 mSettingsByProfileGroup.put(parentUser.getIdentifier(), settings); in getSettingsForProfileGroup()
106 final UserInfo parentUser = um.getProfileParent(adminUserId); in checkIfRestrictionEnforced() local107 return (parentUser != null && parentUser.id == userId) in checkIfRestrictionEnforced()
1989 int parentUser = (ui != null) ? ui.id : UserHandle.USER_NULL; in checkIfCallerIsForegroundUser() local1994 valid = (callingUser == foregroundUser) || parentUser == foregroundUser in checkIfCallerIsForegroundUser()1998 + callingUser + " parentUser=" + parentUser + " foregroundUser=" in checkIfCallerIsForegroundUser()
1868 public void addSharedAccountsFromParentUser(UserHandle parentUser, UserHandle user) {1870 mService.addSharedAccountsFromParentUser(parentUser.getIdentifier(),
8057 UserInfo parentUser = mUserManager.getProfileParent(userHandle); in getProfileParentId() local8058 return parentUser != null ? parentUser.id : userHandle; in getProfileParentId()