Searched refs:preferredDeviceId (Results 1 – 9 of 9) sorted by relevance
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
D | ClientDescriptor.h | 50 audio_port_handle_t preferredDeviceId, 53 mConfig(config), mPreferredDeviceId(preferredDeviceId), mActive(false), in mPortId() 73 audio_port_handle_t preferredDeviceId() const { return mPreferredDeviceId; }; in preferredDeviceId() function 74 void setPreferredDeviceId(audio_port_handle_t preferredDeviceId) { in setPreferredDeviceId() argument 75 mPreferredDeviceId = preferredDeviceId; in setPreferredDeviceId() 108 audio_port_handle_t preferredDeviceId, audio_stream_type_t stream, in TrackClientDescriptor() argument 114 ClientDescriptor(portId, uid, sessionId, attributes, config, preferredDeviceId, in TrackClientDescriptor() 203 audio_config_base_t config, audio_port_handle_t preferredDeviceId, in RecordClientDescriptor() argument 205 ClientDescriptor(portId, uid, sessionId, attributes, config, preferredDeviceId), in RecordClientDescriptor()
|
D | AudioIODescriptorInterface.h | 60 return devices.getDeviceFromId(matchingClients[0]->preferredDeviceId()); in findPreferredDevice() 65 return devices.getDeviceFromId(activeClientsWithRoute[0]->preferredDeviceId()); in findPreferredDevice()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | AudioOutputDescriptor.cpp | 253 deviceId = client->preferredDeviceId(); in sameExclusivePreferredDevicesCount() 254 } else if (deviceId != client->preferredDeviceId()) { in sameExclusivePreferredDevicesCount() 992 if (client->preferredDeviceId() == disconnectedDevice->getId()) { in clearSessionRoutesForDevice()
|
D | AudioInputDescriptor.cpp | 611 if (client->preferredDeviceId() == disconnectedDevice->getId()) { in clearSessionRoutesForDevice()
|
/frameworks/base/media/java/android/media/ |
D | MediaRecorder.java | 1662 int preferredDeviceId = deviceInfo != null ? deviceInfo.getId() : 0; in setPreferredDevice() local 1663 boolean status = native_setInputDevice(preferredDeviceId); in setPreferredDevice()
|
D | AudioRecord.java | 2159 int preferredDeviceId = deviceInfo != null ? deviceInfo.getId() : 0; in setPreferredDevice() local 2160 boolean status = native_setInputDevice(preferredDeviceId); in setPreferredDevice()
|
D | AudioTrack.java | 3760 int preferredDeviceId = deviceInfo != null ? deviceInfo.getId() : 0; in setPreferredDevice() local 3761 boolean status = native_setOutputDevice(preferredDeviceId); in setPreferredDevice()
|
D | MediaPlayer.java | 1519 int preferredDeviceId = deviceInfo != null ? deviceInfo.getId() : 0; in setPreferredDevice() local 1520 boolean status = native_setOutputDevice(preferredDeviceId); in setPreferredDevice()
|
/frameworks/av/services/audiopolicy/managerdefault/ |
D | AudioPolicyManager.cpp | 2432 mAvailableOutputDevices.getDeviceFromId(client->preferredDeviceId())); in startSource() 8732 mAvailableOutputDevices.getDeviceFromId(client->preferredDeviceId()); in areAllActiveTracksRerouted()
|