Home
last modified time | relevance | path

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

/aosp12/hardware/interfaces/tv/tuner/1.0/default/
H A DTuner.cpp113 if (frontendId >= mFrontendSize || frontendId < 0) { in openFrontendById()
119 _hidl_cb(Result::SUCCESS, mFrontends[frontendId]); in openFrontendById()
161 if (frontendId >= mFrontendSize) { in getFrontendInfo()
185 .frontendCaps = mFrontendCaps[frontendId], in getFrontendInfo()
220 return mFrontends[frontendId]; in getFrontendById()
233 mFrontendToDemux[frontendId] = demuxId; in setFrontendAsDemuxSource()
234 if (mFrontends[frontendId] != nullptr && mFrontends[frontendId]->isLocked()) { in setFrontendAsDemuxSource()
250 void Tuner::removeFrontend(uint32_t frontendId) { in removeFrontend() argument
251 mFrontendToDemux.erase(frontendId); in removeFrontend()
254 void Tuner::frontendStopTune(uint32_t frontendId) { in frontendStopTune() argument
[all …]
H A 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);
H A 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()
H A DDemux.h62 virtual Return<Result> setFrontendDataSource(uint32_t frontendId) override;
/aosp12/hardware/interfaces/tv/tuner/1.1/default/
H A DTuner.cpp211 if (frontendId >= mFrontendSize || frontendId < 0) { in openFrontendById()
259 if (frontendId >= mFrontendSize) { in getFrontendInfo()
309 return mFrontends[frontendId]; in getFrontendById()
325 if (mFrontends[frontendId] != nullptr && in getFrontendDtmbCapabilities()
326 (mFrontends[frontendId]->getFrontendType() == in getFrontendDtmbCapabilities()
336 mFrontendToDemux[frontendId] = demuxId; in setFrontendAsDemuxSource()
337 if (mFrontends[frontendId] != nullptr && mFrontends[frontendId]->isLocked()) { in setFrontendAsDemuxSource()
353 void Tuner::removeFrontend(uint32_t frontendId) { in removeFrontend() argument
354 mFrontendToDemux.erase(frontendId); in removeFrontend()
357 void Tuner::frontendStopTune(uint32_t frontendId) { in frontendStopTune() argument
[all …]
H A 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);
H A 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()
H A DDemux.h57 virtual Return<Result> setFrontendDataSource(uint32_t frontendId) override;
/aosp12/hardware/interfaces/tv/tuner/1.0/vts/functional/
H A 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()
H A DVtsHalTvTunerV1_0TargetTest.cpp414 mFrontendTests.tuneTest(frontendMap[live.frontendId]); in TEST_P()
422 mFrontendTests.scanTest(frontendMap[scan.frontendId], FrontendScanType::SCAN_AUTO); in TEST_P()
430 mFrontendTests.scanTest(frontendMap[scan.frontendId], FrontendScanType::SCAN_BLIND); in TEST_P()
465 mFrontendTests.getFrontendIdByType(frontendMap[live.frontendId].type, feId); in TEST_P()
491 mFrontendTests.getFrontendIdByType(frontendMap[live.frontendId].type, feId); in TEST_P()
567 broadcastSingleFilterTest(filterMap[live.videoFilterId], frontendMap[live.frontendId]); in TEST_P()
575 broadcastSingleFilterTest(filterMap[live.audioFilterId], frontendMap[live.frontendId]); in TEST_P()
594 broadcastSingleFilterTest(filterMap[live.videoFilterId], frontendMap[live.frontendId]); in TEST_P()
645 recordSingleFilterTest(filterMap[record.recordFilterId], frontendMap[record.frontendId], in TEST_P()
670 mFrontendTests.getFrontendIdByType(frontendMap[descrambling.frontendId].type, feId); in TEST_P()
[all …]
H A DDemuxTests.cpp30 AssertionResult DemuxTests::setDemuxFrontendDataSource(uint32_t frontendId) { in setDemuxFrontendDataSource() argument
32 auto status = mDemux->setFrontendDataSource(frontendId); in setDemuxFrontendDataSource()
H A 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()
H A DFrontendTests.h111 AssertionResult getFrontendInfo(uint32_t frontendId);
112 AssertionResult openFrontendById(uint32_t frontendId);
H A DDemuxTests.h46 AssertionResult setDemuxFrontendDataSource(uint32_t frontendId);
/aosp12/hardware/interfaces/tv/tuner/1.1/vts/functional/
H A 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()
H A 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()
H A DDemuxTests.cpp30 AssertionResult DemuxTests::setDemuxFrontendDataSource(uint32_t frontendId) { in setDemuxFrontendDataSource() argument
32 auto status = mDemux->setFrontendDataSource(frontendId); in setDemuxFrontendDataSource()
H A DFrontendTests.h114 AssertionResult getFrontendInfo(uint32_t frontendId);
115 AssertionResult openFrontendById(uint32_t frontendId);
H A 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()
H A DDemuxTests.h46 AssertionResult setDemuxFrontendDataSource(uint32_t frontendId);
/aosp12/hardware/interfaces/tv/tuner/config/
H A DTunerTestingConfigReaderV1_0.h128 string frontendId; member
140 string frontendId; member
145 string frontendId; member
156 string frontendId; member
166 string frontendId; member
177 string frontendId; member
187 string frontendId; member
420 live.frontendId = liveConfig.getFrontendConnection(); in connectLiveBroadcast()
453 scan.frontendId = scanConfig.getFrontendConnection(); in connectScan()
492 record.frontendId = recordConfig.getFrontendConnection(); in connectDvrRecord()
[all …]
/aosp12/hardware/interfaces/tv/tuner/1.0/
H A 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);
H A DIDemux.hal41 setFrontendDataSource(FrontendId frontendId) generates (Result result);
/aosp12/frameworks/av/services/tuner/
H A DTunerDemux.cpp50 int frontendId; in setFrontendDataSource() local
51 frontend->getFrontendId(&frontendId); in setFrontendDataSource()
52 Result res = mDemux->setFrontendDataSource(frontendId); in setFrontendDataSource()
/aosp12/hardware/interfaces/tv/tuner/1.1/
H A DITuner.hal31 getFrontendDtmbCapabilities(FrontendId frontendId)