Home
last modified time | relevance | path

Searched refs:selectedDeviceId (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/av/services/audiopolicy/tests/
Daudiopolicymanager_tests.cpp187 audio_port_handle_t *selectedDeviceId,
203 audio_port_handle_t *selectedDeviceId,
277 audio_port_handle_t *selectedDeviceId, in getOutputForAttr() argument
305 selectedDeviceId, portId, {}, &outputType, &isSpatialized, in getOutputForAttr()
316 audio_port_handle_t *selectedDeviceId, in getInputForAttr() argument
335 selectedDeviceId, &inputType, portId, virtualDeviceId)); in getInputForAttr()
635 audio_port_handle_t selectedDeviceId = AUDIO_PORT_HANDLE_NONE; in TEST_P() local
636 getOutputForAttr(&selectedDeviceId, AUDIO_FORMAT_AC3, AUDIO_CHANNEL_OUT_5POINT1, in TEST_P()
638 ASSERT_EQ(selectedDeviceId, mDefaultOutputDevice->getId()); in TEST_P()
644 audio_port_handle_t selectedDeviceId = AUDIO_PORT_HANDLE_NONE; in TEST_P() local
[all …]
/frameworks/av/media/libstagefright/include/media/stagefright/
DAudioSource.h48 audio_port_handle_t selectedDeviceId = AUDIO_PORT_HANDLE_NONE,
61 audio_port_handle_t selectedDeviceId = AUDIO_PORT_HANDLE_NONE,
158 audio_port_handle_t selectedDeviceId = AUDIO_PORT_HANDLE_NONE,
/frameworks/av/media/libstagefright/
DAudioSource.cpp47 audio_port_handle_t selectedDeviceId, in AudioSource() argument
51 set(attr, attributionSource, sampleRate, channelCount, outSampleRate, selectedDeviceId, in AudioSource()
58 uid_t uid, pid_t pid, audio_port_handle_t selectedDeviceId, in AudioSource() argument
68 set(attr, attributionSource, sampleRate, channelCount, outSampleRate, selectedDeviceId, in AudioSource()
75 audio_port_handle_t selectedDeviceId, in set() argument
126 selectedDeviceId, in set()
/frameworks/av/services/audiopolicy/fuzzer/
Daudiopolicy_fuzzer.cpp201 bool getOutputForAttr(audio_port_handle_t *selectedDeviceId, audio_format_t format,
207 audio_port_handle_t *selectedDeviceId, audio_format_t format,
251 audio_port_handle_t *selectedDeviceId, audio_format_t format, audio_channel_mask_t channelMask, in getOutputForAttr() argument
274 &config, &flags, selectedDeviceId, portId, {}, &outputType, &isSpatialized, in getOutputForAttr()
285 const audio_attributes_t &attr, audio_unique_id_t riid, audio_port_handle_t *selectedDeviceId, in getInputForAttr() argument
302 &config, flags, selectedDeviceId, &inputType, portId, virtualDeviceId) != OK) { in getInputForAttr()
693 audio_port_handle_t selectedDeviceId = AUDIO_PORT_HANDLE_NONE; in initialize() local
699 getInputForAttr(attr, mTracker->getRiid(), &selectedDeviceId, mAudioConfig.format, in initialize()
808 audio_port_handle_t selectedDeviceId = AUDIO_PORT_HANDLE_NONE; in initialize() local
814 getOutputForAttr(&selectedDeviceId, mAudioConfig.format, mAudioConfig.channel_mask, in initialize()
[all …]
/frameworks/av/media/libaudioclient/aidl/android/media/
DGetInputForAttrResponse.aidl28 int selectedDeviceId;
DCreateRecordRequest.aidl42 int selectedDeviceId;
DGetOutputForAttrResponse.aidl30 int selectedDeviceId;
DCreateRecordResponse.aidl36 int selectedDeviceId;
DCreateTrackResponse.aidl37 int selectedDeviceId;
DCreateTrackRequest.aidl46 int selectedDeviceId;
DIAudioPolicyService.aidl95 int /* audio_port_handle_t */ selectedDeviceId); in getOutputForAttr()
110 int /* audio_port_handle_t */ selectedDeviceId); in getInputForAttr()
/frameworks/av/media/libaudioclient/
DIAudioFlinger.cpp71 aidl.selectedDeviceId = VALUE_OR_RETURN( in toAidl()
72 legacy2aidl_audio_port_handle_t_int32_t(selectedDeviceId)); in toAidl()
94 legacy.selectedDeviceId = VALUE_OR_RETURN( in fromAidl()
95 aidl2legacy_int32_t_audio_port_handle_t(aidl.selectedDeviceId)); in fromAidl()
106 aidl.selectedDeviceId = VALUE_OR_RETURN( in toAidl()
107 legacy2aidl_audio_port_handle_t_int32_t(selectedDeviceId)); in toAidl()
135 legacy.selectedDeviceId = VALUE_OR_RETURN( in fromAidl()
136 aidl2legacy_int32_t_audio_port_handle_t(aidl.selectedDeviceId)); in fromAidl()
170 aidl.selectedDeviceId = VALUE_OR_RETURN( in toAidl()
171 legacy2aidl_audio_port_handle_t_int32_t(selectedDeviceId)); in toAidl()
[all …]
DAudioRecord.cpp150 audio_port_handle_t selectedDeviceId, in AudioRecord() argument
159 uid, pid, pAttributes, selectedDeviceId, selectedMicDirection, in AudioRecord()
226 audio_port_handle_t selectedDeviceId, in set() argument
259 mSelectedDeviceId = selectedDeviceId; in set()
842 input.selectedDeviceId = mSelectedDeviceId; in createRecord_l()
881 mRoutedDeviceId = output.selectedDeviceId; in createRecord_l()
DAudioSystem.cpp1097 audio_port_handle_t* selectedDeviceId, in getOutputForAttr() argument
1110 if (selectedDeviceId == nullptr) { in getOutputForAttr()
1134 legacy2aidl_audio_port_handle_t_int32_t(*selectedDeviceId)); in getOutputForAttr()
1158 *selectedDeviceId = VALUE_OR_RETURN_STATUS( in getOutputForAttr()
1159 aidl2legacy_int32_t_audio_port_handle_t(responseAidl.selectedDeviceId)); in getOutputForAttr()
1209 audio_port_handle_t* selectedDeviceId, in getInputForAttr() argument
1219 if (selectedDeviceId == NULL) { in getInputForAttr()
1240 legacy2aidl_audio_port_handle_t_int32_t(*selectedDeviceId)); in getInputForAttr()
1254 *selectedDeviceId = VALUE_OR_RETURN_STATUS( in getInputForAttr()
1255 aidl2legacy_int32_t_audio_port_handle_t(response.selectedDeviceId)); in getInputForAttr()
DAudioTrack.cpp257 audio_port_handle_t selectedDeviceId) in AudioTrack() argument
263 doNotReconnect, maxRequiredSpeed, selectedDeviceId); in AudioTrack()
415 audio_port_handle_t selectedDeviceId) in set() argument
436 mSelectedDeviceId = selectedDeviceId; in set()
730 audio_port_handle_t selectedDeviceId) in set() argument
744 pAttributes, doNotReconnect, maxRequiredSpeed, selectedDeviceId); in set()
1873 input.selectedDeviceId = mSelectedDeviceId; in createTrack_l()
1898 mRoutedDeviceId = output.selectedDeviceId; in createTrack_l()
/frameworks/av/media/libaudioclient/include/media/
DAudioTrack.h342 audio_port_handle_t selectedDeviceId = AUDIO_PORT_HANDLE_NONE);
418 audio_port_handle_t selectedDeviceId = AUDIO_PORT_HANDLE_NONE);
439 audio_port_handle_t selectedDeviceId; member
448 s.pAttributes, s.doNotReconnect, s.maxRequiredSpeed, s.selectedDeviceId); in set()
473 audio_port_handle_t selectedDeviceId = AUDIO_PORT_HANDLE_NONE);
DAudioRecord.h200 audio_port_handle_t selectedDeviceId = AUDIO_PORT_HANDLE_NONE,
242 audio_port_handle_t selectedDeviceId = AUDIO_PORT_HANDLE_NONE,
DIAudioFlinger.h95 audio_port_handle_t selectedDeviceId; variable
112 audio_port_handle_t selectedDeviceId; variable
149 audio_port_handle_t selectedDeviceId; variable
166 audio_port_handle_t selectedDeviceId; variable
DAudioSystem.h336 audio_port_handle_t *selectedDeviceId,
371 audio_port_handle_t *selectedDeviceId,
/frameworks/av/media/libaaudio/src/legacy/
DAudioStreamRecord.cpp115 audio_port_handle_t selectedDeviceId = (getDeviceId() == AAUDIO_UNSPECIFIED) in open() local
165 selectedDeviceId in open()
DAudioStreamTrack.cpp135 audio_port_handle_t selectedDeviceId = (getDeviceId() == AAUDIO_UNSPECIFIED) in open() local
179 selectedDeviceId in open()
/frameworks/av/services/mediametrics/
DAudioAnalytics.cpp857 int32_t selectedDeviceId = 0; in endAudioIntervalGroup() local
859 key, AMEDIAMETRICS_PROP_SELECTEDDEVICEID, &selectedDeviceId); in endAudioIntervalGroup()
887 << " selectedDeviceId:" << selectedDeviceId in endAudioIntervalGroup()
906 , selectedDeviceId in endAudioIntervalGroup()
1023 int32_t selectedDeviceId = 0; in endAudioIntervalGroup() local
1025 key, AMEDIAMETRICS_PROP_SELECTEDDEVICEID, &selectedDeviceId); in endAudioIntervalGroup()
1076 << " selectedDeviceId:" << selectedDeviceId in endAudioIntervalGroup()
1099 , selectedDeviceId in endAudioIntervalGroup()
/frameworks/av/services/audiopolicy/
DAudioPolicyInterface.h145 audio_port_handle_t *selectedDeviceId,
168 audio_port_handle_t *selectedDeviceId,
/frameworks/av/services/audiopolicy/service/
DAudioPolicyInterfaceImpl.cpp345 audio_port_handle_t selectedDeviceId = VALUE_OR_RETURN_BINDER_STATUS( in getOutputForAttr() local
389 &flags, &selectedDeviceId, &portId, in getOutputForAttr()
433 portId, selectedDeviceId, stream, isSpatialized); in getOutputForAttr()
440 _aidl_return->selectedDeviceId = VALUE_OR_RETURN_BINDER_STATUS( in getOutputForAttr()
441 legacy2aidl_audio_port_handle_t_int32_t(selectedDeviceId)); in getOutputForAttr()
606 audio_port_handle_t selectedDeviceId = VALUE_OR_RETURN_BINDER_STATUS( in getInputForAttr() local
708 flags, &selectedDeviceId, in getInputForAttr()
771 selectedDeviceId, attributionSource, in getInputForAttr()
788 _aidl_return->selectedDeviceId = VALUE_OR_RETURN_BINDER_STATUS( in getInputForAttr()
789 legacy2aidl_audio_port_handle_t_int32_t(selectedDeviceId)); in getInputForAttr()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.h126 audio_port_handle_t *selectedDeviceId,
142 audio_port_handle_t *selectedDeviceId,
1129 audio_port_handle_t *selectedDeviceId,

12