Home
last modified time | relevance | path

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

/frameworks/base/services/core/jni/BroadcastRadio/
DBroadcastRadioService.cpp224 BandConfig bandConfigHal; in nativeOpenTuner() local
226 bandConfigHal = convert::BandConfigToHal(env, bandConfig, region); in nativeOpenTuner()
233 bandConfigHal = module.bands[0]; in nativeOpenTuner()
239 if (fmIt != module.bands.end()) bandConfigHal = *fmIt; in nativeOpenTuner()
241 if (bandConfigHal.spacings.size() > 1) { in nativeOpenTuner()
242 bandConfigHal.spacings = hidl_vec<uint32_t>({ *std::min_element( in nativeOpenTuner()
243 bandConfigHal.spacings.begin(), bandConfigHal.spacings.end()) }); in nativeOpenTuner()
248 callback, module.halRev, region, withAudio, bandConfigHal.type)); in nativeOpenTuner()
258 auto hidlResult = module.radioModule->openTuner(bandConfigHal, withAudio, tunerCb, in nativeOpenTuner()
DTuner.cpp236 BandConfig bandConfigHal = convert::BandConfigToHal(env, config, region_unused); in nativeSetConfiguration() local
238 if (convert::ThrowIfFailed(env, halTuner->setConfiguration(bandConfigHal))) return; in nativeSetConfiguration()
240 ctx.mBand = bandConfigHal.type; in nativeSetConfiguration()