Switch kernel to the one built locally from our tree.
Fix KERNEL definitions.
Merge tag 'android-4.2.2_r1' into seandroid-4.2

Android 4.2.2 release 1
mako: wifi: Channels blocking in no service - do not merge

mako: wifi: Channels blocking when mobile network is no service state.
In case of no service state which means that Wi-Fi framework does not know
 country code,  just 1 ~ 11 channels will be active and 12 ~ 14 channels and
 5GHz channels will be blocked.
To do this, the followings are changed
1) Change regulatory domain map (nv.bin)
    a) Set N_AMER_EXC_FCC not to use 12 ~ 14 channels and 5GHz channels
    b) Set default regulatory domain to N_AMER_EXC_FCC
2) Change regulatory domain of Vietnam, and Turkey to others (vos_nvitem.c)
    Vietnam : N_AMER_EXC_FCC -> World
    Turkey  : N_AMER_EXC_FCC -> ETSI
LGE tested all the country codes of which the Mako was released and there was
 no regulatory domain problem.

Bug: 8044285
Change-Id: If6702a9954961a5ffa9ca7e55154e46a3f05bb6e
DO NOT MERGE JAPAN(440,441): 110,118,119,112,911

Bug: 8227305
Change-Id: I5b083035e92c5e805f86d3eca650136f0ce2b3c6
Merge tag 'android-4.2.2_r1.2' into seandroid-4.2

Android 4.2.2 release 1.2
Always disable all LEDs before updating them.

This should make sure the PWMs for red/green/blue always run in sync,
not only when switching between the various light types
(attention/battery/notification).

Change-Id: I0d743f31b645445da04436fd8ab8e8fdec39dfb9
Clean up lights module code.

Change-Id: Ic195efafde9dba965727d055576df5f6b2a1431b
Initial SELinux policy.

Some early policy work for bringing up the board.

Change-Id: I882b2c825edcf1fc59a3059ece21a80598c7a419
Signed-off-by: rpcraig <rpcraig@tycho.ncsc.mil>
Move init_shell domain definition and common rules to core sepolicy.
More SELinux policy related changes.

* create a qmux_socket domain for talking with
  the qmuxd multiplexer.
* add a new domain for a shell that is started
  by init using a UID other than shell.

Change-Id: Idaaa1b8a36f6d8cd79f25fc66c59ede0bedd7900
Signed-off-by: rpcraig <rpcraig@tycho.ncsc.mil>
Change domain qmux_socket to qmuxd_socket.

This is a temporary fix for some build issues.

Change-Id: I3701bbaf72e61feed7a4ac803140d5cf764ed6f0
More SELinux policy changes.

Change-Id: Ie145ed63d898c5f506ee25c8a22fb3e2379ef29c
The kernel now ensures to restart PWM on color change.

Thus, there's no need to do it in user space anymore.
Also, adapt grpfreq and grppwm calculations and comments to actual
in-kernel implementation.

Change-Id: I657888391679c4b817e0c60e1a6e520e4adafba4
Use global tag for kernel

Change-Id: I86696b25f27bc60b3403e2826f92f3039e8d17d4
Minor SELinux policy updates.

Change-Id: Ib8e85c9f6439c943aabddb7543bfb9a77d80f982
Signed-off-by: rpcraig <rpcraig@tycho.ncsc.mil>
Merge "The kernel now ensures to restart PWM on color change." into cm-10.1
Move bluetooth_device domains to hci_attach_dev domain.

In the interest of minimizing per-device policy, relabel
/dev/smd2 and /dev/smd3 as hci_attach_dev domains.

Change-Id: Iaa511a8610672994482d39b5064a8c7d0d1a90c2
Signed-off-by: rpcraig <rpcraig@tycho.ncsc.mil>
Fix android.os.cts.BuildVersionTest failure

Change-Id: Ic04d359be9b74d7f3afadbf09d2c4e0563d87d18
Yet another mako policy (YAMP)

- Updates to some property service policy for
  both bluetooth and net manager

- Updates to tee and drm access

Change-Id: I0d634dd437ea717b4ad38be93c3993bbe55e49a9
Signed-off-by: rpcraig <rpcraig@tycho.ncsc.mil>