60788050236ff77f84675e12efe9dba098e49870 |
|
18-May-2015 |
Michael Lentine <mlentine@google.com> |
Adding a build id check to blob cache. Add a build id field to the header structure in blob cache. Add build id support with reading and writing the cache. When the cache gets written it writes the build id at the end of the header. When read it checks to see if there is a match between the current version and the version in the cache. If not, it invalidates the cache which would typically only occur during an ota update. Also remove blob cache from the host build. bug: 18262905 Change-Id: I753b1de1986703a4c1c8691b9d2bb533b2546143
/system/core/include/utils/BlobCache.h
|
6d611a891d0c818bf3a34a7cad036f3f0064bc4a |
|
30-Jul-2013 |
Mathias Agopian <mathias@google.com> |
Make Flattenable not virtual (libutils) Making an object Flattenable doesn't force it to become virtual anymore. For instance, Fence and GraphicBuffer are now non-virtual classes. Also change Flatennable protocol a bit so that it updates its parameters (pointers, sizes) to make it easier to implement a flattenable in terms of other flattenables. Change-Id: Ie81dc7637180b3c2cfcbaf644f8987ca804eb891
/system/core/include/utils/BlobCache.h
|
7451bb44100d9d4915c3c4e4366ab92213947b4b |
|
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
/system/core/include/utils/BlobCache.h
|
90f43dce840b2a815426b6bfcdbe5f92358ab956 |
|
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
/system/core/include/utils/BlobCache.h
|
967ad860da30d09c2003274389cb53abe165b6cc |
|
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
/system/core/include/utils/BlobCache.h
|
1a20993c1000da3f008b34b7a5e6dbbd6fe291a6 |
|
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
/system/core/include/utils/BlobCache.h
|