Searched refs:BlobCache (Results 1 - 4 of 4) sorted by relevance
/system/core/libutils/ |
H A D | BlobCache.cpp | 17 #define LOG_TAG "BlobCache" 24 #include <utils/BlobCache.h> 30 // BlobCache::Header::mMagicNumber value 33 // BlobCache::Header::mBlobCacheVersion value 36 // BlobCache::Header::mDeviceVersion value 39 BlobCache::BlobCache(size_t maxKeySize, size_t maxValueSize, size_t maxTotalSize): function in class:android::BlobCache 55 void BlobCache::set(const void* key, size_t keySize, const void* value, 134 size_t BlobCache::get(const void* key, size_t keySize, void* value, 167 size_t BlobCache [all...] |
H A D | Android.mk | 22 BlobCache.cpp \
|
/system/core/include/utils/ |
H A D | BlobCache.h | 29 // A BlobCache is an in-memory cache for binary key/value pairs. A BlobCache 36 class BlobCache : public RefBase { class in namespace:android 44 BlobCache(size_t maxKeySize, size_t maxValueSize, size_t maxTotalSize); 52 // values specified to the BlobCache constructor), then the key/value pair 89 // loaded into a BlobCache object using the unflatten method. The contents 90 // of the BlobCache object will not be modified. 98 // the BlobCache will be evicted from the cache. If an error occurs while 99 // unflattening the serialized cache contents then the BlobCache will be 106 BlobCache(cons [all...] |
/system/core/libutils/tests/ |
H A D | BlobCache_test.cpp | 22 #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 69 milliseconds