Searched refs:newStreams (Results 1 – 2 of 2) sorted by relevance
142 Stream **newStreams = NULL; in configureStreams() local158 newStreams = new Stream*[stream_config->num_streams]; in configureStreams()170 newStreams[i] = reuseStream(astream); in configureStreams()173 newStreams[i] = new Stream(mId, astream); in configureStreams()176 if (newStreams[i] == NULL) { in configureStreams()180 astream->priv = newStreams[i]; in configureStreams()184 if (!isValidStreamSet(newStreams, stream_config->num_streams)) { in configureStreams()190 setupStreams(newStreams, stream_config->num_streams); in configureStreams()194 mStreams = newStreams; in configureStreams()203 destroyStreams(newStreams, stream_config->num_streams); in configureStreams()
196 android::Vector<Stream *> newStreams; in configureStreams() local226 newStreams.add(reuseStreamLocked(astream)); in configureStreams()229 newStreams.add(new Stream(mId, astream)); in configureStreams()232 if (newStreams[i] == NULL) { in configureStreams()236 astream->priv = reinterpret_cast<void *>(newStreams[i]); in configureStreams()240 if (!isValidStreamSetLocked(newStreams)) { in configureStreams()246 setupStreamsLocked(newStreams); in configureStreams()250 mStreams = newStreams; in configureStreams()258 destroyStreamsLocked(newStreams); in configureStreams()