replicant-frameworks_native/include/utils
Kenny Root d4066a4ac5 ZipUtilsRO rewrite based on Dalvik Zip rewrite
Change the way zip archives are handled.  This is necessary to deal with
very large (~1GB) APK files, for which our current approach of mapping
the entire file falls over.

We now do the classic scavenger hunt for the End Of Central Directory
magic on a buffer of data read from the file, instead of a memory-mapped
section.  We use what we find to create a map that covers the Central
Directory only.

If the caller is interested in unpacking the file contents, we have to
do an additional file read to discover the size of the Local File Header
section so we can skip past it.

This is based on Change I745fb15abb in the dalvik tree. Both
implementations share a common ancestry, but the cost of unifying them
outweighs the benefits of wrapping C calls.

Change-Id: Iddacb50fe913917c2845708a530872d65fdbe620
2010-05-12 05:07:48 -07:00
..
ashmem.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
Asset.h Fix issue #2048263: More debugging information 2009-08-11 18:56:41 -07:00
AssetDir.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
AssetManager.h Don't re-parse the framework resources all the time. 2009-07-06 11:12:37 -07:00
Atomic.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
BackupHelpers.h Only report "unknown metadata" once per restore helper 2009-06-24 13:57:29 -07:00
Buffer.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
BufferedTextOutput.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
ByteOrder.h Implement the C++ class to write the backed up file data. 2009-05-15 10:37:10 -04:00
CallStack.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
Debug.h Support for marshalling pointers / intptr_t in Parcel. 2009-08-17 15:31:25 -07:00
Endian.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
Errors.h fix [2068105] implement queueBuffer/lockBuffer/dequeueBuffer properly 2009-09-07 16:32:45 -07:00
FileMap.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
Flattenable.h remove a dependency of GraphicBuffer (libui) on Parcel (libbinder). 2010-02-21 23:27:25 -08:00
KeyedVector.h fix KeyedVector::replaceValueAt, which wouldn't even compile if used. 2009-04-10 20:27:25 -07:00
List.h Fix sim build. 2009-07-07 10:01:12 -07:00
Log.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
misc.h get rid of utils.h 2009-05-31 19:13:00 -07:00
RefBase.h update surfaceflinger, libui and libagl to the new gralloc api 2009-05-04 14:17:04 -07:00
ResourceTypes.h New xlarge screen size. 2010-04-28 16:51:52 -07:00
SharedBuffer.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
Singleton.h force explicit instantiation of Singleton<> objects 2009-05-28 12:31:31 -07:00
SortedVector.h improve Vector<> with types that can be trivially moved and remove some unused code. 2009-06-22 02:31:07 -07:00
StopWatch.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
String8.h Optional use of UTF-8 strings in resource bundles 2009-12-07 15:14:15 -08:00
String16.h Optional use of UTF-8 strings in resource bundles 2009-12-07 15:14:15 -08:00
StringArray.h rename string_array.h to StringArray.h and move the implementation from the header file to a new cpp file. 2009-06-05 01:26:23 -07:00
SystemClock.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
TextOutput.h some work to try to reduce the code size of some native libraries 2009-05-26 16:12:20 -07:00
threads.h libutils Condition are now PRIVATE by default 2010-03-19 16:16:43 -07:00
Timers.h get rid of sleepForInterval() which didn't seem to be used anywhere in the source tree. Also get rid of ported.h which seem to be used only (possibly) in the sim. moved the implementation there. 2009-05-31 23:45:01 -07:00
TypeHelpers.h improve Vector<> with types that can be trivially moved and remove some unused code. 2009-06-22 02:31:07 -07:00
Vector.h improve Vector<> with types that can be trivially moved and remove some unused code. 2009-06-22 02:31:07 -07:00
VectorImpl.h improve Vector<> with types that can be trivially moved and remove some unused code. 2009-06-22 02:31:07 -07:00
ZipFileCRO.h ZipUtilsRO rewrite based on Dalvik Zip rewrite 2010-05-12 05:07:48 -07:00
ZipFileRO.h ZipUtilsRO rewrite based on Dalvik Zip rewrite 2010-05-12 05:07:48 -07:00
ZipUtils.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00