charger: suspend when not animating

Suspend will save power (i.e. charge faster) by disabling unneeded
devices such as the touch-sensitive keys on galaxysmtd.

Change-Id: I9b2eae1af2e9687546af9dcb10ce1fcb4c1e1ed6
Add support for wifi display

-Define AUDIO_DEVICE_OUT_PROXY and AUDIO_DEVICE_IN_PROXY

Change-Id: Ia1835f7e968c18395f70f0763f08dd8856ce8ad3
diag: Remove world read/write permissions from /dev/diag

/dev/diag has world read/write permissions which is considered
a security risk.  Remove these permissions.  Add new qcom_diag
group for access to /dev/diag

CRs-Fixed: 356415
(cherry picked from commit 14c85ec56fd47c5eb143617a3bd5a6e7ee39cb6e)

Change-Id: I536323a97e19a07bbd8eadffa0265d1955590285
Merge "Add support for wifi display" into jellybean
audio: Add a flag for VOIP RX

Change-Id: Iecb8c3a7b247c0a839b4b145574e2c4f35dbce64
Permissions for I/O scheduler settings

Belongs to:  http://review.cyanogenmod.com/22127

Change-Id: Ic641a368b445afd2959eb98b7ae4b18f3adfbaea
window: Add API to set the min undequeued buffer count

 * Raising this value globally has some effects on other parts of the
   system. We need to control it dynamically.

Change-Id: Ie11c7a7e53006aad710aebce64c02d3a3f64ade1
Merge "Permissions for I/O scheduler settings" into jellybean
libpixelflinger: Build NEON optimized routine per target configuration

The variable TARGET_ARCH_VERSION variable has been renamed to
TARGET_ARCH_VARIANT, and armv7-a-neon is the exact target enables
ARM NEON instructions.

Change-Id: I999e3b0b8f3a03ff31346f83eb66ac52edc8d551
See: https://android-review.googlesource.com/#/c/22208/
libpixelflinger: Add ARM NEON optimized scanline_t32cb16

It can dramatically improve the performance of boot animation.

Change-Id: Idc611c15ec9270eb638412d72021880d813e3d9c
See: https://android-review.googlesource.com/#/c/16358/
Define TCP buffer sizes for HSPAP, HSDPA, HSUPA and EVDO

Change-Id: I2cff0f275db63e5036bf64e25794445f5c08f7ed
See: https://android-review.googlesource.com/#/c/39871/
include/system: JB upgrade for the MPQ8064

Include the flags for the MPQ8064.

Change-Id: Ic1bd11d341456a8b217d63cddbb19a9a92ee86c5
Merge "include/system: JB upgrade for the MPQ8064" into jellybean
Revert "window: Add API to set the min undequeued buffer count"

This reverts commit ef6d451e17a2696e017b0e683079d049893fd1b7.
init: Add "export_rc" command to export env from a specified file

New export_rc command to import environment variables from
a specified file at the time the command is executed.

Differences between "import" and "export_rc":
1) export_rc can only import environment vars
2) export_rc is performed when the command
   is executed rather than at the time the
   command is parsed (i.e. "import")

Example:
in /init.rc:
    on post-fs
        export_rc /system/etc/init.xyz.rc

in /system/etc/init.xyz.rc:
    export LD_PRELOAD /system/lib/libxyz.so

Change-Id: If616dea5b508c27e9f7a95b5e9db696ecea2fdee
init: Add support for properties expansion in exec command

Add Android properties expansion to 'exec' arguments.
E.g.  exec /system/bin/log ${sys.usb.config}

CRs-Fixed: 390942
Change-Id: Ie520396d951e578bd9f591734a45d2f460b8f51d
Revert "libpixelflinger: Add ARM NEON optimized scanline_t32cb16"

This reverts commit 8ec8b960b01dc1aab2be67f50b608b1a23f33959.
Revert "libpixelflinger: Build NEON optimized routine per target configuration"

This reverts commit bdfea1e7a961370679c7b4cf0d652bab54653389.
rootdir: Update cpufreq permissions when governor changes

 * Requires a kernel change to send the uevent.
 * This should alleviate some frustration that the performance/kernel
   folks have expressed regarding the Power HAL.

Change-Id: I31e6e13534159214a3b600082b7c0e4249433364
system/core: Add command NATIVE_WINDOW_UPDATE_BUFFERS_GEOMETRY

Add native window command to update buffer buffer width, height
and format before queuing the buffer.

Change-Id: Ic133f89afb762cfce5084af820af5f9bad2a4a0b