/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/datamanager/ |
D | ChannelDataManager.java | 38 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/ |
D | TunerChannel.java | 35 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/ |
D | TunerTsStreamerManager.java | 25 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 …]
|
D | FileSourceEventDetector.java | 29 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);
|
D | TunerTsStreamer.java | 28 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()
|
D | TsStreamWriter.java | 21 import com.android.tv.tuner.data.TunerChannel; 46 private TunerChannel mChannel; 75 public void setChannel(TunerChannel channel) { in setChannel()
|
D | TsStreamer.java | 20 import com.android.tv.tuner.data.TunerChannel; 41 boolean startStream(TunerChannel channel); in startStream()
|
D | TsDataSourceManager.java | 23 import com.android.tv.tuner.data.TunerChannel; 85 Context context, TunerChannel channel, EventListener eventListener) { in createDataSource()
|
D | FileTsStreamer.java | 27 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/ |
D | ScanFragment.java | 45 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/ |
D | EventDetector.java | 29 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()
|
D | TsParser.java | 31 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/ |
D | TunerSessionWorkerExoV2.java | 62 import com.android.tv.tuner.data.TunerChannel; 191 private volatile TunerChannel mChannel; 391 public TunerChannel getCurrentChannel() { in getCurrentChannel() 599 public void onProgramsArrived(TunerChannel channel, List<EitItem> programs) { in onProgramsArrived() 604 public void onChannelArrived(TunerChannel channel) { in onChannelArrived() 614 public void onRequestProgramsResponse(TunerChannel channel, List<EitItem> programs) { in onRequestProgramsResponse() 621 public void onChannelDetected(TunerChannel channel, boolean channelArrivedAtFirstTime) { in onChannelDetected() 626 public void onEventDetected(TunerChannel channel, List<EitItem> items) { in onEventDetected() 739 Pair<TunerChannel, List<EitItem>> pair = in handleMessage() 740 (Pair<TunerChannel, List<EitItem>>) msg.obj; in handleMessage() [all …]
|
D | TunerSessionWorker.java | 62 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 …]
|
D | TunerRecordingSessionWorker.java | 51 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()
|
D | TunerRecordingSessionWorkerExoV2.java | 51 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()
|
/packages/apps/TV/tuner/tests/unittests/javatests/com/android/tv/tuner/ |
D | ZappingTimeTest.java | 36 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()
|
D | ZappingTimeTestExoV2.java | 36 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()
|
/packages/apps/TV/tuner/tests/robotests/javatests/com/android/tv/tuner/tvinput/datamanager/ |
D | ChannelDataManagerTest.java | 29 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/ |
D | ChannelScanListener.java | 18 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/ |
D | HdHomeRunTunerHal.java | 25 import com.android.tv.tuner.data.TunerChannel; 121 channelNumber.replace(TunerChannel.CHANNEL_NUMBER_SEPARATOR, VCHANNEL_SEPARATOR); in tune()
|
D | HdHomeRunChannelScan.java | 25 import com.android.tv.tuner.data.TunerChannel; 172 TunerChannel.forNetwork( in readProgram()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer2/ |
D | MpegTsPlayerV2.java | 30 import com.android.tv.tuner.data.TunerChannel; 246 public boolean prepare(TunerChannel channel, EventDetector.EventListener eventListener) { in prepare()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/ |
D | MpegTsPlayer.java | 29 import com.android.tv.tuner.data.TunerChannel; 228 TunerChannel channel, in prepare()
|