Initial Contribution
Add AudioHardwareBase class to libhardware.

Signed-off-by: Iliyan Malchev <malchev@google.com>
Code drop from //branches/cupcake/...@124589
Merge commit 'remotes/korg/cupcake'

Conflicts:
	include/hardware/AudioHardwareBase.h
auto import from //branches/cupcake/...@125939
Merge branch 'cupcake'
auto import from //branches/cupcake/...@126645
Merge branch 'cupcake'
auto import from //branches/cupcake/...@127101
Merge branch 'cupcake'
auto import from //branches/cupcake/...@130745
auto import from //branches/cupcake/...@131421
Add getBufferCount to overlay HAL

Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
auto import from //branches/cupcake/...@132569
auto import from //depot/cupcake/@135843
auto import from //depot/cupcake/@135843
auto import from //branches/cupcake_rel/...@138607
Merge commit 'remotes/korg/cupcake' into merge

Conflicts:
	include/hardware/overlay.h
auto import from //branches/cupcake_rel/...@140373
Automated import from //branches/cupcake/...@142857,142857