Merge tag 'android-4.2.2_r1' of https://android.googlesource.com/platform/system/media into 1.1

Android 4.2.2 release 1
Merge tag 'android-4.3_r2.1' into cm-10.2

Android 4.3 release 2.1
Merge tag 'android-4.3_r3.1' of https://android.googlesource.com/platform/system/media into cm-10.2

Android 4.3 Release 3.1
Merge tag 'android-4.4_r1' into cm-11.0

Android 4.4 Release 1.0
audio_route: fix possible segfault

* Mixers may not allocate memory to save their values if the type is not
  of bool, enum, or int. However we do not check the type when actually
  attempting to use the allocated memory, resulting in possibly writing
  into random memory.

Change-Id: I8e59c8e6211b7ea10bd128069378632e0ced27a5
Merge tag 'android-4.4.1_r1' into HEAD

Android 4.4.1 Release 1
Revert "audio_route: fix possible segfault"

This reverts commit 84f0b1899302784c679105f444e87686a66c1274.

Change-Id: I35c375d7b8291eca166267f621f6ef4d4b870a1c
audio_route: fix crash with unsupported control types

Check if control type is supported before accessing xxx_value
fields in mixer_state structure.

Also remove unused parameter warning.

Change-Id: I9005d4760e55f0798d576bd4507700e198900311
audio_route: Add APIs to update mixer based on path

audio_route_apply_and_update_path
audio_route_reset_and_update_path

These routines allows updating the mixer controls for
just the specified path. The controls will be updated
in the order listed in the XML file.

Change-Id: If193bc047ccbb8c6497926d6181c5c4541a9d6aa
CRs-Fixed: 581453
Merge tag 'android-4.4.3_r1' into HEAD

Android 4.4.3 release 1
Merge branch 'cm-11.0' of git://github.com/CyanogenMod/android_system_media into HEAD