Searched refs:newStreams (Results 1 – 2 of 2) sorted by relevance
147 Stream **newStreams = NULL; in configureStreams() local163 newStreams = new Stream*[stream_config->num_streams]; in configureStreams()175 newStreams[i] = reuseStream(astream); in configureStreams()178 newStreams[i] = new Stream(mId, astream); in configureStreams()181 if (newStreams[i] == NULL) { in configureStreams()185 astream->priv = newStreams[i]; in configureStreams()189 if (!isValidStreamSet(newStreams, stream_config->num_streams)) { in configureStreams()195 setupStreams(newStreams, stream_config->num_streams); in configureStreams()199 mStreams = newStreams; in configureStreams()208 destroyStreams(newStreams, stream_config->num_streams); in configureStreams()
203 android::Vector<Stream *> newStreams; in configureStreams() local233 newStreams.add(reuseStreamLocked(astream)); in configureStreams()236 newStreams.add(new Stream(mId, astream)); in configureStreams()239 if (newStreams[i] == NULL) { in configureStreams()243 astream->priv = reinterpret_cast<void *>(newStreams[i]); in configureStreams()247 if (!isValidStreamSetLocked(newStreams)) { in configureStreams()253 setupStreamsLocked(newStreams); in configureStreams()257 mStreams = newStreams; in configureStreams()265 destroyStreamsLocked(newStreams); in configureStreams()