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.java120 public int profileGroupId; field in UserInfo
142 this.profileGroupId = NO_PROFILE_GROUP_ID; in UserInfo()
255 profileGroupId = orig.profileGroupId; in UserInfo()
285 dest.writeInt(profileGroupId); in writeToParcel()
312 profileGroupId = source.readInt(); in UserInfo()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerServiceUserInfoTest.java130 user.profileGroupId = 45; in createUser()
143 assertEquals("profile group not preserved", one.profileGroupId, in assertUserInfoEquals()
144 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/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/core/java/com/android/server/pm/
DUserManagerService.java777 if (userInfo == null || userInfo.profileGroupId == UserInfo.NO_PROFILE_GROUP_ID) { in isSameProfileGroupNoChecks()
782 || otherUserInfo.profileGroupId == UserInfo.NO_PROFILE_GROUP_ID) { in isSameProfileGroupNoChecks()
785 return userInfo.profileGroupId == otherUserInfo.profileGroupId; in isSameProfileGroupNoChecks()
809 int parentUserId = profile.profileGroupId; in getProfileParentLU()
819 (user.profileGroupId != UserInfo.NO_PROFILE_GROUP_ID in isProfileOf()
820 && user.profileGroupId == profile.profileGroupId); in isProfileOf()
1358 final int callingGroupId = getUserInfoNoChecks(callingUserId).profileGroupId; in getUserIcon()
1359 final int targetGroupId = targetUserInfo.profileGroupId; in getUserIcon()
2326 if (userInfo.profileGroupId != UserInfo.NO_PROFILE_GROUP_ID) { in writeUserLP()
2328 Integer.toString(userInfo.profileGroupId)); in writeUserLP()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DBaseLockSettingsServiceTests.java181 userInfo.profileGroupId = PRIMARY_USER_ID; in installChildProfile()
/frameworks/base/tests/net/java/com/android/server/connectivity/
DVpnTest.java124 managedProfileA.profileGroupId = primaryUser.id;
/frameworks/base/services/core/java/com/android/server/am/
DUserController.java1769 if (user.profileGroupId != UserInfo.NO_PROFILE_GROUP_ID) {
1770 mUserProfileGroupIds.put(user.id, user.profileGroupId);
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionService.java392 mFullUserIds.put(userInfo.id, userInfo.profileGroupId); in updateUser()
/frameworks/base/services/core/java/com/android/server/locksettings/
DLockSettingsService.java1402 || (profile.profileGroupId == userId in getProfilesWithSameLockScreen()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java9200 userIdToCheck = user.profileGroupId; in checkPackagesInPermittedListOrSystem()
9247 userId = user.profileGroupId; in setPermittedAccessibilityServices()
9336 userId = user.profileGroupId; in getPermittedAccessibilityServicesForUser()
9399 if (callingUser.isManagedProfile() && callingUser.profileGroupId != currentUser.id) { in checkCallerIsCurrentUserOrProfile()