Home
last modified time | relevance | path

Searched refs:Provider (Results 1 – 25 of 163) sorted by relevance

1234567

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tileimpl/
DQSFactoryImplTest.kt62 import javax.inject.Provider in <lambda>()
143 val tileMap = mutableMapOf<String, Provider<QSTileImpl<*>>>( in <lambda>()
144 "internet" to Provider { internetTile }, in <lambda>()
145 "bt" to Provider { bluetoothTile }, in <lambda>()
146 "dnd" to Provider { dndTile }, in <lambda>()
147 "inversion" to Provider { colorInversionTile }, in <lambda>()
148 "airplane" to Provider { airplaneTile }, in <lambda>()
149 "work" to Provider { workTile }, in <lambda>()
150 "rotation" to Provider { rotationTile }, in <lambda>()
151 "flashlight" to Provider { flashlightTile }, in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/dagger/
DContextComponentResolver.java28 import javax.inject.Provider;
35 private final Map<Class<?>, Provider<Activity>> mActivityCreators;
36 private final Map<Class<?>, Provider<Service>> mServiceCreators;
37 private final Map<Class<?>, Provider<RecentsImplementation>> mRecentsCreators;
38 private final Map<Class<?>, Provider<BroadcastReceiver>> mBroadcastReceiverCreators;
41 ContextComponentResolver(Map<Class<?>, Provider<Activity>> activityCreators, in ContextComponentResolver()
42 Map<Class<?>, Provider<Service>> serviceCreators, in ContextComponentResolver()
43 Map<Class<?>, Provider<RecentsImplementation>> recentsCreators, in ContextComponentResolver()
44 Map<Class<?>, Provider<BroadcastReceiver>> broadcastReceiverCreators) { in ContextComponentResolver()
83 private <T> T resolve(String className, Map<Class<?>, Provider<T>> creators) { in resolve()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
DShadeModule.kt47 import javax.inject.Provider
56 sceneContainerOn: Provider<ShadeInteractorSceneContainerImpl>, in provideBaseShadeInteractor()
57 sceneContainerOff: Provider<ShadeInteractorLegacyImpl> in provideBaseShadeInteractor()
69 sceneContainerOn: Provider<ShadeControllerSceneImpl>, in provideShadeController()
70 sceneContainerOff: Provider<ShadeControllerImpl> in provideShadeController()
82 sceneContainerOn: Provider<ShadeAnimationInteractorSceneContainerImpl>, in provideShadeAnimationInteractor()
83 sceneContainerOff: Provider<ShadeAnimationInteractorLegacyImpl> in provideShadeAnimationInteractor()
95 sceneContainerOn: Provider<ShadeBackActionInteractorImpl>, in provideShadeBackActionInteractor()
96 sceneContainerOff: Provider<NotificationPanelViewController> in provideShadeBackActionInteractor()
108 sceneContainerOn: Provider<ShadeLockscreenInteractorImpl>, in provideShadeLockscreenInteractor()
[all …]
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/volume/panel/ui/composable/
DComponentsFactoryKosmos.kt28 import javax.inject.Provider
30 var Kosmos.componentByKey: Map<VolumePanelComponentKey, Provider<VolumePanelUiComponent>> by
32 var Kosmos.prodComponentByKey: Map<VolumePanelComponentKey, Provider<VolumePanelUiComponent>> by
35 VolumePanelComponents.MEDIA_OUTPUT to Provider { mediaOutputComponent }, in <lambda>()
36 VolumePanelComponents.VOLUME_SLIDERS to Provider { volumeSlidersComponent }, in <lambda>()
37 VolumePanelComponents.CAPTIONING to Provider { captioningComponent }, in <lambda>()
38 VolumePanelComponents.SPATIAL_AUDIO to Provider { spatialAudioComponent }, in <lambda>()
39 VolumePanelComponents.BOTTOM_BAR to Provider { bottomBarComponent }, in <lambda>()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/volume/panel/domain/interactor/
DComponentsInteractorKosmos.kt31 import javax.inject.Provider
33 var Kosmos.criteriaByKey: Map<VolumePanelComponentKey, Provider<ComponentAvailabilityCriteria>> by
36 Map<VolumePanelComponentKey, Provider<ComponentAvailabilityCriteria>> by
39 VolumePanelComponents.MEDIA_OUTPUT to Provider { mediaOutputAvailabilityCriteria }, in <lambda>()
40 VolumePanelComponents.VOLUME_SLIDERS to Provider { volumeSlidersAvailabilityCriteria }, in <lambda>()
41 VolumePanelComponents.CAPTIONING to Provider { captioningAvailabilityCriteria }, in <lambda>()
42 VolumePanelComponents.SPATIAL_AUDIO to Provider { spatialAudioAvailabilityCriteria }, in <lambda>()
43 VolumePanelComponents.BOTTOM_BAR to Provider { bottomBarAvailabilityCriteria }, in <lambda>()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicestate/
DDeviceStatePolicyProviderTest.java42 Assert.assertThat(DeviceStatePolicy.Provider.fromResources(resourcesWithProvider("")), in test_emptyPolicyProvider()
48 Assert.assertThat(DeviceStatePolicy.Provider.fromResources(resourcesWithProvider(null)), in test_nullPolicyProvider()
54 Assert.assertThat(DeviceStatePolicy.Provider.fromResources(resourcesWithProvider( in test_customPolicyProvider()
62 DeviceStatePolicy.Provider.fromResources(resourcesWithProvider( in test_badPolicyProvider_notImplementingProviderInterface()
70 DeviceStatePolicy.Provider.fromResources(resourcesWithProvider( in test_badPolicyProvider_doesntExist()
84 static class TestProvider implements DeviceStatePolicy.Provider {
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
DSystemUIApplicationTest.kt32 import javax.inject.Provider
105 .thenReturn(mutableMapOf(StartableA::class.java to Provider { startableA })) in testStartServices_singleService()
116 StartableA::class.java to Provider { startableA }, in testStartServices_twoServices()
117 StartableB::class.java to Provider { startableB } in testStartServices_twoServices()
131 StartableC::class.java to Provider { startableC }, in testStartServices_simpleDependency()
132 StartableA::class.java to Provider { startableA }, in testStartServices_simpleDependency()
133 StartableB::class.java to Provider { startableB } in testStartServices_simpleDependency()
149 StartableE::class.java to Provider { startableE }, in testStartServices_complexDependency()
150 StartableC::class.java to Provider { startableC }, in testStartServices_complexDependency()
151 StartableD::class.java to Provider { startableD }, in testStartServices_complexDependency()
[all …]
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayAreaProviderTest.java40 Assert.assertThat(DisplayAreaPolicy.Provider.fromResources(resourcesWithProvider("")), in testFromResources_emptyProvider()
46 Assert.assertThat(DisplayAreaPolicy.Provider.fromResources(resourcesWithProvider(null)), in testFromResources_nullProvider()
52 Assert.assertThat(DisplayAreaPolicy.Provider.fromResources(resourcesWithProvider( in testFromResources_customProvider()
59 DisplayAreaPolicy.Provider.fromResources(resourcesWithProvider( in testFromResources_badProvider_notImplementingProviderInterface()
67 DisplayAreaPolicy.Provider.fromResources(resourcesWithProvider( in testFromResources_badProvider_doesntExist()
80 static class TestProvider implements DisplayAreaPolicy.Provider {
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/
DQSFactoryImpl.java33 import javax.inject.Provider;
51 protected final Map<String, Provider<QSTileImpl<?>>> mTileMap;
53 private final Provider<CustomTile.Factory> mCustomTileFactoryProvider;
58 Provider<CustomTile.Factory> customTileFactoryProvider, in QSFactoryImpl()
59 Map<String, Provider<QSTileImpl<?>>> tileMap) { in QSFactoryImpl()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/volume/panel/domain/interactor/
DComponentsInteractorImplTest.kt32 import javax.inject.Provider
69 BOTTOM_BAR to Provider { availableCriteria }, in componentsAvailability_checked()
70 COMPONENT_1 to Provider { unavailableCriteria }, in componentsAvailability_checked()
71 COMPONENT_2 to Provider { availableCriteria }, in componentsAvailability_checked()
99 BOTTOM_BAR to Provider { availableCriteria }, in noCriteria_fallbackToDefaultCriteria()
100 COMPONENT_2 to Provider { availableCriteria }, in noCriteria_fallbackToDefaultCriteria()
/frameworks/base/services/core/java/com/android/server/devicestate/
DDeviceStatePolicy.java54 static final class DefaultProvider implements DeviceStatePolicy.Provider {
68 public interface Provider { interface in DeviceStatePolicy
87 static Provider fromResources(@NonNull Resources res) { in fromResources()
95 return (DeviceStatePolicy.Provider) Class.forName(name).newInstance(); in fromResources()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/volume/panel/shared/model/
DVolumePanelUiComponentKosmos.kt21 import javax.inject.Provider
24 val Kosmos.mockVolumePanelUiComponentProvider: Provider<VolumePanelUiComponent> by
25 Kosmos.Fixture { Provider { mock {} } } in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNotificationIconAreaControllerModule.kt22 import javax.inject.Provider
28 legacyProvider: Provider<LegacyNotificationIconAreaControllerImpl>, in provideNotificationIconAreaControllerImpl()
29 newProvider: Provider<NotificationIconAreaControllerViewBinderWrapperImpl>, in provideNotificationIconAreaControllerImpl()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationRowModule.java26 import javax.inject.Provider;
40 Provider<NotificationContentInflater> legacyImpl, in provideNotificationRowContentBinder()
41 Provider<NotificationRowContentBinderImpl> refactoredImpl in provideNotificationRowContentBinder()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/footer/ui/viewmodel/
DFooterViewModel.kt34 import javax.inject.Provider in <lambda>()
120 activeNotificationsInteractor: Provider<ActiveNotificationsInteractor>, in provideOptional()
121 notificationSettingsInteractor: Provider<NotificationSettingsInteractor>, in provideOptional()
122 seenNotificationsInteractor: Provider<SeenNotificationsInteractor>, in provideOptional()
123 shadeInteractor: Provider<ShadeInteractor>, in provideOptional()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/policy/
DScreenshotPolicyModule.kt38 import javax.inject.Provider
71 policyProvider: Provider<ScreenshotPolicy>, in bindProfileTypeRepository()
72 displayContentRepoProvider: Provider<DisplayContentRepository>, in bindProfileTypeRepository()
73 policyListProvider: Provider<List<CapturePolicy>>, in bindProfileTypeRepository()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/dagger/
DNotificationSectionHeadersModule.kt31 import javax.inject.Provider
42 builder: Provider<SectionHeaderControllerSubcomponent.Builder> in providesIncomingHeaderSubcomponent()
53 builder: Provider<SectionHeaderControllerSubcomponent.Builder> in providesIncomingHeaderSubcomponent()
64 builder: Provider<SectionHeaderControllerSubcomponent.Builder> in providesIncomingHeaderSubcomponent()
75 builder: Provider<SectionHeaderControllerSubcomponent.Builder> in providesIncomingHeaderSubcomponent()
DNotificationStatsLoggerModule.kt46 import javax.inject.Provider
59 provider: Provider<NotificationStatsLogger> in bindsStatsLoggerImpl()
71 provider: Provider<NotificationLoggerViewModel> in bindsStatsLoggerImpl()
124 newProvider: Provider<NotificationStatsLogger>, in bindsStatsLoggerImpl()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/domain/
DMediaDomainModule.kt31 import javax.inject.Provider
52 legacyProvider: Provider<LegacyMediaDataManagerImpl>, in bindMediaCarouselInteractor()
53 newProvider: Provider<MediaCarouselInteractor>, in bindMediaCarouselInteractor()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/panel/domain/interactor/
DComponentsInteractor.kt24 import javax.inject.Provider in <lambda>()
46 defaultCriteria: Provider<ComponentAvailabilityCriteria>,
52 Provider<@JvmSuppressWildcards ComponentAvailabilityCriteria>
/frameworks/base/packages/SystemUI/src/com/android/systemui/fragments/
DFragmentService.java32 import javax.inject.Provider;
50 private final ArrayMap<String, Provider<? extends Fragment>> mInjectionMap = new ArrayMap<>();
75 ArrayMap<String, Provider<? extends Fragment>> getInjectionMap() { in getInjectionMap()
83 Class<?> fragmentCls, Provider<? extends Fragment> provider) { in addFragmentInstantiationProvider()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayAreaPolicy.java104 static final class DefaultProvider implements DisplayAreaPolicy.Provider {
178 public interface Provider { interface in DisplayAreaPolicy
195 instanceOfClassConstantExclusive = Provider.class,
198 static Provider fromResources(Resources res) { in fromResources()
205 return (Provider) Class.forName(name).newInstance(); in fromResources()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/notification/stack/ui/viewmodel/
DHideListViewModelKosmos.kt22 import javax.inject.Provider
25 HideListViewModel(hideNotificationsInteractor = Provider { hideNotificationsInteractor }) in <lambda>()
/frameworks/base/packages/SystemUI/unfold/src/com/android/systemui/unfold/
DUnfoldSharedModule.kt43 import javax.inject.Provider
96 fixedTimingTransitionProgressProvider: Provider<FixedTimingTransitionProgressProvider>, in unfoldTransitionProgressProvider()
101 @UnfoldBg bgProvider: Provider<Optional<UnfoldTransitionProgressProvider>>, in unfoldTransitionProgressProvider()
138 fixedTimingTransitionProgressProvider: Provider<FixedTimingTransitionProgressProvider>, in unfoldBgTransitionProgressProvider()
160 fixedTimingTransitionProgressProvider: Provider<FixedTimingTransitionProgressProvider>, in createOptionalUnfoldTransitionProgressProvider()
189 progressForwarder: Provider<UnfoldTransitionProgressForwarder> in provideProgressForwarder()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSystemUIApplication.java59 import javax.inject.Provider;
214 Map<Class<?>, Provider<CoreStartable>> sortedStartables = new TreeMap<>( in startSystemUserServicesIfNeeded()
233 Map<Class<?>, Provider<CoreStartable>> sortedStartables = new TreeMap<>( in startSecondaryUserServicesIfNeeded()
249 Map<Class<?>, Provider<CoreStartable>> startables, in startServicesIfNeeded()
294 ArrayDeque<Map.Entry<Class<?>, Provider<CoreStartable>>> queue; in startServicesIfNeeded()
295 ArrayDeque<Map.Entry<Class<?>, Provider<CoreStartable>>> nextQueue = in startServicesIfNeeded()
307 Map.Entry<Class<?>, Provider<CoreStartable>> entry = queue.removeFirst(); in startServicesIfNeeded()
332 Map.Entry<Class<?>, Provider<CoreStartable>> entry = nextQueue.removeFirst(); in startServicesIfNeeded()
426 private static CoreStartable startStartable(String clsName, Provider<CoreStartable> provider) { in startStartable()

1234567