Lines Matching refs:sel
157 void Tuner::tuneInternalLocked(const ProgramSelector& sel) { in tuneInternalLocked() argument
159 if (mVirtualRadio.get().getProgram(sel, virtualProgram)) { in tuneInternalLocked()
163 mCurrentProgram = sel; in tuneInternalLocked()
164 mCurrentProgramInfo = makeDummyProgramInfo(sel); in tuneInternalLocked()
282 Return<Result> Tuner::tuneByProgramSelector(const ProgramSelector& sel) { in tuneByProgramSelector() argument
283 ALOGV("%s(%s)", __func__, toString(sel).c_str()); in tuneByProgramSelector()
288 auto programType = utils::getType(sel); in tuneByProgramSelector()
295 auto freq = utils::getId(sel, IdentifierType::AMFM_FREQUENCY); in tuneByProgramSelector()
300 if (!utils::hasId(sel, IdentifierType::DAB_SIDECC)) return Result::INVALID_ARGUMENTS; in tuneByProgramSelector()
302 if (!utils::hasId(sel, IdentifierType::DRMO_SERVICE_ID)) return Result::INVALID_ARGUMENTS; in tuneByProgramSelector()
304 if (!utils::hasId(sel, IdentifierType::SXM_SERVICE_ID)) return Result::INVALID_ARGUMENTS; in tuneByProgramSelector()
310 auto task = [this, sel]() { in tuneByProgramSelector()
312 tuneInternalLocked(sel); in tuneByProgramSelector()