/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/data/ |
D | DataServiceImpl.kt | 161 override val availableProviders: StateFlow<List<Provider>> = in <lambda>() constant in com.android.photopicker.data.DataServiceImpl 174 availableProviders.collect { providers: List<Provider> -> in <lambda>() 388 val availableProviders: List<Provider> = availableProviders.value in <lambda>() constant 395 availableProviders, in <lambda>() 403 "Created an album media paging source that queries " + "$availableProviders" in <lambda>() 416 val availableProviders: List<Provider> = availableProviders.value in <lambda>() constant 421 availableProviders, in <lambda>() 429 "Created an album paging source that queries " + "$availableProviders" in <lambda>() 444 val availableProviders: List<Provider> = availableProviders.value in <lambda>() constant 449 availableProviders, in <lambda>() [all …]
|
D | MediaProviderClient.kt | 133 availableProviders: List<Provider>, in <lambda>() 143 availableProviders.forEach { provider -> add(provider.authority) } in <lambda>() 179 availableProviders: List<Provider>, in <lambda>() 189 availableProviders.forEach { provider -> add(provider.authority) } in <lambda>() 227 availableProviders: List<Provider>, in <lambda>() 238 availableProviders.forEach { provider -> add(provider.authority) } in <lambda>()
|
D | DataService.kt | 40 val availableProviders: StateFlow<List<Provider>> constant
|
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/data/paging/ |
D | AlbumMediaPagingSourceTest.kt | 50 private val availableProviders: List<Provider> = listOf(Provider("auth", MediaSource.LOCAL, 0)) constant in com.android.photopicker.features.data.paging.AlbumMediaPagingSourceTest 62 val albumAuthority = availableProviders[0].authority in <lambda>() 69 availableProviders = availableProviders, in <lambda>() 94 availableProviders, in <lambda>()
|
D | MediaProviderClientTest.kt | 50 val availableProviders: List<Provider> = in <lambda>() constant 53 assertThat(availableProviders.count()).isEqualTo(testContentProvider.providers.count()) in <lambda>() 54 for (index in availableProviders.indices) { in <lambda>() 55 assertThat(availableProviders[index]).isEqualTo(testContentProvider.providers[index]) in <lambda>() 68 availableProviders = listOf(Provider("provider", MediaSource.LOCAL, 0)), in <lambda>() 201 availableProviders = listOf(Provider("provider", MediaSource.LOCAL, 0)), in <lambda>() 228 availableProviders = listOf(Provider(albumAuthority, MediaSource.LOCAL, 0)), in <lambda>()
|
D | AlbumPagingSourceTest.kt | 49 private val availableProviders: List<Provider> = emptyList() constant in com.android.photopicker.features.data.paging.AlbumPagingSourceTest 64 availableProviders = availableProviders, in <lambda>()
|
D | MediaPagingSourceTest.kt | 49 private val availableProviders: List<Provider> = emptyList() constant in com.android.photopicker.features.data.paging.MediaPagingSourceTest 64 availableProviders = availableProviders, in <lambda>()
|
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/data/paging/ |
D | MediaPagingSource.kt | 39 private val availableProviders: List<Provider>, constant in com.android.photopicker.data.paging.MediaPagingSource 55 if (availableProviders.isEmpty()) { in load() 63 availableProviders, in load()
|
D | AlbumPagingSource.kt | 39 private val availableProviders: List<Provider>, constant in com.android.photopicker.data.paging.AlbumPagingSource 55 if (availableProviders.isEmpty()) { in load() 63 availableProviders, in load()
|
D | AlbumMediaPagingSource.kt | 41 private val availableProviders: List<Provider>, constant in com.android.photopicker.data.paging.AlbumMediaPagingSource 58 if (availableProviders.isEmpty()) { in load() 68 availableProviders, in load()
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/util/ |
D | CloudProviderUtilsTest.java | 53 List<CloudProviderInfo> availableProviders = in getAllAvailableCloudProvidersTest() local 56 assertThat(availableProviders.size()).isEqualTo(testCloudProviders.size()); in getAllAvailableCloudProvidersTest() 57 for (CloudProviderInfo info : availableProviders) { in getAllAvailableCloudProvidersTest()
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/v2/ |
D | PickerDataLayerV2Test.java | 159 try (Cursor availableProviders = PickerDataLayerV2.queryAvailableProviders(mMockContext)) { in testAvailableProvidersNoCloudProvider() argument 160 availableProviders.moveToFirst(); in testAvailableProvidersNoCloudProvider() 165 availableProviders.getCount() in testAvailableProvidersNoCloudProvider() 171 MediaSource.valueOf(availableProviders.getString( in testAvailableProvidersNoCloudProvider() 172 availableProviders.getColumnIndexOrThrow( in testAvailableProvidersNoCloudProvider() 180 availableProviders.getString( in testAvailableProvidersNoCloudProvider() 181 availableProviders.getColumnIndexOrThrow( in testAvailableProvidersNoCloudProvider() 189 availableProviders.getInt( in testAvailableProvidersNoCloudProvider() 190 availableProviders.getColumnIndexOrThrow( in testAvailableProvidersNoCloudProvider() 216 try (Cursor availableProviders = PickerDataLayerV2.queryAvailableProviders(mMockContext)) { in testAvailableProvidersWithCloudProvider() argument [all …]
|
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/data/ |
D | DataServiceImplTest.kt | 120 this.backgroundScope.launch { dataService.availableProviders.toList(emissions) } in <lambda>() 149 this.backgroundScope.launch { dataService.availableProviders.toList(emissions) } in <lambda>() 178 this.backgroundScope.launch { dataService.availableProviders.toList(emissions) } in <lambda>() 241 this.backgroundScope.launch { dataService.availableProviders.toList(emissions) } in <lambda>() 272 this.backgroundScope.launch { dataService.availableProviders.toList(emissions) } in <lambda>() 347 this.backgroundScope.launch { dataService.availableProviders.toList(emissions) } in <lambda>() 448 this.backgroundScope.launch { dataService.availableProviders.toList(emissions) } in <lambda>() 501 this.backgroundScope.launch { dataService.availableProviders.toList(emissions) } in <lambda>() 624 this.backgroundScope.launch { dataService.availableProviders.toList(emissions) } in <lambda>()
|
D | TestDataServiceImpl.kt | 44 override val availableProviders: StateFlow<List<Provider>> = MutableStateFlow(emptyList()) constant in com.android.photopicker.data.TestDataServiceImpl
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/ui/settings/ |
D | SettingsCloudMediaViewModelTest.java | 327 private void setUpAvailableCloudProviders(@NonNull List<ResolveInfo> availableProviders) { in setUpAvailableCloudProviders() argument 328 doReturn(availableProviders).when(mPackageManager) in setUpAvailableCloudProviders() 347 final List<ResolveInfo> availableProviders = new ArrayList<>(); in getAvailableProviders() local 349 availableProviders.add(createResolveInfo(authority)); in getAvailableProviders() 351 return availableProviders; in getAvailableProviders()
|
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/ |
D | PickerSyncController.java | 405 final List<CloudProviderInfo> availableProviders = ignoreAllowlist in getCloudProviderInfo() local 409 for (CloudProviderInfo info : availableProviders) { in getCloudProviderInfo()
|