/aosp14/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | UserVisibilityMediator.java | 247 displayId, profileGroupId); in assignUserToDisplayOnStart() 284 userId, profileGroupId); in assignUserToDisplayOnStart() 377 if (isProfile(userId, profileGroupId)) { in getUserVisibilityOnStartLocked() 436 && isProfile(userId, profileGroupId)) { in canAssignUserToDisplayLocked() 469 if (isProfile(userId, profileGroupId)) { in canAssignUserToDisplayLocked() 686 int profileGroupId; in isUserVisible() local 690 if (isProfile(userId, profileGroupId)) { in isUserVisible() 754 int profileGroupId; in isUserVisible() local 758 if (isProfile(userId, profileGroupId)) { in isUserVisible() 1105 return profileGroupId != NO_PROFILE_GROUP_ID && profileGroupId != userId; in isProfile() [all …]
|
H A D | UserManagerServiceShellCommand.java | 226 final boolean hasParent = user.profileGroupId != user.id in runList() 227 && user.profileGroupId != UserInfo.NO_PROFILE_GROUP_ID; in runList() 235 hasParent ? " (parentId=" + user.profileGroupId + ")" : "", in runList()
|
H A D | UserManagerService.java | 1224 return userInfo.profileGroupId == otherUserInfo.profileGroupId; in isSameProfileGroupNoChecks() 1263 int parentUserId = profile.profileGroupId; in getProfileParentLU() 1273 (user.profileGroupId != UserInfo.NO_PROFILE_GROUP_ID in isProfileOf() 1274 && user.profileGroupId == profile.profileGroupId); in isProfileOf() 1588 sendProfileAddedBroadcast(info.profileGroupId, info.id); in setUserEnabled() 4425 int profileGroupId = UserInfo.NO_PROFILE_GROUP_ID; 4561 userInfo.profileGroupId = profileGroupId; 4921 userInfo.profileGroupId = parent.info.profileGroupId; 6671 if (userInfo.profileGroupId != userInfo.id 7096 targetUserInfo.profileGroupId != callingUserInfo.profileGroupId) { [all …]
|
H A D | UserManagerInternal.java | 442 @UserIdInt int profileGroupId, @UserStartMode int userStartMode, int displayId); in assignUserToDisplayOnStart() argument
|
H A D | ComputerEngine.java | 4690 && userInfo.profileGroupId == userId) { in resolveContentProvider()
|
/aosp14/frameworks/base/core/java/android/content/pm/ |
H A D | UserInfo.java | 246 public int profileGroupId; field in UserInfo 313 this.profileGroupId = NO_PROFILE_GROUP_ID; in UserInfo() 493 profileGroupId = orig.profileGroupId; in UserInfo() 548 dest.writeInt(profileGroupId); in writeToParcel() 577 profileGroupId = source.readInt(); in UserInfo()
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
H A D | MockSystemServices.java | 280 public File addUser(int userId, int flags, String type, int profileGroupId) { in addUser() argument 285 uh.profileGroupId = profileGroupId; in addUser() 303 return ui == null ? null : getUserInfo(ui.profileGroupId); in addUser() 310 return ui == null ? UserHandle.USER_NULL : UserHandle.of(ui.profileGroupId); in addUser() 376 || ui.profileGroupId != UserInfo.NO_PROFILE_GROUP_ID in getProfiles() 377 && ui.profileGroupId == parent.profileGroupId) { in getProfiles()
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/settings/ |
H A D | UserTrackerImplTest.kt | 201 infoProfile.profileGroupId = id 226 infoProfile.profileGroupId = id 251 infoProfile.profileGroupId = id 340 infoProfile.profileGroupId = id
|
H A D | UserTrackerImplReceiveTest.kt | 92 infoProfile.profileGroupId = id
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
H A D | UserManagerServiceCreateProfileTest.java | 328 user.profileGroupId = user.id; in addProfile() 335 profile.profileGroupId = user.id; in addProfile()
|
H A D | UserManagerServiceUserInfoTest.java | 352 user.profileGroupId = 45; in createUser() 368 assertEquals("profile group not preserved", one.profileGroupId, in assertUserInfoEquals() 369 two.profileGroupId); in assertUserInfoEquals()
|
H A D | BaseShortcutManagerTest.java | 924 if (ui.profileGroupId == UserInfo.NO_PROFILE_GROUP_ID) { in setUp() 927 final UserInfo parent = mUserInfos.get(ui.profileGroupId); in setUp() 945 if (targetUserInfo.profileGroupId != UserInfo.NO_PROFILE_GROUP_ID in setUp() 946 && targetUserInfo.profileGroupId == callingUserInfo.profileGroupId) { in setUp() 1058 in.profileGroupId = groupId; in withProfileGroupId()
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/content/ |
H A D | SyncManagerTest.java | 200 ui.profileGroupId = groupId; in createUserInfo()
|
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/ |
H A D | JobConcurrencyManagerTest.java | 955 parent.profileGroupId = parent.id; in createNewProfile() 956 ui.profileGroupId = parent.id; in createNewProfile() 965 ui.profileGroupId = UserInfo.NO_PROFILE_GROUP_ID; in createNewUser()
|
/aosp14/frameworks/base/services/core/java/com/android/server/storage/ |
H A D | StorageSessionController.java | 90 return userInfo.profileGroupId; in getConnectionUserIdForVolume()
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
H A D | UserControllerTest.java | 823 user1a.profileGroupId = 5; in testHandleIncomingUser() 824 user1b.profileGroupId = 5; in testHandleIncomingUser() 825 user2.profileGroupId = 6; in testHandleIncomingUser()
|
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/ |
H A D | UserManagerServiceTest.java | 452 profileData.info.profileGroupId = parentId; in addProfile()
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
H A D | BaseLockSettingsServiceTests.java | 280 userInfo.profileGroupId = PRIMARY_USER_ID; in installChildProfile()
|
/aosp14/frameworks/base/services/core/java/com/android/server/am/ |
H A D | UserController.java | 1641 userInfo.profileGroupId, userStartMode, displayId); 2632 if (user.profileGroupId != UserInfo.NO_PROFILE_GROUP_ID) { 2633 mUserProfileGroupIds.put(user.id, user.profileGroupId); 2902 if (user.profileGroupId == mCurrentUserId) { 2905 mUserProfileGroupIds.put(user.id, user.profileGroupId);
|
/aosp14/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/ |
H A D | JobConcurrencyManager.java | 2221 if (userInfo.profileGroupId != UserInfo.NO_PROFILE_GROUP_ID in shouldRunAsFgUserJob() 2222 && userInfo.profileGroupId != userId) { in shouldRunAsFgUserJob() 2223 userId = userInfo.profileGroupId; in shouldRunAsFgUserJob()
|
/aosp14/frameworks/base/services/core/java/com/android/server/ |
H A D | StorageManagerService.java | 857 userInfo.profileGroupId /* sharesStorageWithUserId */); 1093 mVold.onUserAdded(user.id, user.serialNumber, user.profileGroupId); in resetIfBootedAndConnected()
|
/aosp14/frameworks/base/core/api/ |
H A D | test-lint-baseline.txt | 798 MutableBareField: android.content.pm.UserInfo#profileGroupId: 799 Bare field profileGroupId must be marked final, or moved behind accessors if mutable
|
H A D | test-current.txt | 1095 field public int profileGroupId;
|
/aosp14/frameworks/base/services/core/java/com/android/server/locksettings/ |
H A D | LockSettingsService.java | 1610 || (profile.profileGroupId == userId in getProfilesWithSameLockScreen()
|
/aosp14/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
H A D | DevicePolicyManagerService.java | 12060 userIdToCheck = user.profileGroupId; 12128 userId = user.profileGroupId; 12221 userId = user.profileGroupId;
|