Home
last modified time | relevance | path

Searched refs:clearCache (Results 1 – 9 of 9) sorted by relevance

/hardware/interfaces/media/bufferpool/aidl/default/
DConnection.cpp108 void Connection::cleanUp(bool clearCache) { in cleanUp() argument
110 mAccessor->cleanUp(clearCache); in cleanUp()
DBufferPoolClient.cpp65 bool isActive(int64_t *lastTransactionMs, bool clearCache);
98 void evictCaches(bool clearCache = false);
317 bool BufferPoolClient::Impl::isActive(int64_t *lastTransactionMs, bool clearCache) { in isActive() argument
322 evictCaches(clearCache); in isActive()
327 mLocalConnection->cleanUp(clearCache); in isActive()
661 void BufferPoolClient::Impl::evictCaches(bool clearCache) { in evictCaches() argument
664 clearCache || mCache.cachedBufferCount() > kMaxCachedBufferCount) { in evictCaches()
668 clearCache || mCache.cachedBufferCount() > kCachedBufferCountTarget)) { in evictCaches()
795 bool BufferPoolClient::isActive(int64_t *lastTransactionMs, bool clearCache) { in isActive() argument
800 return mImpl->isActive(lastTransactionMs, clearCache); in isActive()
DConnection.h63 void cleanUp(bool clearCache);
DBufferPoolClient.h62 bool isActive(int64_t *lastTransactionMs, bool clearCache);
DClientManager.cpp85 void cleanUp(bool clearCache = false);
380 void ClientManager::Impl::cleanUp(bool clearCache) { in cleanUp() argument
384 if (clearCache || mCache.mLastCleanUpMs + kCleanUpDurationMs < now) { in cleanUp()
388 if (!it->second->isActive(&lastTransactionMs, clearCache)) { in cleanUp()
DAccessor.h173 void cleanUp(bool clearCache);
DBufferPool.cpp465 void BufferPool::cleanUp(bool clearCache) { in cleanUp() argument
466 if (clearCache || mTimestampMs > mLastCleanUpMs + kCleanUpDurationMs || in cleanUp()
481 if (!clearCache && mStats.buffersNotInUse() <= kUnusedBufferCountTarget && in cleanUp()
DBufferPool.h325 void cleanUp(bool clearCache = false);
DAccessor.cpp310 void Accessor::cleanUp(bool clearCache) { in cleanUp() argument
314 mBufferPool.cleanUp(clearCache); in cleanUp()