Home
last modified time | relevance | path

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

/packages/apps/Car/Settings/src/com/android/car/settings/profiles/
DProfileHelper.java383 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
DProfilesPreferenceProvider.java92 List<UserInfo> infos = ProfileHelper.getInstance(mContext).getAllLivingProfiles( in createProfileList()
DProfileDetailsActionButtonsPreferenceController.java240 return !mProfileHelper.getAllLivingProfiles( in areThereOtherProfiles()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/profiles/
DProfileDetailsActionButtonsPreferenceControllerTest.java165 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()
DProfilesBasePreferenceControllerTest.java108 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()
DProfilesListPreferenceControllerTest.java102 when(mProfileHelper.getAllLivingProfiles(any())).thenReturn( in setUp()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowUserHelper.java92 return sInstance.getAllLivingProfiles(filter); in getAllLivingUsers()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/profiles/
DProfilesPreferenceProviderTest.java89 when(mProfileHelper.getAllLivingProfiles(any())).thenReturn( in setUp()