android_system_core/include/utils
Christopher Tate 02abe53d8a Add file mode to the file-backup saved state blobs
This change puts the file's access mode into the saved-state blob used by the
file backup helpers.  The tests have been updated for the new blob content
format.

What this change *doesn't* do is actually backup/restore the file mode.  This
change is a prerequisite for that, but mode preservation in backup/restore will
require adding metadata to the backup data stream itself, so will be approached
a bit more carefully.

(Also fixed one outright bug in the test program: ReadEntityData() had been
changed to return a ssize_t union of either a byte-count or a negative number
indicating error, but the test program was still assuming that nonzero == error,
and was spuriously failing.)
2013-07-30 13:56:51 -07:00
..
AndroidUnicode.h auto import from //depot/cupcake/@135843 2013-07-30 13:56:49 -07:00
ashmem.h auto import from //depot/cupcake/@135843 2013-07-30 13:56:49 -07:00
Asset.h auto import from //depot/cupcake/@135843 2013-07-30 13:56:49 -07:00
AssetDir.h auto import from //depot/cupcake/@135843 2013-07-30 13:56:49 -07:00
AssetManager.h Update aapt badging for native code, configs, density, etc. 2013-07-30 13:56:50 -07:00
Atomic.h auto import from //depot/cupcake/@135843 2013-07-30 13:56:49 -07:00
BackupHelpers.h Add file mode to the file-backup saved state blobs 2013-07-30 13:56:51 -07:00
Buffer.h auto import from //depot/cupcake/@135843 2013-07-30 13:56:49 -07:00
BufferedTextOutput.h auto import from //depot/cupcake/@135843 2013-07-30 13:56:49 -07:00
ByteOrder.h Implement the C++ class to write the backed up file data. 2013-07-30 13:56:50 -07:00
CallStack.h auto import from //depot/cupcake/@135843 2013-07-30 13:56:49 -07:00
Debug.h cleanup Debug.h a bit 2013-07-30 13:56:50 -07:00
Endian.h auto import from //depot/cupcake/@135843 2013-07-30 13:56:49 -07:00
Errors.h auto import from //depot/cupcake/@135843 2013-07-30 13:56:49 -07:00
FileMap.h auto import from //depot/cupcake/@135843 2013-07-30 13:56:49 -07:00
KeyedVector.h fix KeyedVector::replaceValueAt, which wouldn't even compile if used. 2013-07-30 13:56:49 -07:00
List.h improvements (I hope) to to List.h implementation: 2013-07-30 13:56:49 -07:00
Log.h auto import from //depot/cupcake/@135843 2013-07-30 13:56:49 -07:00
misc.h get rid of utils.h 2013-07-30 13:56:50 -07:00
RefBase.h update surfaceflinger, libui and libagl to the new gralloc api 2013-07-30 13:56:49 -07:00
ResourceTypes.h fix warnings that will show up with GCC 4.4 (in master) 2013-07-30 13:56:50 -07:00
SharedBuffer.h auto import from //depot/cupcake/@135843 2013-07-30 13:56:49 -07:00
Singleton.h force explicit instantiation of Singleton<> objects 2013-07-30 13:56:50 -07:00
SortedVector.h improve Vector<> with types that can be trivially moved and remove some unused code. 2013-07-30 13:56:50 -07:00
StopWatch.h auto import from //depot/cupcake/@135843 2013-07-30 13:56:49 -07:00
String8.h auto import from //depot/cupcake/@135843 2013-07-30 13:56:49 -07:00
String16.h auto import from //depot/cupcake/@135843 2013-07-30 13:56:49 -07:00
StringArray.h rename string_array.h to StringArray.h and move the implementation from the header file to a new cpp file. 2013-07-30 13:56:50 -07:00
SystemClock.h auto import from //depot/cupcake/@135843 2013-07-30 13:56:49 -07:00
TextOutput.h some work to try to reduce the code size of some native libraries 2013-07-30 13:56:50 -07:00
threads.h some work to try to reduce the code size of some native libraries 2013-07-30 13:56:50 -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. 2013-07-30 13:56:50 -07:00
TimeUtils.h auto import from //depot/cupcake/@135843 2013-07-30 13:56:49 -07:00
TypeHelpers.h improve Vector<> with types that can be trivially moved and remove some unused code. 2013-07-30 13:56:50 -07:00
Vector.h improve Vector<> with types that can be trivially moved and remove some unused code. 2013-07-30 13:56:50 -07:00
VectorImpl.h improve Vector<> with types that can be trivially moved and remove some unused code. 2013-07-30 13:56:50 -07:00
ZipFileCRO.h auto import from //depot/cupcake/@135843 2013-07-30 13:56:49 -07:00
ZipFileRO.h auto import from //depot/cupcake/@135843 2013-07-30 13:56:49 -07:00
ZipUtils.h auto import from //depot/cupcake/@135843 2013-07-30 13:56:49 -07:00