Searched refs:parentUser (Results 1 – 8 of 8) sorted by relevance
95 UserHandle parentUser; in getSettingsForProfileGroup() local99 parentUser = parentUserInfo.getUserHandle(); in getSettingsForProfileGroup()101 parentUser = user; in getSettingsForProfileGroup()106 parentUser.getIdentifier()); in getSettingsForProfileGroup()108 settings = new UsbProfileGroupSettingsManager(mContext, parentUser, this, in getSettingsForProfileGroup()110 mSettingsByProfileGroup.put(parentUser.getIdentifier(), settings); in getSettingsForProfileGroup()
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()
114 final UserInfo parentUser = um.getProfileParent(adminUserId); in checkIfRestrictionEnforced() local115 return (parentUser != null && parentUser.id == userId) in checkIfRestrictionEnforced()
2328 int parentUser = (ui != null) ? ui.id : UserHandle.USER_NULL; in checkIfCallerIsForegroundUser() local2333 valid = (callingUser == foregroundUser) || parentUser == foregroundUser in checkIfCallerIsForegroundUser()2337 + callingUser + " parentUser=" + parentUser + " foregroundUser=" in checkIfCallerIsForegroundUser()
1899 public void addSharedAccountsFromParentUser(UserHandle parentUser, UserHandle user) {1901 mService.addSharedAccountsFromParentUser(parentUser.getIdentifier(),
5266 UserInfo parentUser = new UserInfo(); in testGetPasswordComplexity_unifiedChallengeReturnsParentUserPassword() local5267 parentUser.id = DpmMockContext.CALLER_USER_HANDLE + 10; in testGetPasswordComplexity_unifiedChallengeReturnsParentUserPassword()5269 .thenReturn(parentUser.id); in testGetPasswordComplexity_unifiedChallengeReturnsParentUserPassword()5275 parentUser.id, in testGetPasswordComplexity_unifiedChallengeReturnsParentUserPassword()
8819 UserInfo parentUser = mUserManager.getProfileParent(userHandle); in getProfileParentId() local8820 return parentUser != null ? parentUser.id : userHandle; in getProfileParentId()