Lines Matching refs:mStreamMap
150 int idx = mStreamMap.indexOfKey(IInterface::asBinder(gbp));
166 const StreamSurfaceId& streamSurfaceId = mStreamMap.valueAt(idx);
474 mStreamMap.size());
814 for (size_t i = 0; i < mStreamMap.size(); ++i) {
815 if (streamId == mStreamMap.valueAt(i).streamId()) {
816 surfaces.push_back(mStreamMap.keyAt(i));
856 mStreamMap.removeItem(surface);
931 ssize_t index = mStreamMap.indexOfKey(binder);
991 ALOGV("%s: mStreamMap add binder %p streamId %d, surfaceId %d",
993 mStreamMap.add(binder, StreamSurfaceId(streamId, surfaceIds[i]));
1056 // Can not add streamId to mStreamMap here, as the surface is deferred. Add it to
1058 // relocated to mStreamMap.
1202 ssize_t index = mStreamMap.indexOfKey(binder);
1208 if (mStreamMap.valueFor(binder).streamId() != streamId) {
1210 __FUNCTION__, streamId, mStreamMap.valueFor(binder).streamId());
1224 for (size_t i = 0; i < mStreamMap.size(); i++) {
1225 ssize_t idx = newOutputsMap.indexOfKey(mStreamMap.keyAt(i));
1227 if (mStreamMap[i].streamId() == streamId) {
1228 removedSurfaceIds.push_back(mStreamMap[i].surfaceId());
1229 removedOutputs.push_back(mStreamMap.keyAt(i));
1232 if (mStreamMap[i].streamId() != streamId) {
1278 mStreamMap.removeItem(it);
1282 mStreamMap.add(IInterface::asBinder(outputMap.keyAt(i)->getIGraphicBufferProducer()),
1645 for (size_t i = 0; i < mStreamMap.size(); ++i) {
1646 if (streamId == mStreamMap.valueAt(i).streamId()) {
1685 for (size_t i = 0; i < mStreamMap.size(); ++i) {
1686 if (streamId == mStreamMap.valueAt(i).streamId()) {
1733 for (size_t i = 0; i < mStreamMap.size(); ++i) {
1734 if (streamId == mStreamMap.valueAt(i).streamId()) {
1781 // streamId should be in mStreamMap if this stream already has a surface attached
1785 for (size_t i = 0; i < mStreamMap.size(); i++) {
1786 if (mStreamMap.valueAt(i).streamId() == streamId) {
1819 ssize_t index = mStreamMap.indexOfKey(IInterface::asBinder(bufferProducer));
1851 ALOGV("%s: mStreamMap add binder %p streamId %d, surfaceId %d", __FUNCTION__,
1853 mStreamMap.add(binder, StreamSurfaceId(streamId, consumerSurfaceIds[i]));
1891 if (!mStreamMap.isEmpty()) {
1893 for (size_t i = 0; i < mStreamMap.size(); i++) {
1895 mStreamMap.valueAt(i).streamId(),
1896 mStreamMap.valueAt(i).surfaceId());