Searched refs:mAliveUsers (Results 1 – 2 of 2) sorted by relevance
92 private List<UserInfo> mAliveUsers = new ArrayList<>(); field in ProfileSwitcherTest115 when(mUserManager.getAliveUsers()).thenReturn(mAliveUsers); in setUp()150 mAliveUsers.add(user1); in setUpLogout()151 mAliveUsers.add(user2); in setUpLogout()179 .thenReturn(mAliveUsers.get(0)); in logoutAllowed_managedDevice_switchDisallowed()185 assertThat(rows.get(1).getTitle()).isEqualTo(mAliveUsers.get(0).name); in logoutAllowed_managedDevice_switchDisallowed()194 mAliveUsers.add(currentUser); in switchNotAllowed_returnsOnlyCurrentUser()197 mAliveUsers.add(otherUser); in switchNotAllowed_returnsOnlyCurrentUser()207 mAliveUsers.add(user1); in switchAllowed_usersSwitchable_returnsAllRows()208 mAliveUsers.add(user2); in switchAllowed_usersSwitchable_returnsAllRows()[all …]
84 private List<UserInfo> mAliveUsers = new ArrayList<UserInfo>(); field in UserPickerControllerTest97 mAliveUsers.clear(); in setUp()98 doReturn(mAliveUsers).when(mMockUserEventManager).getAliveUsers(); in setUp()110 mAliveUsers.add(mDriverUserInfo); in displaySetup()115 mAliveUsers.add(mFrontUserInfo); in displaySetup()129 mAliveUsers.add(mRearUserInfo); in displaySetup()