Locale: Retain compatibility with 4.4 APIs

Wrap the new methods from change I9b2d7f8d17f970d1b57111dcfe92c16e68b0fa67
in the previous public method.

Fixes libcore.icu.ICUTest#test_localeFromString

Change-Id: Icbffb5d5b55329f29c791b57d019817b5c298431
Revert "Fix a CharsetEncoder bug."

This reverts commit 653203d1e85f9eca7467ecab60c6000f415aae5d.

Revert "Fix an ASCIICharsetEncoderTest testcase."

This reverts commit fdd61c877cdd981789c976c2418aec0285af7233.

These patches are breaking the tests.api.java.nio.charset.* tests,
back them out. We can't change the underflow conditions without
breaking assumptions in the standard test packages.

Change-Id: I519e21cfef764b7b00fd37d22dc7509f902d3250
libcore/luni: Use -fno-strict-aliasing for now

This will be reverted once we have a proper fix.

Change-Id: Iab4663a5f96ff9770371f54697aa872260037ac1
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
Fix java.util.Random performance regression.

With the monitor change in ART, getting the identity hash code of an
object puts the hash code in the lock word. This hurts performance
if you synchronize on said object since it makes it that we always
go slow path for monitor enter and exit. Although the fix
allocates a new object in the Random constructor, it should not cause
performance problems assuming people don't excessively create new
random number generators.

Change-Id: I750e57fb7c5f70e66ad85d19e2c065e9e52a613f
libcore: fix error in javdoc todo file generation

javadoc is faling to generate todo file due to
relative path and this is causing sdk build to
have spurious error. changing the path to absolute
to ensure file created and error fixed

Change-Id: I7c89942262434d9639b03f72fe886780f44bfba7
Audio: AWR-WB format playback support in email and download

- amr-wb format are not it the supported mime type
- Add amr-wb in the supported audio mime type

Change-Id: Iad721f86a9bc1eccf8c94204b7a4d47961dd1efa
CRs-Fixed: 637271
Merge branch 'cm-11.0' of https://github.com/CyanogenMod/android_libcore into kitkat