Home
last modified time | relevance | path

Searched refs:getAllSwitchableProfiles (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/system/
DFactoryResetOtherProfilesPresentPreferenceControllerTest.java91 when(mProfileHelper.getAllSwitchableProfiles()).thenReturn(Collections.emptyList()); in onCreate_noSwitchableUsers_hidesPreference()
100 when(mProfileHelper.getAllSwitchableProfiles()).thenReturn( in onCreate_switchableUsers_showsPreference()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/profiles/
DProfilesBasePreferenceControllerTest.java106 when(mProfileHelper.getAllSwitchableProfiles()).thenReturn( in setUp()
173 when(mProfileHelper.getAllSwitchableProfiles()).thenReturn( in refreshUi_userChange_updatesGroup()
222 when(mProfileHelper.getAllSwitchableProfiles()).thenReturn( in onUsersUpdated_updatesGroup()
DProfilesListPreferenceControllerTest.java100 when(mProfileHelper.getAllSwitchableProfiles()).thenReturn( in setUp()
/packages/apps/Car/Settings/src/com/android/car/settings/system/
DFactoryResetOtherProfilesPresentPreferenceController.java49 preference.setVisible(!profileHelper.getAllSwitchableProfiles().isEmpty()); in updateState()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowUserHelper.java60 return sInstance.getAllSwitchableProfiles(); in getAllSwitchableUsers()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/profiles/
DProfileHelperTest.java174 assertThat(mProfileHelper.getAllSwitchableProfiles()).containsExactly(user1, user2); in testGetAllSwitchableUsers()
193 assertThat(mProfileHelper.getAllSwitchableProfiles()).containsExactly(systemUser, user1, in testGetAllSwitchableUsers_notHeadless()
DProfilesPreferenceProviderTest.java88 when(mProfileHelper.getAllSwitchableProfiles()).thenReturn(users); in setUp()
/packages/apps/Car/Settings/src/com/android/car/settings/profiles/
DProfileHelper.java390 public List<UserInfo> getAllSwitchableProfiles() { in getAllSwitchableProfiles() method in ProfileHelper