History log of /frameworks/base/libs/utils/BlobCache.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
9d9768dbd7d8fe7af55fbd570dff9cf79a4d1807 13-May-2011 Jamie Gennis <jgennis@google.com> BlobCache: implement cache serialization

This change adds serialization and deserialization functionality to
BlobCache, conforming to the Flattenable interface.

Change-Id: Ibc99cb1c3d015f363d57d0713eabccec07ff975e
/frameworks/base/libs/utils/BlobCache.cpp
94c1f148bb655a3dd3c2a2167476239b41305ff0 31-Oct-2011 Jamie Gennis <jgennis@google.com> BlobCache: remove the mutex locking

This change removes the mutex from the BlobCache class. The caller must
be responsible for thread synchronization in order to properly implement
the Flattenable interface, which is coming soon. Otherwise would be the
potential for the cache contents to change between the call to the
getFlattenedSize and flatten methods. Because the caller must do this
synchronization anyway there's no reason to also some synchronization
inside BlobCache.

Change-Id: Ie1f4f6f82b78744f46a41ce863cac0cad276a20e
/frameworks/base/libs/utils/BlobCache.cpp
e04f826fef44b85108be85fb6d3a16c35a9e5c29 16-Jun-2011 Kenny Root <kroot@google.com> Use rand() for MinGW

The version of MinGW we use doesn't have nrand48() which is really lame,
but we need to use libutils in the Windows SDK.

Change-Id: If854c03dbf02bc29e79f49e4539f08c2bf057517
/frameworks/base/libs/utils/BlobCache.cpp
9539d9f65a28b676e0a03322ad848b24786a515d 29-Apr-2011 Jamie Gennis <jgennis@google.com> libutils: add a binary blob cache implementation.

This change adds an implementation of a cache that stores key/value
pairs of unstructured binary blobs.

Change-Id: Idd01fdabedfa3aed6d359a6efb0592967af52651
/frameworks/base/libs/utils/BlobCache.cpp