Home
last modified time | relevance | path

Searched refs:profileGroupId (Results 1 – 25 of 25) sorted by relevance

/aosp14/frameworks/base/services/core/java/com/android/server/pm/
H A DUserVisibilityMediator.java247 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 DUserManagerServiceShellCommand.java226 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 DUserManagerService.java1224 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 DUserManagerInternal.java442 @UserIdInt int profileGroupId, @UserStartMode int userStartMode, int displayId); in assignUserToDisplayOnStart() argument
H A DComputerEngine.java4690 && userInfo.profileGroupId == userId) { in resolveContentProvider()
/aosp14/frameworks/base/core/java/android/content/pm/
H A DUserInfo.java246 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 DMockSystemServices.java280 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 DUserTrackerImplTest.kt201 infoProfile.profileGroupId = id
226 infoProfile.profileGroupId = id
251 infoProfile.profileGroupId = id
340 infoProfile.profileGroupId = id
H A DUserTrackerImplReceiveTest.kt92 infoProfile.profileGroupId = id
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DUserManagerServiceCreateProfileTest.java328 user.profileGroupId = user.id; in addProfile()
335 profile.profileGroupId = user.id; in addProfile()
H A DUserManagerServiceUserInfoTest.java352 user.profileGroupId = 45; in createUser()
368 assertEquals("profile group not preserved", one.profileGroupId, in assertUserInfoEquals()
369 two.profileGroupId); in assertUserInfoEquals()
H A DBaseShortcutManagerTest.java924 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 DSyncManagerTest.java200 ui.profileGroupId = groupId; in createUserInfo()
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/
H A DJobConcurrencyManagerTest.java955 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 DStorageSessionController.java90 return userInfo.profileGroupId; in getConnectionUserIdForVolume()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/am/
H A DUserControllerTest.java823 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 DUserManagerServiceTest.java452 profileData.info.profileGroupId = parentId; in addProfile()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
H A DBaseLockSettingsServiceTests.java280 userInfo.profileGroupId = PRIMARY_USER_ID; in installChildProfile()
/aosp14/frameworks/base/services/core/java/com/android/server/am/
H A DUserController.java1641 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 DJobConcurrencyManager.java2221 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 DStorageManagerService.java857 userInfo.profileGroupId /* sharesStorageWithUserId */);
1093 mVold.onUserAdded(user.id, user.serialNumber, user.profileGroupId); in resetIfBootedAndConnected()
/aosp14/frameworks/base/core/api/
H A Dtest-lint-baseline.txt798 MutableBareField: android.content.pm.UserInfo#profileGroupId:
799 Bare field profileGroupId must be marked final, or moved behind accessors if mutable
H A Dtest-current.txt1095 field public int profileGroupId;
/aosp14/frameworks/base/services/core/java/com/android/server/locksettings/
H A DLockSettingsService.java1610 || (profile.profileGroupId == userId in getProfilesWithSameLockScreen()
/aosp14/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
H A DDevicePolicyManagerService.java12060 userIdToCheck = user.profileGroupId;
12128 userId = user.profileGroupId;
12221 userId = user.profileGroupId;