Lines Matching refs:frontendId

110 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()
232 void Tuner::setFrontendAsDemuxSource(uint32_t frontendId, uint32_t demuxId) { in setFrontendAsDemuxSource() argument
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
255 map<uint32_t, uint32_t>::iterator it = mFrontendToDemux.find(frontendId); in frontendStopTune()
263 void Tuner::frontendStartTune(uint32_t frontendId) { in frontendStartTune() argument
264 map<uint32_t, uint32_t>::iterator it = mFrontendToDemux.find(frontendId); in frontendStartTune()