Searched refs:BlobCache (Results 1 - 6 of 6) sorted by relevance

/frameworks/native/libs/utils/
H A DBlobCache.cpp17 #define LOG_TAG "BlobCache"
23 #include <utils/BlobCache.h>
29 // BlobCache::Header::mMagicNumber value
32 // BlobCache::Header::mBlobCacheVersion value
35 // BlobCache::Header::mDeviceVersion value
38 BlobCache::BlobCache(size_t maxKeySize, size_t maxValueSize, size_t maxTotalSize): function in class:android::BlobCache
54 void BlobCache::set(const void* key, size_t keySize, const void* value,
133 size_t BlobCache::get(const void* key, size_t keySize, void* value,
166 size_t BlobCache
[all...]
H A DAndroid.mk22 BlobCache.cpp \
/frameworks/native/opengl/libs/EGL/
H A Degl_cache.h23 #include <utils/BlobCache.h>
77 // getBlobCacheLocked returns the BlobCache object being used to store the
78 // key/value blob pairs. If the BlobCache object has not yet been created,
81 sp<BlobCache> getBlobCacheLocked();
102 sp<BlobCache> mBlobCache;
H A Degl_cache.cpp145 sp<BlobCache> bc = getBlobCacheLocked();
184 sp<BlobCache> bc = getBlobCacheLocked();
195 sp<BlobCache> egl_cache_t::getBlobCacheLocked() {
197 mBlobCache = new BlobCache(maxKeySize, maxValueSize, maxTotalSize);
/frameworks/native/include/utils/
H A DBlobCache.h29 // A BlobCache is an in-memory cache for binary key/value pairs. A BlobCache
36 class BlobCache : public RefBase, public Flattenable { class in namespace:android
43 BlobCache(size_t maxKeySize, size_t maxValueSize, size_t maxTotalSize);
51 // values specified to the BlobCache constructor), then the key/value pair
92 // loaded into a BlobCache object using the unflatten method. The contents
93 // of the BlobCache object will not be modified.
103 // the BlobCache will be evicted from the cache. If an error occurs while
104 // unflattening the serialized cache contents then the BlobCache will be
114 BlobCache(cons
[all...]
/frameworks/native/libs/utils/tests/
H A DBlobCache_test.cpp22 #include <utils/BlobCache.h>
36 mBC = new BlobCache(MAX_KEY_SIZE, MAX_VALUE_SIZE, MAX_TOTAL_SIZE);
43 sp<BlobCache> mBC;
265 mBC2 = new BlobCache(MAX_KEY_SIZE, MAX_VALUE_SIZE, MAX_TOTAL_SIZE);
281 sp<BlobCache> mBC2;

Completed in 436 milliseconds