Home
last modified time | relevance | path

Searched refs:userStatus (Results 1 – 9 of 9) sorted by relevance

/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/data/
DDataServiceImplTest.kt79 private lateinit var userStatus: UserStatus variable in com.android.photopicker.data.DataServiceImplTest
88 userStatus = in setup()
106 val userStatusFlow: StateFlow<UserStatus> = MutableStateFlow(userStatus) in <lambda>()
110 userStatus = userStatusFlow, in <lambda>()
135 val userStatusFlow: StateFlow<UserStatus> = MutableStateFlow(userStatus) in <lambda>()
139 userStatus = userStatusFlow, in <lambda>()
164 val userStatusFlow: StateFlow<UserStatus> = MutableStateFlow(userStatus) in <lambda>()
168 userStatus = userStatusFlow, in <lambda>()
214 val userStatusFlow: StateFlow<UserStatus> = MutableStateFlow(userStatus) in <lambda>()
218 userStatus = userStatusFlow, in <lambda>()
[all …]
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/core/user/
DUserMonitorTest.kt183 val reportedStatus = userMonitor.userStatus.first() in <lambda>()
221 val reportedStatus = userMonitor.userStatus.first() in <lambda>()
264 val reportedStatus = userMonitor.userStatus.first() in <lambda>()
289 val reportedStatus = userMonitor.userStatus.first() in <lambda>()
318 val reportedStatus = userMonitor.userStatus.first() in <lambda>()
351 val reportedStatus = userMonitor.userStatus.first() in <lambda>()
395 val reportedStatus = userMonitor.userStatus.first() in <lambda>()
439 val reportedStatus = userMonitor.userStatus.first() in <lambda>()
479 backgroundScope.launch { userMonitor.userStatus.toList(emissions) } in <lambda>()
533 backgroundScope.launch { userMonitor.userStatus.toList(emissions) } in <lambda>()
[all …]
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/features/profileselector/
DProfileSelectorViewModel.kt65 userMonitor.userStatus
70 initialValue = userMonitor.userStatus.value.allProfiles
75 userMonitor.userStatus
80 initialValue = userMonitor.userStatus.value.activeUserProfile
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/data/
DDataServiceImpl.kt72 private val userStatus: StateFlow<UserStatus>, in <lambda>() constant in com.android.photopicker.data.DataServiceImpl
81 MutableStateFlow<ContentResolver>(userStatus.value.activeContentResolver) in <lambda>()
281 userStatus.collect { userStatusValue: UserStatus -> in <lambda>()
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/features/cloudmedia/
DMediaPreloaderViewModel.kt139 userMonitor.userStatus.map { it.activeContentResolver }.distinctUntilChanged() in <lambda>()
272 userMonitor.userStatus.value.activeContentResolver in preloadMediaItem()
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/features/preview/
DPreviewViewModel.kt148 return userMonitor.userStatus.value.activeContentResolver in getContentResolverForCurrentUser()
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/inject/
DActivityModule.kt152 userMonitor.userStatus, in provideDataService()
DEmbeddedServiceModule.kt196 userMonitor.userStatus, in <lambda>()
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/core/user/
DUserMonitor.kt115 val userStatus: StateFlow<UserStatus> = in <lambda>() constant