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 = nullptr; 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/base/libs/hwui/pipeline/skia/
DShaderCache.cpp54 mBlobCache->clear(); in validateCache()
67 auto loaded = mBlobCache->get(&key, sizeof(key), hash.data(), hash.size()); in validateCache()
74 mBlobCache->clear(); in validateCache()
86 mBlobCache.reset(new FileBlobCache(maxKeySize, maxValueSize, maxTotalSize, mFilename)); in initShaderDiskCache()
99 return mBlobCache.get(); in getBlobCacheLocked()
144 if (mInitialized && mBlobCache && mSavePending) { in saveToDiskLocked()
147 mBlobCache->set(&key, sizeof(key), mIDHash.data(), mIDHash.size()); in saveToDiskLocked()
149 mBlobCache->writeToFile(); in saveToDiskLocked()
DShaderCache.h131 std::unique_ptr<FileBlobCache> mBlobCache; variable
/frameworks/ml/nn/driver/cache/nnCache/
DnnCache.cpp72 mBlobCache = NULL; in terminate()
140 if (mBlobCache == nullptr) { in getBlobCacheLocked()
141 mBlobCache.reset(new BlobCache(mMaxKeySize, mMaxValueSize, mMaxTotalSize, mPolicy)); in getBlobCacheLocked()
144 return mBlobCache.get(); in getBlobCacheLocked()
164 if (mFilename.length() > 0 && mBlobCache != NULL) { in saveBlobCacheLocked()
165 size_t cacheSize = mBlobCache->getFlattenedSize(); in saveBlobCacheLocked()
199 int err = mBlobCache->flatten(buf + headerSize, cacheSize); in saveBlobCacheLocked()
277 int err = mBlobCache->unflatten(buf + headerSize, cacheSize); in loadBlobCacheLocked()
DnnCache.h128 std::unique_ptr<BlobCache> mBlobCache; variable
/frameworks/base/libs/hwui/tests/unit/
DShaderCacheTests.cpp53 cache.mBlobCache = NULL; in terminate()