GC triggering performance optimizations

Copy the correct starting heap size at process init.
Interfaces to set GC/managed heap parameters.

Change-Id: I3f3f60915e0c732436118e8e605393360c89bfe4
(cherry picked from commit a6f2e5f1162760178b8cb412c6beee6a5cbce429)
(cherry picked from commit fe9675349c1c0fe2a92e7cb2d9b8bd830f225103)
(cherry picked from commit be6f88153d8e515d9decf4274efdc5f76c87e2b9)
libcore: Do not pre-bind socket in connect method

The connect method in Java should not have to explicitly
bind to Inet4Address.ANY. For unbound sockets, the kernel's
connect function will perform an inet_autobind.

cherry picked from commit-id f4d980670fd4938a6b5ec07a5818454fc44f2a57

CRs-fixed: 370996

Change-Id: I56c4ec6215e3ae00b42c0579592628d02c9f1c9c
(cherry picked from commit c52ae135bb14a96d237e971fb01bfae30723be2a)
(cherry picked from commit adcee075eec0b2afd787d1179ccbf04c653a60b5)
(cherry picked from commit 57926ca5d077582f08d00e5d380de1fdb79384e0)
(cherry picked from commit afdcceb7ad17ab389707a0c7fb52564e92c5f47e)
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>
Add CAP_BLOCK_SUSPEND to OS constants

Bug: 10901016
Change-Id: I162bde82bce9fca8eabc7168a172d3d8365e1578
libcore: Set CAP_LAST_CAP as CAP_BLOCK_SUSPEND

CAP_LAST_CAP was being set to CAP_ALARM_WAKE which did not allow
system processes to acquire CAP_BLOCK_SUSPEND capability.
This change correctly sets CAP_LAST_CAP to CAP_BLOCK_SUSPEND.

Change-Id: I812edf75eec8f228e2a5d49ae0d3a250e10e0994
Merge "libcore: Set CAP_LAST_CAP as CAP_BLOCK_SUSPEND"
Merge "Add CAP_BLOCK_SUSPEND to OS constants"
Libcore: Add .aac MIME TYPE

Change will add support for .aac files.

CRs-Fixed: 573663
Change-Id: If2564b439fd5943396959ba1f6a2d7a5a53923ca
Merge "Libcore: Add .aac MIME TYPE"
Merge branch 'kitkat' of git://codeaurora.org/quic/la/platform/libcore into android-4.4
Merge branch 'linaro_android_4.4' of http://android.git.linaro.org/git-ro/platform/libcore into android-4.4