Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/content/pm/
DUserInfo.java105 public int profileGroupId; field in UserInfo
121 this.profileGroupId = NO_PROFILE_GROUP_ID; in UserInfo()
229 profileGroupId = orig.profileGroupId; in UserInfo()
257 dest.writeInt(profileGroupId); in writeToParcel()
282 profileGroupId = source.readInt(); in UserInfo()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java661 if (userInfo == null || userInfo.profileGroupId == UserInfo.NO_PROFILE_GROUP_ID) { in isSameProfileGroupNoChecks()
666 || otherUserInfo.profileGroupId == UserInfo.NO_PROFILE_GROUP_ID) { in isSameProfileGroupNoChecks()
669 return userInfo.profileGroupId == otherUserInfo.profileGroupId; in isSameProfileGroupNoChecks()
686 int parentUserId = profile.profileGroupId; in getProfileParentLU()
696 (user.profileGroupId != UserInfo.NO_PROFILE_GROUP_ID in isProfileOf()
697 && user.profileGroupId == profile.profileGroupId); in isProfileOf()
1038 final int callingGroupId = getUserInfoNoChecks(callingUserId).profileGroupId; in getUserIcon()
1039 final int targetGroupId = targetUserInfo.profileGroupId; in getUserIcon()
1911 if (userInfo.profileGroupId != UserInfo.NO_PROFILE_GROUP_ID) { in writeUserLP()
1913 Integer.toString(userInfo.profileGroupId)); in writeUserLP()
[all …]
DLauncherAppsService.java234 || targetUserInfo.profileGroupId == UserInfo.NO_PROFILE_GROUP_ID in ensureInUserProfiles()
235 || targetUserInfo.profileGroupId != callingUserInfo.profileGroupId) { in ensureInUserProfiles()
601 || userInfo.profileGroupId == UserInfo.NO_PROFILE_GROUP_ID in isEnabledProfileOf()
602 || userInfo.profileGroupId != listeningUserInfo.profileGroupId in isEnabledProfileOf()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDpmMockContext.java395 if (ui.profileGroupId != UserInfo.NO_PROFILE_GROUP_ID in getProfiles()
396 && ui.profileGroupId == parent.profileGroupId) { in getProfiles()
/frameworks/base/services/tests/servicestests/src/com/android/server/connectivity/
DVpnTest.java67 managedProfileA.profileGroupId = primaryUser.id;
/frameworks/base/services/core/java/com/android/server/am/
DUserController.java1393 if (user.profileGroupId != UserInfo.NO_PROFILE_GROUP_ID) { in updateCurrentProfileIdsLocked()
1394 mUserProfileGroupIdsSelfLocked.put(user.id, user.profileGroupId); in updateCurrentProfileIdsLocked()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DBaseShortcutManagerTest.java812 in.profileGroupId = groupId; in withProfileGroupId()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java7021 userIdToCheck = user.profileGroupId; in checkPackagesInPermittedListOrSystem()
7067 userId = user.profileGroupId; in setPermittedAccessibilityServices()
7148 userId = user.profileGroupId; in getPermittedAccessibilityServicesForUser()
7211 if (callingUser.isManagedProfile() && callingUser.profileGroupId != currentUser.id) { in checkCallerIsCurrentUserOrProfile()