Home
last modified time | relevance | path

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

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DUserVisibilityMediatorVisibleBackgroundUserTestCase.java28 import static com.android.server.pm.UserVisibilityMediator.INITIAL_CURRENT_USER_ID;
50 onInvisible(INITIAL_CURRENT_USER_ID), in testStartFgUser_onDefaultDisplay()
81 onInvisible(INITIAL_CURRENT_USER_ID), in testSwitchFgUser_onDefaultDisplay()
157 expectVisibleUsers(INITIAL_CURRENT_USER_ID, USER_ID); in testStartVisibleBgUser_onSecondaryDisplay_displayAvailable()
222 expectVisibleUsers(INITIAL_CURRENT_USER_ID, USER_ID); in testStartVisibleBgUser_onSecondaryDisplay_displayAlreadyAssignedToSameUser()
236 expectVisibleUsers(INITIAL_CURRENT_USER_ID, USER_ID); in testStartVisibleBgUser_onSecondaryDisplay_displayAlreadyAssignedToSameUser()
259 expectVisibleUsers(INITIAL_CURRENT_USER_ID, USER_ID); in testStartVisibleBgUser_onSecondaryDisplay_userAlreadyAssigned()
282 onInvisible(INITIAL_CURRENT_USER_ID), in testStartVisibleBgProfile_onDefaultDisplay_whenParentIsCurrentUser()
385 currentUserVisibilityWhenNoDisplayIsAssignedTest(INITIAL_CURRENT_USER_ID); in testCurrentUserVisibilityWhenNoDisplayIsAssigned_onBoot()
394 expectUserIsNotVisibleAtAll(INITIAL_CURRENT_USER_ID); in testCurrentUserVisibilityWhenNoDisplayIsAssigned_afterSwitch()
[all …]
DUserVisibilityMediatorSUSDTest.java26 import static com.android.server.pm.UserVisibilityMediator.INITIAL_CURRENT_USER_ID;
54 onInvisible(INITIAL_CURRENT_USER_ID), in testStartFgUser_onDefaultDisplay()
83 onInvisible(INITIAL_CURRENT_USER_ID), in testSwitchFgUser_onDefaultDisplay()
120 onInvisible(INITIAL_CURRENT_USER_ID), in testStartVisibleBgProfile_onDefaultDisplay_whenParentIsCurrentUser()
174 expectVisibleUsers(INITIAL_CURRENT_USER_ID, PROFILE_USER_ID); in testStartVisibleBgProfile_communalProfile()
DUserVisibilityMediatorMUPANDTest.java28 import static com.android.server.pm.UserVisibilityMediator.INITIAL_CURRENT_USER_ID;
51 int currentUserId = INITIAL_CURRENT_USER_ID; in testStartVisibleBgUser_onDefaultDisplay_initialCurrentUserId()
96 onInvisible(INITIAL_CURRENT_USER_ID), in testStartVisibleBgUser_onDefaultDisplay_nonInitialCurrentUserId()
211 int currentUserId = INITIAL_CURRENT_USER_ID; in testStartVisibleBgUser_onDefaultDisplay_currentUserId()
DUserVisibilityMediatorTestCase.java35 import static com.android.server.pm.UserVisibilityMediator.INITIAL_CURRENT_USER_ID;
235 onInvisible(INITIAL_CURRENT_USER_ID), in testStartBgSystemUser_onSecondaryDisplay()
258 onInvisible(INITIAL_CURRENT_USER_ID), in testStopVisibleBgProfile()
277 onInvisible(INITIAL_CURRENT_USER_ID), in testVisibleBgProfileBecomesInvisibleWhenParentIsSwitchedOut()
722 .isEqualTo(INITIAL_CURRENT_USER_ID); in expectInitialCurrentUserAssignedToDisplay()
/frameworks/base/services/core/java/com/android/server/pm/
DUserVisibilityMediator.java133 static final int INITIAL_CURRENT_USER_ID = USER_SYSTEM; field in UserVisibilityMediator
142 private int mCurrentUserId = INITIAL_CURRENT_USER_ID;
223 mStartedVisibleProfileGroupIds.put(INITIAL_CURRENT_USER_ID, INITIAL_CURRENT_USER_ID); in UserVisibilityMediator()