healthd: increase healthd fast timer to 10mins instead of 1min

healthd 1 min wakeups are causing significant power impact
during static display use case. so increasing the timer to 10min.

Change-Id: If7a514e4152789144242e198175918b6687c3bcf

healthd: Disable the RTC wakeup timer

The timer is used here to avoid battery drained to zero. But the periodic
wakeup during suspend should not be needed as MSM PMIC already support
that by trigger interrupt to avoid the critical low battery situation.
This will save more power. And if the design is not support HW interrupt
of low battery, need to enable the timer to periodic check.

Change-Id: I040b4bc8548dc59b5e7cacb9a5a8a3557604f458
init: Allow platform devices directly under soc.0 *HACK*

Allow one level of platform device to be registered right
under the /sys/devices/soc.0 platform device.

Change-Id: I57c80c294a92f8b9ab91b3ee2f73bb156bb18945
init: Allow target-specific platform device base to be specified

Add optional build-time flag, TARGET_PLATFORM_DEVICE_BASE,
to specify the base sysfs path (without the /sys prefix)
where the platform device resides.  This provides support for
targets where platform devices are all under a master level
platform device (e.g. soc-bus).

Change-Id: I7b19b69f2c95335d6512e181f265b874e1713f64
IMS-VT: Define IMS group.

Define IMS group.

CRs-Fixed: 615689

Conflicts:
	include/private/android_filesystem_config.h

Change-Id: Ie7fed3090a20db1e27a03d2d2cdde443d7ff5435
ueventd: Add bootdevice symlink

Create the /dev/block/bootdevice symlink to point to the
boot device information based on kernel command line.
This decouples references to the boot device from the
actual device nodes (e.g. eMMC, UFS).

Change-Id: If54b0b6ba6007742e9cb3d9d90cb3c86cd30b898
init: Fix memory corruption when sanitizing platform paths

This commit fixes code that incorrectly increments s when it
hits the terminator character of the string being sanitized.
This means it will randomly start trashing memory beyond the
end of the string being sanitized until it happens to hit two
NULs (\0\0) which will break it out of the loop.

Change-Id: I76553d7f183236a78a0bc7b408e92559b98f732f
system: Update function to calculate bytes per sample for offload

Update function to calculate bytes per sample for offload format

Change-Id: I46b78024293be959ad5d1db1f583933d2ab14576
charger: Use project pathmap

Change-Id: I048780594d9aaccb07edc42240dbe5a055f6c039

Conflicts:
	charger/Android.mk
audio: Unhide MP2/WMA enums

Change-Id: Id7dd73ef35776fda1f753987856759d34fb541f6
System/core: Start qrng daemon upon power up

1. Set root permissions to qrng daemon upon powerup
2. Drop all permissions except few, just enough to make ioctl calls

Permission for hardware random device is changed in
this gerrit (part of Point 1(above))

Change-Id: Ibf58b7212ba1ec532de9d461266081f3ac4395e3
Signed-off-by: Hariprasad Dhalinarasimha <hnamgund@codeaurora.org>
adb/fastboot: Support SuperSpeed USB devices

When enumerating USB 3.0 devices, a 6-byte SuperSpeed companion
descriptor follows each standard descriptor. The ADB and Fastboot
Linux clients currently fail to interpret these additional
descriptors and simply bail. Fix this by skipping over them.

Change-Id: I254dad8ed81e8de74a4fac36e8ce54b5da9715fe