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
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
Merge "charger: suspend when not animating" into jellybean
Merge "system/core: Add command NATIVE_WINDOW_UPDATE_BUFFERS_GEOMETRY" into jellybean
Upgrade to dlmalloc 2.8.5.

Remove mspace functionality from cutils.
Directly declare mspace from dlmalloc in code flinger's code cache, and
manage without using morecore.

Depends upon: https://android-review.googlesource.com/41717

Change-Id: If927254febd4414212c690f16509ef2ee1b44b44
rootdir: Add terminfo path

Change-Id: Ic879b77d1c34ebedf0f790648d286441d6b2bed1
init: Set the "ro.boot.emmc" property

 * QC switched to this from the old "ro.emmc" property.
 * Set both values since many things depend on this.

Change-Id: I958dbb13b08bd576ad16318683a0eac45dfc6fee
core: Add API to retrieve mtu size

Adding an API to libnetutils to retrieve mtu size of an interface
Made few utility functions from ifc_utils public

Change-Id: Iddec2dcd9f241b146d7f362e2df0724cf740d1f2
(cherry picked from commit 108cded7d96cc347f36b5b78c404c5ebccce13d7)
Revert "Upgrade to dlmalloc 2.8.5."

These changes to malloc were breaking some blobs...

This reverts commit 5d382954131d2ed5e98438fd22e87506e9441901.

Change-Id: Idbb88c5f18e89c76251dd0a5038ec75e22c197b2
rootdir: Tighten permissions on boostpulse nodes

 * New PowerHAL code will only write to this as the system user, so
   remove the need for it to be world writable.

Change-Id: Ia9e69a6feff7c5ef1ff34a1180225e4008e8130f
Camera: Adds burst camera message type

Change-Id: I5ae041ae6062367abd8f8f59879846ae4ef3f72b
Signed-off-by: Solaiyappan Saravanan <saravanan.s@ti.com>
Signed-off-by: Emilian Peev <epeev@mm-sol.com>
Signed-off-by: Vicky Martinez-DeFrain <a0869710@ti.com>
Signed-off-by: Daniel Levin <dendy@ti.com>
Add RAW burst message

Change-Id: I5b42c66485151d1ba9eea8fbe58d334c2a892c24
Signed-off-by: Tyler Luu <tluu@ti.com>
Signed-off-by: Vladimir Petrov <vppetrov@mm-sol.com>
Signed-off-by: Daniel Levin <dendy@ti.com>
Merge "Camera: Adds burst camera message type" into jellybean
Merge "Add RAW burst message" into jellybean
charger: make default to not suspend in charge mode

  * http://r.cyanogenmod.com/#/c/19760 made the device suspend in
    charge mode when the animation was not displayed. Previously
    the device never suspended.
  * The above change broke charging mode on some (maybe many?) devices
    that do not properly handle suspending in charge mode.
  * This change brings back the more compatible default behavior of
    not suspending in charge mode and introduces a new BoardConfig.mk
    variable called BOARD_ALLOW_SUSPEND_IN_CHARGER that, when set to
    true, will suspend in charge mode.
  * This allows devices that support suspend in charger to opt-in
    instead of having to opt-out previously working devices.

Change-Id: I5a480e34ba5946a52e371ac79a965ecee5471c5a
Merge "core: Add API to retrieve mtu size" into jellybean