Home
last modified time | relevance | path

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

/frameworks/base/services/core/jni/BroadcastRadio/
DTuner.cpp155 sp<V1_0::IBroadcastRadio> halModule, sp<V1_0::ITuner> halTuner) { in assignHalInterfaces() argument
156 ALOGV("%s(%p)", __func__, halTuner.get()); in assignHalInterfaces()
157 ALOGE_IF(halTuner == nullptr, "HAL tuner is a nullptr"); in assignHalInterfaces()
172 ctx.mHalTuner = halTuner; in assignHalInterfaces()
173 ctx.mHalTuner11 = V1_1::ITuner::castFrom(halTuner).withDefault(nullptr); in assignHalInterfaces()
178 halTuner->linkToDeath(ctx.mHalDeathRecipient, 0); in assignHalInterfaces()
232 auto halTuner = getHalTuner(ctx); in nativeSetConfiguration() local
233 if (halTuner == nullptr) return; in nativeSetConfiguration()
238 if (convert::ThrowIfFailed(env, halTuner->setConfiguration(bandConfigHal))) return; in nativeSetConfiguration()
246 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);