Lines Matching refs:mDevice

91         : ConversionHelperHidl("Device"), mDevice(device),  in DeviceHalHidl()
96 if (mDevice != 0) { in ~DeviceHalHidl()
98 mDevice.clear(); in ~DeviceHalHidl()
101 mDevice->close(); in ~DeviceHalHidl()
112 if (mDevice == 0) return NO_INIT; in initCheck()
113 return processReturn("initCheck", mDevice->initCheck()); in initCheck()
117 if (mDevice == 0) return NO_INIT; in setVoiceVolume()
123 if (mDevice == 0) return NO_INIT; in setMasterVolume()
124 return processReturn("setMasterVolume", mDevice->setMasterVolume(volume)); in setMasterVolume()
128 if (mDevice == 0) return NO_INIT; in getMasterVolume()
130 Return<void> ret = mDevice->getMasterVolume( in getMasterVolume()
141 if (mDevice == 0) return NO_INIT; in setMode()
147 if (mDevice == 0) return NO_INIT; in setMicMute()
148 return processReturn("setMicMute", mDevice->setMicMute(state)); in setMicMute()
152 if (mDevice == 0) return NO_INIT; in getMicMute()
154 Return<void> ret = mDevice->getMicMute( in getMicMute()
165 if (mDevice == 0) return NO_INIT; in setMasterMute()
166 return processReturn("setMasterMute", mDevice->setMasterMute(state)); in setMasterMute()
170 if (mDevice == 0) return NO_INIT; in getMasterMute()
172 Return<void> ret = mDevice->getMasterMute( in getMasterMute()
183 if (mDevice == 0) return NO_INIT; in setParameters()
189 utils::setParameters(mDevice, {} /* context */, hidlParams)); in setParameters()
194 if (mDevice == 0) return NO_INIT; in getParameters()
199 Return<void> ret = utils::getParameters(mDevice, in getParameters()
213 if (mDevice == 0) return NO_INIT; in getInputBufferSize()
217 Return<void> ret = mDevice->getInputBufferSize( in getInputBufferSize()
235 if (mDevice == 0) return NO_INIT; in openOutputStream()
242 Return<void> ret = mDevice->openOutputStream( in openOutputStream()
270 if (mDevice == 0) return NO_INIT; in openInputStream()
295 Return<void> ret = mDevice->openInputStream( in openInputStream()
312 if (mDevice == 0) return NO_INIT; in supportsAudioPatches()
313 return processReturn("supportsAudioPatches", mDevice->supportsAudioPatches(), supportsPatches); in supportsAudioPatches()
322 if (mDevice == 0) return NO_INIT; in createAudioPatch()
327 Return<void> ret = mDevice->createAudioPatch( in createAudioPatch()
339 if (mDevice == 0) return NO_INIT; in releaseAudioPatch()
340 return processReturn("releaseAudioPatch", mDevice->releaseAudioPatch(patch)); in releaseAudioPatch()
344 if (mDevice == 0) return NO_INIT; in getAudioPort()
348 Return<void> ret = mDevice->getAudioPort( in getAudioPort()
360 if (mDevice == 0) return NO_INIT; in setAudioPortConfig()
363 return processReturn("setAudioPortConfig", mDevice->setAudioPortConfig(hidlConfig)); in setAudioPortConfig()
369 if (mDevice == 0) return NO_INIT; in getMicrophones()
374 if (mDevice == 0) return NO_INIT; in getMicrophones()
376 Return<void> ret = mDevice->getMicrophones( in getMicrophones()
394 if (mDevice == 0) return NO_INIT; in addDeviceEffect()
395 return processReturn("addDeviceEffect", mDevice->addDeviceEffect( in addDeviceEffect()
409 if (mDevice == 0) return NO_INIT; in removeDeviceEffect()
410 return processReturn("removeDeviceEffect", mDevice->removeDeviceEffect( in removeDeviceEffect()
422 if (mDevice == 0) return NO_INIT; in dump()
425 Return<void> ret = mDevice->debug(hidlHandle, {} /* options */); in dump()