Lines Matching refs:mStreamSetMap
79 for (size_t i = 0; i < mStreamSetMap.size(); i++) { in registerStream()
80 ssize_t streamIdx = mStreamSetMap[i].streamInfoMap.indexOfKey(streamId); in registerStream()
82 mStreamSetMap[i].streamInfoMap[streamIdx].streamSetId != streamInfo.streamSetId && in registerStream()
83 mStreamSetMap[i].streamInfoMap[streamIdx].isMultiRes != streamInfo.isMultiRes) { in registerStream()
91 ssize_t setIdx = mStreamSetMap.indexOfKey(streamSetKey); in registerStream()
97 setIdx = mStreamSetMap.add(streamSetKey, newStreamSet); in registerStream()
100 StreamSet& currentStreamSet = mStreamSetMap.editValueAt(setIdx); in registerStream()
136 StreamSet& currentSet = mStreamSetMap.editValueFor(streamSetKey); in unregisterStream()
159 mStreamSetMap.removeItem(streamSetKey); in unregisterStream()
168 StreamSet &streamSet = mStreamSetMap.editValueFor(streamSetKey); in notifyBufferRemoved()
177 StreamSet &streamSet = mStreamSetMap.editValueFor(streamSetKey); in checkAndFreeBufferOnOtherStreamsLocked()
263 StreamSet &streamSet = mStreamSetMap.editValueFor(streamSetKey); in getBufferForStream()
367 StreamSet& streamSet = mStreamSetMap.editValueFor(streamSetKey); in onBufferReleased()
427 StreamSet& streamSet = mStreamSetMap.editValueFor(streamSetKey); in onBuffersRemoved()
461 lines << fmt::sprintf(" Total stream sets: %zu\n", mStreamSetMap.size()); in dump()
462 for (size_t i = 0; i < mStreamSetMap.size(); i++) { in dump()
464 mStreamSetMap.keyAt(i).id, mStreamSetMap.keyAt(i).isMultiRes); in dump()
465 for (size_t j = 0; j < mStreamSetMap[i].streamInfoMap.size(); j++) { in dump()
467 mStreamSetMap[i].streamInfoMap[j].streamId); in dump()
470 mStreamSetMap[i].maxAllowedBufferCount); in dump()
472 mStreamSetMap[i].allocatedBufferWaterMark); in dump()
474 for (size_t m = 0; m < mStreamSetMap[i].handoutBufferCountMap.size(); m++) { in dump()
475 int streamId = mStreamSetMap[i].handoutBufferCountMap.keyAt(m); in dump()
476 size_t bufferCount = mStreamSetMap[i].handoutBufferCountMap.valueAt(m); in dump()
481 for (size_t m = 0; m < mStreamSetMap[i].attachedBufferCountMap.size(); m++) { in dump()
482 int streamId = mStreamSetMap[i].attachedBufferCountMap.keyAt(m); in dump()
483 size_t bufferCount = mStreamSetMap[i].attachedBufferCountMap.valueAt(m); in dump()
494 ssize_t setIdx = mStreamSetMap.indexOfKey(streamSetKey); in checkIfStreamRegisteredLocked()
501 ssize_t streamIdx = mStreamSetMap.valueAt(setIdx).streamInfoMap.indexOfKey(streamId); in checkIfStreamRegisteredLocked()
507 size_t bufferWaterMark = mStreamSetMap[setIdx].maxAllowedBufferCount; in checkIfStreamRegisteredLocked()