camera: add power mode support

Based on commit 7036d66bec7697160ba1b2e255f1e7fae0c8c435 from CAF,
branch ics_chocolate.

Change-Id: I652d63c33db9a8da4a9f8f613be12877d032de37
Fix typo

Change-Id: I311f608d761987d0c714be9ab81188a3ca8eef61
Fix the build on non-QCOM

Change-Id: Idb8d5c98fbdc01e6063ad0eb224baba66acc813d
audioflinger: Allow mixed use of JB A2DP HALs and ICS policy

Old policies don't address the modules by handle and expect them
all to be scanned for supported devices; new modules stopped
listing supported devices. The combination of a new A2DP with
an old policy left policy unable to find A2DP outputs, so the
new HALs couldn't be used.

So... if an old policy is in use, searching for an A2DP output,
and finds a non-primary HAL that doesn't list any device, assume
it's A2DP and use it.

Change-Id: Ie946c065b5c325afd02ba3437077f634e079b386
libmedia: implement samsungs isSeparatedStream, built audioparameter

Change-Id: I96ec5b79c08e37c9bca59470addb5a9f7869eaea
Make an exception for MR0_AUDIO_BLOB in loadHwModule_l

Without this exception samsung JB stock audio HAL crashes

Change-Id: I596e6e077f5bd4236359de48db754100e0a133e4
Merge "Make an exception for MR0_AUDIO_BLOB in loadHwModule_l" into cm-10.1
Merge branch 'cm-10.1' of https://github.com/CyanogenMod/android_frameworks_av into cm-10.1

Change-Id: Iee63858050c59bf4ad30e283a52c0fcf89757d61