Searched refs:getAllSwitchableProfiles (Results 1 – 8 of 8) sorted by relevance
91 when(mProfileHelper.getAllSwitchableProfiles()).thenReturn(Collections.emptyList()); in onCreate_noSwitchableUsers_hidesPreference()100 when(mProfileHelper.getAllSwitchableProfiles()).thenReturn( in onCreate_switchableUsers_showsPreference()
106 when(mProfileHelper.getAllSwitchableProfiles()).thenReturn( in setUp()173 when(mProfileHelper.getAllSwitchableProfiles()).thenReturn( in refreshUi_userChange_updatesGroup()222 when(mProfileHelper.getAllSwitchableProfiles()).thenReturn( in onUsersUpdated_updatesGroup()
100 when(mProfileHelper.getAllSwitchableProfiles()).thenReturn( in setUp()
49 preference.setVisible(!profileHelper.getAllSwitchableProfiles().isEmpty()); in updateState()
60 return sInstance.getAllSwitchableProfiles(); in getAllSwitchableUsers()
174 assertThat(mProfileHelper.getAllSwitchableProfiles()).containsExactly(user1, user2); in testGetAllSwitchableUsers()193 assertThat(mProfileHelper.getAllSwitchableProfiles()).containsExactly(systemUser, user1, in testGetAllSwitchableUsers_notHeadless()
88 when(mProfileHelper.getAllSwitchableProfiles()).thenReturn(users); in setUp()
390 public List<UserInfo> getAllSwitchableProfiles() { in getAllSwitchableProfiles() method in ProfileHelper