Home
last modified time | relevance | path

Searched refs:getCurrentProgram (Results 1 – 25 of 29) sorted by relevance

12

/packages/apps/Car/Radio/src/com/android/car/radio/
DRadioController.java65 mAppService.getCurrentProgram().observe(activity, this::onCurrentProgramChanged); in RadioController()
108 public LiveData<ProgramInfo> getCurrentProgram() { in getCurrentProgram() method in RadioController
109 return mAppService.getCurrentProgram(); in getCurrentProgram()
DManualTunerFragment.java52 ProgramInfo current = mRadioController.getCurrentProgram().getValue(); in setUserVisibleHint()
DFavoritesFragment.java54 mBrowseAdapter = new BrowseAdapter(this, mRadioController.getCurrentProgram(), in onViewCreated()
DBrowseFragment.java55 mBrowseAdapter = new BrowseAdapter(this, mRadioController.getCurrentProgram(), in onViewCreated()
DRadioActivity.java72 mRadioController.getCurrentProgram().observe(this, info -> { in onCreate()
/packages/apps/Car/Radio/src/com/android/car/radio/media/
DTunerSession.java91 appService.getCurrentProgram().observeForever(this::updateMetadata); in TunerSession()
93 favorites -> updateMetadata(mAppService.getCurrentProgram().getValue())); in TunerSession()
168 ProgramInfo info = mAppService.getCurrentProgram().getValue(); in onSetRating()
/packages/apps/TV/src/com/android/tv/recommendation/
DChannelRecord.java73 public Program getCurrentProgram() { in getCurrentProgram() method in ChannelRecord
78 mCurrentProgram = manager.getCurrentProgram(mChannel.getId()); in getCurrentProgram()
DRoutineWatchEvaluator.java48 Program currentProgram = cr.getCurrentProgram(); in evaluateChannel()
DChannelPreviewUpdater.java180 Utils.getCurrentProgram(mContext, channel.getId()); in updatePreviewDataForChannels()
DNotificationService.java378 final Program program = Utils.getCurrentProgram(this, channel.getId()); in sendNotification()
/packages/apps/TV/src/com/android/tv/search/
DDataManagerSearch.java166 Program program = mProgramDataManager.getCurrentProgram(channel.getId()); in searchFromDataManagers()
192 Program program = mProgramDataManager.getCurrentProgram(channel.getId()); in searchFromDataManagers()
236 program = mProgramDataManager.getCurrentProgram(channel.getId()); in addResult()
/packages/apps/TV/tests/robotests/src/com/android/tv/guide/
DProgramTableAdapterTest.java82 Mockito.when(mProgramDataManager.getCurrentProgram(anyLong())) in testOnTableEntryChanged()
103 mProgramDataManager.getCurrentProgram(2), in testOnTableEntryChanged()
/packages/apps/TV/src/com/android/tv/
DMainActivity.java1241 public Program getCurrentProgram() { in getCurrentProgram() method in MainActivity
1244 return mTimeShiftManager.getCurrentProgram(); in getCurrentProgram()
1246 return mProgramDataManager.getCurrentProgram(getCurrentChannelId()); in getCurrentProgram()
1801 mMediaSessionWrapper.update(mTvView.isBlocked(), getCurrentChannel(), getCurrentProgram()); in tune()
1841 && getCurrentProgram() == null in isNowPlayingProgram()
1843 : program.equals(getCurrentProgram()); in isNowPlayingProgram()
1885 mMediaSessionWrapper.update(blockOrUnblock, getCurrentChannel(), getCurrentProgram()); in blockOrUnblockScreen()
2270 mProgramDataManager.getCurrentProgram(
2968 mMediaSessionWrapper.update(true, getCurrentChannel(), getCurrentProgram());
2977 mMediaSessionWrapper.update(false, getCurrentChannel(), getCurrentProgram());
[all …]
DTimeShiftManager.java551 public Program getCurrentProgram() { in getCurrentProgram() method in TimeShiftManager
563 (getCurrentProgram() == null ? 0 : getCurrentProgram().getDurationMillis()); in getPlaybackSpeed()
905 Program program = mProgramDataManager.getCurrentProgram(channel.getId()); in onAvailabilityChanged()
/packages/apps/TV/tests/robotests/src/com/android/tv/data/
DProgramDataManagerTest.java146 Program currentProgram = mProgramDataManager.getCurrentProgram(channelId); in testGetPrograms()
214 Program currentProgram = mProgramDataManager.getCurrentProgram(testChannelId); in testCurrentProgramListener()
/packages/apps/TV/src/com/android/tv/menu/
DChannelsPosterPrefetcher.java108 Program program = mProgramDataManager.getCurrentProgram(channel.getId()); in doPrefetchImages()
DChannelCardView.java110 mMainActivity.getProgramDataManager().getCurrentProgram(mChannel.getId()); in updateProgram()
/packages/apps/TV/src/com/android/tv/ui/sidepanel/
DChannelCheckItem.java104 updateProgramTitle(mProgramDataManager.getCurrentProgram(mChannel.getId())); in onUpdate()
/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/
DTunerSessionWorkerExoV2.java986 EitItem currentProgram = getCurrentProgram(); in handleMessageScheduleOfPrograms()
1809 + getCurrentProgram()); in doReschedulePrograms()
1911 private EitItem getCurrentProgram() { in getCurrentProgram() method in TunerSessionWorkerExoV2
1979 EitItem currentProgram = getCurrentProgram(); in getContentRatingOfCurrentProgramBlocked()
DTunerSessionWorker.java1006 EitItem currentProgram = getCurrentProgram(); in handleMessageScheduleOfPrograms()
1875 + getCurrentProgram()); in doReschedulePrograms()
1988 private EitItem getCurrentProgram() { in getCurrentProgram() method in TunerSessionWorker
2055 EitItem currentProgram = getCurrentProgram(); in getContentRatingOfCurrentProgramBlocked()
DTunerRecordingSessionWorker.java534 PsipData.EitItem currentProgram = getCurrentProgram(items); in updateCaptionTracks()
549 private PsipData.EitItem getCurrentProgram(List<PsipData.EitItem> items) { in getCurrentProgram() method in TunerRecordingSessionWorker
DTunerRecordingSessionWorkerExoV2.java537 PsipData.EitItem currentProgram = getCurrentProgram(items); in updateCaptionTracks()
552 private PsipData.EitItem getCurrentProgram(List<PsipData.EitItem> items) { in getCurrentProgram() method in TunerRecordingSessionWorkerExoV2
/packages/apps/Car/Radio/src/com/android/car/radio/service/
DRadioAppServiceWrapper.java286 public LiveData<ProgramInfo> getCurrentProgram() { in getCurrentProgram() method in RadioAppServiceWrapper
/packages/apps/TV/src/com/android/tv/ui/
DTunableTvView.java1141 Program currentProgram = mProgramDataManager.getCurrentProgram(mCurrentChannel.getId()); in shouldShowImageForTuning()
1155 Program currentProgram = mProgramDataManager.getCurrentProgram(mCurrentChannel.getId()); in showImageForTuningIfNeeded()
/packages/apps/TV/src/com/android/tv/guide/
DProgramManager.java541 Program currentProgram = mProgramDataManager.getCurrentProgram(channel.getId()); in buildGenreFilters()

12