Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/content/pm/
DUserInfo.java110 public int profileGroupId; field in UserInfo
128 this.profileGroupId = NO_PROFILE_GROUP_ID; in UserInfo()
235 profileGroupId = orig.profileGroupId; in UserInfo()
264 dest.writeInt(profileGroupId); in writeToParcel()
290 profileGroupId = source.readInt(); in UserInfo()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerServiceUserInfoTest.java129 user.profileGroupId = 45; in createUser()
142 assertEquals("profile group not preserved", one.profileGroupId, in assertUserInfoEquals()
143 two.profileGroupId); in assertUserInfoEquals()
DUserManagerServiceCreateProfileTest.java222 user.profileGroupId = user.id; in addProfile()
229 profile.profileGroupId = user.id; in addProfile()
DBaseShortcutManagerTest.java788 if (ui.profileGroupId == UserInfo.NO_PROFILE_GROUP_ID) { in setUp()
791 final UserInfo parent = mUserInfos.get(ui.profileGroupId); in setUp()
902 in.profileGroupId = groupId; in withProfileGroupId()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDpmMockContext.java432 public File addUser(int userId, int flags, int profileGroupId) { in addUser() argument
435 uh.profileGroupId = profileGroupId; in addUser()
517 || ui.profileGroupId != UserInfo.NO_PROFILE_GROUP_ID in getProfiles()
518 && ui.profileGroupId == parent.profileGroupId) { in getProfiles()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java696 if (userInfo == null || userInfo.profileGroupId == UserInfo.NO_PROFILE_GROUP_ID) { in isSameProfileGroupNoChecks()
701 || otherUserInfo.profileGroupId == UserInfo.NO_PROFILE_GROUP_ID) { in isSameProfileGroupNoChecks()
704 return userInfo.profileGroupId == otherUserInfo.profileGroupId; in isSameProfileGroupNoChecks()
721 int parentUserId = profile.profileGroupId; in getProfileParentLU()
731 (user.profileGroupId != UserInfo.NO_PROFILE_GROUP_ID in isProfileOf()
732 && user.profileGroupId == profile.profileGroupId); in isProfileOf()
1108 final int callingGroupId = getUserInfoNoChecks(callingUserId).profileGroupId; in getUserIcon()
1109 final int targetGroupId = targetUserInfo.profileGroupId; in getUserIcon()
2042 if (userInfo.profileGroupId != UserInfo.NO_PROFILE_GROUP_ID) { in writeUserLP()
2044 Integer.toString(userInfo.profileGroupId)); in writeUserLP()
[all …]
DLauncherAppsService.java251 || targetUserInfo.profileGroupId == UserInfo.NO_PROFILE_GROUP_ID in canAccessProfile()
252 || targetUserInfo.profileGroupId != callingUserInfo.profileGroupId) { in canAccessProfile()
700 || userInfo.profileGroupId == UserInfo.NO_PROFILE_GROUP_ID in isEnabledProfileOf()
701 || userInfo.profileGroupId != listeningUserInfo.profileGroupId in isEnabledProfileOf()
/frameworks/base/tests/net/java/com/android/server/connectivity/
DVpnTest.java71 managedProfileA.profileGroupId = primaryUser.id;
/frameworks/base/services/core/java/com/android/server/am/
DUserController.java1438 if (user.profileGroupId != UserInfo.NO_PROFILE_GROUP_ID) {
1439 mUserProfileGroupIdsSelfLocked.put(user.id, user.profileGroupId);
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionService.java330 mFullUserIds.put(userInfo.id, userInfo.profileGroupId); in updateUser()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java7667 userIdToCheck = user.profileGroupId; in checkPackagesInPermittedListOrSystem()
7714 userId = user.profileGroupId; in setPermittedAccessibilityServices()
7795 userId = user.profileGroupId; in getPermittedAccessibilityServicesForUser()
7858 if (callingUser.isManagedProfile() && callingUser.profileGroupId != currentUser.id) { in checkCallerIsCurrentUserOrProfile()