Home
last modified time | relevance | path

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

/packages/apps/TV/tuner/src/com/android/tv/tuner/source/
DTunerTsStreamer.java61 private final Tuner mTunerHal; field in TunerTsStreamer
158 mTunerHal = tunerHal; in TunerTsStreamer()
159 mEventDetector = new EventDetector(mTunerHal); in TunerTsStreamer()
175 if (mTunerHal.tune( in startStream()
179 mTunerHal.addPidFilter(channel.getVideoPid(), Tuner.FILTER_TYPE_VIDEO); in startStream()
184 mTunerHal.addPidFilter(audioPid, Tuner.FILTER_TYPE_AUDIO); in startStream()
189 mTunerHal.addPidFilter(audioPid, Tuner.FILTER_TYPE_OTHER); in startStream()
192 mTunerHal.addPidFilter(channel.getPcrPid(), Tuner.FILTER_TYPE_PCR); in startStream()
225 if (mTunerHal.tune(channel.deliverySystemType.getNumber(), channel.frequency, in startStream()
293 return mTunerHal; in getTunerHal()
[all …]
DTunerTsStreamerManager.java192 private Tuner mTunerHal; field in TunerTsStreamerManager.TsStreamerCreator
208 mTunerHal = hal; in create()
219 mTunerHal = null; in create()
235 if (mTunerHal != null) { in cancelLocked()
236 mTunerHal.setHasPendingTune(true); in cancelLocked()
/packages/apps/TV/tuner/tests/unittests/javatests/com/android/tv/tuner/
DZappingTimeTest.java88 private FileTunerHal mTunerHal; field in ZappingTimeTest
127 mTunerHal = new FileTunerHal(context, tsCacheFile); in setUp()
128 mTunerHal.openFirstAvailable(); in setUp()
133 mSourceManager.addTunerHalForTest(mTunerHal); in setUp()
245 mTunerHal.setEnablePacketMissing(true); in testZappingWithPacketMissing()
246 mTunerHal.setEnableArtificialDelay(true); in testZappingWithPacketMissing()
296 mTunerHal.setEnablePacketMissing(false); in zappingTimeTest()
297 mTunerHal.setEnableArtificialDelay(enableArtificialDelay); in zappingTimeTest()
302 mTunerHal.setInitialSkipMs(SKIP_DURATION_MS_TO_ADD * (i % TEST_ITERATION_COUNT)); in zappingTimeTest()
DZappingTimeTestExoV2.java95 private FileTunerHal mTunerHal; field in ZappingTimeTestExoV2
135 mTunerHal = new FileTunerHal(context, tsCacheFile); in setUp()
136 mTunerHal.openFirstAvailable(); in setUp()
157 mSourceManager.addTunerHalForTest(mTunerHal); in setUp()
272 mTunerHal.setEnablePacketMissing(true); in testZappingWithPacketMissing()
273 mTunerHal.setEnableArtificialDelay(true); in testZappingWithPacketMissing()
323 mTunerHal.setEnablePacketMissing(false); in zappingTimeTest()
324 mTunerHal.setEnableArtificialDelay(enableArtificialDelay); in zappingTimeTest()
329 mTunerHal.setInitialSkipMs(SKIP_DURATION_MS_TO_ADD * (i % TEST_ITERATION_COUNT)); in zappingTimeTest()
/packages/apps/TV/tuner/src/com/android/tv/tuner/setup/
DBaseTunerSetupActivity.java474 @VisibleForTesting Tuner mTunerHal; field in BaseTunerSetupActivity.TunerHalCreator
498 } else if (mGenerateTunerHalTask == null && mTunerHal == null) { in getOrCreate()
499 mTunerHal = createInstance(); in getOrCreate()
501 return mTunerHal; in getOrCreate()
507 if (mGenerateTunerHalTask == null && mTunerHal == null) { in generate()
520 if (mTunerHal != null) { in clear()
521 AutoCloseableUtils.closeQuietly(mTunerHal); in clear()
522 mTunerHal = null; in clear()
539 mTunerHal = tunerHal; in onPostExecute()
/packages/apps/TV/tuner/tests/unittests/javatests/com/android/tv/tuner/setup/
DTunerHalCreatorTest.java69 assertNull(tunerHalCreator.mTunerHal); in test_asyncGet()
71 assertNull(tunerHalCreator.mTunerHal); in test_asyncGet()
82 assertNull(tunerHalCreator.mTunerHal); in test_syncGet()
90 assertNull(tunerHalCreator.mTunerHal); in test_syncGetWithoutGenerate()
/packages/apps/TV/tuner/src/com/android/tv/tuner/ts/
DEventDetector.java43 private final Tuner mTunerHal; field in EventDetector
67 mTunerHal.addPidFilter(i.getPmtPid(), Tuner.FILTER_TYPE_OTHER);
254 mTunerHal = tunerHal; in EventDetector()
259 int[] deliverySystemTypes = mTunerHal.getDeliverySystemTypes(); in reset()
301 mTunerHal.addPidFilter(pid, Tuner.FILTER_TYPE_OTHER); in startListening()
/packages/apps/TV/tuner/src/com/android/tv/tuner/hdhomerun/
DHdHomeRunChannelScan.java51 private final HdHomeRunTunerHal mTunerHal; field in HdHomeRunChannelScan
58 mTunerHal = hal; in HdHomeRunChannelScan()
62 String urlString = "http://" + mTunerHal.getIpAddress() + "/" + LINEUP_FILENAME; in scan()
119 mTunerHal.markAsScannedDevice(mContext); in scan()