Power: Add multimedia hints

Add hints for video encode and decode use cases. These
hints are sent when the relevant use case starts and ends.
Clients can also send metadata along with the hint to provide
context to the power HAL so that it can make more informed
decisions about how to tweak system-level parameters.

Bug: 9325608
Change-Id: I4731acbe50a7401a95ec9231c4e1a4795098fcd4
Signed-off-by: Iliyan Malchev <malchev@google.com>
libhardware: deprecate POWER_HINT_VIDEO_ENCODE/_DECODE

Bug: 9581070
Change-Id: Ifb47ed0d4fc201732ca6593d41317ec356ead2ba
Signed-off-by: Iliyan Malchev <malchev@google.com>
merge in jb-mr2-zeroday-release history after reset to jb-mr2-dev
Enable native HAL tests to work for camera3 devices

Change-Id: Ie11270cc8cf301ec94795b595f0517ee3bad2817
merge in jb-mr2-zeroday-release history after reset to jb-mr2-dev
Merge tag 'android-4.3_r2.2' into HEAD

Android 4.3 release 2.2

Conflicts:
	include/hardware/power.h

Change-Id: I3153f80ac655ac7998245e0b44dc541a9362915e