Searched refs:getAllSwitchableUsers (Results 1 – 12 of 12) sorted by relevance
94 when(mCarUserManagerHelper.getAllSwitchableUsers()).thenReturn( in setUp()141 when(mCarUserManagerHelper.getAllSwitchableUsers()).thenReturn( in refreshUi_userChange_updatesGroup()189 when(mCarUserManagerHelper.getAllSwitchableUsers()).thenReturn( in onUsersUpdated_updatesGroup()
76 when(mCarUserManagerHelper.getAllSwitchableUsers()).thenReturn( in setUp()
83 doReturn(users).when(mCarUserManagerHelper).getAllSwitchableUsers(); in setUp()
164 when(mCarUserManagerHelper.getAllSwitchableUsers()).thenReturn(new ArrayList<UserInfo>()); in createUsersListFragment()
76 when(mCarUserManagerHelper.getAllSwitchableUsers()).thenReturn(Collections.emptyList()); in refreshUi_noSwitchableUsers_hidesPreference()85 when(mCarUserManagerHelper.getAllSwitchableUsers()).thenReturn( in refreshUi_switchableUsers_showsPreference()
76 when(mCarUserManagerHelper.getAllSwitchableUsers()).thenReturn(Collections.emptyList()); in setUp()
77 protected List<UserInfo> getAllSwitchableUsers() { in getAllSwitchableUsers() method in ShadowCarUserManagerHelper78 return sMockInstance.getAllSwitchableUsers(); in getAllSwitchableUsers()
140 assertThat(mHelper.getAllSwitchableUsers()).hasSize(3); in testGetAllUsersExceptForegroundUser()141 assertThat(mHelper.getAllSwitchableUsers()) in testGetAllUsersExceptForegroundUser()
50 preference.setVisible(!mCarUserManagerHelper.getAllSwitchableUsers().isEmpty()); in updateState()
95 List<UserInfo> infos = mCarUserManagerHelper.getAllSwitchableUsers(); in createUserList()
350 public List<UserInfo> getAllSwitchableUsers() { in getAllSwitchableUsers() method in CarUserManagerHelper
159 assertThat(mCarUserManagerHelper.getAllSwitchableUsers()).containsExactly(user1, user2); in testGetAllSwitchableUsers()