Searched refs:bandConfigHal (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/services/core/jni/BroadcastRadio/ |
D | BroadcastRadioService.cpp | 224 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()
|
D | Tuner.cpp | 236 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()
|