Searched refs:getAllLivingProfiles (Results 1 – 8 of 8) sorted by relevance
383 return getAllLivingProfiles(/* filter= */ null); in getAllProfiles()392 return getAllLivingProfiles(userInfo -> userInfo.id != foregroundUserId); in getAllSwitchableProfiles()400 return getAllLivingProfiles(userInfo -> !userInfo.isEphemeral()); in getAllPersistentProfiles()408 return getAllLivingProfiles(userInfo -> (userInfo.isAdmin() && !userInfo.isEphemeral())); in getAllAdminProfiles()418 public List<UserInfo> getAllLivingProfiles(@Nullable Predicate<? super UserInfo> filter) { in getAllLivingProfiles() method in ProfileHelper
92 List<UserInfo> infos = ProfileHelper.getInstance(mContext).getAllLivingProfiles( in createProfileList()
240 return !mProfileHelper.getAllLivingProfiles( in areThereOtherProfiles()
165 when(mMockProfileHelper.getAllLivingProfiles(any())).thenReturn(otherUsers); in onStart_isAdminViewingSelf_manageOtherProfilesButtonShown()185 when(mMockProfileHelper.getAllLivingProfiles(any())).thenReturn(otherUsers); in onStart_isAdminViewingOther_manageOtherProfilesButtonHidden()202 when(mMockProfileHelper.getAllLivingProfiles(any())).thenReturn(otherUsers); in onStart_isNonAdmin_addAProfileButtonShown()220 when(mMockProfileHelper.getAllLivingProfiles(any())).thenReturn(otherUsers); in onStart_isAdmin_isOnlyProfile_makeAddAProfileButtonShown()392 when(mMockProfileHelper.getAllLivingProfiles(any())).thenReturn(otherUsers); in onManageOtherProfilesButtonClicked_launchProfilesListFragment()
108 when(mProfileHelper.getAllLivingProfiles(any())).thenReturn( in setUp()175 when(mProfileHelper.getAllLivingProfiles(any())).thenReturn( in refreshUi_userChange_updatesGroup()224 when(mProfileHelper.getAllLivingProfiles(any())).thenReturn( in onUsersUpdated_updatesGroup()
102 when(mProfileHelper.getAllLivingProfiles(any())).thenReturn( in setUp()
92 return sInstance.getAllLivingProfiles(filter); in getAllLivingUsers()
89 when(mProfileHelper.getAllLivingProfiles(any())).thenReturn( in setUp()