Home
last modified time | relevance | path

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

/hardware/interfaces/tv/tuner/1.0/default/
DTuner.cpp112 Return<void> Tuner::openFrontendById(uint32_t frontendId, openFrontendById_cb _hidl_cb) { in openFrontendById() argument
115 if (frontendId >= mFrontendSize || frontendId < 0) { in openFrontendById()
116 ALOGW("[ WARN ] Frontend with id %d isn't available", frontendId); in openFrontendById()
121 _hidl_cb(Result::SUCCESS, mFrontends[frontendId]); in openFrontendById()
157 Return<void> Tuner::getFrontendInfo(FrontendId frontendId, getFrontendInfo_cb _hidl_cb) { in getFrontendInfo() argument
161 if (frontendId >= mFrontendSize) { in getFrontendInfo()
177 .type = mFrontends[frontendId]->getFrontendType(), in getFrontendInfo()
185 .frontendCaps = mFrontendCaps[frontendId], in getFrontendInfo()
217 sp<Frontend> Tuner::getFrontendById(uint32_t frontendId) { in getFrontendById() argument
220 return mFrontends[frontendId]; in getFrontendById()
[all …]
DTuner.h43 virtual Return<void> openFrontendById(uint32_t frontendId,
52 virtual Return<void> getFrontendInfo(FrontendId frontendId,
62 sp<Frontend> getFrontendById(uint32_t frontendId);
64 void setFrontendAsDemuxSource(uint32_t frontendId, uint32_t demuxId);
66 void frontendStartTune(uint32_t frontendId);
67 void frontendStopTune(uint32_t frontendId);
DDemux.cpp38 Return<Result> Demux::setFrontendDataSource(uint32_t frontendId) { in setFrontendDataSource() argument
45 mFrontend = mTunerService->getFrontendById(frontendId); in setFrontendDataSource()
51 mTunerService->setFrontendAsDemuxSource(frontendId, mDemuxId); in setFrontendDataSource()
DDemux.h62 virtual Return<Result> setFrontendDataSource(uint32_t frontendId) override;
/hardware/interfaces/tv/tuner/1.0/vts/functional/
DDemuxTests.cpp30 AssertionResult DemuxTests::setDemuxFrontendDataSource(uint32_t frontendId) { in setDemuxFrontendDataSource() argument
32 auto status = mDemux->setFrontendDataSource(frontendId); in setDemuxFrontendDataSource()
DDemuxTests.h46 AssertionResult setDemuxFrontendDataSource(uint32_t frontendId);
DFrontendTests.h110 AssertionResult getFrontendInfo(uint32_t frontendId);
111 AssertionResult openFrontendById(uint32_t frontendId);
DFrontendTests.cpp206 AssertionResult FrontendTests::getFrontendInfo(uint32_t frontendId) { in getFrontendInfo() argument
208 mService->getFrontendInfo(frontendId, [&](Result result, const FrontendInfo& frontendInfo) { in getFrontendInfo()
215 AssertionResult FrontendTests::openFrontendById(uint32_t frontendId) { in openFrontendById() argument
217 mService->openFrontendById(frontendId, [&](Result result, const sp<IFrontend>& frontend) { in openFrontendById()
DVtsHalTvTunerV1_0TestConfigurations.h163 int32_t frontendId; member
/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);