Home
last modified time | relevance | path

Searched refs:frontendId (Results 1 – 7 of 7) sorted by relevance

/hardware/interfaces/tv/tuner/1.0/default/
DTuner.cpp66 Return<void> Tuner::openFrontendById(uint32_t frontendId, openFrontendById_cb _hidl_cb) { in openFrontendById() argument
69 if (frontendId >= mFrontendSize || frontendId < 0) { in openFrontendById()
70 ALOGW("[ WARN ] Frontend with id %d isn't available", frontendId); in openFrontendById()
75 _hidl_cb(Result::SUCCESS, mFrontends[frontendId]); in openFrontendById()
136 sp<Frontend> Tuner::getFrontendById(uint32_t frontendId) { in getFrontendById() argument
139 return mFrontends[frontendId]; in getFrontendById()
151 void Tuner::setFrontendAsDemuxSource(uint32_t frontendId, uint32_t demuxId) { in setFrontendAsDemuxSource() argument
152 mFrontendToDemux[frontendId] = demuxId; in setFrontendAsDemuxSource()
155 void Tuner::frontendStopTune(uint32_t frontendId) { in frontendStopTune() argument
156 map<uint32_t, uint32_t>::iterator it = mFrontendToDemux.find(frontendId); in frontendStopTune()
DTuner.h42 virtual Return<void> openFrontendById(uint32_t frontendId,
51 virtual Return<void> getFrontendInfo(FrontendId frontendId,
61 sp<Frontend> getFrontendById(uint32_t frontendId);
63 void setFrontendAsDemuxSource(uint32_t frontendId, uint32_t demuxId);
65 void frontendStopTune(uint32_t frontendId);
DDemux.cpp38 Return<Result> Demux::setFrontendDataSource(uint32_t frontendId) { in setFrontendDataSource() argument
45 mFrontend = mTunerService->getFrontendById(frontendId); in setFrontendDataSource()
53 mTunerService->setFrontendAsDemuxSource(frontendId, mDemuxId); in setFrontendDataSource()
DDemux.h62 virtual Return<Result> setFrontendDataSource(uint32_t frontendId) override;
/hardware/interfaces/tv/tuner/1.0/
DITuner.hal42 * Create a new instance of Frontend given a frontendId.
46 * @param frontendId the id of the frontend to be opened.
53 openFrontendById(FrontendId frontendId) generates (Result result, IFrontend frontend);
93 * @param frontendId the id of the frontend to be inquiried.
99 getFrontendInfo(FrontendId frontendId) generates (Result result, FrontendInfo info);
DIDemux.hal41 setFrontendDataSource(FrontendId frontendId) generates (Result result);
/hardware/interfaces/tv/tuner/1.0/vts/functional/
DVtsHalTvTunerV1_0TargetTest.cpp674 ::testing::AssertionResult createFrontend(int32_t frontendId);
675 ::testing::AssertionResult tuneFrontend(int32_t frontendId);
676 ::testing::AssertionResult stopTuneFrontend(int32_t frontendId);
677 ::testing::AssertionResult closeFrontend(int32_t frontendId);
679 ::testing::AssertionResult createDemuxWithFrontend(int32_t frontendId,
701 ::testing::AssertionResult TunerHidlTest::createFrontend(int32_t frontendId) { in createFrontend() argument
704 mService->openFrontendById(frontendId, [&](Result result, const sp<IFrontend>& frontend) { in createFrontend()
718 ::testing::AssertionResult TunerHidlTest::tuneFrontend(int32_t frontendId) { in tuneFrontend() argument
719 if (createFrontend(frontendId) == ::testing::AssertionFailure()) { in tuneFrontend()
741 ::testing::AssertionResult TunerHidlTest::stopTuneFrontend(int32_t frontendId) { in stopTuneFrontend() argument
[all …]