Home
last modified time | relevance | path

Searched refs:NO_PROFILE_GROUP_ID (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/java/android/content/pm/
DUserInfo.java97 public static final int NO_PROFILE_GROUP_ID = UserHandle.USER_NULL; field in UserInfo
142 this.profileGroupId = NO_PROFILE_GROUP_ID; in UserInfo()
143 this.restrictedProfileParentId = NO_PROFILE_GROUP_ID; in UserInfo()
/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()
810 if (parentUserId == userHandle || parentUserId == UserInfo.NO_PROFILE_GROUP_ID) { in getProfileParentLU()
819 (user.profileGroupId != UserInfo.NO_PROFILE_GROUP_ID in isProfileOf()
1360 final boolean sameGroup = (callingGroupId != UserInfo.NO_PROFILE_GROUP_ID in getUserIcon()
2178 == UserInfo.NO_PROFILE_GROUP_ID)) { in upgradeIfNecessaryLP()
2326 if (userInfo.profileGroupId != UserInfo.NO_PROFILE_GROUP_ID) { in writeUserLP()
2332 if (userInfo.restrictedProfileParentId != UserInfo.NO_PROFILE_GROUP_ID) { in writeUserLP()
2475 int profileGroupId = UserInfo.NO_PROFILE_GROUP_ID; in readUserLP()
2477 int restrictedProfileParentId = UserInfo.NO_PROFILE_GROUP_ID; in readUserLP()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DUserController.java885 int userGroupId = mUserProfileGroupIds.get(userId, UserInfo.NO_PROFILE_GROUP_ID);
891 UserInfo.NO_PROFILE_GROUP_ID);
892 boolean sameGroup = (userGroupId != UserInfo.NO_PROFILE_GROUP_ID)
1769 if (user.profileGroupId != UserInfo.NO_PROFILE_GROUP_ID) {
1952 UserInfo.NO_PROFILE_GROUP_ID);
1954 UserInfo.NO_PROFILE_GROUP_ID);
1955 return callingProfile != UserInfo.NO_PROFILE_GROUP_ID
1965 final int parentUserId = mUserProfileGroupIds.get(userId, UserInfo.NO_PROFILE_GROUP_ID);
1966 if (parentUserId == UserInfo.NO_PROFILE_GROUP_ID) {
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DMockSystemServices.java200 return addUser(userId, flags, UserInfo.NO_PROFILE_GROUP_ID); in addUser()
286 || ui.profileGroupId != UserInfo.NO_PROFILE_GROUP_ID in getProfiles()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DBaseShortcutManagerTest.java820 if (ui.profileGroupId == UserInfo.NO_PROFILE_GROUP_ID) { in setUp()
841 if (targetUserInfo.profileGroupId != UserInfo.NO_PROFILE_GROUP_ID in setUp()