Home
last modified time | relevance | path

Searched refs:preferredDeviceId (Results 1 – 9 of 9) sorted by relevance

/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DClientDescriptor.h50 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()
DAudioIODescriptorInterface.h60 return devices.getDeviceFromId(matchingClients[0]->preferredDeviceId()); in findPreferredDevice()
65 return devices.getDeviceFromId(activeClientsWithRoute[0]->preferredDeviceId()); in findPreferredDevice()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioOutputDescriptor.cpp253 deviceId = client->preferredDeviceId(); in sameExclusivePreferredDevicesCount()
254 } else if (deviceId != client->preferredDeviceId()) { in sameExclusivePreferredDevicesCount()
992 if (client->preferredDeviceId() == disconnectedDevice->getId()) { in clearSessionRoutesForDevice()
DAudioInputDescriptor.cpp611 if (client->preferredDeviceId() == disconnectedDevice->getId()) { in clearSessionRoutesForDevice()
/frameworks/base/media/java/android/media/
DMediaRecorder.java1662 int preferredDeviceId = deviceInfo != null ? deviceInfo.getId() : 0; in setPreferredDevice() local
1663 boolean status = native_setInputDevice(preferredDeviceId); in setPreferredDevice()
DAudioRecord.java2159 int preferredDeviceId = deviceInfo != null ? deviceInfo.getId() : 0; in setPreferredDevice() local
2160 boolean status = native_setInputDevice(preferredDeviceId); in setPreferredDevice()
DAudioTrack.java3760 int preferredDeviceId = deviceInfo != null ? deviceInfo.getId() : 0; in setPreferredDevice() local
3761 boolean status = native_setOutputDevice(preferredDeviceId); in setPreferredDevice()
DMediaPlayer.java1519 int preferredDeviceId = deviceInfo != null ? deviceInfo.getId() : 0; in setPreferredDevice() local
1520 boolean status = native_setOutputDevice(preferredDeviceId); in setPreferredDevice()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp2432 mAvailableOutputDevices.getDeviceFromId(client->preferredDeviceId())); in startSource()
8732 mAvailableOutputDevices.getDeviceFromId(client->preferredDeviceId()); in areAllActiveTracksRerouted()