Searched refs:numPortsReq (Results 1 – 2 of 2) sorted by relevance
660 unsigned int numPortsReq = (ports == NULL) ? 0 : *num_ports; in listAudioPorts() local663 data.writeInt32(numPortsReq); in listAudioPorts()670 if (numPortsReq > *num_ports) { in listAudioPorts()671 numPortsReq = *num_ports; in listAudioPorts()673 if (numPortsReq > 0) { in listAudioPorts()674 reply.read(ports, numPortsReq * sizeof(struct audio_port)); in listAudioPorts()1833 unsigned int numPortsReq = data.readInt32(); in onTransact() local1834 if (numPortsReq > MAX_ITEMS_PER_LIST) { in onTransact()1835 numPortsReq = MAX_ITEMS_PER_LIST; in onTransact()1837 unsigned int numPorts = numPortsReq; in onTransact()[all …]
1425 unsigned int numPortsReq = data.readInt32(); in onTransact() local1426 if (numPortsReq > MAX_ITEMS_PER_LIST) { in onTransact()1427 numPortsReq = MAX_ITEMS_PER_LIST; in onTransact()1429 unsigned int numPorts = numPortsReq; in onTransact()1431 (struct audio_port *)calloc(numPortsReq, in onTransact()1442 if (numPortsReq > numPorts) { in onTransact()1443 numPortsReq = numPorts; in onTransact()1445 reply->write(ports, numPortsReq * sizeof(struct audio_port)); in onTransact()