Home
last modified time | relevance | path

Searched refs:newCache (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/libs/hwui/tests/unit/
DShaderCacheTests.cpp51 ShaderCache newCache = ShaderCache(); in reinitializeAllFields() local
52 std::lock_guard lock(cache.mMutex), newLock(newCache.mMutex); in reinitializeAllFields()
54 cache.mInitialized = newCache.mInitialized; in reinitializeAllFields()
56 cache.mFilename = newCache.mFilename; in reinitializeAllFields()
58 cache.mSavePending = newCache.mSavePending; in reinitializeAllFields()
59 cache.mObservedBlobValueSize = newCache.mObservedBlobValueSize; in reinitializeAllFields()
60 cache.mDeferredSaveDelayMs = newCache.mDeferredSaveDelayMs; in reinitializeAllFields()
61 cache.mTryToStorePipelineCache = newCache.mTryToStorePipelineCache; in reinitializeAllFields()
62 cache.mInStoreVkPipelineInProgress = newCache.mInStoreVkPipelineInProgress; in reinitializeAllFields()
63 cache.mNewPipelineCacheSize = newCache.mNewPipelineCacheSize; in reinitializeAllFields()
[all …]
/frameworks/av/media/libheif/
DHeifDecoderImpl.cpp188 std::unique_ptr<uint8_t[]> newCache; in readAt() local
192 newCache.reset(new uint8_t[newCacheBufferSize]); in readAt()
193 dst = newCache.get(); in readAt()
229 if (newCache.get() != nullptr) { in readAt()
230 mCache.reset(newCache.release()); in readAt()
246 uint8_t* newCache = new uint8_t[newCacheBufferSize]; in readAt() local
247 memcpy(newCache, mCache.get(), mCachedSize); in readAt()
248 mCache.reset(newCache); in readAt()
/frameworks/av/media/codec2/hal/client/
DGraphicsTracker.cpp287 std::shared_ptr<BufferCache> newCache = std::make_shared<BufferCache>(bqId, generation, igbp); in configureGraphics() local
291 mBufferCache = newCache; in configureGraphics()