Home
last modified time | relevance | path

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

/packages/apps/TV/tuner/src/com/android/tv/tuner/ts/
DEventDetector.java80 TunerChannel tunerChannel = mChannelMap.get(channel.getProgramNumber());
85 + tunerChannel
118 if (tunerChannel != null && !mEventListeners.isEmpty()) {
120 eventListener.onEventDetected(tunerChannel, items);
150 TunerChannel tunerChannel = new TunerChannel(channel, pmtItems);
171 tunerChannel.setHasCaptionTrack();
173 tunerChannel.setAudioTracks(audioTracks);
174 tunerChannel.setCaptionTracks(captionTracks);
175 tunerChannel.setDeliverySystemType(mDeliverySystemType);
176 tunerChannel.setFrequency(mFrequency);
[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.java453 for (TunerChannel tunerChannel : incompleteChannels) { in addCjMusicChannel()
454 if ((tunerChannel.getVideoPid() == TunerChannel.INVALID_PID) in addCjMusicChannel()
455 && (tunerChannel.getAudioPid() != TunerChannel.INVALID_PID)) { in addCjMusicChannel()
456 tunerChannel.setFrequency(frequency); in addCjMusicChannel()
457 tunerChannel.setModulation(modulation); in addCjMusicChannel()
458 onChannelDetected(tunerChannel, true); in addCjMusicChannel()
469 for (TunerChannel tunerChannel : in addChannelsWithoutVct()
471 if ((tunerChannel.getVideoPid() != TunerChannel.INVALID_PID) in addChannelsWithoutVct()
472 && (tunerChannel.getAudioPid() != TunerChannel.INVALID_PID)) { in addChannelsWithoutVct()
473 tunerChannel.setDeliverySystemType(scanChannel.deliverySystemType); in addChannelsWithoutVct()
[all …]
/packages/apps/TV/tuner/src/com/android/tv/tuner/data/
DTunerChannel.java261 TunerChannel tunerChannel = in forNetwork() local
267 tunerChannel.setVirtualMajor(major); in forNetwork()
268 tunerChannel.setVirtualMinor(minor); in forNetwork()
269 tunerChannel.setShortName(shortName); in forNetwork()
271 tunerChannel.setAudioPids(new ArrayList<>(Arrays.asList(0))); in forNetwork()
272 tunerChannel.selectAudioTrack(0); in forNetwork()
273 tunerChannel.setVideoPid(0); in forNetwork()
274 tunerChannel.setRecordingProhibited(recordingProhibited); in forNetwork()
276 tunerChannel.setVideoFormat(videoFormat); in forNetwork()
278 return tunerChannel; in forNetwork()
/packages/apps/TV/tuner/tests/robotests/javatests/com/android/tv/tuner/tvinput/datamanager/
DChannelDataManagerTest.java81 TunerChannel tunerChannel = mChannelDataManager.getChannel(2L); in getChannel_locked() local
82 assertThat(tunerChannel.isLocked()).isTrue(); in getChannel_locked()
87 TunerChannel tunerChannel = mChannelDataManager.getChannel(1L); in getChannel_unlocked() local
88 assertThat(tunerChannel.isLocked()).isFalse(); in getChannel_unlocked()
/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/datamanager/
DChannelDataManager.java697 TunerChannel tunerChannel = TunerChannel.fromCursor(cursor); in getChannelId() local
698 if (tunerChannel != null && tunerChannel.compareTo(channel) == 0) { in getChannelId()
699 mTunerChannelIdMap.put(channel, tunerChannel.getChannelId()); in getChannelId()
700 mTunerChannelMap.put(tunerChannel.getChannelId(), channel); in getChannelId()
701 return tunerChannel.getChannelId(); in getChannelId()
/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/
DTunerSessionWorkerExoV2.java1021 private boolean handleMessageUpdateChannelInfo(TunerChannel tunerChannel) { in handleMessageUpdateChannelInfo() argument
1022 if (mChannel != null && mChannel.compareTo(tunerChannel) == 0) { in handleMessageUpdateChannelInfo()
1023 updateChannelInfo(tunerChannel); in handleMessageUpdateChannelInfo()
DTunerSessionWorker.java1041 private boolean handleMessageUpdateChannelInfo(TunerChannel tunerChannel) { in handleMessageUpdateChannelInfo() argument
1042 if (mChannel != null && mChannel.compareTo(tunerChannel) == 0) { in handleMessageUpdateChannelInfo()
1043 updateChannelInfo(tunerChannel); in handleMessageUpdateChannelInfo()