Home
last modified time | relevance | path

Searched refs:halTuner (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/core/jni/BroadcastRadio/
DTuner.cpp156 sp<V1_0::IBroadcastRadio> halModule, sp<V1_0::ITuner> halTuner) { in assignHalInterfaces() argument
157 ALOGV("%s(%p)", __func__, halTuner.get()); in assignHalInterfaces()
158 ALOGE_IF(halTuner == nullptr, "HAL tuner is a nullptr"); in assignHalInterfaces()
173 ctx.mHalTuner = halTuner; in assignHalInterfaces()
174 ctx.mHalTuner11 = V1_1::ITuner::castFrom(halTuner).withDefault(nullptr); in assignHalInterfaces()
179 halTuner->linkToDeath(ctx.mHalDeathRecipient, 0); in assignHalInterfaces()
233 auto halTuner = getHalTuner(ctx); in nativeSetConfiguration() local
234 if (halTuner == nullptr) return; in nativeSetConfiguration()
239 if (convert::ThrowIfFailed(env, halTuner->setConfiguration(bandConfigHal))) return; in nativeSetConfiguration()
247 auto halTuner = getHalTuner(nativeContext); in nativeGetConfiguration() local
[all …]
DBroadcastRadioService.cpp256 sp<ITuner> halTuner = nullptr; in nativeOpenTuner() local
261 halTuner = tuner; in nativeOpenTuner()
263 if (!hidlResult.isOk() || halResult != Result::OK || halTuner == nullptr) { in nativeOpenTuner()
270 Tuner::assignHalInterfaces(env, tuner, module.radioModule, halTuner); in nativeOpenTuner()
271 ALOGD("Opened tuner %p", halTuner.get()); in nativeOpenTuner()
274 halTuner->getConfiguration([&](Result result, const BandConfig& config) { in nativeOpenTuner()
DTuner.h40 sp<hardware::broadcastradio::V1_0::ITuner> halTuner);