Searched refs:mBlobCache (Results 1 – 7 of 7) sorted by relevance
/frameworks/native/opengl/libs/EGL/ |
D | egl_cache.cpp | 119 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()
|
D | egl_cache.h | 96 std::unique_ptr<FileBlobCache> mBlobCache; variable
|
/frameworks/ml/nn/driver/cache/nnCache/ |
D | nnCache.cpp | 71 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()
|
D | nnCache.h | 131 std::unique_ptr<BlobCache> mBlobCache; variable
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | ShaderCache.cpp | 52 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()
|
D | ShaderCache.h | 102 std::unique_ptr<FileBlobCache> mBlobCache; variable
|
/frameworks/base/libs/hwui/tests/unit/ |
D | ShaderCacheTests.cpp | 51 if (cache.mInitialized && cache.mBlobCache && saveContent) { in terminate() 52 cache.mBlobCache->writeToFile(); in terminate() 54 cache.mBlobCache = NULL; in terminate()
|