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.h47 audio_port_handle_t preferredDeviceId,
50 mConfig(config), mPreferredDeviceId(preferredDeviceId), mActive(false), in mPortId()
62 audio_port_handle_t preferredDeviceId() const { return mPreferredDeviceId; }; in preferredDeviceId() function
63 void setPreferredDeviceId(audio_port_handle_t preferredDeviceId) { in setPreferredDeviceId() argument
64 mPreferredDeviceId = preferredDeviceId; in setPreferredDeviceId()
89 audio_port_handle_t preferredDeviceId, audio_stream_type_t stream, in TrackClientDescriptor() argument
94 ClientDescriptor(portId, uid, sessionId, attributes, config, preferredDeviceId, in TrackClientDescriptor()
152 audio_config_base_t config, audio_port_handle_t preferredDeviceId, in RecordClientDescriptor() argument
154 ClientDescriptor(portId, uid, sessionId, attributes, config, preferredDeviceId), in RecordClientDescriptor()
DAudioIODescriptorInterface.h48 return devices.getDeviceFromId(activeClientsWithRoute[0]->preferredDeviceId()); in findPreferredDevice()
/frameworks/base/media/java/android/media/
DMediaRecorder.java1406 int preferredDeviceId = deviceInfo != null ? deviceInfo.getId() : 0; in setPreferredDevice() local
1407 boolean status = native_setInputDevice(preferredDeviceId); in setPreferredDevice()
DAudioRecord.java1682 int preferredDeviceId = deviceInfo != null ? deviceInfo.getId() : 0; in setPreferredDevice() local
1683 boolean status = native_setInputDevice(preferredDeviceId); in setPreferredDevice()
DAudioTrack.java3051 int preferredDeviceId = deviceInfo != null ? deviceInfo.getId() : 0; in setPreferredDevice() local
3052 boolean status = native_setOutputDevice(preferredDeviceId); in setPreferredDevice()
DMediaPlayer.java1434 int preferredDeviceId = deviceInfo != null ? deviceInfo.getId() : 0; in setPreferredDevice() local
1435 boolean status = native_setOutputDevice(preferredDeviceId); in setPreferredDevice()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioInputDescriptor.cpp602 if (client->preferredDeviceId() == disconnectedDevice->getId()) { in clearSessionRoutesForDevice()
DAudioOutputDescriptor.cpp799 if (client->preferredDeviceId() == disconnectedDevice->getId()) { in clearSessionRoutesForDevice()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp1645 mAvailableOutputDevices.getDeviceFromId(client->preferredDeviceId())); in startSource()