Add apexq scripts

Change-Id: I8f7db22b3b387dcf629c56fc41fa0ea0590ba6e8
ApexQ: cycle bluetooth properly

hardware/qcom/bt/libbt-vendor assumes the hciattach daemon will properly
start upon setting bluetooth.hciattach=true on qcwcn targets, and reads
bluetooth.status 100 times, as this is the signal that hciattach has
successfully run. It takes about 8 seconds for this process to time out.
  On ApexQ, a substitute for hciattach runs only once on boot to
initialize the bt firmware. This change sets bluetooth.status to true
immediately, therefore, as hciattach is not going to be run, and
prevents the system from repeatedly querying the status before giving up
and enabling bluetooth anyway.

Change-Id: Idbc606234724c5460843170b6b0e7aebbd3749c4
d2: add jf selinux defconfig

Change-Id: If9c5dc1a969605cd1eeb9218de02a9f8dbbd3ae1
general clean up

Change-Id: If3ff32a3974368d9ea2756d3d9a22d4713e704fa
d2-common: Enable home button wake on/off display setting

Change-Id: I3c97b50f6147c582b5cac5c439c3842cb6bd3dd4
d2-common: Enable volume rocker wake

Change-Id: Iab53e52bcf18cd40c3fdd60994156e8219e145d4
d2: use commonized defconfig

Change-Id: I73943ecef48bce13242e4aaeee62b86669c04bdb
d2-common: only build selinux in kernel if we want it

Change-Id: I7df8ebe41321f467a4419cbef65fbd9942d16543
ApexQ: add 5 second delay to hci_qcomm_init

Avoid hilarious kernel errors like APPS_RIVA_BT_CMD open failed by not
running what is supposed to be a user space tool before the kernel is
ready

Change-Id: I2ad9cf5ec6512dbc50f951a056bc80bb2c97a95f
d2: remove dead config value

Change-Id: Ic8cdc0511e44d06cafa266d9552286ce1c0f0843
d2: upgrade gps.h

Change-Id: I135e65d5e5808ae812455ecdafd41bfbf0df505f
Make 4.3 work

Squashed set of commits kanged from jf

Change-Id: I2d7488e7ff060f8929f3a5ec8031472a43bafd91
Samsung Krait: move defines for camera around

Change-Id: Iafc47d3b92795de8af3762a3e54cffdff7090638
Use the MM heap for the camera

Change-Id: I03340697e048cd2870016923004cd7b96c64f8d4
d2: support for hardware geofencing

Change-Id: Id44e1854be77c7dcb42b73e4fcde8d956075c9a3
add semcosh nvram

Change-Id: I8b80d3ed68970a366ac36ee91a85980661b6a6f8
d2-common: remove USE_CAMERA_STUB

USE_CAMERA_STUB is not used in AOSP, so get rid of it

Change-Id: Ia56d67f1bd967b9f14909009e388c5e6b26a59e1
d2: Misc fixes

small tweak to init.qcom.rc taken from jf

Change-Id: Id11969a1bddd719ec92692cd8268453e904b7f87
Move CAMERA_STUB to vendor scripts where it belongs

Change-Id: I4d2535ec9acfdc77ed798787d7c3619938e1b052
gps.conf: underp

Restores prevision version of gps.conf with the added geofence bits

Change-Id: I99e5e08c40ec986b6671f082390817ab86120348