Searched refs:BlobCache (Results 1 – 4 of 4) sorted by relevance
/system/core/libutils/ |
D | BlobCache.cpp | 41 BlobCache::BlobCache(size_t maxKeySize, size_t maxValueSize, size_t maxTotalSize): in BlobCache() function in android::BlobCache 57 void BlobCache::set(const void* key, size_t keySize, const void* value, in set() 136 size_t BlobCache::get(const void* key, size_t keySize, void* value, in get() 169 size_t BlobCache::getFlattenedSize() const { in getFlattenedSize() 181 status_t BlobCache::flatten(void* buffer, size_t size) const { in flatten() 233 status_t BlobCache::unflatten(void const* buffer, size_t size) { in unflatten() 290 long int BlobCache::blob_random() { in blob_random() 298 void BlobCache::clean() { in clean() 309 bool BlobCache::isCleanable() const { in isCleanable() 313 BlobCache::Blob::Blob(const void* data, size_t size, bool copyData): in Blob() [all …]
|
D | Android.mk | 76 BlobCache.cpp \
|
/system/core/include/utils/ |
D | BlobCache.h | 36 class BlobCache : public RefBase { 44 BlobCache(size_t maxKeySize, size_t maxValueSize, size_t maxTotalSize); 106 BlobCache(const BlobCache&); 107 void operator=(const BlobCache&);
|
/system/core/libutils/tests/ |
D | BlobCache_test.cpp | 36 mBC = new BlobCache(MAX_KEY_SIZE, MAX_VALUE_SIZE, MAX_TOTAL_SIZE); in SetUp() 43 sp<BlobCache> mBC; 265 mBC2 = new BlobCache(MAX_KEY_SIZE, MAX_VALUE_SIZE, MAX_TOTAL_SIZE); in SetUp() 281 sp<BlobCache> mBC2;
|