Home
last modified time | relevance | path

Searched refs:bufferIter (Results 1 – 3 of 3) sorted by relevance

/frameworks/av/media/module/bufferpool/1.0/
DAccessorImpl.cpp302 auto bufferIter = mBuffers.find(message.bufferId); in handleTransferTo() local
303 if (bufferIter == mBuffers.end() || in handleTransferTo()
326 bufferIter->second->mTransactionCount++; in handleTransferTo()
340 auto bufferIter = mBuffers.find(message.bufferId); in handleTransferFrom() local
341 bufferIter->second->mTransactionCount++; in handleTransferFrom()
359 auto bufferIter = mBuffers.find(message.bufferId); in handleTransferResult() local
363 bufferIter->second->mTransactionCount--; in handleTransferResult()
364 if (bufferIter->second->mOwnerCount == 0 in handleTransferResult()
365 && bufferIter->second->mTransactionCount == 0) { in handleTransferResult()
366 mStats.onBufferUnused(bufferIter->second->mAllocSize); in handleTransferResult()
[all …]
/frameworks/av/media/module/bufferpool/2.0/
DAccessorImpl.cpp503 auto bufferIter = mBuffers.find(message.bufferId); in handleTransferTo() local
504 if (bufferIter == mBuffers.end() || in handleTransferTo()
527 bufferIter->second->mTransactionCount++; in handleTransferTo()
541 auto bufferIter = mBuffers.find(message.bufferId); in handleTransferFrom() local
542 bufferIter->second->mTransactionCount++; in handleTransferFrom()
560 auto bufferIter = mBuffers.find(message.bufferId); in handleTransferResult() local
564 bufferIter->second->mTransactionCount--; in handleTransferResult()
565 if (bufferIter->second->mOwnerCount == 0 in handleTransferResult()
566 && bufferIter->second->mTransactionCount == 0) { in handleTransferResult()
567 if (!bufferIter->second->mInvalidated) { in handleTransferResult()
[all …]
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java839 Iterator<Pair<StatusBarNotification, Integer>> bufferIter = descendingIterator(); in removeChannelNotifications() local
840 while (bufferIter.hasNext()) { in removeChannelNotifications()
841 final Pair<StatusBarNotification, Integer> pair = bufferIter.next(); in removeChannelNotifications()
848 bufferIter.remove(); in removeChannelNotifications()
857 Iterator<Pair<StatusBarNotification, Integer>> bufferIter = descendingIterator(); in removePackageNotifications() local
858 while (bufferIter.hasNext()) { in removePackageNotifications()
859 final Pair<StatusBarNotification, Integer> pair = bufferIter.next(); in removePackageNotifications()
864 bufferIter.remove(); in removePackageNotifications()