Home
last modified time | relevance | path

Searched refs:tunerChannel (Results 1 – 8 of 8) sorted by relevance

/packages/apps/TV/tuner/src/com/android/tv/tuner/ts/
DEventDetector.java78 TunerChannel tunerChannel = mChannelMap.get(channel.getProgramNumber());
83 + tunerChannel
116 if (tunerChannel != null && !mEventListeners.isEmpty()) {
118 eventListener.onEventDetected(tunerChannel, items);
148 TunerChannel tunerChannel = new TunerChannel(channel, pmtItems);
169 tunerChannel.setHasCaptionTrack();
171 tunerChannel.setAudioTracks(audioTracks);
172 tunerChannel.setCaptionTracks(captionTracks);
173 tunerChannel.setFrequency(mFrequency);
174 tunerChannel.setModulation(mModulation);
[all …]
DTsParser.java527 TunerChannel tunerChannel = new TunerChannel(programNumber, pmtList); in getMalFormedChannels() local
528 incompleteChannels.add(tunerChannel); in getMalFormedChannels()
/packages/apps/TV/tuner/src/com/android/tv/tuner/source/
DFileSourceEventDetector.java123 TunerChannel tunerChannel = mChannelMap.get(channel.getProgramNumber());
128 + tunerChannel
161 if (tunerChannel != null && mEventListener != null) {
162 mEventListener.onEventDetected(tunerChannel, items);
186 TunerChannel tunerChannel = TunerChannel.forFile(channel, pmtItems);
207 tunerChannel.setHasCaptionTrack();
209 tunerChannel.setFilepath(mStreamProvider.getFilepath());
210 tunerChannel.setAudioTracks(audioTracks);
211 tunerChannel.setCaptionTracks(captionTracks);
213 mChannelMap.put(tunerChannel.getProgramNumber(), tunerChannel);
[all …]
/packages/apps/TV/tuner/src/com/android/tv/tuner/setup/
DScanFragment.java402 for (TunerChannel tunerChannel : in addChannelsWithoutVct()
404 if ((tunerChannel.getVideoPid() != TunerChannel.INVALID_PID) in addChannelsWithoutVct()
405 && (tunerChannel.getAudioPid() != TunerChannel.INVALID_PID)) { in addChannelsWithoutVct()
406 tunerChannel.setFrequency(scanChannel.frequency); in addChannelsWithoutVct()
407 tunerChannel.setModulation(scanChannel.modulation); in addChannelsWithoutVct()
408 tunerChannel.setShortName( in addChannelsWithoutVct()
413 tunerChannel.getProgramNumber())); in addChannelsWithoutVct()
414 tunerChannel.setVirtualMajor(scanChannel.radioFrequencyNumber); in addChannelsWithoutVct()
415 tunerChannel.setVirtualMinor(tunerChannel.getProgramNumber()); in addChannelsWithoutVct()
416 onChannelDetected(tunerChannel, true); in addChannelsWithoutVct()
/packages/apps/TV/tuner/src/com/android/tv/tuner/data/
DTunerChannel.java215 TunerChannel tunerChannel = in forNetwork() local
221 tunerChannel.setVirtualMajor(major); in forNetwork()
222 tunerChannel.setVirtualMinor(minor); in forNetwork()
223 tunerChannel.setShortName(shortName); in forNetwork()
225 tunerChannel.setAudioPids(new ArrayList<>(Arrays.asList(0))); in forNetwork()
226 tunerChannel.selectAudioTrack(0); in forNetwork()
227 tunerChannel.setVideoPid(0); in forNetwork()
228 tunerChannel.setRecordingProhibited(recordingProhibited); in forNetwork()
230 tunerChannel.setVideoFormat(videoFormat); in forNetwork()
232 return tunerChannel; in forNetwork()
/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/datamanager/
DChannelDataManager.java692 TunerChannel tunerChannel = TunerChannel.fromCursor(cursor); in getChannelId() local
693 if (tunerChannel != null && tunerChannel.compareTo(channel) == 0) { in getChannelId()
694 mTunerChannelIdMap.put(channel, tunerChannel.getChannelId()); in getChannelId()
695 mTunerChannelMap.put(tunerChannel.getChannelId(), channel); in getChannelId()
696 return tunerChannel.getChannelId(); in getChannelId()
/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/
DTunerSessionWorkerExoV2.java1000 private boolean handleMessageUpdateChannelInfo(TunerChannel tunerChannel) { in handleMessageUpdateChannelInfo() argument
1001 if (mChannel != null && mChannel.compareTo(tunerChannel) == 0) { in handleMessageUpdateChannelInfo()
1002 updateChannelInfo(tunerChannel); in handleMessageUpdateChannelInfo()
DTunerSessionWorker.java990 private boolean handleMessageUpdateChannelInfo(TunerChannel tunerChannel) { in handleMessageUpdateChannelInfo() argument
991 if (mChannel != null && mChannel.compareTo(tunerChannel) == 0) { in handleMessageUpdateChannelInfo()
992 updateChannelInfo(tunerChannel); in handleMessageUpdateChannelInfo()