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.h48 audio_port_handle_t preferredDeviceId,
51 mConfig(config), mPreferredDeviceId(preferredDeviceId), mActive(false), in mPortId()
63 audio_port_handle_t preferredDeviceId() const { return mPreferredDeviceId; }; in preferredDeviceId() function
64 void setPreferredDeviceId(audio_port_handle_t preferredDeviceId) { in setPreferredDeviceId() argument
65 mPreferredDeviceId = preferredDeviceId; in setPreferredDeviceId()
90 audio_port_handle_t preferredDeviceId, audio_stream_type_t stream, in TrackClientDescriptor() argument
96 ClientDescriptor(portId, uid, sessionId, attributes, config, preferredDeviceId, in TrackClientDescriptor()
157 audio_config_base_t config, audio_port_handle_t preferredDeviceId, in RecordClientDescriptor() argument
159 ClientDescriptor(portId, uid, sessionId, attributes, config, preferredDeviceId), in RecordClientDescriptor()
DAudioIODescriptorInterface.h56 desc->clientsList(false /*activeOnly*/)[0]->preferredDeviceId()); in findPreferredDevice()
61 return devices.getDeviceFromId(activeClientsWithRoute[0]->preferredDeviceId()); in findPreferredDevice()
/frameworks/base/media/java/android/media/
DMediaRecorder.java1451 int preferredDeviceId = deviceInfo != null ? deviceInfo.getId() : 0; in setPreferredDevice() local
1452 boolean status = native_setInputDevice(preferredDeviceId); in setPreferredDevice()
DAudioRecord.java1749 int preferredDeviceId = deviceInfo != null ? deviceInfo.getId() : 0; in setPreferredDevice() local
1750 boolean status = native_setInputDevice(preferredDeviceId); in setPreferredDevice()
DAudioTrack.java3444 int preferredDeviceId = deviceInfo != null ? deviceInfo.getId() : 0; in setPreferredDevice() local
3445 boolean status = native_setOutputDevice(preferredDeviceId); in setPreferredDevice()
DMediaPlayer.java1436 int preferredDeviceId = deviceInfo != null ? deviceInfo.getId() : 0; in setPreferredDevice() local
1437 boolean status = native_setOutputDevice(preferredDeviceId); in setPreferredDevice()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioInputDescriptor.cpp602 if (client->preferredDeviceId() == disconnectedDevice->getId()) { in clearSessionRoutesForDevice()
DAudioOutputDescriptor.cpp811 if (client->preferredDeviceId() == disconnectedDevice->getId()) { in clearSessionRoutesForDevice()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp1698 mAvailableOutputDevices.getDeviceFromId(client->preferredDeviceId())); in startSource()