Searched refs:NO_PROFILE_GROUP_ID (Results 1 – 13 of 13) sorted by relevance
/frameworks/base/core/java/android/content/pm/ |
D | UserInfo.java | 224 public static final int NO_PROFILE_GROUP_ID = UserHandle.USER_NULL; field in UserInfo 321 this.profileGroupId = NO_PROFILE_GROUP_ID; in UserInfo() 322 this.restrictedProfileParentId = NO_PROFILE_GROUP_ID; in UserInfo()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserVisibilityMediator.java | 18 import static android.content.pm.UserInfo.NO_PROFILE_GROUP_ID; 350 return unResolvedProfileGroupId == NO_PROFILE_GROUP_ID in resolveProfileGroupId() 709 profileGroupId = mStartedVisibleProfileGroupIds.get(userId, NO_PROFILE_GROUP_ID); in isUserVisible() 790 profileGroupId = mStartedVisibleProfileGroupIds.get(userId, NO_PROFILE_GROUP_ID); in isUserVisible() 1139 return profileGroupId != NO_PROFILE_GROUP_ID && profileGroupId != userId; in isProfile() 1170 int profileGroupId = mStartedVisibleProfileGroupIds.get(userId, NO_PROFILE_GROUP_ID); in isCurrentUserOrRunningProfileOfCurrentUser() 1178 int profileGroupId = mStartedVisibleProfileGroupIds.get(userId, NO_PROFILE_GROUP_ID); in isStartedVisibleProfileLocked()
|
D | UserManagerService.java | 1600 if (userInfo == null || userInfo.profileGroupId == UserInfo.NO_PROFILE_GROUP_ID) { in isSameProfileGroupNoChecks() 1605 || otherUserInfo.profileGroupId == UserInfo.NO_PROFILE_GROUP_ID) { in isSameProfileGroupNoChecks() 1620 return (asker.profileGroupId != UserInfo.NO_PROFILE_GROUP_ID in isSameUserOrProfileGroupOrTargetIsCommunal() 1660 if (parentUserId == userId || parentUserId == UserInfo.NO_PROFILE_GROUP_ID) { in getProfileParentLU() 1669 (user.profileGroupId != UserInfo.NO_PROFILE_GROUP_ID in isProfileOf() 4410 == UserInfo.NO_PROFILE_GROUP_ID)) { in upgradeIfNecessaryLP() 4851 if (userInfo.profileGroupId != UserInfo.NO_PROFILE_GROUP_ID) { 4855 if (userInfo.restrictedProfileParentId != UserInfo.NO_PROFILE_GROUP_ID) { 5043 int profileGroupId = UserInfo.NO_PROFILE_GROUP_ID; 5045 int restrictedProfileParentId = UserInfo.NO_PROFILE_GROUP_ID; [all …]
|
D | UserManagerServiceShellCommand.java | 227 && user.profileGroupId != UserInfo.NO_PROFILE_GROUP_ID; in runList()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | UserController.java | 541 Integer parentIdObj = mUserProfileGroupIds.get(userId, UserInfo.NO_PROFILE_GROUP_ID); in addUserToUserLru() 542 if (parentIdObj != UserInfo.NO_PROFILE_GROUP_ID && !parentIdObj.equals(userIdObj) in addUserToUserLru() 1051 final int parentId = mUserProfileGroupIds.get(userId, UserInfo.NO_PROFILE_GROUP_ID); 1052 if (parentId != UserInfo.NO_PROFILE_GROUP_ID && parentId != userId) { 1534 int userGroupId = mUserProfileGroupIds.get(userId, UserInfo.NO_PROFILE_GROUP_ID); 1542 UserInfo.NO_PROFILE_GROUP_ID); 1543 boolean sameGroup = (userGroupId != UserInfo.NO_PROFILE_GROUP_ID) 2969 if (user.profileGroupId != UserInfo.NO_PROFILE_GROUP_ID) { 3208 UserInfo.NO_PROFILE_GROUP_ID); 3210 UserInfo.NO_PROFILE_GROUP_ID); [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | MockSystemServices.java | 277 return addUser(userId, flags, type, UserInfo.NO_PROFILE_GROUP_ID); in addUser() 376 || ui.profileGroupId != UserInfo.NO_PROFILE_GROUP_ID in getProfiles()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | RebootEscrowManagerTests.java | 22 import static android.content.pm.UserInfo.NO_PROFILE_GROUP_ID; 342 NONSECURE_SECONDARY_USER_ID, "non-secure", FLAG_FULL, NO_PROFILE_GROUP_ID)); in setUp_baseServices() 343 users.add(createUser(SECURE_SECONDARY_USER_ID, "secure", FLAG_FULL, NO_PROFILE_GROUP_ID)); in setUp_baseServices() 660 users.add(createUser(PRIMARY_USER_ID, "primary", FLAG_PRIMARY, NO_PROFILE_GROUP_ID)); in loadRebootEscrowDataIfAvailable_noDataSecondaryUser_Success()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
D | UserControllerTest.java | 823 setUpUser(BG_USER_ID, 0).profileGroupId = UserInfo.NO_PROFILE_GROUP_ID; in testStoppingExcessRunningUsersAfterSwitch_currentProfileNotStopped() 904 setUpUser(BG_USER_ID, 0).profileGroupId = UserInfo.NO_PROFILE_GROUP_ID; in testRunningUsersListOrder_parentAfterProfile()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | BaseShortcutManagerTest.java | 939 if (ui.profileGroupId == UserInfo.NO_PROFILE_GROUP_ID) { in setUp() 960 if (targetUserInfo.profileGroupId != UserInfo.NO_PROFILE_GROUP_ID in setUp()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/ |
D | JobConcurrencyManagerTest.java | 965 ui.profileGroupId = UserInfo.NO_PROFILE_GROUP_ID; in createNewUser()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/ |
D | JobConcurrencyManager.java | 2244 if (userInfo.profileGroupId != UserInfo.NO_PROFILE_GROUP_ID in shouldRunAsFgUserJob()
|
/frameworks/base/core/api/ |
D | test-current.txt | 1211 field public static final int NO_PROFILE_GROUP_ID = -10000; // 0xffffd8f0
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 13424 Landroid/content/pm/UserInfo;->NO_PROFILE_GROUP_ID:I
|