Home
last modified time | relevance | path

Searched refs:cacheIt (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/media/bufferpool/1.0/
DBufferPoolClient.cpp317 auto cacheIt = mCache.mBuffers.find(bufferId); in allocate() local
318 if (cacheIt != mCache.mBuffers.end()) { in allocate()
320 mCache.mBuffers.erase(cacheIt); in allocate()
365 auto cacheIt = mCache.mBuffers.find(bufferId); in receive() local
366 if (cacheIt != mCache.mBuffers.end()) { in receive()
367 if (cacheIt->second->hasCache()) { in receive()
368 *buffer = cacheIt->second->fetchCache(pHandle); in receive()
378 *buffer = cacheIt->second->createCache(shared_from_this(), pHandle); in receive()
/frameworks/av/media/bufferpool/2.0/
DBufferPoolClient.cpp366 auto cacheIt = mCache.mBuffers.find(bufferId); in allocate() local
367 if (cacheIt != mCache.mBuffers.end()) { in allocate()
369 mCache.mBuffers.erase(cacheIt); in allocate()
414 auto cacheIt = mCache.mBuffers.find(bufferId); in receive() local
415 if (cacheIt != mCache.mBuffers.end()) { in receive()
416 if (cacheIt->second->hasCache()) { in receive()
417 *buffer = cacheIt->second->fetchCache(pHandle); in receive()
427 *buffer = cacheIt->second->createCache(shared_from_this(), pHandle); in receive()