Home
last modified time | relevance | path

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

/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/datamanager/
DChannelDataManager.java38 import com.android.tv.tuner.data.TunerChannel;
106 private final ConcurrentHashMap<Long, TunerChannel> mTunerChannelMap;
107 private final ConcurrentSkipListMap<TunerChannel, Long> mTunerChannelIdMap;
111 private final ConcurrentSkipListSet<TunerChannel> mScannedChannels;
112 private final ConcurrentSkipListSet<TunerChannel> mPreviousScannedChannels;
122 void onRequestProgramsResponse(TunerChannel channel, List<EitItem> programs); in onRequestProgramsResponse()
128 void onProgramsArrived(TunerChannel channel, List<EitItem> programs); in onProgramsArrived()
133 void onChannelArrived(TunerChannel channel); in onChannelArrived()
205 public TunerChannel getChannel(long channelId) { in getChannel()
206 TunerChannel channel = mTunerChannelMap.get(channelId); in getChannel()
[all …]
/packages/apps/TV/tuner/src/com/android/tv/tuner/data/
DTunerChannel.java35 public class TunerChannel implements Comparable<TunerChannel>, PsipData.TvTracksInterface { class
69 private TunerChannel( in TunerChannel() method in TunerChannel
177 private TunerChannel( in TunerChannel() method in TunerChannel
204 public TunerChannel(PsipData.VctItem channel, List<PsiData.PmtItem> pmtItems) { in TunerChannel() method in TunerChannel
209 public TunerChannel(int programNumber, List<PsiData.PmtItem> pmtItems) { in TunerChannel() method in TunerChannel
214 public TunerChannel(PsipData.SdtItem channel, List<PsiData.PmtItem> pmtItems) { in TunerChannel() method in TunerChannel
218 private TunerChannel(TunerChannelProto tunerChannelProto) { in TunerChannel() method in TunerChannel
223 public static TunerChannel forFile(PsipData.VctItem channel, List<PsiData.PmtItem> pmtItems) { in forFile()
224 return new TunerChannel(channel, 0, pmtItems, Channel.TunerType.TYPE_FILE); in forFile()
227 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.java29 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.java28 import com.android.tv.tuner.data.TunerChannel;
62 private TunerChannel mChannel;
174 public boolean startStream(TunerChannel channel) { in startStream()
283 public List<TunerChannel> getMalFormedChannels() { in getMalFormedChannels()
301 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.java23 import com.android.tv.tuner.data.TunerChannel;
85 Context context, TunerChannel channel, EventListener eventListener) { in createDataSource()
DFileTsStreamer.java27 import com.android.tv.tuner.data.TunerChannel;
179 public boolean startStream(TunerChannel channel) { in startStream()
/packages/apps/TV/tuner/src/com/android/tv/tuner/setup/
DScanFragment.java45 import com.android.tv.tuner.data.TunerChannel;
221 private final ArrayList<TunerChannel> mChannels;
270 public void add(TunerChannel channel) { in add()
333 private void addChannel(final TunerChannel channel) { in addChannel()
449 List<TunerChannel> incompleteChannels = in addCjMusicChannel()
453 for (TunerChannel tunerChannel : incompleteChannels) { in addCjMusicChannel()
454 if ((tunerChannel.getVideoPid() == TunerChannel.INVALID_PID) in addCjMusicChannel()
455 && (tunerChannel.getAudioPid() != TunerChannel.INVALID_PID)) { in addCjMusicChannel()
469 for (TunerChannel tunerChannel : in addChannelsWithoutVct()
471 if ((tunerChannel.getVideoPid() != TunerChannel.INVALID_PID) in addChannelsWithoutVct()
[all …]
/packages/apps/TV/tuner/src/com/android/tv/tuner/ts/
DEventDetector.java29 import com.android.tv.tuner.data.TunerChannel;
51 private final SparseArray<TunerChannel> mChannelMap = new SparseArray<>();
80 TunerChannel tunerChannel = mChannelMap.get(channel.getProgramNumber());
150 TunerChannel tunerChannel = new TunerChannel(channel, pmtItems);
201 TunerChannel tunerChannel = new TunerChannel(channel, pmtItems);
240 void onEventDetected(TunerChannel channel, List<EitItem> items); in onEventDetected()
325 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/tvinput/
DTunerSessionWorkerExoV2.java63 import com.android.tv.tuner.data.TunerChannel;
200 private volatile TunerChannel mChannel;
405 public TunerChannel getCurrentChannel() { in getCurrentChannel()
618 public void onProgramsArrived(TunerChannel channel, List<EitItem> programs) { in onProgramsArrived()
623 public void onChannelArrived(TunerChannel channel) { in onChannelArrived()
633 public void onRequestProgramsResponse(TunerChannel channel, List<EitItem> programs) { in onRequestProgramsResponse()
656 public void onChannelDetected(TunerChannel channel, boolean channelArrivedAtFirstTime) { in onChannelDetected()
661 public void onEventDetected(TunerChannel channel, List<EitItem> items) { in onEventDetected()
774 Pair<TunerChannel, List<EitItem>> pair = in handleMessage()
775 (Pair<TunerChannel, List<EitItem>>) msg.obj; in handleMessage()
[all …]
DTunerSessionWorker.java62 import com.android.tv.tuner.data.TunerChannel;
201 private volatile TunerChannel mChannel;
405 public TunerChannel getCurrentChannel() { in getCurrentChannel()
623 public void onProgramsArrived(TunerChannel channel, List<EitItem> programs) { in onProgramsArrived()
628 public void onChannelArrived(TunerChannel channel) { in onChannelArrived()
638 public void onRequestProgramsResponse(TunerChannel channel, List<EitItem> programs) { in onRequestProgramsResponse()
661 public void onChannelDetected(TunerChannel channel, boolean channelArrivedAtFirstTime) { in onChannelDetected()
666 public void onEventDetected(TunerChannel channel, List<EitItem> items) { in onEventDetected()
783 Pair<TunerChannel, List<EitItem>> pair = in handleMessage()
784 (Pair<TunerChannel, List<EitItem>>) msg.obj; in handleMessage()
[all …]
DTunerRecordingSessionWorker.java51 import com.android.tv.tuner.data.TunerChannel;
159 private TunerChannel mChannel;
228 public void onChannelDetected(TunerChannel channel, boolean channelArrivedAtFirstTime) { in onChannelDetected()
236 public void onEventDetected(TunerChannel channel, List<PsipData.EitItem> items) { in onEventDetected()
378 Pair<TunerChannel, List<EitItem>> pair = in handleMessage()
379 (Pair<TunerChannel, List<EitItem>>) msg.obj; in handleMessage()
393 private TunerChannel getChannel(Uri channelUri) { in getChannel()
526 private void updateCaptionTracks(TunerChannel channel, List<PsipData.EitItem> items) { in updateCaptionTracks()
DTunerRecordingSessionWorkerExoV2.java51 import com.android.tv.tuner.data.TunerChannel;
160 private TunerChannel mChannel;
229 public void onChannelDetected(TunerChannel channel, boolean channelArrivedAtFirstTime) { in onChannelDetected()
237 public void onEventDetected(TunerChannel channel, List<PsipData.EitItem> items) { in onEventDetected()
376 Pair<TunerChannel, List<EitItem>> pair = in handleMessage()
377 (Pair<TunerChannel, List<EitItem>>) msg.obj; in handleMessage()
396 private TunerChannel getChannel(Uri channelUri) { in getChannel()
529 private void updateCaptionTracks(TunerChannel channel, List<PsipData.EitItem> items) { in updateCaptionTracks()
/packages/apps/TV/tuner/tests/unittests/javatests/com/android/tv/tuner/
DZappingTimeTest.java36 import com.android.tv.tuner.data.TunerChannel;
87 private TunerChannel mChannel;
124 mChannel = new TunerChannel(PROGRAM_NUMBER, pmtItems); in setUp()
430 public void onChannelDetected(TunerChannel channel, boolean channelArrivedAtFirstTime) { in onChannelDetected()
437 public void onEventDetected(TunerChannel channel, List<PsipData.EitItem> items) { in onEventDetected()
DZappingTimeTestExoV2.java38 import com.android.tv.tuner.data.TunerChannel;
94 private TunerChannel mChannel;
132 mChannel = new TunerChannel(PROGRAM_NUMBER, pmtItems); in setUp()
457 public void onChannelDetected(TunerChannel channel, boolean channelArrivedAtFirstTime) { in onChannelDetected()
464 public void onEventDetected(TunerChannel channel, List<PsipData.EitItem> items) { in onEventDetected()
/packages/apps/TV/tuner/tests/robotests/javatests/com/android/tv/tuner/tvinput/datamanager/
DChannelDataManagerTest.java29 import com.android.tv.tuner.data.TunerChannel;
81 TunerChannel tunerChannel = mChannelDataManager.getChannel(2L); in getChannel_locked()
87 TunerChannel tunerChannel = mChannelDataManager.getChannel(1L); in getChannel_unlocked()
/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/hdhomerun/
DHdHomeRunTunerHal.java25 import com.android.tv.tuner.data.TunerChannel;
121 channelNumber.replace(TunerChannel.CHANNEL_NUMBER_SEPARATOR, VCHANNEL_SEPARATOR); in tune()
DHdHomeRunChannelScan.java25 import com.android.tv.tuner.data.TunerChannel;
172 TunerChannel.forNetwork( in readProgram()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/
DMpegTsPlayer.java29 import com.android.tv.tuner.data.TunerChannel;
228 TunerChannel channel, in prepare()