Home
last modified time | relevance | path

Searched refs:mTunerHal (Results 1 – 5 of 5) sorted by relevance

/packages/apps/TV/usbtuner/src/com/android/usbtuner/
DUsbTunerTsScannerSource.java45 private final TunerHal mTunerHal; field in UsbTunerTsScannerSource
52 mTunerHal = TunerHal.createInstance(context); in UsbTunerTsScannerSource()
53 if (mTunerHal == null) { in UsbTunerTsScannerSource()
56 mEventDetector = new EventDetector(mTunerHal, eventListener); in UsbTunerTsScannerSource()
78 if (mTunerHal.tune(channel.frequency, channel.modulation)) { in setScanChannel()
124 AutoCloseableUtils.closeQuietly(mTunerHal); in close()
139 bytesWritten = mTunerHal.readTsStream(dataBuffer, dataBuffer.length); in run()
DUsbTunerDataSource.java59 private final TunerHal mTunerHal; field in UsbTunerDataSource
65 mTunerHal = tunerHal; in UsbTunerDataSource()
66 mEventDetector = new EventDetector(mTunerHal, eventListener); in UsbTunerDataSource()
105 if (mTunerHal.tune(channel.getFrequency(), channel.getModulation())) { in tuneToChannel()
107 mTunerHal.addPidFilter(channel.getVideoPid(), in tuneToChannel()
111 mTunerHal.addPidFilter(channel.getAudioPid(), in tuneToChannel()
114 mTunerHal.addPidFilter(channel.getPcrPid(), in tuneToChannel()
143 mTunerHal.stopTune(); in stopStream()
172 int bytesWritten = mTunerHal.readTsStream(dataBuffer, dataBuffer.length); in run()
/packages/apps/TV/usbtuner/src/com/android/usbtuner/tvinput/
DEventDetector.java46 private final TunerHal mTunerHal; field in EventDetector
64 mTunerHal.addPidFilter(i.getPmtPid(), TunerHal.FILTER_TYPE_OTHER);
185 mTunerHal = usbTunerInteface; in EventDetector()
209 mTunerHal.addPidFilter(pid, TunerHal.FILTER_TYPE_OTHER); in startListening()
DTunerRecordingSessionWorker.java96 private TunerHal mTunerHal; field in TunerRecordingSessionWorker
284 if (mTunerHal != null) { in reset()
286 mTunerHal.close(); in reset()
290 mTunerHal = null; in reset()
324 mTunerHal = TunerHal.createInstance(mContext); in onConnect()
325 if (mTunerHal == null) { in onConnect()
339 mTunerSource = new UsbTunerDataSource(mTunerHal, this); in onStartRecording()
DTunerSessionWorker.java150 private final TunerHal mTunerHal; field in TunerSessionWorker
193 mTunerHal = TunerHal.createInstance(context); in TunerSessionWorker()
194 if (mTunerHal == null) { in TunerSessionWorker()
209 mTunerSource = new UsbTunerDataSource(mTunerHal, this); in TunerSessionWorker()
520 mTunerHal.stopTune(); in handleMessage()
534 mTunerHal.close(); in handleMessage()
557 mTunerHal.stopTune(); in handleMessage()
1210 mTunerHal.stopTune(); in playFromChannel()
1434 mTunerHal.stopTune(); in updateChannelBlockStatus()