/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/data/ |
D | DataServiceImplTest.kt | 35 import com.android.photopicker.data.model.Provider 119 val emissions = mutableListOf<List<Provider>>() in <lambda>() 126 assertThat(emissions.get(0)).isEqualTo(emptyList<Provider>()) in <lambda>() 148 val emissions = mutableListOf<List<Provider>>() in <lambda>() 155 assertThat(emissions.get(0)).isEqualTo(emptyList<Provider>()) in <lambda>() 177 val emissions = mutableListOf<List<Provider>>() in <lambda>() 182 assertThat(emissions.get(0)).isEqualTo(emptyList<Provider>()) in <lambda>() 186 Provider(authority = "local_authority", mediaSource = MediaSource.LOCAL, uid = 0), in <lambda>() 187 Provider(authority = "cloud_authority", mediaSource = MediaSource.REMOTE, uid = 0), in <lambda>() 197 assertThat(emissions.get(0)).isEqualTo(emptyList<Provider>()) in <lambda>() [all …]
|
D | TestMediaProvider.kt | 28 import com.android.photopicker.data.model.Provider in <lambda>() 40 val DEFAULT_PROVIDERS: List<Provider> = listOf( in <lambda>() 41 Provider( in <lambda>() 96 var providers: List<Provider> = DEFAULT_PROVIDERS,
|
D | TestDataServiceImpl.kt | 25 import com.android.photopicker.data.model.Provider 44 override val availableProviders: StateFlow<List<Provider>> = MutableStateFlow(emptyList())
|
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/data/paging/ |
D | MediaProviderClientTest.kt | 32 import com.android.photopicker.data.model.Provider 50 val availableProviders: List<Provider> = in <lambda>() 68 availableProviders = listOf(Provider("provider", MediaSource.LOCAL, 0)), in <lambda>() 86 val providers: List<Provider> = in <lambda>() 88 Provider(authority = "local_authority", mediaSource = MediaSource.LOCAL, uid = 0), in <lambda>() 89 Provider(authority = "cloud_authority", mediaSource = MediaSource.REMOTE, uid = 1), in <lambda>() 90 Provider( in <lambda>() 119 val providers: List<Provider> = in testRefreshLocalOnlyMedia() 121 Provider(authority = "local_authority", mediaSource = MediaSource.LOCAL, uid = 0), in testRefreshLocalOnlyMedia() 122 Provider( in testRefreshLocalOnlyMedia() [all …]
|
D | AlbumMediaPagingSourceTest.kt | 29 import com.android.photopicker.data.model.Provider 50 private val availableProviders: List<Provider> = listOf(Provider("auth", MediaSource.LOCAL, 0))
|
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/data/ |
D | DataServiceImpl.kt | 32 import com.android.photopicker.data.model.Provider in <lambda>() 109 private var availableProviderCallbackFlow: Flow<List<Provider>>? = null in <lambda>() 148 private val _availableProviders: MutableStateFlow<List<Provider>> = in <lambda>() 161 override val availableProviders: StateFlow<List<Provider>> = in <lambda>() 174 availableProviders.collect { providers: List<Provider> -> in <lambda>() 211 availableProviderCallbackFlow?.collect { providers: List<Provider> -> in <lambda>() 217 var updatedProviders: List<Provider> = providers in <lambda>() 291 private fun initAvailableProvidersFlow(resolver: ContentResolver): Flow<List<Provider>> = in <lambda>() 388 val availableProviders: List<Provider> = availableProviders.value in <lambda>() 416 val availableProviders: List<Provider> = availableProviders.value in <lambda>() [all …]
|
D | MediaProviderClient.kt | 30 import com.android.photopicker.data.model.Provider in <lambda>() 111 ): List<Provider> { in <lambda>() 133 availableProviders: List<Provider>, in <lambda>() 179 availableProviders: List<Provider>, in <lambda>() 227 availableProviders: List<Provider>, in <lambda>() 274 @Suppress("UNUSED_PARAMETER") providers: List<Provider>, in <lambda>() 299 providers: List<Provider>, in <lambda>() 315 private fun getListOfProviders(cursor: Cursor): List<Provider> { in <lambda>() 316 val result: MutableList<Provider> = mutableListOf<Provider>() in <lambda>() 320 Provider( in <lambda>()
|
D | DataService.kt | 24 import com.android.photopicker.data.model.Provider 40 val availableProviders: StateFlow<List<Provider>>
|
/packages/apps/UniversalMediaPlayer/java/com/android/pump/util/ |
D | Globals.java | 44 public interface Provider { interface in Globals 50 private static @NonNull Provider getProvider(@NonNull Context context) { in getProvider() 51 while (!(context instanceof Provider)) { in getProvider() 56 if (!(context instanceof Provider)) { in getProvider() 61 return (Provider) context; in getProvider()
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/window/ |
D | SystemUIOverlayWindowManager.java | 31 import javax.inject.Provider; 41 private final Map<Class<?>, Provider<OverlayViewMediator>> 48 Map<Class<?>, Provider<OverlayViewMediator>> contentMediatorCreators, in SystemUIOverlayWindowManager() 92 private <T> T resolve(String className, Map<Class<?>, Provider<T>> creators) { in resolve() 95 Provider<T> provider = creators.get(clazz); in resolve()
|
/packages/apps/TV/tests/common/src/com/android/tv/testing/ |
D | SingletonProvider.java | 19 import javax.inject.Provider; 22 public class SingletonProvider<T> implements Provider<T> { 34 public static <S, T extends S> Provider<S> create(T t) { in create()
|
/packages/apps/TV/tests/robotests/src/com/android/tv/ui/ |
D | ChannelBannerViewTest.java | 45 import javax.inject.Provider; 128 public Provider<Channel> getCurrentChannelProvider() { in getCurrentChannelProvider() 133 public Provider<Program> getCurrentProgramProvider() { in getCurrentProgramProvider() 138 public Provider<TvOverlayManager> getOverlayManagerProvider() { in getOverlayManagerProvider() 148 public Provider<Long> getCurrentPlayingPositionProvider() { in getCurrentPlayingPositionProvider()
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/systembar/element/ |
D | CarSystemBarElementInitializer.java | 31 import javax.inject.Provider; 38 private final Map<Class<?>, Provider<CarSystemBarElementController.Factory>> 58 Map<Class<?>, Provider<CarSystemBarElementController.Factory>> factories) { in CarSystemBarElementInitializer() 69 Provider<CarSystemBarElementController.Factory> factoryProvider = in initializeCarSystemBarElements()
|
/packages/services/Car/tests/CustomizationTool/tests/src/com/android/car/customization/tool/domain/panel/ |
D | PanelControllerTest.kt | 20 import javax.inject.Provider 38 mapOf(EmptyPanelReducer::class.java to Provider { emptyPanelReducer }) in openPanel_action_opens_a_panel_and_the_extras_are_collected_correctly() 61 mapOf(EmptyPanelReducer::class.java to Provider { emptyPanelReducer }) in when_the_panel_is_reloaded_the_reducer_builds_a_new_panel_from_scratch()
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/qc/ |
D | SystemUIQCViewController.java | 43 import javax.inject.Provider; 54 private final Map<Class<?>, Provider<BaseLocalQCProvider>> mLocalQCProviderCreators; 70 Map<Class<?>, Provider<BaseLocalQCProvider>> localQCProviderCreators) { in SystemUIQCViewController() 196 Provider<BaseLocalQCProvider> provider = mLocalQCProviderCreators.get(clazz); in resolveInjectedLocalQCProviderInstance()
|
/packages/apps/Camera2/src/com/android/camera/one/v2/commands/ |
D | CameraCommandExecutor.java | 28 import com.android.camera.util.Provider; 79 private final Provider<ExecutorService> mExecutorProvider; 88 Provider<ExecutorService> threadPoolExecutor) { in CameraCommandExecutor()
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/systembar/ |
D | CarSystemBarPanelButtonViewController.java | 32 import javax.inject.Provider; 38 private final Provider<StatusIconPanelViewController.Builder> mStatusIconPanelBuilder; 44 Provider<StatusIconPanelViewController.Builder> statusIconPanelBuilder) { in CarSystemBarPanelButtonViewController()
|
/packages/services/Car/tests/CustomizationTool/src/com/android/car/customization/tool/domain/panel/ |
D | PanelController.kt | 20 import javax.inject.Provider 33 @JvmSuppressWildcards Provider<PanelActionReducer>
|
/packages/apps/ThemePicker/src/com/android/customization/picker/color/domain/interactor/ |
D | ColorPickerInteractor.kt | 21 import javax.inject.Provider 29 private val snapshotRestorer: Provider<ColorPickerSnapshotRestorer>,
|
/packages/services/Car/tests/CustomizationTool/tests/src/com/android/car/customization/tool/domain/menu/ |
D | MenuControllerTest.kt | 27 import javax.inject.Provider 47 private val fakeRootProvider = Provider { rootNode } in <lambda>() 54 private val fakeRootProviderWithDuplicates = Provider { rootNodeWithDuplicates } in <lambda>()
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/users/ |
D | CarUserTrackerImpl.java | 28 import javax.inject.Provider; 43 public CarUserTrackerImpl(Context context, Provider<FeatureFlagsClassic> featureFlagsClassic, in CarUserTrackerImpl()
|
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/data/paging/ |
D | MediaPagingSource.kt | 27 import com.android.photopicker.data.model.Provider 39 private val availableProviders: List<Provider>,
|
D | AlbumPagingSource.kt | 27 import com.android.photopicker.data.model.Provider 39 private val availableProviders: List<Provider>,
|
D | AlbumMediaPagingSource.kt | 27 import com.android.photopicker.data.model.Provider 41 private val availableProviders: List<Provider>,
|
/packages/services/Car/car_product/distant_display/apps/CarDistantDisplaySystemUI/src/com/android/systemui/car/statusicon/ui/ |
D | DistantDisplayStatusIconPanelController.java | 33 import javax.inject.Provider; 45 Provider<StatusIconPanelViewController.Builder> statusIconPanelBuilder, in DistantDisplayStatusIconPanelController()
|