Home
last modified time | relevance | path

Searched refs:mBlobCache (Results 1 – 7 of 7) sorted by relevance

/frameworks/native/opengl/libs/EGL/
Degl_cache.cpp119 if (mBlobCache) { in terminate()
120 mBlobCache->writeToFile(); in terminate()
122 mBlobCache = NULL; in terminate()
143 if (mInitialized && mBlobCache) { in setBlob()
144 mBlobCache->writeToFile(); in setBlob()
175 if (mBlobCache == nullptr) { in getBlobCacheLocked()
176 mBlobCache.reset(new FileBlobCache(maxKeySize, maxValueSize, maxTotalSize, mFilename)); in getBlobCacheLocked()
178 return mBlobCache.get(); in getBlobCacheLocked()
Degl_cache.h96 std::unique_ptr<FileBlobCache> mBlobCache; variable
/frameworks/ml/nn/driver/cache/nnCache/
DnnCache.cpp71 mBlobCache = NULL; in terminate()
141 if (mBlobCache == nullptr) { in getBlobCacheLocked()
142 mBlobCache.reset(new BlobCache(mMaxKeySize, mMaxValueSize, mMaxTotalSize, mPolicy)); in getBlobCacheLocked()
145 return mBlobCache.get(); in getBlobCacheLocked()
165 if (mFilename.length() > 0 && mBlobCache != NULL) { in saveBlobCacheLocked()
166 size_t cacheSize = mBlobCache->getFlattenedSize(); in saveBlobCacheLocked()
203 int err = mBlobCache->flatten(buf + headerSize, cacheSize); in saveBlobCacheLocked()
285 int err = mBlobCache->unflatten(buf + headerSize, cacheSize); in loadBlobCacheLocked()
DnnCache.h131 std::unique_ptr<BlobCache> mBlobCache; variable
/frameworks/base/libs/hwui/pipeline/skia/
DShaderCache.cpp52 mBlobCache.reset(new FileBlobCache(maxKeySize, maxValueSize, maxTotalSize, mFilename)); in initShaderDiskCache()
64 return mBlobCache.get(); in getBlobCacheLocked()
133 if (mInitialized && mBlobCache) { in store()
134 mBlobCache->writeToFile(); in store()
DShaderCache.h102 std::unique_ptr<FileBlobCache> mBlobCache; variable
/frameworks/base/libs/hwui/tests/unit/
DShaderCacheTests.cpp51 if (cache.mInitialized && cache.mBlobCache && saveContent) { in terminate()
52 cache.mBlobCache->writeToFile(); in terminate()
54 cache.mBlobCache = NULL; in terminate()