Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/
DClientCache.cpp28 ANDROID_SINGLETON_STATIC_INSTANCE(ClientCache);
30 ClientCache::ClientCache() : mDeathRecipient(new CacheDeathRecipient) {} in ClientCache() function in android::ClientCache
32 bool ClientCache::getBuffer(const client_cache_t& cacheId, in getBuffer()
58 bool ClientCache::add(const client_cache_t& cacheId, const sp<GraphicBuffer>& buffer) { in add()
105 void ClientCache::erase(const client_cache_t& cacheId) { in erase()
131 sp<GraphicBuffer> ClientCache::get(const client_cache_t& cacheId) { in get()
143 bool ClientCache::registerErasedRecipient(const client_cache_t& cacheId, in registerErasedRecipient()
156 void ClientCache::unregisterErasedRecipient(const client_cache_t& cacheId, in unregisterErasedRecipient()
169 void ClientCache::removeProcess(const wp<IBinder>& processToken) { in removeProcess()
200 void ClientCache::CacheDeathRecipient::binderDied(const wp<IBinder>& who) { in binderDied()
[all …]
DClientCache.h35 class ClientCache : public Singleton<ClientCache> {
37 ClientCache();
DBufferStateLayer.h164 class HwcSlotGenerator : public ClientCache::ErasedRecipient {
DBufferStateLayer.cpp643 ClientCache::getInstance().registerErasedRecipient(clientCacheId, wp<ErasedRecipient>(this)); in addCachedBuffer()
672 ClientCache::getInstance().unregisterErasedRecipient(minClientCacheId, this); in evictLeastRecentlyUsed()
DAndroid.bp119 "ClientCache.cpp",
DSurfaceFlinger.cpp3848 ClientCache::getInstance().erase(uncacheBuffer); in applyTransactionState()
4206 bool success = ClientCache::getInstance().add(s.cachedBuffer, s.buffer); in setClientStateLocked()
4209 success = ClientCache::getInstance() in setClientStateLocked()
4211 wp<ClientCache::ErasedRecipient>(this)); in setClientStateLocked()
4217 buffer = ClientCache::getInstance().get(s.cachedBuffer); in setClientStateLocked()
DSurfaceFlinger.h173 public ClientCache::ErasedRecipient,
/frameworks/av/media/bufferpool/1.0/
DClientManager.cpp134 struct ClientCache { struct in android::hardware::media::bufferpool::V1_0::implementation::ClientManager::Impl
144 ClientCache() : mConnecting(false), mLastCleanUpUs(getTimestampNow()) {} in ClientCache() function
/frameworks/av/media/bufferpool/2.0/
DClientManager.cpp138 struct ClientCache { struct in android::hardware::media::bufferpool::V2_0::implementation::ClientManager::Impl
148 ClientCache() : mConnecting(false), mLastCleanUpUs(getTimestampNow()) {} in ClientCache() function