Lines Matching refs:mDev
29 : mDev(dev) { in DeviceHalLocal()
33 int status = audio_hw_device_close(mDev); in ~DeviceHalLocal()
34 ALOGW_IF(status, "Error closing audio hw device %p: %s", mDev, strerror(-status)); in ~DeviceHalLocal()
35 mDev = 0; in ~DeviceHalLocal()
39 if (mDev->get_supported_devices == NULL) return INVALID_OPERATION; in getSupportedDevices()
40 *devices = mDev->get_supported_devices(mDev); in getSupportedDevices()
45 return mDev->init_check(mDev); in initCheck()
49 return mDev->set_voice_volume(mDev, volume); in setVoiceVolume()
53 if (mDev->set_master_volume == NULL) return INVALID_OPERATION; in setMasterVolume()
54 return mDev->set_master_volume(mDev, volume); in setMasterVolume()
58 if (mDev->get_master_volume == NULL) return INVALID_OPERATION; in getMasterVolume()
59 return mDev->get_master_volume(mDev, volume); in getMasterVolume()
63 return mDev->set_mode(mDev, mode); in setMode()
67 return mDev->set_mic_mute(mDev, state); in setMicMute()
71 return mDev->get_mic_mute(mDev, state); in getMicMute()
75 if (mDev->set_master_mute == NULL) return INVALID_OPERATION; in setMasterMute()
76 return mDev->set_master_mute(mDev, state); in setMasterMute()
80 if (mDev->get_master_mute == NULL) return INVALID_OPERATION; in getMasterMute()
81 return mDev->get_master_mute(mDev, state); in getMasterMute()
85 return mDev->set_parameters(mDev, kvPairs.string()); in setParameters()
89 char *halValues = mDev->get_parameters(mDev, keys.string()); in getParameters()
101 *size = mDev->get_input_buffer_size(mDev, config); in getInputBufferSize()
118 int openResut = mDev->open_output_stream( in openOutputStream()
119 mDev, handle, deviceType, flags, config, &halStream, address); in openOutputStream()
143 int openResult = mDev->open_input_stream( in openInputStream()
144 mDev, handle, devices, config, &halStream, flags, address, source); in openInputStream()
164 return mDev->create_audio_patch( in createAudioPatch()
165 mDev, num_sources, sources, num_sinks, sinks, patch); in createAudioPatch()
173 return mDev->release_audio_patch(mDev, patch); in releaseAudioPatch()
180 return mDev->get_audio_port(mDev, port); in getAudioPort()
185 return mDev->set_audio_port_config(mDev, config); in setAudioPortConfig()
197 if (mDev->get_microphones == NULL) return INVALID_OPERATION; in getMicrophones()
200 status_t status = mDev->get_microphones(mDev, &mic_array[0], &actual_mics); in getMicrophones()
221 return mDev->dump(mDev, fd); in dump()
225 mDev->close_output_stream(mDev, stream_out); in closeOutputStream()
229 mDev->close_input_stream(mDev, stream_in); in closeInputStream()