Searched refs:preferredDeviceId (Results 1 – 9 of 9) sorted by relevance
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
D | ClientDescriptor.h | 48 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()
|
D | AudioIODescriptorInterface.h | 56 desc->clientsList(false /*activeOnly*/)[0]->preferredDeviceId()); in findPreferredDevice() 61 return devices.getDeviceFromId(activeClientsWithRoute[0]->preferredDeviceId()); in findPreferredDevice()
|
/frameworks/base/media/java/android/media/ |
D | MediaRecorder.java | 1451 int preferredDeviceId = deviceInfo != null ? deviceInfo.getId() : 0; in setPreferredDevice() local 1452 boolean status = native_setInputDevice(preferredDeviceId); in setPreferredDevice()
|
D | AudioRecord.java | 1749 int preferredDeviceId = deviceInfo != null ? deviceInfo.getId() : 0; in setPreferredDevice() local 1750 boolean status = native_setInputDevice(preferredDeviceId); in setPreferredDevice()
|
D | AudioTrack.java | 3444 int preferredDeviceId = deviceInfo != null ? deviceInfo.getId() : 0; in setPreferredDevice() local 3445 boolean status = native_setOutputDevice(preferredDeviceId); in setPreferredDevice()
|
D | MediaPlayer.java | 1436 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/ |
D | AudioInputDescriptor.cpp | 602 if (client->preferredDeviceId() == disconnectedDevice->getId()) { in clearSessionRoutesForDevice()
|
D | AudioOutputDescriptor.cpp | 811 if (client->preferredDeviceId() == disconnectedDevice->getId()) { in clearSessionRoutesForDevice()
|
/frameworks/av/services/audiopolicy/managerdefault/ |
D | AudioPolicyManager.cpp | 1698 mAvailableOutputDevices.getDeviceFromId(client->preferredDeviceId())); in startSource()
|