Searched refs:parentDevice (Results 1 – 1 of 1) sorted by relevance
87 Tuner::Tuner(const sp<ITunerCallback>& callback, const wp<BroadcastRadio>& parentDevice) in Tuner() argument88 : mHalTuner(NULL), mCallback(callback), mParentDevice(parentDevice) in Tuner()97 const sp<BroadcastRadio> parentDevice = mParentDevice.promote(); in ~Tuner() local98 if (parentDevice != 0) { in ~Tuner()99 parentDevice->closeHalTuner(mHalTuner); in ~Tuner()