Home
last modified time | relevance | path

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

/packages/apps/TV/src/com/android/tv/tuner/tvinput/
DChannelDataManager.java38 import com.android.tv.tuner.data.TunerChannel;
104 private final ConcurrentHashMap<Long, TunerChannel> mTunerChannelMap;
105 private final ConcurrentSkipListMap<TunerChannel, Long> mTunerChannelIdMap;
109 private final ConcurrentSkipListSet<TunerChannel> mScannedChannels;
110 private final ConcurrentSkipListSet<TunerChannel> mPreviousScannedChannels;
120 void onRequestProgramsResponse(TunerChannel channel, List<EitItem> programs); in onRequestProgramsResponse()
126 void onProgramsArrived(TunerChannel channel, List<EitItem> programs); in onProgramsArrived()
131 void onChannelArrived(TunerChannel channel); in onChannelArrived()
202 public TunerChannel getChannel(long channelId) { in getChannel()
203 TunerChannel channel = mTunerChannelMap.get(channelId); in getChannel()
[all …]
DEventDetector.java26 import com.android.tv.tuner.data.TunerChannel;
51 private final SparseArray<TunerChannel> mChannelMap = new SparseArray<>();
76 TunerChannel tunerChannel = mChannelMap.get(channel.getProgramNumber());
134 TunerChannel tunerChannel = new TunerChannel(channel, pmtItems);
181 void onChannelDetected(TunerChannel channel, boolean channelArrivedAtFirstTime); in onChannelDetected()
189 void onEventDetected(TunerChannel channel, List<PsipData.EitItem> items); in onEventDetected()
258 public List<TunerChannel> getMalFormedChannels() { in getMalFormedChannels()
DTunerSessionWorker.java52 import com.android.tv.tuner.data.TunerChannel;
158 private volatile TunerChannel mChannel;
273 public TunerChannel getCurrentChannel() { in getCurrentChannel()
470 public void onProgramsArrived(TunerChannel channel, List<EitItem> programs) { in onProgramsArrived()
475 public void onChannelArrived(TunerChannel channel) { in onChannelArrived()
485 public void onRequestProgramsResponse(TunerChannel channel, List<EitItem> programs) { in onRequestProgramsResponse()
507 public void onChannelDetected(TunerChannel channel, boolean channelArrivedAtFirstTime) { in onChannelDetected()
512 public void onEventDetected(TunerChannel channel, List<EitItem> items) { in onEventDetected()
608 TunerChannel channel = (channelId == -1) ? null in handleMessage()
702 Pair<TunerChannel, List<EitItem>> pair = in handleMessage()
[all …]
DFileSourceEventDetector.java29 import com.android.tv.tuner.data.TunerChannel;
52 private final SparseArray<TunerChannel> mChannelMap = new SparseArray<>();
119 TunerChannel tunerChannel = mChannelMap.get(channel.getProgramNumber());
175 TunerChannel tunerChannel = TunerChannel.forFile(channel, pmtItems);
DTunerRecordingSessionWorker.java43 import com.android.tv.tuner.data.TunerChannel;
106 private TunerChannel mChannel;
148 public void onChannelDetected(TunerChannel channel, boolean channelArrivedAtFirstTime) { in onChannelDetected()
156 public void onEventDetected(TunerChannel channel, List<PsipData.EitItem> items) { in onEventDetected()
289 private TunerChannel getChannel(Uri channelUri) { in getChannel()
DTunerSession.java46 import com.android.tv.tuner.data.TunerChannel;
/packages/apps/TV/src/com/android/tv/tuner/source/
DTunerTsStreamerManager.java24 import com.android.tv.tuner.data.TunerChannel;
63 Context context, TunerChannel channel, EventDetector.EventListener listener, in createDataSource()
107 TunerChannel channel = streamer.getChannel(); in releaseDataSource()
133 private final Map<TunerChannel, Set<Integer>> mSessions = new HashMap<>();
134 private final Map<TunerChannel, TunerTsStreamer> mStreamers = new HashMap<>();
137 private void putLocked(TunerChannel channel, int sessionId, TunerTsStreamer streamer) { in putLocked()
145 private void appendSessionLocked(TunerChannel channel, int sessionId) { in appendSessionLocked()
152 private void removeSessionLocked(TunerChannel channel, int sessionId) { in removeSessionLocked()
162 private boolean containsLocked(TunerChannel channel) { in containsLocked()
167 private TunerTsStreamer getStreamerLocked(TunerChannel channel) { in getStreamerLocked()
[all …]
DTunerTsStreamer.java28 import com.android.tv.tuner.data.TunerChannel;
57 private TunerChannel mChannel;
127 public boolean startStream(TunerChannel channel) { in startStream()
231 public List<TunerChannel> getMalFormedChannels() { in getMalFormedChannels()
247 public TunerChannel getChannel() { in getChannel()
DTsStreamWriter.java21 import com.android.tv.tuner.data.TunerChannel;
49 private TunerChannel mChannel;
78 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;
76 public TsDataSource createDataSource(Context context, TunerChannel channel, in createDataSource()
DFileTsStreamer.java27 import com.android.tv.tuner.data.TunerChannel;
151 public boolean startStream(TunerChannel channel) { in startStream()
/packages/apps/TV/src/com/android/tv/tuner/data/
DTunerChannel.java40 public class TunerChannel implements Comparable<TunerChannel>, PsipData.TvTracksInterface { class
68 private TunerChannel(PsipData.VctItem channel, int programNumber, in TunerChannel() method in TunerChannel
132 public TunerChannel(PsipData.VctItem channel, List<PsiData.PmtItem> pmtItems) { in TunerChannel() method in TunerChannel
136 public TunerChannel(int programNumber, List<PsiData.PmtItem> pmtItems) { in TunerChannel() method in TunerChannel
140 private TunerChannel(TunerChannelProto tunerChannelProto) { in TunerChannel() method in TunerChannel
144 public static TunerChannel forFile(PsipData.VctItem channel, List<PsiData.PmtItem> pmtItems) { in forFile()
145 return new TunerChannel(channel, 0, pmtItems, Channel.TYPE_FILE); in forFile()
352 public int compareTo(@NonNull TunerChannel channel) { in compareTo()
369 if (!(o instanceof TunerChannel)) { in equals()
372 return compareTo((TunerChannel) o) == 0; in equals()
[all …]
/packages/apps/TV/src/com/android/tv/tuner/setup/
DScanFragment.java47 import com.android.tv.tuner.data.TunerChannel;
181 private final ArrayList<TunerChannel> mChannels;
230 public void add(TunerChannel channel) { in add()
285 private void addChannel(final TunerChannel channel) { in addChannel()
382 for (TunerChannel tunerChannel in addChannelsWithoutVct()
384 if ((tunerChannel.getVideoPid() != TunerChannel.INVALID_PID) in addChannelsWithoutVct()
385 && (tunerChannel.getAudioPid() != TunerChannel.INVALID_PID)) { in addChannelsWithoutVct()
410 public void onEventDetected(TunerChannel channel, List<PsipData.EitItem> items) { in onEventDetected()
422 public void onChannelDetected(TunerChannel channel, boolean channelArrivedAtFirstTime) { in onChannelDetected()
477 mEventListener.onChannelDetected(new TunerChannel(mProgramNumber, new ArrayList<>()) { in startStream()
[all …]
/packages/apps/TV/src/com/android/tv/tuner/ts/
DTsParser.java29 import com.android.tv.tuner.data.TunerChannel;
440 public List<TunerChannel> getMalFormedChannels() { in getMalFormedChannels()
441 List<TunerChannel> incompleteChannels = new ArrayList<>(); in getMalFormedChannels()
447 TunerChannel tunerChannel = new TunerChannel(programNumber, pmtList); in getMalFormedChannels()
/packages/apps/TV/src/com/android/tv/tuner/exoplayer/
DMpegTsPlayer.java41 import com.android.tv.tuner.data.TunerChannel;
221 public boolean prepare(Context context, TunerChannel channel, in prepare()