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
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
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
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
IMS-VT: Define IMS group.

Define IMS group.

Change-Id: I94a41a52b6d5bc1127aff866b6f36dbb1173dc4f
audio: add support for incall music

- Define AUDIO_STREAM_INCALL_MUSIC to support
  incall music

Change-Id: I11319f3120a4243803ec2f8b8fc024f696a8a7da
Add optional target-specific LD_PRELOAD to environment

Append additional libraries defined in TARGET_LDPRELOAD to the
LD_PRELOAD environment if it is defined.

Conflicts:
        rootdir/Android.mk
        rootdir/init.environ.rc.in

Change-Id: I6bbf35caa71e80f635214259668a13d6efae9cce