• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (C) 2017 The Android Open Source Project
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License
15  */
16 
17 package com.android.dialer.binary.basecomponent;
18 
19 import com.android.bubble.BubbleComponent;
20 import com.android.dialer.activecalls.ActiveCallsComponent;
21 import com.android.dialer.calllog.CallLogComponent;
22 import com.android.dialer.calllog.config.CallLogConfigComponent;
23 import com.android.dialer.calllog.database.CallLogDatabaseComponent;
24 import com.android.dialer.calllog.ui.CallLogUiComponent;
25 import com.android.dialer.commandline.CommandLineComponent;
26 import com.android.dialer.common.concurrent.DialerExecutorComponent;
27 import com.android.dialer.configprovider.ConfigProviderComponent;
28 import com.android.dialer.contacts.ContactsComponent;
29 import com.android.dialer.duo.DuoComponent;
30 import com.android.dialer.enrichedcall.EnrichedCallComponent;
31 import com.android.dialer.feedback.FeedbackComponent;
32 import com.android.dialer.glidephotomanager.GlidePhotoManagerComponent;
33 import com.android.dialer.metrics.MetricsComponent;
34 import com.android.dialer.phonelookup.PhoneLookupComponent;
35 import com.android.dialer.phonelookup.database.PhoneLookupDatabaseComponent;
36 import com.android.dialer.phonenumbergeoutil.PhoneNumberGeoUtilComponent;
37 import com.android.dialer.precall.PreCallComponent;
38 import com.android.dialer.preferredsim.PreferredSimComponent;
39 import com.android.dialer.preferredsim.suggestion.SimSuggestionComponent;
40 import com.android.dialer.promotion.PromotionComponent;
41 import com.android.dialer.simulator.SimulatorComponent;
42 import com.android.dialer.spam.SpamComponent;
43 import com.android.dialer.speeddial.loader.UiItemLoaderComponent;
44 import com.android.dialer.storage.StorageComponent;
45 import com.android.dialer.strictmode.StrictModeComponent;
46 import com.android.dialer.theme.base.ThemeComponent;
47 import com.android.incallui.calllocation.CallLocationComponent;
48 import com.android.incallui.maps.MapsComponent;
49 import com.android.incallui.speakeasy.SpeakEasyComponent;
50 import com.android.voicemail.VoicemailComponent;
51 
52 /**
53  * Base class for the core application-wide component. All variants of the Dialer app should extend
54  * from this component.
55  */
56 public interface BaseDialerRootComponent
57     extends ActiveCallsComponent.HasComponent,
58         BubbleComponent.HasComponent,
59         CallLocationComponent.HasComponent,
60         CallLogComponent.HasComponent,
61         CallLogConfigComponent.HasComponent,
62         CallLogDatabaseComponent.HasComponent,
63         CallLogUiComponent.HasComponent,
64         ConfigProviderComponent.HasComponent,
65         CommandLineComponent.HasComponent,
66         ContactsComponent.HasComponent,
67         DialerExecutorComponent.HasComponent,
68         DuoComponent.HasComponent,
69         EnrichedCallComponent.HasComponent,
70         FeedbackComponent.HasComponent,
71         GlidePhotoManagerComponent.HasComponent,
72         MapsComponent.HasComponent,
73         MetricsComponent.HasComponent,
74         PhoneLookupComponent.HasComponent,
75         PhoneLookupDatabaseComponent.HasComponent,
76         PhoneNumberGeoUtilComponent.HasComponent,
77         PreCallComponent.HasComponent,
78         PreferredSimComponent.HasComponent,
79         PromotionComponent.HasComponent,
80         UiItemLoaderComponent.HasComponent,
81         SimSuggestionComponent.HasComponent,
82         SimulatorComponent.HasComponent,
83         SpamComponent.HasComponent,
84         SpeakEasyComponent.HasComponent,
85         StorageComponent.HasComponent,
86         StrictModeComponent.HasComponent,
87         ThemeComponent.HasComponent,
88         VoicemailComponent.HasComponent {}
89