Home
last modified time | relevance | path

Searched refs:stepTo (Results 1 – 2 of 2) sorted by relevance

/hardware/interfaces/broadcastradio/2.0/default/
DTunerSession.cpp186 auto stepTo = utils::getId(mCurrentProgram, IdentifierType::AMFM_FREQUENCY); in step() local
194 stepTo += range->spacing; in step()
196 stepTo -= range->spacing; in step()
198 if (stepTo > range->upperBound) stepTo = range->lowerBound; in step()
199 if (stepTo < range->lowerBound) stepTo = range->upperBound; in step()
202 auto task = [this, stepTo]() { in step()
203 LOG(VERBOSE) << "executing step to " << stepTo; in step()
207 tuneInternalLocked(utils::make_selector_amfm(stepTo)); in step()
/hardware/interfaces/broadcastradio/aidl/default/
DBroadcastRadio.cpp522 int64_t stepTo; in step() local
524 stepTo = utils::getId(mCurrentProgram, IdentifierType::AMFM_FREQUENCY_KHZ); in step()
526 stepTo = utils::getHdFrequency(mCurrentProgram); in step()
540 stepTo += mCurrentAmFmBandRange->spacing; in step()
542 stepTo -= mCurrentAmFmBandRange->spacing; in step()
544 if (stepTo > mCurrentAmFmBandRange->upperBound) { in step()
545 stepTo = mCurrentAmFmBandRange->lowerBound; in step()
547 if (stepTo < mCurrentAmFmBandRange->lowerBound) { in step()
548 stepTo = mCurrentAmFmBandRange->upperBound; in step()
553 auto task = [this, stepTo, callback]() { in step()
[all …]