Home
last modified time | relevance | path

Searched refs:TvSingletons (Results 1 – 25 of 96) sorted by relevance

1234

/packages/apps/TV/src/com/android/tv/menu/
DChannelsRowAdapter.java27 import com.android.tv.TvSingletons;
58 TvSingletons tvSingletons = TvSingletons.getSingletons(context); in ChannelsRowAdapter()
245 TvSingletons singletons = TvSingletons.getSingletons(mContext);
252 TvSingletons.getSingletons(mContext).getTvInputManagerHelper();
265 TvSingletons.getSingletons(mContext).getTvInputManagerHelper();
/packages/apps/TV/src/com/android/tv/dvr/ui/list/
DBaseDvrSchedulesFragment.java27 import com.android.tv.TvSingletons;
52 TvSingletons singletons = TvSingletons.getSingletons(getContext()); in onCreate()
98 TvSingletons singletons = TvSingletons.getSingletons(getContext()); in onDestroy()
DDvrHistoryFragment.java27 import com.android.tv.TvSingletons;
51 TvSingletons singletons = TvSingletons.getSingletons(getContext()); in onCreate()
/packages/apps/TV/src/com/android/tv/util/
DSetupUtils.java34 import com.android.tv.TvSingletons;
100 TvSingletons.getSingletons(mContext).getChannelDataManager(); in onTvInputSetupFinished()
123 TvSingletons tvSingletons = TvSingletons.getSingletons(context); in updateChannelsAfterSetup()
157 TvSingletons singletons = TvSingletons.getSingletons(mContext); in markNewChannelsBrowsable()
/packages/apps/TV/src/com/android/tv/modules/
DTvSingletonsModule.java18 import com.android.tv.TvSingletons;
33 private final TvSingletons mTvSingletons;
35 public TvSingletonsModule(TvSingletons mTvSingletons) { in TvSingletonsModule()
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/
DRecordedProgramDetailsFragment.java26 import com.android.tv.TvSingletons;
50 mDvrDataManager = TvSingletons.getSingletons(getContext()).getDvrDataManager(); in onCreate()
58 TvSingletons.getSingletons(getActivity()).getDvrWatchedPositionManager(); in onCreateInternal()
156 DvrManager dvrManager = TvSingletons.getSingletons(getActivity()).getDvrManager();
/packages/apps/TV/tests/unit/src/com/android/tv/util/
DMockTvSingletons.java24 import com.android.tv.TvSingletons;
53 public class MockTvSingletons implements TvSingletons, HasSingletons<TvSingletons> {
199 public TvSingletons singletons() { in singletons()
/packages/apps/TV/src/com/android/tv/receiver/
DPackageIntentsReceiver.java25 import com.android.tv.TvSingletons;
34 if (!TvSingletons.getSingletons(context).getTvInputManagerHelper().hasTvInputManager()) { in onReceive()
39 ((TvSingletons) context.getApplicationContext()).handleInputCountChanged(); in onReceive()
DBootCompletedReceiver.java28 import com.android.tv.TvSingletons;
55 if (!TvSingletons.getSingletons(context).getTvInputManagerHelper().hasTvInputManager()) { in onReceive()
88 RecordingScheduler scheduler = TvSingletons.getSingletons(context).getRecordingScheduler(); in onReceive()
DAudioCapabilitiesReceiver.java27 import com.android.tv.TvSingletons;
63 TvSingletons tvSingletons = TvSingletons.getSingletons(context); in AudioCapabilitiesReceiver()
/packages/apps/TV/src/com/android/tv/onboarding/
DOnboardingActivity.java33 import com.android.tv.TvSingletons;
96 TvSingletons singletons = TvSingletons.getSingletons(this); in onCreate()
230 TvSingletons.getSingletons(OnboardingActivity.this) in executeAction()
DNewSourcesFragment.java27 import com.android.tv.TvSingletons;
54 TvSingletons singletons = TvSingletons.getSingletons(getActivity()); in onCreateView()
/packages/apps/TV/src/com/android/tv/dvr/ui/
DDvrSeriesScheduledFragment.java28 import com.android.tv.TvSingletons;
76 TvSingletons.getSingletons(context) in onAttach()
87 TvSingletons.getSingletons(getContext()) in onAttach()
92 TvSingletons.getSingletons(context).getDvrScheduleManager(); in onAttach()
DDvrScheduleFragment.java32 import com.android.tv.TvSingletons;
73 DvrManager dvrManager = TvSingletons.getSingletons(getContext()).getDvrManager(); in onCreate()
164 TvSingletons.getSingletons(getContext()) in onTrackedGuidedActionClicked()
179 TvSingletons.getSingletons(getContext()) in onTrackedGuidedActionClicked()
DDvrSeriesDeletionActivity.java28 import com.android.tv.TvSingletons;
86 TvSingletons singletons = TvSingletons.getSingletons(this); in deleteSelectedIds()
DDvrConflictFragment.java34 import com.android.tv.TvSingletons;
159 TvSingletons.getSingletons(getContext()) in getScheduleTitle()
189 TvSingletons.getSingletons(getContext()) in onCreateView()
237 TvSingletons.getSingletons(getContext()) in onCreateView()
248 TvSingletons.getSingletons(getContext()) in onCreateView()
DDvrSeriesSettingsFragment.java32 import com.android.tv.TvSingletons;
92 mDvrDataManager = TvSingletons.getSingletons(context).getDvrDataManager(); in onAttach()
114 TvSingletons.getSingletons(context).getChannelDataManager(); in onAttach()
219 DvrManager dvrManager = TvSingletons.getSingletons(getContext()).getDvrManager(); in onGuidedActionClicked()
339 TvSingletons.getSingletons(getContext()) in updateSchedulesToSeries()
DDvrStopSeriesRecordingFragment.java29 import com.android.tv.TvSingletons;
79 TvSingletons singletons = TvSingletons.getSingletons(getContext()); in onTrackedGuidedActionClicked()
DDvrChannelRecordDurationOptionFragment.java25 import com.android.tv.TvSingletons;
45 TvSingletons.getSingletons(getContext()) in onCreate()
93 DvrManager dvrManager = TvSingletons.getSingletons(getContext()).getDvrManager(); in onTrackedGuidedActionClicked()
/packages/apps/TV/tests/common/src/com/android/tv/testing/
DTestSingletonApp.java25 import com.android.tv.TvSingletons;
64 implements TvSingletons, TunerSingletons, HasSingletons<TvSingletons> {
238 public TvSingletons singletons() { in singletons()
/packages/apps/TV/src/com/android/tv/app/
DLiveTvApplication.java20 import com.android.tv.TvSingletons;
40 public class LiveTvApplication extends TvApplication implements HasSingletons<TvSingletons> {
112 public TvSingletons singletons() { in singletons()
/packages/apps/TV/src/com/android/tv/
DTvSingletons.java47 public interface TvSingletons extends BaseSingletons, HasBuiltInTunerManager, HasUiFlags { interface
66 static TvSingletons getSingletons(Context context) { in getSingletons()
67 return (TvSingletons) BaseApplication.getSingletons(context); in getSingletons()
/packages/apps/TV/src/com/android/tv/recommendation/
DRecordedProgramPreviewUpdater.java24 import com.android.tv.TvSingletons;
60 TvSingletons tvSingletons = TvSingletons.getSingletons(mContext); in RecordedProgramPreviewUpdater()
/packages/apps/TV/src/com/android/tv/dvr/recorder/
DRecordingScheduler.java35 import com.android.tv.TvSingletons;
122 TvSingletons.getSingletons(context).getRecordingScheduler() == null); in createScheduler()
125 TvSingletons singletons = TvSingletons.getSingletons(context); in createScheduler()
/packages/apps/TV/src/com/android/tv/dialog/
DDvrHistoryDialogFragment.java34 import com.android.tv.TvSingletons;
56 TvSingletons singletons = TvSingletons.getSingletons(getContext()); in onCreateDialog()

1234