Grant sdcard_r to ril-daemon.

Bug: 6793799
Change-Id: Ife23c98c30d7b08479d75798c7075005bf281119
merge in jb-mr0-release history after reset to jb-dev
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
Mount/unmount filesystems before running e2fsck

This works around a performance problem in the firmware of
some emmc chips.

Change-Id: Ia414b4604d11e47ce9cb3f86ac82602e081bb09e
merge in jb-mr0-release history after reset to jb-dev
Add support for wifi display

-Define AUDIO_DEVICE_OUT_PROXY and AUDIO_DEVICE_IN_PROXY

Change-Id: Ia1835f7e968c18395f70f0763f08dd8856ce8ad3
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.
Allow system apps to write paranoid properties

ParanoidPreferences will use this further in order to avoid root commands

patch set 2: actually working code

Change-Id: If1dcdd67699c64ba5cf428a6ff1e03b46e03a243
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