Home
last modified time | relevance | path

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

/frameworks/av/media/bufferpool/1.0/
DBufferPoolClient.cpp34 static constexpr int kCacheTtlUs = 1000000; // TODO: tune variable
174 mExpireUs = getTimestampNow() + kCacheTtlUs; in updateExpire()
183 mExpireUs = getTimestampNow() + kCacheTtlUs; in ClientBuffer()
574 if (now >= mLastEvictCacheUs + kCacheTtlUs || clearCache) { in evictCaches()
/frameworks/av/media/bufferpool/2.0/
DBufferPoolClient.cpp34 static constexpr int kCacheTtlUs = 1000000; // TODO: tune variable
186 mExpireUs = getTimestampNow() + kCacheTtlUs; in updateExpire()
194 mExpireUs = getTimestampNow() + kCacheTtlUs; in ClientBuffer()
671 if (now >= mLastEvictCacheUs + kCacheTtlUs || clearCache) { in evictCaches()