Home
last modified time | relevance | path

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

/packages/apps/TV/tuner/src/com/android/tv/tuner/source/
DTunerTsStreamer.java56 private final Tuner mTunerHal; field in TunerTsStreamer
137 mTunerHal = tunerHal; in TunerTsStreamer()
138 mEventDetector = new EventDetector(mTunerHal); in TunerTsStreamer()
154 if (mTunerHal.tune( in startStream()
157 mTunerHal.addPidFilter(channel.getVideoPid(), Tuner.FILTER_TYPE_VIDEO); in startStream()
162 mTunerHal.addPidFilter(audioPid, Tuner.FILTER_TYPE_AUDIO); in startStream()
167 mTunerHal.addPidFilter(audioPid, Tuner.FILTER_TYPE_OTHER); in startStream()
170 mTunerHal.addPidFilter(channel.getPcrPid(), Tuner.FILTER_TYPE_PCR); in startStream()
202 if (mTunerHal.tune(channel.frequency, channel.modulation, null)) { in startStream()
268 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.java77 private FileTunerHal mTunerHal; field in ZappingTimeTest
118 mTunerHal = new FileTunerHal(context, tsCacheFile); in setUp()
119 mTunerHal.openFirstAvailable(); in setUp()
121 mSourceManager.addTunerHalForTest(mTunerHal); in setUp()
212 mTunerHal.setEnablePacketMissing(true); in testZappingWithPacketMissing()
213 mTunerHal.setEnableArtificialDelay(true); in testZappingWithPacketMissing()
263 mTunerHal.setEnablePacketMissing(false); in zappingTimeTest()
264 mTunerHal.setEnableArtificialDelay(enableArtificialDelay); in zappingTimeTest()
269 mTunerHal.setInitialSkipMs(SKIP_DURATION_MS_TO_ADD * (i % TEST_ITERATION_COUNT)); in zappingTimeTest()
/packages/apps/TV/tuner/src/com/android/tv/tuner/setup/
DBaseTunerSetupActivity.java466 @VisibleForTesting Tuner mTunerHal; field in BaseTunerSetupActivity.TunerHalCreator
490 } else if (mGenerateTunerHalTask == null && mTunerHal == null) { in getOrCreate()
491 mTunerHal = createInstance(); in getOrCreate()
493 return mTunerHal; in getOrCreate()
499 if (mGenerateTunerHalTask == null && mTunerHal == null) { in generate()
512 if (mTunerHal != null) { in clear()
513 AutoCloseableUtils.closeQuietly(mTunerHal); in clear()
514 mTunerHal = null; in clear()
531 mTunerHal = tunerHal; in onPostExecute()
/packages/apps/TV/tuner/tests/unittests/javatests/com/android/tv/tuner/setup/
DTunerHalCreatorTest.java65 assertNull(tunerHalCreator.mTunerHal); in test_asyncGet()
67 assertNull(tunerHalCreator.mTunerHal); in test_asyncGet()
78 assertNull(tunerHalCreator.mTunerHal); in test_syncGet()
86 assertNull(tunerHalCreator.mTunerHal); in test_syncGetWithoutGenerate()
/packages/apps/TV/tuner/src/com/android/tv/tuner/ts/
DEventDetector.java42 private final Tuner mTunerHal; field in EventDetector
65 mTunerHal.addPidFilter(i.getPmtPid(), Tuner.FILTER_TYPE_OTHER);
250 mTunerHal = tunerHal; in EventDetector()
258 Tuner.isDvbDeliverySystem(mTunerHal.getDeliverySystemType())); in reset()
287 mTunerHal.addPidFilter(pid, Tuner.FILTER_TYPE_OTHER); in startListening()