Initial bringup system-core

Change-Id: Ic61f4b46b3d833b3ce893d9b4dd250a77e8c5ec9
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: I5e5e3e07ff38c8002ac3f188df80284f1f47892b
mkbootimg: Add --dt parameter to specify DT image

New optional --dt parameter to specify a kernel device
tree image.

Change-Id: Ie29a11cbf4138426bfd19ae486d69a5fcbd8f442
init: Add vendor-specific initialization hooks.

Allow optional vendor-specific initializations
within init.  This can be used for runtime
initialization setup that init rc scripts do
not support.

Change-Id: I7623a0d59b18f9ec8e3623958e2f7ccd72b877bf
Conflicts:
init/init.c
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: I1196fddaddbd03bd472db95ed4d67f818e3af0cb
Camera bringup changes system-core

Change-Id: I1cf98641eca9096bd27645e07ea802646ea1fb96
system/core: Fix for HAL compilation issues while integrating HAL 1.0

Change-Id: Iead9c1ade279b64c5cbdf4d2de1a8b695939c52a
Camera: Add enum to specify the frame type

-Added enum to specify the frame type of either fd/data buffer

CRs-fixed: 654901
Change-Id: I1c0b1a2c6a1425cdb6650cdfc20ca65835a1b81f
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

Change-Id: I0bf3c5903dd854c605740861733c44dc299ec70a
mkbootimg: fixing the typecast issue

Change-Id: Ic375089ecce7aed3f9968e5e0b48e8ae0df66d83
Bluetooth: Introduce new property type and permission

Introduce new property type and allow system and bluetooth
processes to set these properties so that transport layer of ANT
and BT stack can set these properties for chip initialization part

Change-Id: I7735d4743d8b43ea935584901d5aa330df965868
Qcril : Added diag permission to Ril

Change-Id: I41c950d9b24742b25c4eada63d62d493550c384d
init: uevent: Add msm video symbolic link handling

Create meaningful symbolic links for video encode/decode
devices based on link_name sysfs node so that video client
doesn't have to rely on dynamic dev node names like device32,
device33 etc.

Change-Id: Id308a10d3e601616b63ecd1373809c96f0d04435
init.rc: Add qcom_diag permissions to mediaserver

Qcom_diag permissions are needed in mediaserver
to enable the QACT tool which allows users
to calibrate audio.

Change-Id: I3cb8fe807426b9f68669f34d214b7f6d089acb30
init: Change vendor-specific initialization hooks loaded order.

To read the vendor-specific initialization hooks after loading properties
from default system properties and before loading override properties.

Change-Id: Ic2bf6974c9752f49059fd3126ae8fb550dc1fa6b
adbd: Use sanitized kernel headers for compilation

Build adbd using the headers generated from the kernel directly.
This requires adding re-definitions for __FD_* macros as they
have been removed from the kernel.

Change-Id: Ia511465211463df129ce60738ec6be85025b85a1
adbd: Add USB Super Speed (3.0) support

When using FunctionFS, adbd is required to specify USB
descriptors as well for ADB function. If underlying host
and device support USB3.0 then USB communication works
if all interface drivers provide SS descriptors as well.
Since, ADBD currently doesn't pass SS descriptors to the
function_fs driver, it results in USB enumeration failure
in SuperSpeed mode when ADB is enabled in USB composition.

Change-Id: I1ae44feaba0615db3f341b3d622a3d64922dbad8
ueventd.rc: Change owner of graphics drivers to system

iWifi Display service needs permission to open these drivers.

Change-Id: I862660a4924671b5d420eda20155a964238ce280
ueventd.rc: Change owner of graphics drivers to system

iWifi Display service needs permission to open these drivers.

Change-Id: I1d9e4ae372f09ecf4104888a9910d09903d892d1
system: core: Add Sensors group

Defining group for sensors.

CRs-Fixed: 431081

Change-Id: I58151f2fd727bded1b16adb3caeac85e27e44036