Lines Matching refs:mHwDevice
34 : mStatus(Result::NOT_INITIALIZED), mClassId(classId), mHwDevice(NULL) in BroadcastRadio()
40 if (mHwDevice != NULL) { in ~BroadcastRadio()
41 radio_hw_device_close(mHwDevice); in ~BroadcastRadio()
51 mHwDevice = NULL; in onFirstRef()
69 rc = radio_hw_device_open(mod, &mHwDevice); in onFirstRef()
73 mHwDevice = NULL; in onFirstRef()
76 if (mHwDevice->common.version != RADIO_DEVICE_API_VERSION_CURRENT) { in onFirstRef()
77 ALOGE("wrong radio hw device version %04x", mHwDevice->common.version); in onFirstRef()
78 radio_hw_device_close(mHwDevice); in onFirstRef()
79 mHwDevice = NULL; in onFirstRef()
88 if (mHwDevice == NULL) { in closeHalTuner()
94 return mHwDevice->close_tuner(mHwDevice, halTuner); in closeHalTuner()
105 if (mHwDevice == NULL) { in getProperties()
109 rc = mHwDevice->get_properties(mHwDevice, &halProperties); in getProperties()
127 int rc = mHwDevice->open_tuner(mHwDevice, &halConfig, audio, in openTuner()