Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/content/pm/
DUserInfo.java95 public static final int NO_PROFILE_GROUP_ID = UserHandle.USER_NULL; field in UserInfo
128 this.profileGroupId = NO_PROFILE_GROUP_ID; in UserInfo()
129 this.restrictedProfileParentId = NO_PROFILE_GROUP_ID; in UserInfo()
/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()
722 if (parentUserId == userHandle || parentUserId == UserInfo.NO_PROFILE_GROUP_ID) { in getProfileParentLU()
731 (user.profileGroupId != UserInfo.NO_PROFILE_GROUP_ID in isProfileOf()
1110 final boolean sameGroup = (callingGroupId != UserInfo.NO_PROFILE_GROUP_ID in getUserIcon()
1895 == UserInfo.NO_PROFILE_GROUP_ID)) { in upgradeIfNecessaryLP()
2042 if (userInfo.profileGroupId != UserInfo.NO_PROFILE_GROUP_ID) { in writeUserLP()
2048 if (userInfo.restrictedProfileParentId != UserInfo.NO_PROFILE_GROUP_ID) { in writeUserLP()
2183 int profileGroupId = UserInfo.NO_PROFILE_GROUP_ID; in readUserLP()
2185 int restrictedProfileParentId = UserInfo.NO_PROFILE_GROUP_ID; in readUserLP()
[all …]
DLauncherAppsService.java251 || targetUserInfo.profileGroupId == UserInfo.NO_PROFILE_GROUP_ID in canAccessProfile()
700 || userInfo.profileGroupId == UserInfo.NO_PROFILE_GROUP_ID in isEnabledProfileOf()
/frameworks/base/services/core/java/com/android/server/am/
DUserController.java700 UserInfo.NO_PROFILE_GROUP_ID);
706 UserInfo.NO_PROFILE_GROUP_ID);
707 boolean sameGroup = (userGroupId != UserInfo.NO_PROFILE_GROUP_ID)
1438 if (user.profileGroupId != UserInfo.NO_PROFILE_GROUP_ID) {
1572 UserInfo.NO_PROFILE_GROUP_ID);
1574 UserInfo.NO_PROFILE_GROUP_ID);
1575 return callingProfile != UserInfo.NO_PROFILE_GROUP_ID
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDpmMockContext.java429 return addUser(userId, flags, UserInfo.NO_PROFILE_GROUP_ID); in addUser()
517 || ui.profileGroupId != UserInfo.NO_PROFILE_GROUP_ID in getProfiles()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DBaseShortcutManagerTest.java788 if (ui.profileGroupId == UserInfo.NO_PROFILE_GROUP_ID) { in setUp()