summaryrefslogtreecommitdiff
path: root/libutils/BlobCache.cpp
AgeCommit message (Collapse)Author
2017-03-10Remove BlobCAche from libutilsMathias Agopian
it has moved to libEGL which was the only client. Test: compiled & Run Bug: vndk-stable Change-Id: Ife18727fa1c48b1be6910058867016348b7f02c1
2017-03-03clean-up libutils includesMathias Agopian
moved Foo.h as first include of Foo.cpp, and removed redundant includes. Made NativeHandle non virtual. Test: run & compile Bug: n/a Change-Id: I37fa746cd42c9ba23aba181f84cb6c619386406a
2015-05-18Adding a build id check to blob cache.Michael Lentine
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
2014-10-07Fix write past end of memory.Christopher Ferris
The computed flattened size of the blob does not match the size used by the flatten function when the last cached entry size is not 4 byte aligned. Bug: 17873145 Change-Id: I9f9fc102d4bde4681ae977b6de5f263aaaf56708
2014-07-28BlobCache: fix uninitialized memoryAntoine Labour
When flattening the BlobCache, we insert padding for alignment. Make sure to zero the padding bytes to have reproducible results. Bug: 16569863 Change-Id: Id39eac5e6a1687459eb6bc2074b1339393fce711
2014-06-02libutils: turn on -WerrorMark Salyzyn
- Deal with some -Wunused issues - Override PRI macros (windows) - Revert use of PRI macros on off64_t (linux) - Deal with a gnu++11 complaince issue Change-Id: Ie66751293bd84477a5a6dfd8a57e700a16e36964
2014-04-17libutils: BlobCache 64 bit compile issuesMark Salyzyn
Change-Id: I60e9bddfff04f19834b83bdc26a83ca7173363c3
2013-08-02move libs/utils to libutilsAlex Ray
Change-Id: I6cf4268599460791414882f91eeb88a992fbd29d