d2: Add power HAL

 * Responds to userspace interactivity requests by notifying the
   ondemand cpufreq governor. Ondemand is heavily tuned by Qualcomm and
   Samsung, and seems to work better than others.

Change-Id: If7807e3e8dfc72ab3da1b631eb92034e4febccd7
d2: Remove unused option from ICS

Change-Id: Ia4df958f1d354ae6a1a533126da993be0c02aa15
d2: Update blobs

Change-Id: Ia3a4cbe2edc16eb20dc660240b07730bc45e15a6
d2: Fix device encryption

 * Data partition needs mounted with "encryptable=footer"
 * File should be named "fstab.(ro.hardware)" for vold to find it.

Change-Id: Iee608890c5465091178ec88e5e765271a3602a9a
d2: Make PowerHAL more flexible

 * Support boostpulse on both ondemand and interactive
 * Reopen the boostpulse node if it becomes invalid due to a governor
   change.

Change-Id: Ib726de9719dd4ea751d07df1fafd70052b97b570
d2: Remove old QCOM libv8

Change-Id: If39dcd77ddfc3fa853334408b20c1cddb4928ebe
d2: Remove camera arrays overlay

Change-Id: I4e73a54fdbf5c5dd086f555fc40b96b700dded2d
d2: Increase the HWUI font cache

 * Improves performance slightly while scrolling

Change-Id: Ia90ed17f37bd1eb6fb78ec448768a35ebd94bc8f
d2: power: Manage the ondemand sampling_rate

 * When the screen is off, we don't care about transition latency. Raise
   it way up in this case.

Change-Id: I87a92fe303318f821247f3d3d658fdb922b79974
Revert "d2-common: adds modified ics hostapd for jb hotspot wpa support"

proper workaround is found

This reverts commit 6305078fc45a70cc9a9e60c52aa1170e1f6ce723
d2: enable BOARD_LEGACY_NL80211_STA_EVENTS for wpa support

Change-Id: Ic462854a07716792a584200e1c964d671bba138a
Revert "d2-common: add nodelay support for a2dp"
Using opensource hal now
This reverts commit 5d101544c9ae2e539f3ab9bedaab45ccb23db22d
d2: make it work with opensource audio hal (1/2)

Change-Id: I5b36bdc9959a64babbb0b9e48b34031fed123ade
d2: Audio bringup

 * Remove old ICS files
 * Add new snd_soc_msm_2x config, modified to use Samsung's device names
 * Reorganize
 * Enable Fluence dualmic mode

Change-Id: I83345292ffbeb6da19cf255a3e6893f8f64f9e6c
d2: Move RIL daemons to new qcom_diag group

Change-Id: I8ab5acaa9d5ebfbdc50bf1338023f19ff8da2e18
d2: Enable qrngd

 * QRNGD feeds /dev/random with entropy from the hardware RNG

Change-Id: If8668037cac6b7a067b636b33881ede99e36664f
d2: Remove deprecated and unused camera option

Change-Id: Ia7ec4cf02ac23ab137e3c6a65237460c705d8a8d
d2: audio: Voice/VOIP support

 * Add support for the special Voice devices
 * Add VOIP device

Change-Id: I301ceb07dbf1782d608767650744fc49dffcc0e9
Merge "d2: Remove deprecated and unused camera option" into jellybean
Change battery.capacity to match stock battery on d2 variants

Originally was set at 1850 but we have 2100 mAh
Should make battery report better

Caught by jpaulwaite

Change-Id: I9b0a748a0aed7de8a0becde1fff0d1edd1e85b40