Home
last modified time | relevance | path

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

/hardware/interfaces/broadcastradio/1.1/vts/functional/
DVtsHalBroadcastradioV1_1TargetTest.cpp107 sp<ITuner> mTuner; member in android::hardware::broadcastradio::V1_1::vts::BroadcastRadioHalTest
158 mTuner.clear(); in TearDown()
164 EXPECT_EQ(nullptr, mTuner.get()); in openTuner()
174 mTuner = ITuner::castFrom(tuner); in openTuner()
181 EXPECT_NE(nullptr, mTuner.get()); in openTuner()
182 if (radioClass == Class::AM_FM && mTuner != nullptr) { in openTuner()
187 mTuner->getConfiguration([&](Result result, const BandConfig& config) { in openTuner()
195 EXPECT_NE(nullptr, mTuner.get()); in openTuner()
196 return nullptr != mTuner.get(); in openTuner()
225 auto hidlResult = mTuner->setConfiguration(getBand(currentBandIndex)); in nextBand()
[all …]
/hardware/interfaces/broadcastradio/1.0/vts/functional/
DVtsHalBroadcastradioV1_0TargetTest.cpp96 mTuner.clear(); in TearDown()
256 sp<ITuner> mTuner; member in BroadcastRadioHidlTest
329 if (mTuner.get() == nullptr) { in openTuner()
334 mTuner = tuner; in openTuner()
344 EXPECT_NE(nullptr, mTuner.get()); in openTuner()
345 return nullptr != mTuner.get(); in openTuner()
355 mTuner->getConfiguration([&](Result result, const BandConfig& config) { in checkAntenna()
416 mTuner.clear(); in TEST_P()
462 Return<Result> hidlResult = mTuner->setConfiguration(getBand(1)); in TEST_P()
473 mTuner->getConfiguration([&](Result result, const BandConfig& config) { in TEST_P()
[all …]
/hardware/interfaces/broadcastradio/1.1/default/
DBroadcastRadio.cpp137 auto oldTuner = mTuner.promote(); in openTuner()
141 mTuner = nullptr; in openTuner()
145 mTuner = newTuner; in openTuner()
DBroadcastRadio.h74 wp<Tuner> mTuner; member
/hardware/interfaces/tv/tuner/aidl/default/
DDemux.cpp51 mTuner = tuner; in setTunerService()
193 if (mTuner == nullptr) { in setFrontendDataSource()
197 mFrontend = mTuner->getFrontendById(in_frontendId); in setFrontendDataSource()
203 mTuner->setFrontendAsDemuxSource(in_frontendId, mDemuxId); in setFrontendDataSource()
385 if (mTuner != nullptr) { in close()
386 mTuner->removeDemux(mDemuxId); in close()
387 mTuner = nullptr; in close()
DFrontend.cpp34 mTuner = nullptr; in Frontend()
190 mTuner = nullptr; in ~Frontend()
201 if (mTuner != nullptr) { in close()
202 mTuner->removeFrontend(mId); in close()
204 mTuner = nullptr; in close()
263 mTuner->frontendStartTune(mId); in tune()
313 mTuner->frontendStopTune(mId); in stopTune()
335 mTuner = tuner; in setTunerService()
DFrontend.h84 std::shared_ptr<Tuner> mTuner; variable
DDemux.h140 std::shared_ptr<Tuner> mTuner;