Home
last modified time | relevance | path

Searched refs:num_ports (Results 1 – 15 of 15) sorted by relevance

/frameworks/av/services/audioflinger/
DPatchPanel.h31 status_t listAudioPorts(unsigned int *num_ports,
DPatchPanel.cpp48 status_t AudioFlinger::listAudioPorts(unsigned int *num_ports, in listAudioPorts() argument
53 return mPatchPanel->listAudioPorts(num_ports, ports); in listAudioPorts()
123 status_t AudioFlinger::PatchPanel::listAudioPorts(unsigned int *num_ports __unused, in listAudioPorts()
DAudioFlinger.h231 virtual status_t listAudioPorts(unsigned int *num_ports,
/frameworks/av/media/libmedia/
DIAudioFlinger.cpp792 virtual status_t listAudioPorts(unsigned int *num_ports, in listAudioPorts() argument
795 if (num_ports == NULL || *num_ports == 0 || ports == NULL) { in listAudioPorts()
800 data.writeInt32(*num_ports); in listAudioPorts()
806 *num_ports = (unsigned int)reply.readInt32(); in listAudioPorts()
807 reply.read(ports, *num_ports * sizeof(struct audio_port)); in listAudioPorts()
1292 unsigned int num_ports = data.readInt32(); in onTransact() local
1294 (struct audio_port *)calloc(num_ports, in onTransact()
1296 status_t status = listAudioPorts(&num_ports, ports); in onTransact()
1299 reply->writeInt32(num_ports); in onTransact()
1300 reply->write(&ports, num_ports * sizeof(struct audio_port)); in onTransact()
DIAudioPolicyService.cpp447 unsigned int *num_ports, in listAudioPorts() argument
451 if (num_ports == NULL || (*num_ports != 0 && ports == NULL) || in listAudioPorts()
457 unsigned int numPortsReq = (ports == NULL) ? 0 : *num_ports; in listAudioPorts()
464 *num_ports = (unsigned int)reply.readInt32(); in listAudioPorts()
467 if (numPortsReq > *num_ports) { in listAudioPorts()
468 numPortsReq = *num_ports; in listAudioPorts()
DAudioSystem.cpp874 unsigned int *num_ports, in listAudioPorts() argument
880 return aps->listAudioPorts(role, type, num_ports, ports, generation); in listAudioPorts()
/frameworks/av/include/media/
DIAudioPolicyService.h117 unsigned int *num_ports,
DIAudioFlinger.h219 virtual status_t listAudioPorts(unsigned int *num_ports,
DAudioSystem.h296 unsigned int *num_ports,
/frameworks/av/services/audiopolicy/
DAudioPolicyInterfaceImplLegacy.cpp492 unsigned int *num_ports, in listAudioPorts() argument
496 *num_ports = 0; in listAudioPorts()
DAudioPolicyInterfaceImpl.cpp482 unsigned int *num_ports, in listAudioPorts() argument
494 return mAudioPolicyManager->listAudioPorts(role, type, num_ports, ports, generation); in listAudioPorts()
DAudioPolicyInterface.h178 unsigned int *num_ports,
DAudioPolicyService.h160 unsigned int *num_ports,
DAudioPolicyManager.cpp2003 unsigned int *num_ports, in listAudioPorts() argument
2007 if (num_ports == NULL || (*num_ports != 0 && ports == NULL) || in listAudioPorts()
2011 ALOGV("listAudioPorts() role %d type %d num_ports %d ports %p", role, type, *num_ports, ports); in listAudioPorts()
2013 *num_ports = 0; in listAudioPorts()
2017 size_t portsMax = *num_ports; in listAudioPorts()
2018 *num_ports = 0; in listAudioPorts()
2025 *num_ports += mAvailableOutputDevices.size(); in listAudioPorts()
2032 *num_ports += mAvailableInputDevices.size(); in listAudioPorts()
2040 *num_ports += mInputs.size(); in listAudioPorts()
2052 *num_ports += numOutputs; in listAudioPorts()
[all …]
DAudioPolicyManager.h160 unsigned int *num_ports,