keymaster: add flags indicating feature support

For wrapping the disk encryption secret, we add a flag that indicates it
can be done without having to start some storage daemon which the
trusted OS will query to get data needed to load up the keys. This
usually means that the "key blob" we store is actually just the RSA key
encrypted with the device's KEK and not a reference to an encrypted
filesystem stored on /data

Also to allow other providers to upgrade to V3 of the header, we add
flags to show whether the keymaster supports different key types. This
allows keymaster HALs to support the whole device encryption secret
wrapping without needing to implement DSA and EC key handling. The V2
header made support implicit.

Change-Id: Ic5b13e2e84dd91e7a4ae443048ecc16cc805cb97
Merge "keymaster: add flags indicating feature support"
audio: allow compiling for 64-bit

Set -Wno-unused-parameter, which makes the directory warnings-clean
on 32-bit and 64-bit.
Remove LOCAL_32_BIT_ONLY.

Change-Id: If0c0135e57935d785a0f36b7d5187ac567c7e21c
audio_remote_submix: allow compiling for 64-bit

Fix a few 64-bit warnings and set -Wno-unused-parameter, which makes
the directory warnings-clean on 32-bit and 64-bit.
Remove LOCAL_32_BIT_ONLY.

Change-Id: I6a2183b5bb0cdf438a04de967995da7b1e2e3854
usbaudio: allow compiling for 64-bit

Set -Wno-unused-parameter, which makes the directory warnings-clean
on 32-bit and 64-bit.
Remove LOCAL_32_BIT_ONLY.

Change-Id: I672d4ee8d9e70c75f9376ca60389af08f73166b8
Merge changes I672d4ee8,I6a2183b5,If0c0135e

* changes:
  usbaudio: allow compiling for 64-bit
  audio_remote_submix: allow compiling for 64-bit
  audio: allow compiling for 64-bit
gralloc: Add asynchronous lock/unlock API

The existing API exposed to clients for software lock/unlock forces the gralloc
implementation to complete these operations synchronously. This change adds new
entry points for lock/unlock functionality that is suited for use with Android's
explicit synchronisation concept. This provides scope for the gralloc module
to internally optimise the work it must do for lock/unlock and to hide this cost
from the client.

Change-Id: I6c41f4a532b705fc76c7777b2f04ea293506b381
Merge "gralloc: Add asynchronous lock/unlock API"
Revert "gralloc: Add asynchronous lock/unlock API"

This reverts commit 2861789f4febe67e39de449488681edf3e98b6e2.

Change-Id: I334b8ca9b9fdef510df514c18aabb6a593dfaa75
Merge "Revert "gralloc: Add asynchronous lock/unlock API""
gralloc: Add asynchronous lock/unlock API

The existing API exposed to clients for software lock/unlock forces the gralloc
implementation to complete these operations synchronously. This change adds new
entry points for lock/unlock functionality that is suited for use with Android's
explicit synchronisation concept. This provides scope for the gralloc module
to internally optimise the work it must do for lock/unlock and to hide this cost
from the client.

Change-Id: If4b1bb5490ab2b20d796214a7da8a96427cfe52d
Merge "gralloc: Add asynchronous lock/unlock API"