Lines Matching full:device
64 virtual status_t setDeviceConnectionState(AudioSystem::audio_devices device,
67 virtual AudioSystem::device_connection_state getDeviceConnectionState(AudioSystem::audio_devices device,
135 uint32_t device();
148 uint32_t mDevice; // current device this output is routed to
169 uint32_t mDevice; // current device this input is routed to
206 // return appropriate device for streams handled by the specified strategy according to current
208 // if fromCache is true, the device is returned from mDeviceForStrategy[], otherwise it is determined
209 // by current state (device connected, phone state, force use, a2dp output...)
212 // 2 access to either current device selection (fromCache == true) or
213 // "future" device selection (fromCache == false) when called from a context
218 void setOutputDevice(audio_io_handle_t output, uint32_t device, bool force = false, int delayMs = 0);
219 // select input device corresponding to requested audio source
224 // device
225 virtual float computeVolume(int stream, int index, audio_io_handle_t output, uint32_t device);
227 status_t checkAndSetVolume(int stream, int index, audio_io_handle_t output, uint32_t device, int delayMs = 0, bool force = false);
228 // apply all stream volumes to the specified output and device
229 void applyStreamVolumes(audio_io_handle_t output, uint32_t device, int delayMs = 0);
235 // a special tone in the device used for communication
239 // true if device is in a telephony or VoIP call
241 // true if given state represents a device in a telephony or VoIP call
247 status_t handleA2dpConnection(AudioSystem::audio_devices device,
249 status_t handleA2dpDisconnection(AudioSystem::audio_devices device,
254 // changed: connected device, phone state, force use...
262 // selects the most appropriate device on output for current state
263 // must be called every time a condition that affects the device choice for a given output is
264 // changed: connected device, phone state, force use, output start, output stop..
267 // updates cache of device used by all strategies (mDeviceForStrategy[])
268 // must be called every time a condition that affects the device choice for a given strategy is
269 // changed: connected device, phone state, force use...
281 uint32_t device);
304 String8 mA2dpDeviceAddress; // A2DP device MAC address
305 String8 mScoDeviceAddress; // SCO device MAC address