Home
last modified time | relevance | path

Searched refs:TunerChannel (Results 1 – 18 of 18) sorted by relevance

/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/datamanager/
DChannelDataManager.java39 import com.android.tv.tuner.data.TunerChannel;
107 private final ConcurrentHashMap<Long, TunerChannel> mTunerChannelMap;
108 private final ConcurrentSkipListMap<TunerChannel, Long> mTunerChannelIdMap;
112 private final ConcurrentSkipListSet<TunerChannel> mScannedChannels;
113 private final ConcurrentSkipListSet<TunerChannel> mPreviousScannedChannels;
123 void onRequestProgramsResponse(TunerChannel channel, List<EitItem> programs); in onRequestProgramsResponse()
129 void onProgramsArrived(TunerChannel channel, List<EitItem> programs); in onProgramsArrived()
134 void onChannelArrived(TunerChannel channel); in onChannelArrived()
206 public TunerChannel getChannel(long channelId) { in getChannel()
207 TunerChannel channel = mTunerChannelMap.get(channelId); in getChannel()
[all …]
/packages/apps/TV/tuner/src/com/android/tv/tuner/data/
DTunerChannel.java37 public class TunerChannel implements Comparable<TunerChannel>, PsipData.TvTracksInterface { class
71 private TunerChannel( in TunerChannel() method in TunerChannel
141 private TunerChannel( in TunerChannel() method in TunerChannel
159 public TunerChannel(PsipData.VctItem channel, List<PsiData.PmtItem> pmtItems) { in TunerChannel() method in TunerChannel
164 public TunerChannel(int programNumber, List<PsiData.PmtItem> pmtItems) { in TunerChannel() method in TunerChannel
169 public TunerChannel(PsipData.SdtItem channel, List<PsiData.PmtItem> pmtItems) { in TunerChannel() method in TunerChannel
173 private TunerChannel(TunerChannelProto tunerChannelProto) { in TunerChannel() method in TunerChannel
177 public static TunerChannel forFile(PsipData.VctItem channel, List<PsiData.PmtItem> pmtItems) { in forFile()
178 return new TunerChannel(channel, 0, pmtItems, Channel.TunerType.TYPE_FILE); in forFile()
181 public static TunerChannel forDvbFile( in forDvbFile()
[all …]
/packages/apps/TV/tuner/src/com/android/tv/tuner/source/
DTunerTsStreamerManager.java25 import com.android.tv.tuner.data.TunerChannel;
61 TunerChannel channel, in createDataSource()
111 TunerChannel channel = streamer.getChannel(); in releaseDataSource()
142 private final Map<TunerChannel, Set<Integer>> mSessions = new HashMap<>();
143 private final Map<TunerChannel, TunerTsStreamer> mStreamers = new HashMap<>();
146 private void putLocked(TunerChannel channel, int sessionId, TunerTsStreamer streamer) { in putLocked()
154 private void appendSessionLocked(TunerChannel channel, int sessionId) { in appendSessionLocked()
161 private void removeSessionLocked(TunerChannel channel, int sessionId) { in removeSessionLocked()
171 private boolean containsLocked(TunerChannel channel) { in containsLocked()
176 private TunerTsStreamer getStreamerLocked(TunerChannel channel) { in getStreamerLocked()
[all …]
DFileSourceEventDetector.java27 import com.android.tv.tuner.data.TunerChannel;
51 private final SparseArray<TunerChannel> mChannelMap = new SparseArray<>();
123 TunerChannel tunerChannel = mChannelMap.get(channel.getProgramNumber());
186 TunerChannel tunerChannel = TunerChannel.forFile(channel, pmtItems);
233 TunerChannel tunerChannel = TunerChannel.forDvbFile(channel, pmtItems);
DTunerTsStreamer.java25 import com.android.tv.tuner.data.TunerChannel;
57 private TunerChannel mChannel;
153 public boolean startStream(TunerChannel channel) { in startStream()
258 public List<TunerChannel> getMalFormedChannels() { in getMalFormedChannels()
276 public TunerChannel getChannel() { in getChannel()
DTsStreamWriter.java21 import com.android.tv.tuner.data.TunerChannel;
46 private TunerChannel mChannel;
75 public void setChannel(TunerChannel channel) { in setChannel()
DTsStreamer.java20 import com.android.tv.tuner.data.TunerChannel;
41 boolean startStream(TunerChannel channel); in startStream()
DTsDataSourceManager.java22 import com.android.tv.tuner.data.TunerChannel;
85 Context context, TunerChannel channel, EventListener eventListener) { in createDataSource()
DFileTsStreamer.java25 import com.android.tv.tuner.data.TunerChannel;
162 public boolean startStream(TunerChannel channel) { in startStream()
/packages/apps/TV/tuner/src/com/android/tv/tuner/ts/
DEventDetector.java26 import com.android.tv.tuner.data.TunerChannel;
50 private final SparseArray<TunerChannel> mChannelMap = new SparseArray<>();
78 TunerChannel tunerChannel = mChannelMap.get(channel.getProgramNumber());
148 TunerChannel tunerChannel = new TunerChannel(channel, pmtItems);
198 TunerChannel tunerChannel = new TunerChannel(channel, pmtItems);
236 void onEventDetected(TunerChannel channel, List<EitItem> items); in onEventDetected()
311 public List<TunerChannel> getMalFormedChannels() { in getMalFormedChannels()
DTsParser.java31 import com.android.tv.tuner.data.TunerChannel;
520 public List<TunerChannel> getMalFormedChannels() { in getMalFormedChannels()
521 List<TunerChannel> incompleteChannels = new ArrayList<>(); in getMalFormedChannels()
527 TunerChannel tunerChannel = new TunerChannel(programNumber, pmtList); in getMalFormedChannels()
/packages/apps/TV/tuner/src/com/android/tv/tuner/setup/
DScanFragment.java44 import com.android.tv.tuner.data.TunerChannel;
192 private final ArrayList<TunerChannel> mChannels;
241 public void add(TunerChannel channel) { in add()
298 private void addChannel(final TunerChannel channel) { in addChannel()
402 for (TunerChannel tunerChannel : in addChannelsWithoutVct()
404 if ((tunerChannel.getVideoPid() != TunerChannel.INVALID_PID) in addChannelsWithoutVct()
405 && (tunerChannel.getAudioPid() != TunerChannel.INVALID_PID)) { in addChannelsWithoutVct()
433 public void onEventDetected(TunerChannel channel, List<PsipData.EitItem> items) { in onEventDetected()
445 public void onChannelDetected(TunerChannel channel, boolean channelArrivedAtFirstTime) { in onChannelDetected()
516 new TunerChannel(mProgramNumber, new ArrayList<>()) { in startStream()
[all …]
/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/
DTunerSessionWorkerExoV2.java59 import com.android.tv.tuner.data.TunerChannel;
195 private volatile TunerChannel mChannel;
379 public TunerChannel getCurrentChannel() { in getCurrentChannel()
597 public void onProgramsArrived(TunerChannel channel, List<EitItem> programs) { in onProgramsArrived()
602 public void onChannelArrived(TunerChannel channel) { in onChannelArrived()
612 public void onRequestProgramsResponse(TunerChannel channel, List<EitItem> programs) { in onRequestProgramsResponse()
635 public void onChannelDetected(TunerChannel channel, boolean channelArrivedAtFirstTime) { in onChannelDetected()
640 public void onEventDetected(TunerChannel channel, List<EitItem> items) { in onEventDetected()
752 Pair<TunerChannel, List<EitItem>> pair = in handleMessage()
753 (Pair<TunerChannel, List<EitItem>>) msg.obj; in handleMessage()
[all …]
DTunerSessionWorker.java59 import com.android.tv.tuner.data.TunerChannel;
196 private volatile TunerChannel mChannel;
379 public TunerChannel getCurrentChannel() { in getCurrentChannel()
589 public void onProgramsArrived(TunerChannel channel, List<EitItem> programs) { in onProgramsArrived()
594 public void onChannelArrived(TunerChannel channel) { in onChannelArrived()
604 public void onRequestProgramsResponse(TunerChannel channel, List<EitItem> programs) { in onRequestProgramsResponse()
627 public void onChannelDetected(TunerChannel channel, boolean channelArrivedAtFirstTime) { in onChannelDetected()
632 public void onEventDetected(TunerChannel channel, List<EitItem> items) { in onEventDetected()
742 Pair<TunerChannel, List<EitItem>> pair = in handleMessage()
743 (Pair<TunerChannel, List<EitItem>>) msg.obj; in handleMessage()
[all …]
DTunerRecordingSessionWorker.java49 import com.android.tv.tuner.data.TunerChannel;
155 private TunerChannel mChannel;
208 public void onChannelDetected(TunerChannel channel, boolean channelArrivedAtFirstTime) { in onChannelDetected()
216 public void onEventDetected(TunerChannel channel, List<PsipData.EitItem> items) { in onEventDetected()
358 Pair<TunerChannel, List<EitItem>> pair = in handleMessage()
359 (Pair<TunerChannel, List<EitItem>>) msg.obj; in handleMessage()
373 private TunerChannel getChannel(Uri channelUri) { in getChannel()
512 private void updateCaptionTracks(TunerChannel channel, List<PsipData.EitItem> items) { in updateCaptionTracks()
/packages/apps/TV/tuner/tests/unittests/javatests/com/android/tv/tuner/
DZappingTimeTest.java32 import com.android.tv.tuner.data.TunerChannel;
76 private TunerChannel mChannel;
115 mChannel = new TunerChannel(PROGRAM_NUMBER, pmtItems); in setUp()
397 public void onChannelDetected(TunerChannel channel, boolean channelArrivedAtFirstTime) { in onChannelDetected()
404 public void onEventDetected(TunerChannel channel, List<PsipData.EitItem> items) { in onEventDetected()
/packages/apps/TV/tuner/src/com/android/tv/tuner/api/
DChannelScanListener.java18 import com.android.tv.tuner.data.TunerChannel;
29 void onChannelDetected(TunerChannel channel, boolean channelArrivedAtFirstTime); in onChannelDetected()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/
DMpegTsPlayer.java29 import com.android.tv.tuner.data.TunerChannel;
227 TunerChannel channel, in prepare()