platform_system_core/libs/utils
Kenny Root 9a2d83e698 Optional use of UTF-8 strings in resource bundles
Allows the use of UTF-8 for packing resources instead of the
default of UTF-16 for Java. When strings are extracted from the
ResStringPool, they are converted to UTF-16 and the result is
cached for subsequent calls.

When using aapt to package, add in the "-8" switch to pack the
resources using UTF-8. This will result in the value, key, and
type strings as well as the compiled XML string values taking
significantly less space in the final application package in
most scenarios.

Change-Id: I129483f8b3d3b1c5869dced05cb525e494a6c83a
2013-07-30 13:56:52 -07:00
..
Android.mk implement Mutex and Condition with pthread instead of calling futex directly. 2013-07-30 13:56:51 -07:00
Asset.cpp Fix issue #2048263: More debugging information 2013-07-30 13:56:52 -07:00
AssetDir.cpp auto import from //depot/cupcake/@135843 2013-07-30 13:56:49 -07:00
AssetManager.cpp Don't re-parse the framework resources all the time. 2013-07-30 13:56:51 -07:00
BackupData.cpp Turn off most of the backup-related debug logging 2013-07-30 13:56:52 -07:00
BackupHelpers.cpp Better (and less) logging from backup. 2013-07-30 13:56:51 -07:00
BufferedTextOutput.cpp auto import from //depot/cupcake/@135843 2013-07-30 13:56:49 -07:00
CallStack.cpp some work to try to reduce the code size of some native libraries 2013-07-30 13:56:50 -07:00
CharacterData.h rename a few files to camel-case, add copyright notices 2013-07-30 13:56:50 -07:00
Debug.cpp auto import from //depot/cupcake/@135843 2013-07-30 13:56:49 -07:00
FileMap.cpp auto import from //depot/cupcake/@135843 2013-07-30 13:56:49 -07:00
MODULE_LICENSE_APACHE2 auto import from //depot/cupcake/@135843 2013-07-30 13:56:49 -07:00
NOTICE auto import from //depot/cupcake/@135843 2013-07-30 13:56:49 -07:00
README auto import from //depot/cupcake/@135843 2013-07-30 13:56:49 -07:00
RefBase.cpp auto import from //depot/cupcake/@135843 2013-07-30 13:56:49 -07:00
ResourceTypes.cpp Optional use of UTF-8 strings in resource bundles 2013-07-30 13:56:52 -07:00
SharedBuffer.cpp auto import from //depot/cupcake/@135843 2013-07-30 13:56:49 -07:00
Static.cpp checkpoint: split libutils into libutils + libbinder 2013-07-30 13:56:50 -07:00
StopWatch.cpp auto import from //depot/cupcake/@135843 2013-07-30 13:56:49 -07:00
String8.cpp Optional use of UTF-8 strings in resource bundles 2013-07-30 13:56:52 -07:00
String16.cpp Optional use of UTF-8 strings in resource bundles 2013-07-30 13:56:52 -07:00
StringArray.cpp 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.cpp auto import from //depot/cupcake/@135843 2013-07-30 13:56:49 -07:00
TextOutput.cpp some work to try to reduce the code size of some native libraries 2013-07-30 13:56:50 -07:00
Threads.cpp use broadcast() instead of signal() when signaling the condition-variable Thread::RequestExitAndWait() is waiting for 2013-07-30 13:56:52 -07:00
Timers.cpp 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
Unicode.cpp rename a few files to camel-case, add copyright notices 2013-07-30 13:56:50 -07:00
VectorImpl.cpp auto import from //depot/cupcake/@135843 2013-07-30 13:56:49 -07:00
ZipFileCRO.cpp rename a few files to camel-case, add copyright notices 2013-07-30 13:56:50 -07:00
ZipFileRO.cpp rename a few files to camel-case, add copyright notices 2013-07-30 13:56:50 -07:00
ZipUtils.cpp fix FILE* version of ZipUtils::inflateToBuffer 2013-07-30 13:56:51 -07:00
misc.cpp auto import from //depot/cupcake/@135843 2013-07-30 13:56:49 -07:00

README

Android Utility Function Library

If you need a feature that is native to Linux but not present on other
platforms, construct a platform-dependent implementation that shares
the Linux interface.  That way the actual device runs as "light" as
possible.

If that isn't feasible, create a system-independent interface and hide
the details.

The ultimate goal is *not* to create a super-duper platform abstraction
layer.  The goal is to provide an optimized solution for Linux with
reasonable implementations for other platforms.