Home
last modified time | relevance | path

Searched refs:mMediator (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DUserVisibilityMediatorTestCase.java120 protected UserVisibilityMediator mMediator; field in UserVisibilityMediatorTestCase
136 mMediator = new UserVisibilityMediator(mBackgroundUsersOnDisplaysEnabled, in setFixtures()
138 mDumpableDumperRule.addDumpable(mMediator); in setFixtures()
150 assertThrows(IllegalArgumentException.class, () -> mMediator in testAssignUserToDisplayOnStart_invalidUserIds()
152 assertThrows(IllegalArgumentException.class, () -> mMediator in testAssignUserToDisplayOnStart_invalidUserIds()
154 assertThrows(IllegalArgumentException.class, () -> mMediator in testAssignUserToDisplayOnStart_invalidUserIds()
156 assertThrows(IllegalArgumentException.class, () -> mMediator in testAssignUserToDisplayOnStart_invalidUserIds()
163 assertThrows(IllegalArgumentException.class, () -> mMediator 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()
[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()