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
system: core: increase the polling time for remount_ro

eMMC4.5 introduces an addition of cache on the device.
We experienced long flush durations in some of the devices,
and therefore the adb reboot resets the target before the flush
completes.

CRs-Fixed: 562350
Change-Id: I3f54901e12ffd232a7696dadfde1edec99ef91c6
Merge "system: core: increase the polling time for remount_ro"
system: core: Add uevent support for dvb devices

Broadcast applications expects dvb devices to exist
in specific location.

Change-Id: I521f2957147428b7812ca1fb8fb6c49f44cdb8d1
Add qcom_diag group permission to rild

Add qcom_diag group permission to rild

Change-Id: I6e7119d1c264d0b98a0003a2c7ffbfbdcee428ad
Merge "Add qcom_diag group permission to rild"
Merge "adbd: Use sanitized kernel headers for compilation"
Merge "adbd: Add USB Super Speed (3.0) support"
Remove AOSP reference to utils.mk

Remove function calls from AOSP code to utils.mk
& replace them with actual definition.

Change-Id: Ie1dd797caea2324ff2a4c31e6cc87e7fd253bf07
CRs-fixed: 566287
Merge "Remove AOSP reference to utils.mk"
Merge "system: core: Add uevent support for dvb devices"
audio: Add APIs for supported compress formats

-Add APIs for supported compress capture & compress voip formats.
-Add default bytes per sample as 1.

Change-Id: If63a50f02389475855f2f0729b03b6049d44fb29
Merge "audio: Add APIs for supported compress formats"
sdcard: Allow building as a static library

 * Split main() out in order to allow linking with a multi-call
   executable such as recovery.

Change-Id: I3325135e47e4dd5af3912f5ce67ec64007d54a63

Conflicts:
	sdcard/Android.mk
WIP: CWM recovery fstab features.

Change-Id: Ibb4c910ab7f3c377a8f358214d58357c40d5811a

Conflicts:
	fs_mgr/include/fs_mgr.h
core: Add some static libraries

 * Add static versions of libdiskconfig and libsysutils for MiniVold

Change-Id: I9ea9498dcff3f094bbcbb1e05e6d10bc9b83ac74
Fix gr_text() syntax until minui gets updated

Change-Id: Ie6d72013944d7ce6d2c0a244862b464e513fa389
Squashed adb fixes.

fix up adb to prefer /sbin/sh if it exists

allow always insecure

Change-Id: I5c15731c95d123488e90aaeac5b497f556b53363

Conflicts:

	adb/Android.mk
adbd:fix framebuffer handle when(fbinfo.size % 640 != 0)