Home
last modified time | relevance | path

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

/hardware/interfaces/tv/tuner/1.0/default/
DTuner.cpp110 Return<void> Tuner::openFrontendById(uint32_t frontendId, openFrontendById_cb _hidl_cb) { in openFrontendById() argument
113 if (frontendId >= mFrontendSize || frontendId < 0) { in openFrontendById()
114 ALOGW("[ WARN ] Frontend with id %d isn't available", frontendId); in openFrontendById()
119 _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);
69 void removeFrontend(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.1/default/
DTuner.h47 virtual Return<void> openFrontendById(uint32_t frontendId,
56 virtual Return<void> getFrontendInfo(uint32_t frontendId, getFrontendInfo_cb _hidl_cb) override;
66 uint32_t frontendId, getFrontendDtmbCapabilities_cb _hidl_cb) override;
68 sp<Frontend> getFrontendById(uint32_t frontendId);
70 void setFrontendAsDemuxSource(uint32_t frontendId, uint32_t demuxId);
72 void frontendStartTune(uint32_t frontendId);
73 void frontendStopTune(uint32_t frontendId);
75 void removeFrontend(uint32_t frontendId);
DTuner.cpp208 Return<void> Tuner::openFrontendById(uint32_t frontendId, openFrontendById_cb _hidl_cb) { in openFrontendById() argument
211 if (frontendId >= mFrontendSize || frontendId < 0) { in openFrontendById()
212 ALOGW("[ WARN ] Frontend with id %d isn't available", frontendId); in openFrontendById()
217 _hidl_cb(Result::SUCCESS, mFrontends[frontendId]); in openFrontendById()
255 Return<void> Tuner::getFrontendInfo(FrontendId frontendId, getFrontendInfo_cb _hidl_cb) { in getFrontendInfo() argument
259 if (frontendId >= mFrontendSize) { in getFrontendInfo()
266 .type = mFrontends[frontendId]->getFrontendType(), in getFrontendInfo()
273 .statusCaps = mFrontendStatusCaps[frontendId], in getFrontendInfo()
274 .frontendCaps = mFrontendCaps[frontendId], in getFrontendInfo()
306 sp<Frontend> Tuner::getFrontendById(uint32_t frontendId) { in getFrontendById() argument
[all …]
DDemux.cpp41 Return<Result> Demux::setFrontendDataSource(uint32_t frontendId) { in setFrontendDataSource() argument
48 mFrontend = mTunerService->getFrontendById(frontendId); in setFrontendDataSource()
54 mTunerService->setFrontendAsDemuxSource(frontendId, mDemuxId); in setFrontendDataSource()
DDemux.h57 virtual Return<Result> setFrontendDataSource(uint32_t frontendId) override;
/hardware/interfaces/tv/tuner/1.0/vts/functional/
DVtsHalTvTunerV1_0TestConfigurations.h171 ? frontendMap.find(live.frontendId) != frontendMap.end() in validateConnections()
173 feIsValid &= scan.hasFrontendConnection ? frontendMap.find(scan.frontendId) != frontendMap.end() in validateConnections()
176 ? frontendMap.find(record.frontendId) != frontendMap.end() in validateConnections()
179 ? frontendMap.find(descrambling.frontendId) != frontendMap.end() in validateConnections()
181 feIsValid &= lnbLive.support ? frontendMap.find(lnbLive.frontendId) != frontendMap.end() : true; in validateConnections()
183 lnbRecord.support ? frontendMap.find(lnbRecord.frontendId) != frontendMap.end() : true; in validateConnections()
190 bool dvrIsValid = (live.hasFrontendConnection && frontendMap[live.frontendId].isSoftwareFe) in validateConnections()
196 if (frontendMap[record.frontendId].isSoftwareFe) { in validateConnections()
206 if (frontendMap[descrambling.frontendId].isSoftwareFe) { in validateConnections()
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.h111 AssertionResult getFrontendInfo(uint32_t frontendId);
112 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()
/hardware/interfaces/tv/tuner/1.1/vts/functional/
DDemuxTests.cpp30 AssertionResult DemuxTests::setDemuxFrontendDataSource(uint32_t frontendId) { in setDemuxFrontendDataSource() argument
32 auto status = mDemux->setFrontendDataSource(frontendId); in setDemuxFrontendDataSource()
DVtsHalTvTunerV1_1TargetTest.cpp216 configSingleFilterInDemuxTest(filterMap[live.videoFilterId], frontendMap[live.frontendId]); in TEST_P()
228 configSingleFilterInDemuxTest(filterMap[live.ipFilterId], frontendMap[live.frontendId]); in TEST_P()
238 frontendMap[live.frontendId]); in TEST_P()
246 recordSingleFilterTest(filterMap[record.recordFilterId], frontendMap[record.frontendId], in TEST_P()
255 mFrontendTests.tuneTest(frontendMap[live.frontendId]); in TEST_P()
263 mFrontendTests.scanTest(frontendMap[scan.frontendId], FrontendScanType::SCAN_BLIND); in TEST_P()
271 mediaFilterUsingSharedMemoryTest(filterMap[live.videoFilterId], frontendMap[live.frontendId]); in TEST_P()
284 if (!frontendMap[live.frontendId].canConnectToCiCam) { in TEST_P()
287 mFrontendTests.tuneTest(frontendMap[live.frontendId]); in TEST_P()
DVtsHalTvTunerV1_1TestConfigurations.h156 bool feIsValid = frontendMap.find(live.frontendId) != frontendMap.end() && in validateConnections()
157 frontendMap.find(scan.frontendId) != frontendMap.end(); in validateConnections()
158 feIsValid &= record.support ? frontendMap.find(record.frontendId) != frontendMap.end() : true; in validateConnections()
165 bool dvrIsValid = frontendMap[live.frontendId].config1_0.isSoftwareFe in validateConnections()
171 if (frontendMap[record.frontendId].config1_0.isSoftwareFe) { in validateConnections()
DDemuxTests.h46 AssertionResult setDemuxFrontendDataSource(uint32_t frontendId);
DFrontendTests.h114 AssertionResult getFrontendInfo(uint32_t frontendId);
115 AssertionResult openFrontendById(uint32_t frontendId);
DFrontendTests.cpp253 AssertionResult FrontendTests::getFrontendInfo(uint32_t frontendId) { in getFrontendInfo() argument
255 mService->getFrontendInfo(frontendId, [&](Result result, const FrontendInfo& frontendInfo) { in getFrontendInfo()
262 AssertionResult FrontendTests::openFrontendById(uint32_t frontendId) { in openFrontendById() argument
264 mService->openFrontendById(frontendId, [&](Result result, const sp<IFrontend>& frontend) { in openFrontendById()
/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.1/
DITuner.hal31 getFrontendDtmbCapabilities(FrontendId frontendId)