Home
last modified time | relevance | path

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

/aosp12/frameworks/base/core/java/android/content/pm/
H A DUserInfo.java196 public int profileGroupId; field in UserInfo
257 this.profileGroupId = NO_PROFILE_GROUP_ID; in UserInfo()
432 profileGroupId = orig.profileGroupId; in UserInfo()
487 dest.writeInt(profileGroupId); in writeToParcel()
516 profileGroupId = source.readInt(); in UserInfo()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
H A DMockSystemServices.java230 public File addUser(int userId, int flags, String type, int profileGroupId) { in addUser() argument
235 uh.profileGroupId = profileGroupId; in addUser()
253 return ui == null ? null : getUserInfo(ui.profileGroupId); in addUser()
260 return ui == null ? UserHandle.USER_NULL : UserHandle.of(ui.profileGroupId); in addUser()
326 || ui.profileGroupId != UserInfo.NO_PROFILE_GROUP_ID in getProfiles()
327 && ui.profileGroupId == parent.profileGroupId) { in getProfiles()
/aosp12/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/
H A DJobConcurrencyManagerTest.java167 parent.profileGroupId = parent.id; in createNewProfile()
168 ui.profileGroupId = parent.id; in createNewProfile()
177 ui.profileGroupId = UserInfo.NO_PROFILE_GROUP_ID; in createNewUser()
/aosp12/frameworks/base/services/core/java/com/android/server/pm/
H A DUserManagerService.java999 return userInfo.profileGroupId == otherUserInfo.profileGroupId; in isSameProfileGroupNoChecks()
1027 int parentUserId = profile.profileGroupId; in getProfileParentLU()
1037 (user.profileGroupId != UserInfo.NO_PROFILE_GROUP_ID in isProfileOf()
1038 && user.profileGroupId == profile.profileGroupId); in isProfileOf()
1810 final int targetGroupId = targetUserInfo.profileGroupId; in getUserIcon()
3274 int profileGroupId = UserInfo.NO_PROFILE_GROUP_ID; in readUserLP() local
3381 userInfo.profileGroupId = profileGroupId; in readUserLP()
3676 userInfo.profileGroupId = parent.info.profileGroupId; in createUserInternalUncheckedNoTracing()
5157 if (userInfo.profileGroupId != userInfo.id in dump()
5657 targetUserInfo.profileGroupId != callingUserInfo.profileGroupId) { in isProfileAccessible()
[all …]
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/storage/
H A DSecondaryUserControllerTest.java129 secondaryUser.profileGroupId = 101010; // this just has to be something not 0 in getSecondaryUserControllers_notWorkProfile_addSecondaryUserController()
148 secondaryUser.profileGroupId = 101010; // this just has to be something not 0 in getSecondaryUserControllers_workProfile_addNoSecondaryUserController()
167 secondaryUser.profileGroupId = 101010; // this just has to be something not 0 in getSecondaryUserControllers_notWorkProfileWorkProfileOnly_addNoSecondController()
/aosp12/packages/services/Telecomm/src/com/android/server/telecom/
H A DUserUtil.java41 return userInfo != null && userInfo.profileGroupId != userInfo.id; in isProfile()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DUserManagerServiceUserInfoTest.java254 user.profileGroupId = 45; in createUser()
270 assertEquals("profile group not preserved", one.profileGroupId, in assertUserInfoEquals()
271 two.profileGroupId); in assertUserInfoEquals()
H A DUserManagerServiceCreateProfileTest.java326 user.profileGroupId = user.id; in addProfile()
333 profile.profileGroupId = user.id; in addProfile()
H A DBaseShortcutManagerTest.java1173 if (ui.profileGroupId == UserInfo.NO_PROFILE_GROUP_ID) { in setUp()
1176 final UserInfo parent = mUserInfos.get(ui.profileGroupId); in setUp()
1194 if (targetUserInfo.profileGroupId != UserInfo.NO_PROFILE_GROUP_ID in setUp()
1195 && targetUserInfo.profileGroupId == callingUserInfo.profileGroupId) { in setUp()
1307 in.profileGroupId = groupId; in withProfileGroupId()
/aosp12/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DContactsActor.java164 ui.profileGroupId = groupId; in createUserInfo()
215 if (ui.id != userHandle && ui.id == child.profileGroupId) { in getProfileParent()
244 return getUserInfo(userId).profileGroupId == getUserInfo(otherUserId).profileGroupId; in isSameProfileGroup()
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/settings/
H A DUserTrackerImplTest.kt181 infoProfile.profileGroupId = id
238 infoProfile.profileGroupId = id
/aosp12/packages/apps/Settings/src/com/android/settings/
H A DSettingsInitialize.java101 userInfo.profileGroupId, PackageManager.SKIP_CURRENT_PROFILE); in managedProfileSetup()
H A DUtils.java909 (user.profileGroupId != UserInfo.NO_PROFILE_GROUP_ID in isProfileOf()
910 && user.profileGroupId == profile.profileGroupId); in isProfileOf()
/aosp12/frameworks/base/services/core/java/com/android/server/storage/
H A DStorageSessionController.java89 return userInfo.profileGroupId; in getConnectionUserIdForVolume()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
H A DBaseLockSettingsServiceTests.java197 userInfo.profileGroupId = PRIMARY_USER_ID; in installChildProfile()
/aosp12/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
H A DJobConcurrencyManager.java1224 if (userInfo.profileGroupId != UserInfo.NO_PROFILE_GROUP_ID in shouldRunAsFgUserJob()
1225 && userInfo.profileGroupId != userId) { in shouldRunAsFgUserJob()
1226 userId = userInfo.profileGroupId; in shouldRunAsFgUserJob()
/aosp12/packages/services/Car/service/src/com/android/car/user/
H A DCarUserService.java602 && user.isManagedProfile() && user.profileGroupId == driverId; in getPassengers()
657 if (passenger.profileGroupId != currentUser) { in stopPassengerInternal()
2368 if (user.isManagedProfile() && user.profileGroupId == userId) { in getNumberOfManagedProfiles()
/aosp12/frameworks/base/services/core/java/com/android/server/am/
H A DUserController.java2271 if (user.profileGroupId != UserInfo.NO_PROFILE_GROUP_ID) {
2272 mUserProfileGroupIds.put(user.id, user.profileGroupId);
/aosp12/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
H A DVpnTest.java164 managedProfileA.profileGroupId = primaryUser.id;
/aosp12/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/
H A DCarUserServiceTest.java863 parent.profileGroupId = parent.id; in associateParentChild()
864 child.profileGroupId = parent.id; in associateParentChild()
/aosp12/frameworks/base/services/core/java/com/android/server/locksettings/
H A DLockSettingsService.java1598 || (profile.profileGroupId == userId in getProfilesWithSameLockScreen()
/aosp12/frameworks/base/core/api/
H A Dtest-lint-baseline.txt2416 MutableBareField: android.content.pm.UserInfo#profileGroupId:
2417 Bare field profileGroupId must be marked final, or moved behind accessors if mutable
H A Dtest-current.txt916 field public int profileGroupId;
/aosp12/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
H A DDevicePolicyManagerService.java10138 userIdToCheck = user.profileGroupId;
10195 userId = user.profileGroupId;
10284 userId = user.profileGroupId;