Searched refs:numPortsReq (Results 1 – 2 of 2) sorted by relevance
690 unsigned int numPortsReq = (ports == NULL) ? 0 : *num_ports; in listAudioPorts() local693 data.writeInt32(numPortsReq); in listAudioPorts()700 if (numPortsReq > *num_ports) { in listAudioPorts()701 numPortsReq = *num_ports; in listAudioPorts()703 if (numPortsReq > 0) { in listAudioPorts()704 reply.read(ports, numPortsReq * sizeof(struct audio_port)); in listAudioPorts()2057 unsigned int numPortsReq = data.readInt32(); in onTransact() local2058 if (numPortsReq > MAX_ITEMS_PER_LIST) { in onTransact()2059 numPortsReq = MAX_ITEMS_PER_LIST; in onTransact()2061 unsigned int numPorts = numPortsReq; in onTransact()[all …]
1458 unsigned int numPortsReq = data.readInt32(); in onTransact() local1459 if (numPortsReq > MAX_ITEMS_PER_LIST) { in onTransact()1460 numPortsReq = MAX_ITEMS_PER_LIST; in onTransact()1462 unsigned int numPorts = numPortsReq; in onTransact()1464 (struct audio_port *)calloc(numPortsReq, in onTransact()1475 if (numPortsReq > numPorts) { in onTransact()1476 numPortsReq = numPorts; in onTransact()1478 reply->write(ports, numPortsReq * sizeof(struct audio_port)); in onTransact()