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()
107 void ClientCache::erase(const client_cache_t& cacheId) { in erase()
133 sp<GraphicBuffer> ClientCache::get(const client_cache_t& cacheId) { in get()
145 bool ClientCache::registerErasedRecipient(const client_cache_t& cacheId, in registerErasedRecipient()
158 void ClientCache::unregisterErasedRecipient(const client_cache_t& cacheId, in unregisterErasedRecipient()
171 void ClientCache::removeProcess(const wp<IBinder>& processToken) { in removeProcess()
202 void ClientCache::CacheDeathRecipient::binderDied(const wp<IBinder>& who) { in binderDied()
[all …]
DClientCache.h35 class ClientCache : public Singleton<ClientCache> {
37 ClientCache();
DBufferStateLayer.h167 class HwcSlotGenerator : public ClientCache::ErasedRecipient {
DBufferStateLayer.cpp641 ClientCache::getInstance().registerErasedRecipient(clientCacheId, wp<ErasedRecipient>(this)); in addCachedBuffer()
670 ClientCache::getInstance().unregisterErasedRecipient(minClientCacheId, this); in evictLeastRecentlyUsed()
DAndroid.bp136 "ClientCache.cpp",
DSurfaceFlinger.cpp3441 ClientCache::getInstance().erase(uncacheBuffer); in applyTransactionState()
3884 bool success = ClientCache::getInstance().add(s.cachedBuffer, s.buffer); in setClientStateLocked()
3887 success = ClientCache::getInstance() in setClientStateLocked()
3889 wp<ClientCache::ErasedRecipient>(this)); in setClientStateLocked()
3895 buffer = ClientCache::getInstance().get(s.cachedBuffer); in setClientStateLocked()
DSurfaceFlinger.h177 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() argument