init: Reintroduce support for the older charger modes

For devices with pre-ICS bootloaders, bring in the support for
arbitrary cmdline charger flags from CM7

Change-Id: Ibf887f6aeca0b68aa38fe035aa586aed502f1662
Add HTC Logging functions to support newer HTC props.

ifdef'd with HTCLOG.

Patchset2: remove unused function.

Patchset3: add indents to returns.

Change-Id: I70d0a6878dddf0f41d96735febda82c93496d8ec
init: set owner for ondemands boostpulse

Change-Id: I3c69a8a8a3a62fc844b13ccd98592c32f1385cc5
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
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.

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.

rootdir: tighted perms no interactive boostpulse
 * Interactive gov only supports write

rootdir: clamp perms moar
 * no need for world read
 * remove depreciated boosttime from ondemand

Change-Id: Ia9e69a6feff7c5ef1ff34a1180225e4008e8130f
Signed-off-by: Andrew Sutherland <dr3wsuth3rland@gmail.com>
init: import init.power.rc

Change-Id: I8ea078f3ea6293473871aa140d3b75cd30ad9450
added wimax to white list for properties

Modifications: Added 'persist.wimax.' per Evo 3D init binary.

Change-Id: Ic419c1e589eab8d8f08fe42522c42d6f6c8945a6
Revert "init.rc: Add framework2 to BOOTCLASSPATH"

This reverts commit f704cedf184442ca60f19aeb3de94299de5e41ab.
add sd-ext mount point

Change-Id: I2db2cedb492113f4f880b41f765787e5d69d8f50

Conflicts:
	rootdir/init.rc

Conflicts:
	rootdir/init.rc
camera: change camera node permissions and add certain parameters.

Change-Id: Ia68160601c2b2ba3eebde9963b3972f2a09ff84a

Conflicts:
	include/system/camera.h
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>
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

Conflicts:
	include/private/android_filesystem_config.h
	rootdir/init.rc
init: Let radio user manipulate service properties

I'm seeing some devices (with broadcom's btld) in which the
radio services (RIL) use the service. namespace to pass or store
data...

Conflicts:

	init/property_service.c

Change-Id: I6e3177689a12b0925064e615408bc1e0f175bcf3

Conflicts:
	init/property_service.c
Revert "toolbox: dont symlink some utilities so busybox versions are used"

This reverts commit 3c6f5c364c7af576921f035e4003be01f11ab487.
Revert "include/system: JB upgrade for the MPQ8064"

This reverts commit 9778351694b8d639bb0f0bdb7c7ee61d72745a0a.
Revert "audio: Add a flag for VOIP RX"

This reverts commit eba78623e49b0177cf73b00210f6bf4c0acb3034.
Revert "audio: Squashed set of commits for QCOM audio features"

This reverts commit 02f99b179f2378e8c592f5de896161784c98aabb.
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
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