HomeSort by relevance Sort by last modified time
    Searched defs:BlobCache (Results 1 - 4 of 4) sorted by null

  /system/core/include/utils/
BlobCache.h 29 // A BlobCache is an in-memory cache for binary key/value pairs. A BlobCache
36 class BlobCache : public RefBase {
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(const BlobCache&)
    [all...]
  /system/core/libutils/
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):
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::getFlattenedSize() const
    [all...]
  /packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
BlobCache.java 54 // Below are the interface for BlobCache. The instance of this class does not
57 // public BlobCache(String path, int maxEntries, int maxBytes, boolean reset) throws IOException;
80 public class BlobCache implements Closeable {
81 private static final String TAG = "BlobCache";
133 public BlobCache(String path, int maxEntries, int maxBytes, boolean reset)
138 public BlobCache(String path, int maxEntries, int maxBytes, boolean reset,
158 // by the BlobCache constructor.
  /packages/apps/Mms/src/com/android/mms/util/
BlobCache.java 54 // Below are the interface for BlobCache. The instance of this class does not
57 // public BlobCache(String path, int maxEntries, int maxBytes, boolean reset) throws IOException;
81 public class BlobCache implements Closeable {
134 public BlobCache(String path, int maxEntries, int maxBytes, boolean reset)
139 public BlobCache(String path, int maxEntries, int maxBytes, boolean reset,
159 // by the BlobCache constructor.

Completed in 77 milliseconds