Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/content/pm/
DUserInfo.java143 public int profileGroupId; field in UserInfo
177 this.profileGroupId = NO_PROFILE_GROUP_ID; in UserInfo()
305 profileGroupId = orig.profileGroupId; in UserInfo()
352 dest.writeInt(profileGroupId); in writeToParcel()
380 profileGroupId = source.readInt(); in UserInfo()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DMockSystemServices.java203 public File addUser(int userId, int flags, int profileGroupId) { in addUser() argument
206 uh.profileGroupId = profileGroupId; in addUser()
223 return ui == null ? null : getUserInfo(ui.profileGroupId); in addUser()
286 || ui.profileGroupId != UserInfo.NO_PROFILE_GROUP_ID in getProfiles()
287 && ui.profileGroupId == parent.profileGroupId) { in getProfiles()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerServiceUserInfoTest.java130 user.profileGroupId = 45; in createUser()
144 assertEquals("profile group not preserved", one.profileGroupId, in assertUserInfoEquals()
145 two.profileGroupId); in assertUserInfoEquals()
DUserManagerServiceCreateProfileTest.java223 user.profileGroupId = user.id; in addProfile()
230 profile.profileGroupId = user.id; in addProfile()
DBaseShortcutManagerTest.java820 if (ui.profileGroupId == UserInfo.NO_PROFILE_GROUP_ID) { in setUp()
823 final UserInfo parent = mUserInfos.get(ui.profileGroupId); in setUp()
841 if (targetUserInfo.profileGroupId != UserInfo.NO_PROFILE_GROUP_ID in setUp()
842 && targetUserInfo.profileGroupId == callingUserInfo.profileGroupId) { in setUp()
954 in.profileGroupId = groupId; in withProfileGroupId()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java822 if (userInfo == null || userInfo.profileGroupId == UserInfo.NO_PROFILE_GROUP_ID) { in isSameProfileGroupNoChecks()
827 || otherUserInfo.profileGroupId == UserInfo.NO_PROFILE_GROUP_ID) { in isSameProfileGroupNoChecks()
830 return userInfo.profileGroupId == otherUserInfo.profileGroupId; in isSameProfileGroupNoChecks()
854 int parentUserId = profile.profileGroupId; in getProfileParentLU()
864 (user.profileGroupId != UserInfo.NO_PROFILE_GROUP_ID in isProfileOf()
865 && user.profileGroupId == profile.profileGroupId); in isProfileOf()
1417 final int callingGroupId = getUserInfoNoChecks(callingUserId).profileGroupId; in getUserIcon()
1418 final int targetGroupId = targetUserInfo.profileGroupId; in getUserIcon()
2388 if (userInfo.profileGroupId != UserInfo.NO_PROFILE_GROUP_ID) { in writeUserLP()
2390 Integer.toString(userInfo.profileGroupId)); in writeUserLP()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DBaseLockSettingsServiceTests.java186 userInfo.profileGroupId = PRIMARY_USER_ID; in installChildProfile()
/frameworks/base/services/core/java/com/android/server/am/
DUserController.java1814 if (user.profileGroupId != UserInfo.NO_PROFILE_GROUP_ID) {
1815 mUserProfileGroupIds.put(user.id, user.profileGroupId);
/frameworks/base/tests/net/java/com/android/server/connectivity/
DVpnTest.java133 managedProfileA.profileGroupId = primaryUser.id;
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionService.java394 mFullUserIds.put(userInfo.id, userInfo.profileGroupId); in updateUser()
/frameworks/base/services/core/java/com/android/server/locksettings/
DLockSettingsService.java1453 || (profile.profileGroupId == userId in getProfilesWithSameLockScreen()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java9209 userIdToCheck = user.profileGroupId; in checkPackagesInPermittedListOrSystem()
9256 userId = user.profileGroupId; in setPermittedAccessibilityServices()
9345 userId = user.profileGroupId; in getPermittedAccessibilityServicesForUser()
9408 if (callingUser.isManagedProfile() && callingUser.profileGroupId != currentUser.id) { in checkCallerIsCurrentUserOrProfile()