Home
last modified time | relevance | path

Searched refs:getAllSwitchableUsers (Results 1 – 12 of 12) sorted by relevance

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/users/
DUsersBasePreferenceControllerTest.java94 when(mCarUserManagerHelper.getAllSwitchableUsers()).thenReturn( in setUp()
141 when(mCarUserManagerHelper.getAllSwitchableUsers()).thenReturn( in refreshUi_userChange_updatesGroup()
189 when(mCarUserManagerHelper.getAllSwitchableUsers()).thenReturn( in onUsersUpdated_updatesGroup()
DUsersListPreferenceControllerTest.java76 when(mCarUserManagerHelper.getAllSwitchableUsers()).thenReturn( in setUp()
DUsersPreferenceProviderTest.java83 doReturn(users).when(mCarUserManagerHelper).getAllSwitchableUsers(); in setUp()
DUsersListFragmentTest.java164 when(mCarUserManagerHelper.getAllSwitchableUsers()).thenReturn(new ArrayList<UserInfo>()); in createUsersListFragment()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/system/
DMasterClearOtherUsersPresentPreferenceControllerTest.java76 when(mCarUserManagerHelper.getAllSwitchableUsers()).thenReturn(Collections.emptyList()); in refreshUi_noSwitchableUsers_hidesPreference()
85 when(mCarUserManagerHelper.getAllSwitchableUsers()).thenReturn( in refreshUi_switchableUsers_showsPreference()
DMasterClearFragmentTest.java76 when(mCarUserManagerHelper.getAllSwitchableUsers()).thenReturn(Collections.emptyList()); in setUp()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowCarUserManagerHelper.java77 protected List<UserInfo> getAllSwitchableUsers() { in getAllSwitchableUsers() method in ShadowCarUserManagerHelper
78 return sMockInstance.getAllSwitchableUsers(); in getAllSwitchableUsers()
/packages/services/Car/tests/robotests/src/com/android/car/users/
DCarUserManagerHelperRoboTest.java140 assertThat(mHelper.getAllSwitchableUsers()).hasSize(3); in testGetAllUsersExceptForegroundUser()
141 assertThat(mHelper.getAllSwitchableUsers()) in testGetAllUsersExceptForegroundUser()
/packages/apps/Car/Settings/src/com/android/car/settings/system/
DMasterClearOtherUsersPresentPreferenceController.java50 preference.setVisible(!mCarUserManagerHelper.getAllSwitchableUsers().isEmpty()); in updateState()
/packages/apps/Car/Settings/src/com/android/car/settings/users/
DUsersPreferenceProvider.java95 List<UserInfo> infos = mCarUserManagerHelper.getAllSwitchableUsers(); in createUserList()
/packages/services/Car/user/car-user-lib/src/android/car/userlib/
DCarUserManagerHelper.java350 public List<UserInfo> getAllSwitchableUsers() { in getAllSwitchableUsers() method in CarUserManagerHelper
/packages/services/Car/tests/carservice_unit_test/src/android/car/userlib/
DCarUserManagerHelperTest.java159 assertThat(mCarUserManagerHelper.getAllSwitchableUsers()).containsExactly(user1, user2); in testGetAllSwitchableUsers()