Home
last modified time | relevance | path

Searched refs:allProfiles (Results 1 – 7 of 7) sorted by relevance

/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/core/user/
DUserMonitor.kt94 allProfiles = in <lambda>()
195 _userStatus.value.allProfiles.find { it.identifier == requested.identifier } in <lambda>()
240 *_userStatus.value.allProfiles in <lambda>()
269 allProfiles = newProfilesList in <lambda>()
284 _userStatus.update { it.copy(allProfiles = newProfilesList) } in <lambda>()
289 _userStatus.update { it.copy(allProfiles = newProfilesList) } in <lambda>()
DUserStatus.kt31 val allProfiles: List<UserProfile>, constant in com.android.photopicker.core.user.UserStatus
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/features/profileselector/
DProfileSelectorViewModel.kt64 val allProfiles: StateFlow<List<UserProfile>> = constant in com.android.photopicker.features.profileselector.ProfileSelectorViewModel
66 .map { it.allProfiles } in <lambda>()
70 initialValue = userMonitor.userStatus.value.allProfiles
DProfileSelector.kt59 val allProfiles by viewModel.allProfiles.collectAsStateWithLifecycle() in ProfileSelector() constant
72 if (allProfiles.size > 1) { in ProfileSelector()
103 for (profile in allProfiles) { in ProfileSelector()
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/core/user/
DUserMonitorTest.kt115 allProfiles = listOf(PRIMARY_PROFILE_BASE, MANAGED_PROFILE_BASE), in <lambda>()
498 allProfiles = in <lambda>()
600 allProfiles = listOf(PRIMARY_PROFILE_BASE, MANAGED_PROFILE_BASE), in <lambda>()
623 allProfiles = in <lambda>()
776 allProfiles = in <lambda>()
777 b.allProfiles.mapIndexed { index, profile -> in <lambda>()
779 icon = a.allProfiles.get(index).icon, in <lambda>()
780 label = a.allProfiles.get(index).label in <lambda>()
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/features/profileselector/
DProfileSelectorViewModelTest.kt186 .that(viewModel.allProfiles.value.size) in testExposesUserProfileFlowsForUi()
190 .that(viewModel.allProfiles.value.map { it.profileType }) in testExposesUserProfileFlowsForUi()
236 viewModel.allProfiles.value.find { in testProfileSwitchClearsSelection()
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/data/
DDataServiceImplTest.kt91 allProfiles = listOf(userProfilePrimary), in setup()
280 it.copy(allProfiles = listOf(userProfilePrimary, userProfileManaged)) in <lambda>()