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)
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"
Audio: Fix No save and play button when receive "aac" format files in Email

- There is no aac type in MIME as audio.
- Add aac map in MIME as audio.

Change-Id: Ic51d14ccac5fbbb8c5286265fe280d24ad87cef6
CRs-Fixed: 502705
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 "Audio: Fix No save and play button when receive "aac" format files in Email"
Merge commit 'android-4.4.1_r1' into merge_branch

* commit 'android-4.4.1_r1':
  SSLEngine: Test that server params are verified
  SSLEngine: Verify server RSA params signature
  Fix flakiness in DateIntervalFormatTest.
  SSLEngine: verify DHE signature
  Tests for an already-fixed CharsetEncoder bug.
  Clean up CharsetDecoder and CharsetEncoder.
  The file in /data overrides the file in /system, not the other way round.
  Fix ZoneInfoDBTest on devices that have taken a gservices tzdata update.
  Remove unused code from CharsetBenchmark.
  Remove use of UnsafeByteSequence.
  Remove UnsafeByteSequence.
  Make getInetAddress generate less garbage.
  Add a test for lower case auth scheme handling.
  Add a cache to ICU.getBestDateTimePattern.
  Add more certificate MIME type mappings.
Merge "Merge commit 'android-4.4.1_r1' into merge_branch"
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
Merge "libcore: fix error in javdoc todo file generation"
Merge baf7d8068dd501cfa338d3a8b1b87216d6ce0571 on remote branch

Change-Id: I6e521ff32b2e1138715dabfb0021129a371d1847
Merge "Merge baf7d8068dd501cfa338d3a8b1b87216d6ce0571 on remote branch"
Merge branch 'kk_3.5_rb1.16' of git://codeaurora.org/quic/la/platform/libcore into android-4.4
Merge pull request #1 from chadouming/android-4.4

Fix