Fix PAN control callback definition to match what bluedroid is doing.

There's a discrepancy in the order of arguments between the interface
and the implementation. bluedroid swaps the |error| and |local_role|
arguments when calling back so this change redefines the interface
for consistency.

http://b/12853951

Change-Id: I0ccfc6d6d2002d647d484ab7f53744863b569502
gralloc: dont hardcode 32bpp as RGBX

Not every 32bpp is in RGBX format.

Change-Id: Ic3c6a0cbf475bff2fe2fc4b023c6bc58e4fc295e
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
gralloc: make private_handle_t layout consistent on 32/64-bit

private_handle_t's memory layout must be consistent between the 32-bit
and 64-bit gralloc, in case buffers are passed between processes.
Replace the (variably sized) uintptr_t base with a fixed size uint64_t,
and enforce 8-byte alignment for architectures where uint64_t alignment
varies between 32-bit and 64-bit.

Change-Id: I06cb31d4b9620ea18e5b50d3a3142b5adb2d2a14
Signed-off-by: Greg Hackmann <ghackmann@google.com>
Merge "gralloc: make private_handle_t layout consistent on 32/64-bit"
Merge "gralloc: dont hardcode 32bpp as RGBX"
Merge "Fix PAN control callback definition to match what bluedroid is doing."
Audio HALs are 32-bit only

Change-Id: I97eef87849312610d82bc3f82e168bb40604e646
Merge "Audio HALs are 32-bit only"
Camera2 Test: fix test criteria for exposure time

Add some tolerance while testing requested exposure times against capture times.

Change-Id: I609e7819cde8ee466e152775781a6542e6686ded
Merge "Camera2 Test: fix test criteria for exposure time"