Searched refs:profileGroupId (Results 1 - 11 of 11) sorted by relevance

/frameworks/base/core/java/android/content/pm/
H A DUserInfo.java110 public int profileGroupId; field in class:UserInfo
128 this.profileGroupId = NO_PROFILE_GROUP_ID;
235 profileGroupId = orig.profileGroupId;
264 dest.writeInt(profileGroupId);
290 profileGroupId = source.readInt();
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DUserManagerServiceUserInfoTest.java129 user.profileGroupId = 45;
142 assertEquals("profile group not preserved", one.profileGroupId,
143 two.profileGroupId);
H A DUserManagerServiceCreateProfileTest.java222 user.profileGroupId = user.id;
229 profile.profileGroupId = user.id;
H A DBaseShortcutManagerTest.java788 if (ui.profileGroupId == UserInfo.NO_PROFILE_GROUP_ID) {
791 final UserInfo parent = mUserInfos.get(ui.profileGroupId);
902 in.profileGroupId = groupId;
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
H A DMockSystemServices.java166 public File addUser(int userId, int flags, int profileGroupId) { argument
169 uh.profileGroupId = profileGroupId;
242 || ui.profileGroupId != UserInfo.NO_PROFILE_GROUP_ID
243 && ui.profileGroupId == parent.profileGroupId) {
/frameworks/base/services/core/java/com/android/server/pm/
H A DLauncherAppsService.java251 || targetUserInfo.profileGroupId == UserInfo.NO_PROFILE_GROUP_ID
252 || targetUserInfo.profileGroupId != callingUserInfo.profileGroupId) {
700 || userInfo.profileGroupId == UserInfo.NO_PROFILE_GROUP_ID
701 || userInfo.profileGroupId != listeningUserInfo.profileGroupId
H A DUserManagerService.java158 private static final String ATTR_PROFILE_GROUP_ID = "profileGroupId";
700 if (userInfo == null || userInfo.profileGroupId == UserInfo.NO_PROFILE_GROUP_ID) {
705 || otherUserInfo.profileGroupId == UserInfo.NO_PROFILE_GROUP_ID) {
708 return userInfo.profileGroupId == otherUserInfo.profileGroupId;
725 int parentUserId = profile.profileGroupId;
735 (user.profileGroupId != UserInfo.NO_PROFILE_GROUP_ID
736 && user.profileGroupId == profile.profileGroupId);
1112 final int callingGroupId = getUserInfoNoChecks(callingUserId).profileGroupId;
[all...]
/frameworks/base/tests/net/java/com/android/server/connectivity/
H A DVpnTest.java80 managedProfileA.profileGroupId = primaryUser.id;
/frameworks/base/services/core/java/com/android/server/am/
H A DUserController.java705 // Skip unrelated users (profileGroupId mismatch)
1439 if (user.profileGroupId != UserInfo.NO_PROFILE_GROUP_ID) {
1440 mUserProfileGroupIdsSelfLocked.put(user.id, user.profileGroupId);
/frameworks/base/services/core/java/com/android/server/media/
H A DMediaSessionService.java338 mFullUserIds.put(userInfo.id, userInfo.profileGroupId);
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
H A DDevicePolicyManagerService.java7708 userIdToCheck = user.profileGroupId;
7755 userId = user.profileGroupId;
7836 userId = user.profileGroupId;
7899 if (callingUser.isManagedProfile() && callingUser.profileGroupId != currentUser.id) {

Completed in 179 milliseconds