Searched refs:preferredDeviceId (Results 1 – 9 of 9) sorted by relevance
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
D | ClientDescriptor.h | 47 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()
|
D | AudioIODescriptorInterface.h | 48 return devices.getDeviceFromId(activeClientsWithRoute[0]->preferredDeviceId()); in findPreferredDevice()
|
/frameworks/base/media/java/android/media/ |
D | MediaRecorder.java | 1406 int preferredDeviceId = deviceInfo != null ? deviceInfo.getId() : 0; in setPreferredDevice() local 1407 boolean status = native_setInputDevice(preferredDeviceId); in setPreferredDevice()
|
D | AudioRecord.java | 1682 int preferredDeviceId = deviceInfo != null ? deviceInfo.getId() : 0; in setPreferredDevice() local 1683 boolean status = native_setInputDevice(preferredDeviceId); in setPreferredDevice()
|
D | AudioTrack.java | 3044 int preferredDeviceId = deviceInfo != null ? deviceInfo.getId() : 0; in setPreferredDevice() local 3045 boolean status = native_setOutputDevice(preferredDeviceId); in setPreferredDevice()
|
D | MediaPlayer.java | 1434 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/ |
D | AudioInputDescriptor.cpp | 590 if (client->preferredDeviceId() == disconnectedDevice->getId()) { in clearSessionRoutesForDevice()
|
D | AudioOutputDescriptor.cpp | 780 if (client->preferredDeviceId() == disconnectedDevice->getId()) { in clearSessionRoutesForDevice()
|
/frameworks/av/services/audiopolicy/managerdefault/ |
D | AudioPolicyManager.cpp | 1663 mAvailableOutputDevices.getDeviceFromId(client->preferredDeviceId())); in startSource()
|