/aosp12/frameworks/base/core/java/android/content/pm/ |
H A D | UserInfo.java | 196 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 D | MockSystemServices.java | 230 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 D | JobConcurrencyManagerTest.java | 167 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 D | UserManagerService.java | 999 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 D | SecondaryUserControllerTest.java | 129 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 D | UserUtil.java | 41 return userInfo != null && userInfo.profileGroupId != userInfo.id; in isProfile()
|
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
H A D | UserManagerServiceUserInfoTest.java | 254 user.profileGroupId = 45; in createUser() 270 assertEquals("profile group not preserved", one.profileGroupId, in assertUserInfoEquals() 271 two.profileGroupId); in assertUserInfoEquals()
|
H A D | UserManagerServiceCreateProfileTest.java | 326 user.profileGroupId = user.id; in addProfile() 333 profile.profileGroupId = user.id; in addProfile()
|
H A D | BaseShortcutManagerTest.java | 1173 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 D | ContactsActor.java | 164 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 D | UserTrackerImplTest.kt | 181 infoProfile.profileGroupId = id 238 infoProfile.profileGroupId = id
|
/aosp12/packages/apps/Settings/src/com/android/settings/ |
H A D | SettingsInitialize.java | 101 userInfo.profileGroupId, PackageManager.SKIP_CURRENT_PROFILE); in managedProfileSetup()
|
H A D | Utils.java | 909 (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 D | StorageSessionController.java | 89 return userInfo.profileGroupId; in getConnectionUserIdForVolume()
|
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
H A D | BaseLockSettingsServiceTests.java | 197 userInfo.profileGroupId = PRIMARY_USER_ID; in installChildProfile()
|
/aosp12/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/ |
H A D | JobConcurrencyManager.java | 1224 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 D | CarUserService.java | 602 && 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 D | UserController.java | 2271 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 D | VpnTest.java | 164 managedProfileA.profileGroupId = primaryUser.id;
|
/aosp12/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/ |
H A D | CarUserServiceTest.java | 863 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 D | LockSettingsService.java | 1598 || (profile.profileGroupId == userId in getProfilesWithSameLockScreen()
|
/aosp12/frameworks/base/core/api/ |
H A D | test-lint-baseline.txt | 2416 MutableBareField: android.content.pm.UserInfo#profileGroupId: 2417 Bare field profileGroupId must be marked final, or moved behind accessors if mutable
|
H A D | test-current.txt | 916 field public int profileGroupId;
|
/aosp12/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
H A D | DevicePolicyManagerService.java | 10138 userIdToCheck = user.profileGroupId; 10195 userId = user.profileGroupId; 10284 userId = user.profileGroupId;
|