Searched refs:OTHER_USER_ID (Results 1 – 5 of 5) sorted by relevance
110 private static final int OTHER_USER_ID = 666; field in UserManagerServiceTest226 mockCurrentAndTargetUser(USER_ID, OTHER_USER_ID); in testGetCurrentAndTargetUserIds()230 .isEqualTo(new Pair<>(USER_ID, OTHER_USER_ID)); in testGetCurrentAndTargetUserIds()251 mockCurrentUser(OTHER_USER_ID); in testIsCurrentUserOrRunningProfileOfCurrentUser_notCurrentUser()280 mockCurrentUser(OTHER_USER_ID); in testIsCurrentUserOrRunningProfileOfCurrentUser_profileOfNonCurrentUSer()325 addUser(OTHER_USER_ID); in testSetBootUser_SuppliedUserIsSwitchable()327 mUms.setBootUser(OTHER_USER_ID); in testSetBootUser_SuppliedUserIsSwitchable()330 .that(mUmi.getBootUser(/* waitUntilSet= */ false)).isEqualTo(OTHER_USER_ID); in testSetBootUser_SuppliedUserIsSwitchable()337 addUser(OTHER_USER_ID); in testSetBootUser_NotHeadless_SuppliedUserIsNotSwitchable()352 addUser(OTHER_USER_ID); in testSetBootUser_Headless_SuppliedUserIsNotSwitchable()[all …]
78 int previousCurrentUserId = OTHER_USER_ID; in testSwitchFgUser_onDefaultDisplay()196 AsyncUserVisibilityListener listener = addListenerForEvents(onVisible(OTHER_USER_ID)); in testStartVisibleBgUser_onSecondaryDisplay_displayAlreadyAssigned()197 startUserInSecondaryDisplay(OTHER_USER_ID, SECONDARY_DISPLAY_ID); in testStartVisibleBgUser_onSecondaryDisplay_displayAlreadyAssigned()205 expectUserAssignedToDisplay(SECONDARY_DISPLAY_ID, OTHER_USER_ID); in testStartVisibleBgUser_onSecondaryDisplay_displayAlreadyAssigned()
53 int otherUserId = OTHER_USER_ID; in testStartVisibleBgUser_onDefaultDisplay_initialCurrentUserId()91 int currentUserId = OTHER_USER_ID; in testStartVisibleBgUser_onDefaultDisplay_nonInitialCurrentUserId()
79 protected static final int OTHER_USER_ID = 666; field in UserVisibilityMediatorTestCase282 onVisible(OTHER_USER_ID)); in testVisibleBgProfileBecomesInvisibleWhenParentIsSwitchedOut()285 startForegroundUser(OTHER_USER_ID); in testVisibleBgProfileBecomesInvisibleWhenParentIsSwitchedOut()289 expectUserAssignedToDisplay(DEFAULT_DISPLAY, OTHER_USER_ID); in testVisibleBgProfileBecomesInvisibleWhenParentIsSwitchedOut()
80 int previousCurrentUserId = OTHER_USER_ID; in testSwitchFgUser_onDefaultDisplay()