Home
last modified time | relevance | path

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

/frameworks/av/services/audiopolicy/tests/
Daudiopolicymanager_tests.cpp88 audio_port_handle_t *selectedDeviceId,
99 audio_port_handle_t *selectedDeviceId,
165 audio_port_handle_t *selectedDeviceId, in getOutputForAttr() argument
187 selectedDeviceId, portId, {}, &outputType)); in getOutputForAttr()
195 audio_port_handle_t *selectedDeviceId, in getInputForAttr() argument
212 selectedDeviceId, &inputType, portId)); in getInputForAttr()
407 audio_port_handle_t selectedDeviceId = AUDIO_PORT_HANDLE_NONE; in TEST_F() local
408 getOutputForAttr(&selectedDeviceId, in TEST_F()
410 ASSERT_EQ(selectedDeviceId, mMsdOutputDevice->getId()); in TEST_F()
416 audio_port_handle_t selectedDeviceId = AUDIO_PORT_HANDLE_NONE; in TEST_F() local
[all …]
/frameworks/av/media/libaudioclient/include/media/
DIAudioFlinger.h93 (void)parcel->read(&selectedDeviceId, sizeof(audio_port_handle_t)); in readFromParcel()
117 (void)parcel->write(&selectedDeviceId, sizeof(audio_port_handle_t)); in writeToParcel()
135 audio_port_handle_t selectedDeviceId; variable
150 (void)parcel->read(&selectedDeviceId, sizeof(audio_port_handle_t)); in readFromParcel()
168 (void)parcel->write(&selectedDeviceId, sizeof(audio_port_handle_t)); in writeToParcel()
185 audio_port_handle_t selectedDeviceId; variable
226 (void)parcel->read(&selectedDeviceId, sizeof(audio_port_handle_t)); in readFromParcel()
243 (void)parcel->write(&selectedDeviceId, sizeof(audio_port_handle_t)); in writeToParcel()
259 audio_port_handle_t selectedDeviceId; variable
274 (void)parcel->read(&selectedDeviceId, sizeof(audio_port_handle_t)); in readFromParcel()
[all …]
DIAudioPolicyService.h75 audio_port_handle_t *selectedDeviceId,
90 audio_port_handle_t *selectedDeviceId,
DAudioRecord.h200 audio_port_handle_t selectedDeviceId = AUDIO_PORT_HANDLE_NONE,
242 audio_port_handle_t selectedDeviceId = AUDIO_PORT_HANDLE_NONE,
DAudioTrack.h261 audio_port_handle_t selectedDeviceId = AUDIO_PORT_HANDLE_NONE);
340 audio_port_handle_t selectedDeviceId = AUDIO_PORT_HANDLE_NONE);
DAudioSystem.h246 audio_port_handle_t *selectedDeviceId,
264 audio_port_handle_t *selectedDeviceId,
/frameworks/av/services/mediametrics/
DAudioAnalytics.cpp481 int32_t selectedDeviceId = 0; in endAudioIntervalGroup() local
483 key, AMEDIAMETRICS_PROP_SELECTEDDEVICEID, &selectedDeviceId); in endAudioIntervalGroup()
505 << " selectedDeviceId:" << selectedDeviceId in endAudioIntervalGroup()
522 , selectedDeviceId in endAudioIntervalGroup()
610 int32_t selectedDeviceId = 0; in endAudioIntervalGroup() local
612 key, AMEDIAMETRICS_PROP_SELECTEDDEVICEID, &selectedDeviceId); in endAudioIntervalGroup()
657 << " selectedDeviceId:" << selectedDeviceId in endAudioIntervalGroup()
679 , selectedDeviceId in endAudioIntervalGroup()
/frameworks/av/media/libstagefright/include/media/stagefright/
DAudioSource.h47 audio_port_handle_t selectedDeviceId = AUDIO_PORT_HANDLE_NONE,
/frameworks/av/media/libaaudio/src/legacy/
DAudioStreamRecord.cpp136 audio_port_handle_t selectedDeviceId = (getDeviceId() == AAUDIO_UNSPECIFIED) in open() local
179 selectedDeviceId in open()
DAudioStreamTrack.cpp131 audio_port_handle_t selectedDeviceId = (getDeviceId() == AAUDIO_UNSPECIFIED) in open() local
173 selectedDeviceId in open()
/frameworks/av/media/libaudioclient/
DIAudioPolicyService.cpp225 audio_port_handle_t *selectedDeviceId, in getOutputForAttr() argument
239 if (selectedDeviceId == nullptr) { in getOutputForAttr()
263 data.writeInt32(*selectedDeviceId); in getOutputForAttr()
282 *selectedDeviceId = (audio_port_handle_t)reply.readInt32(); in getOutputForAttr()
324 audio_port_handle_t *selectedDeviceId, in getInputForAttr() argument
337 if (selectedDeviceId == NULL) { in getInputForAttr()
355 data.writeInt32(*selectedDeviceId); in getInputForAttr()
366 *selectedDeviceId = (audio_port_handle_t)reply.readInt32(); in getInputForAttr()
1702 audio_port_handle_t selectedDeviceId = data.readInt32(); in onTransact() local
1709 flags, &selectedDeviceId, &portId, &secondaryOutputs); in onTransact()
[all …]
DAudioRecord.cpp150 audio_port_handle_t selectedDeviceId, in AudioRecord() argument
163 uid, pid, pAttributes, selectedDeviceId, in AudioRecord()
222 audio_port_handle_t selectedDeviceId, in set() argument
241 mSelectedDeviceId = selectedDeviceId; in set()
802 input.selectedDeviceId = mSelectedDeviceId; in createRecord_l()
828 mRoutedDeviceId = output.selectedDeviceId; in createRecord_l()
DAudioTrack.cpp247 audio_port_handle_t selectedDeviceId) in AudioTrack() argument
260 offloadInfo, uid, pid, pAttributes, doNotReconnect, maxRequiredSpeed, selectedDeviceId); in AudioTrack()
359 audio_port_handle_t selectedDeviceId) in set() argument
374 mSelectedDeviceId = selectedDeviceId; in set()
1555 input.selectedDeviceId = mSelectedDeviceId; in createTrack_l()
1577 mRoutedDeviceId = output.selectedDeviceId; in createTrack_l()
DAudioSystem.cpp899 audio_port_handle_t *selectedDeviceId, in getOutputForAttr() argument
907 flags, selectedDeviceId, portId, secondaryOutputs); in getOutputForAttr()
940 audio_port_handle_t *selectedDeviceId, in getInputForAttr() argument
947 config, flags, selectedDeviceId, portId); in getInputForAttr()
/frameworks/av/services/audiopolicy/service/
DAudioPolicyInterfaceImpl.cpp224 audio_port_handle_t *selectedDeviceId, in getOutputForAttr() argument
257 &flags, selectedDeviceId, portId, in getOutputForAttr()
290 … new AudioPlaybackClient(*attr, *output, uid, pid, session, *portId, *selectedDeviceId, *stream); in getOutputForAttr()
412 audio_port_handle_t *selectedDeviceId, in getInputForAttr() argument
490 flags, selectedDeviceId, in getInputForAttr()
533 *selectedDeviceId, opPackageName, in getInputForAttr()
DAudioPolicyService.h90 audio_port_handle_t *selectedDeviceId,
105 audio_port_handle_t *selectedDeviceId = NULL,
/frameworks/av/services/audiopolicy/
DAudioPolicyInterface.h128 audio_port_handle_t *selectedDeviceId,
147 audio_port_handle_t *selectedDeviceId,
/frameworks/av/media/libstagefright/
DAudioSource.cpp55 uid_t uid, pid_t pid, audio_port_handle_t selectedDeviceId, in AudioSource() argument
108 selectedDeviceId, in AudioSource()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.h122 audio_port_handle_t *selectedDeviceId,
136 audio_port_handle_t *selectedDeviceId,
838 audio_port_handle_t *selectedDeviceId,
DAudioPolicyManager.cpp911 audio_port_handle_t *selectedDeviceId, in getOutputForAttrInt() argument
917 const audio_port_handle_t requestedPortId = *selectedDeviceId; in getOutputForAttrInt()
977 *selectedDeviceId = deviceDesc != 0 ? deviceDesc->getId() : AUDIO_PORT_HANDLE_NONE; in getOutputForAttrInt()
1040 *selectedDeviceId = getFirstDeviceId(outputDevices); in getOutputForAttrInt()
1048 ALOGV("%s returns output %d selectedDeviceId %d", __func__, *output, *selectedDeviceId); in getOutputForAttrInt()
1060 audio_port_handle_t *selectedDeviceId, in getOutputForAttr() argument
1069 const audio_port_handle_t requestedPortId = *selectedDeviceId; in getOutputForAttr()
1079 *selectedDeviceId = sanitizedRequestedPortId; in getOutputForAttr()
1082 config, flags, selectedDeviceId, &isRequestedDeviceForExclusiveUse, in getOutputForAttr()
1117 *output, requestedPortId, *selectedDeviceId, *portId); in getOutputForAttr()
[all …]
/frameworks/av/services/audioflinger/
DAudioFlinger.cpp787 output.selectedDeviceId = input.selectedDeviceId; in createTrack()
790 &output.selectedDeviceId, &portId, &secondaryOutputs); in createTrack()
2034 output.selectedDeviceId = input.selectedDeviceId; in createRecord()
2050 output.selectedDeviceId = input.selectedDeviceId; in createRecord()
2061 output.flags, &output.selectedDeviceId, &portId); in createRecord()