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
Libcore: Add .aac MIME TYPE

Change will add support for .aac files.

CRs-Fixed: 573663
Change-Id: If2564b439fd5943396959ba1f6a2d7a5a53923ca
Fix an ASCIICharsetEncoderTest testcase.

Deal with truncated char sequences correctly.

bug: 10729779
Change-Id: I232b0ec899084270a6d621e6c7292ef8b94f8f7d
Fix a CharsetEncoder bug.

When malformed or unmappable characters span input
buffers, we'd end up setting a negative position on the
buffer.

Also fix up a few test cases which were wrong in
several ways.
- One test was simply checking for the wrong sort
  of exception (unmappable vs malformed)
- Another test was expecting encode() to throw an
  error (and ignoring flush) but the API allows flush
  to throw an error instead of encode.

bug: 10729779

Change-Id: I6560b749ca2445651d61ca651f8a5e388cf1c1b0