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 = 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()
|
D | egl_cache.h | 96 std::unique_ptr<FileBlobCache> mBlobCache; variable
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | ShaderCache.cpp | 54 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()
|
D | ShaderCache.h | 131 std::unique_ptr<FileBlobCache> mBlobCache; variable
|
/frameworks/ml/nn/driver/cache/nnCache/ |
D | nnCache.cpp | 72 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()
|
D | nnCache.h | 128 std::unique_ptr<BlobCache> mBlobCache; variable
|
/frameworks/base/libs/hwui/tests/unit/ |
D | ShaderCacheTests.cpp | 53 cache.mBlobCache = NULL; in terminate()
|