Home
last modified time | relevance | path

Searched refs:assignUserToDisplayOnStart (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DUserVisibilityMediatorTestCase.java151 .assignUserToDisplayOnStart(USER_NULL, USER_ID, FG, DEFAULT_DISPLAY, false)); in testAssignUserToDisplayOnStart_invalidUserIds()
153 .assignUserToDisplayOnStart(USER_ALL, USER_ID, FG, DEFAULT_DISPLAY, false)); in testAssignUserToDisplayOnStart_invalidUserIds()
155 .assignUserToDisplayOnStart(USER_CURRENT, USER_ID, FG, DEFAULT_DISPLAY, false)); in testAssignUserToDisplayOnStart_invalidUserIds()
157 .assignUserToDisplayOnStart(USER_CURRENT_OR_SELF, USER_ID, FG, DEFAULT_DISPLAY, in testAssignUserToDisplayOnStart_invalidUserIds()
164 .assignUserToDisplayOnStart(USER_ID, USER_ID, 666, DEFAULT_DISPLAY, false)); in testAssignUserToDisplayOnStart_invalidUserStartMode()
171 int result = mMediator.assignUserToDisplayOnStart(USER_ID, USER_ID, FG, in testStartFgUser_onSecondaryDisplay()
186 int result = mMediator.assignUserToDisplayOnStart(USER_ID, USER_ID, BG, DEFAULT_DISPLAY, in testStartBgUser_onDefaultDisplay()
203 int result = mMediator.assignUserToDisplayOnStart(USER_ID, USER_ID, BG_VISIBLE, in visibleBgUserCannotBeStartedOnDefaultDisplayTest()
219 int result = mMediator.assignUserToDisplayOnStart(USER_ID, USER_ID, BG, in testStartBgUser_onSecondaryDisplay()
240 int result = mMediator.assignUserToDisplayOnStart(USER_SYSTEM, USER_SYSTEM, BG, in testStartBgSystemUser_onSecondaryDisplay()
[all …]
DUserVisibilityMediatorVisibleBackgroundUserTestCase.java53 int result = mMediator.assignUserToDisplayOnStart(USER_ID, USER_ID, FG, in testStartFgUser_onDefaultDisplay()
87 int result = mMediator.assignUserToDisplayOnStart(currentUserId, currentUserId, FG, in testSwitchFgUser_onDefaultDisplay()
115 int result = mMediator.assignUserToDisplayOnStart(USER_ID, USER_ID, FG, INVALID_DISPLAY, in testStartFgUser_onInvalidDisplay()
130 int result = mMediator.assignUserToDisplayOnStart(USER_ID, USER_ID, BG_VISIBLE, in testStartVisibleBgUser_onInvalidDisplay()
148 int result = mMediator.assignUserToDisplayOnStart(USER_ID, USER_ID, BG_VISIBLE, in testStartVisibleBgUser_onSecondaryDisplay_displayAvailable()
185 int result = mMediator.assignUserToDisplayOnStart(USER_ID, USER_ID, BG_VISIBLE, in testVisibilityOfCurrentUserAndProfilesOnDisplayAssignedToAnotherUser()
199 int result = mMediator.assignUserToDisplayOnStart(USER_ID, USER_ID, BG_VISIBLE, in testStartVisibleBgUser_onSecondaryDisplay_displayAlreadyAssigned()
227 int result = mMediator.assignUserToDisplayOnStart(USER_ID, USER_ID, BG_VISIBLE, in testStartVisibleBgUser_onSecondaryDisplay_displayAlreadyAssignedToSameUser()
250 int result = mMediator.assignUserToDisplayOnStart(USER_ID, USER_ID, BG_VISIBLE, in testStartVisibleBgUser_onSecondaryDisplay_userAlreadyAssigned()
287 int result = mMediator.assignUserToDisplayOnStart(PROFILE_USER_ID, PARENT_USER_ID, in testStartVisibleBgProfile_onDefaultDisplay_whenParentIsCurrentUser()
[all …]
DUserVisibilityMediatorMUPANDTest.java57 int result = mMediator.assignUserToDisplayOnStart(visibleBgUserId, visibleBgUserId, in testStartVisibleBgUser_onDefaultDisplay_initialCurrentUserId()
78 int result2 = mMediator.assignUserToDisplayOnStart(otherUserId, otherUserId, BG_VISIBLE, in testStartVisibleBgUser_onDefaultDisplay_initialCurrentUserId()
101 int result = mMediator.assignUserToDisplayOnStart(visibleBgUserId, visibleBgUserId, in testStartVisibleBgUser_onDefaultDisplay_nonInitialCurrentUserId()
122 int result2 = mMediator.assignUserToDisplayOnStart(otherUserId, otherUserId, BG_VISIBLE, in testStartVisibleBgUser_onDefaultDisplay_nonInitialCurrentUserId()
139 int result = mMediator.assignUserToDisplayOnStart(PROFILE_USER_ID, PARENT_USER_ID, in testStartVisibleBgProfile_onDefaultDisplay_whenParentIsStartedVisibleOnBgOnSecondaryDisplay()
161 int result = mMediator.assignUserToDisplayOnStart(PROFILE_USER_ID, PARENT_USER_ID, in testStartVisibleBgProfile_onDefaultDisplay_whenParentIsStartedVisibleOnBgOnDefaultDisplay()
190 int result = mMediator.assignUserToDisplayOnStart(PROFILE_USER_ID, PARENT_USER_ID, BG, in testStartBgProfile_onDefaultDisplay_whenParentIsStartedVisibleOnBg()
215 int result = mMediator.assignUserToDisplayOnStart(currentUserId, currentUserId, in testStartVisibleBgUser_onDefaultDisplay_currentUserId()
DUserVisibilityMediatorSUSDTest.java57 int result = mMediator.assignUserToDisplayOnStart(USER_ID, USER_ID, FG, in testStartFgUser_onDefaultDisplay()
89 int result = mMediator.assignUserToDisplayOnStart(currentUserId, currentUserId, FG, in testSwitchFgUser_onDefaultDisplay()
125 int result = mMediator.assignUserToDisplayOnStart(PROFILE_USER_ID, PARENT_USER_ID, in testStartVisibleBgProfile_onDefaultDisplay_whenParentIsCurrentUser()
146 int result = mMediator.assignUserToDisplayOnStart(USER_ID, USER_ID, BG_VISIBLE, in testStartVisibleBgUser_onSecondaryDisplay()
163 int result = mMediator.assignUserToDisplayOnStart(PROFILE_USER_ID, in testStartVisibleBgProfile_communalProfile()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerInternal.java447 public abstract @UserAssignmentResult int assignUserToDisplayOnStart(@UserIdInt int userId, in assignUserToDisplayOnStart() method in UserManagerInternal
DUserVisibilityMediator.java233 public @UserAssignmentResult int assignUserToDisplayOnStart(@UserIdInt int userId, in assignUserToDisplayOnStart() method in UserVisibilityMediator
DUserManagerService.java7819 public int assignUserToDisplayOnStart(@UserIdInt int userId,
7825 return mUserVisibilityMediator.assignUserToDisplayOnStart(userId, profileGroupId,
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DUserControllerTest.java219 .assignUserToDisplayOnStart(anyInt(), anyInt(), anyInt(), anyInt()); in setUp()
306 .assignUserToDisplayOnStart(eq(TEST_USER_ID), anyInt(), in testStartUser_displayAssignmentFailed()
1602 verify(mInjector.getUserManagerInternal()).assignUserToDisplayOnStart(eq(userId), anyInt(), in verifyUserAssignedToDisplay()
1607 verify(mInjector.getUserManagerInternal(), never()).assignUserToDisplayOnStart(anyInt(), in verifyUserNeverAssignedToDisplay()
/frameworks/base/services/core/java/com/android/server/am/
DUserController.java1865 int result = mInjector.getUserManagerInternal().assignUserToDisplayOnStart(userId,