Searched refs:profileGroupId (Results 1 – 11 of 11) sorted by relevance
110 public int profileGroupId; field in UserInfo128 this.profileGroupId = NO_PROFILE_GROUP_ID; in UserInfo()235 profileGroupId = orig.profileGroupId; in UserInfo()264 dest.writeInt(profileGroupId); in writeToParcel()290 profileGroupId = source.readInt(); in UserInfo()
129 user.profileGroupId = 45; in createUser()142 assertEquals("profile group not preserved", one.profileGroupId, in assertUserInfoEquals()143 two.profileGroupId); in assertUserInfoEquals()
222 user.profileGroupId = user.id; in addProfile()229 profile.profileGroupId = user.id; in addProfile()
788 if (ui.profileGroupId == UserInfo.NO_PROFILE_GROUP_ID) { in setUp()791 final UserInfo parent = mUserInfos.get(ui.profileGroupId); in setUp()902 in.profileGroupId = groupId; in withProfileGroupId()
432 public File addUser(int userId, int flags, int profileGroupId) { in addUser() argument435 uh.profileGroupId = profileGroupId; in addUser()517 || ui.profileGroupId != UserInfo.NO_PROFILE_GROUP_ID in getProfiles()518 && ui.profileGroupId == parent.profileGroupId) { in getProfiles()
696 if (userInfo == null || userInfo.profileGroupId == UserInfo.NO_PROFILE_GROUP_ID) { in isSameProfileGroupNoChecks()701 || otherUserInfo.profileGroupId == UserInfo.NO_PROFILE_GROUP_ID) { in isSameProfileGroupNoChecks()704 return userInfo.profileGroupId == otherUserInfo.profileGroupId; in isSameProfileGroupNoChecks()721 int parentUserId = profile.profileGroupId; in getProfileParentLU()731 (user.profileGroupId != UserInfo.NO_PROFILE_GROUP_ID in isProfileOf()732 && user.profileGroupId == profile.profileGroupId); in isProfileOf()1108 final int callingGroupId = getUserInfoNoChecks(callingUserId).profileGroupId; in getUserIcon()1109 final int targetGroupId = targetUserInfo.profileGroupId; in getUserIcon()2042 if (userInfo.profileGroupId != UserInfo.NO_PROFILE_GROUP_ID) { in writeUserLP()2044 Integer.toString(userInfo.profileGroupId)); in writeUserLP()[all …]
251 || targetUserInfo.profileGroupId == UserInfo.NO_PROFILE_GROUP_ID in canAccessProfile()252 || targetUserInfo.profileGroupId != callingUserInfo.profileGroupId) { in canAccessProfile()700 || userInfo.profileGroupId == UserInfo.NO_PROFILE_GROUP_ID in isEnabledProfileOf()701 || userInfo.profileGroupId != listeningUserInfo.profileGroupId in isEnabledProfileOf()
71 managedProfileA.profileGroupId = primaryUser.id;
1438 if (user.profileGroupId != UserInfo.NO_PROFILE_GROUP_ID) {1439 mUserProfileGroupIdsSelfLocked.put(user.id, user.profileGroupId);
330 mFullUserIds.put(userInfo.id, userInfo.profileGroupId); in updateUser()
7667 userIdToCheck = user.profileGroupId; in checkPackagesInPermittedListOrSystem()7714 userId = user.profileGroupId; in setPermittedAccessibilityServices()7795 userId = user.profileGroupId; in getPermittedAccessibilityServicesForUser()7858 if (callingUser.isManagedProfile() && callingUser.profileGroupId != currentUser.id) { in checkCallerIsCurrentUserOrProfile()