Searched refs:numPortsReq (Results 1 – 2 of 2) sorted by relevance
664 unsigned int numPortsReq = (ports == NULL) ? 0 : *num_ports; in listAudioPorts() local667 data.writeInt32(numPortsReq); in listAudioPorts()674 if (numPortsReq > *num_ports) { in listAudioPorts()675 numPortsReq = *num_ports; in listAudioPorts()677 if (numPortsReq > 0) { in listAudioPorts()678 reply.read(ports, numPortsReq * sizeof(struct audio_port)); in listAudioPorts()1898 unsigned int numPortsReq = data.readInt32(); in onTransact() local1899 if (numPortsReq > MAX_ITEMS_PER_LIST) { in onTransact()1900 numPortsReq = MAX_ITEMS_PER_LIST; in onTransact()1902 unsigned int numPorts = numPortsReq; in onTransact()[all …]
1455 unsigned int numPortsReq = data.readInt32(); in onTransact() local1456 if (numPortsReq > MAX_ITEMS_PER_LIST) { in onTransact()1457 numPortsReq = MAX_ITEMS_PER_LIST; in onTransact()1459 unsigned int numPorts = numPortsReq; in onTransact()1461 (struct audio_port *)calloc(numPortsReq, in onTransact()1472 if (numPortsReq > numPorts) { in onTransact()1473 numPortsReq = numPorts; in onTransact()1475 reply->write(ports, numPortsReq * sizeof(struct audio_port)); in onTransact()