vendor services (to arrays.xml)

Add vendor_service resource to public.xml

Change-Id: I6a404ccd0ad370326b2074d32385a97c9cdc1fdd
Add support for using a custom USB management service.
Some fixes for custom USB service handling.
re-implement of ro.usb.use_custom_service (notification mass storage)
hwui: Allow to blacklist android applications

Add support for a local config folder with blacklisted process names
/data/local/hwui.deny/<package name>

Only enabled with "hwui.use.blacklist=true"

This system can be used easily from adb shell, without reboot
or with a setting app, like the one i use, HwaSettings

Change-Id: I436b5dd7d6bf9fd36be7e86fc9d2a174a66701ff

Conflicts:

	core/java/android/app/ActivityThread.java
Really optimize the bootanimation :)

Change-Id: I9da8fd7e6a587b5895519dd0983ec9b8f676771b
1% battery

Change-Id: Ib2074c1d709cd386d53b56d4bb4fb1d937cb31ba
Some devices need light sensor enabled for kb and button backlight

Change-Id: Ic883779856cb19fb20c46a6896dbbf03855b4b0d
enable bandwidth control: ignore the iptables errors
Add LegacyUsbDeviceManager::setCurrentFunction method. (from ics, adapted to jb)
FM: Add the FM stream type to handle the volume like the music

Change-Id: Iabbab705c987e68251400d223f6dfd2160f5c670

attrs.xml : not sure if required
FM volume (from maniac103 CM7 commit)

Change-Id: I3d8a39890634c9220cd5da56941b14abf3a6938c
Reduce FM Changes, not required

Change-Id: I93801574f88070aee1878bf3994260f2cb4c4d00
cleanup: Fix fm extra spaces
Add support for USB tethering interfaces that are always present.

Previously, the state machine assumed that the USB tethering interfaces
appear/disappear when reconfiguring USB or changing the USB status. Add
some fallback handling for devices where this isn't the case.
Keep track of tetherable USB interfaces in both up and down link states.

USB network interfaces that are present-since-boot are never issued "added"
(or "removed", for that matter) notifications from netd, and thus, are only
discovered by Tethering when their link state changes.  Prior to this
commit, such interfaces were only tracked on change to "up" link state,
even though the interfaces were _not_ removed on changes to "down" state.

On some devices (e.g., epicmtd) a change to "up" state only occurs after
(i) IFF_UP is set on the interface, (ii) the rndis USB gadget function is
enabled, and (iii) a USB cable is connected to another machine.  Since
rndis is enabled immediately before the start of USB tethering, the "up"
state is achieved asynchronously, and often _after_ Tethering looks for a
tetherable interface.  However, "down" state is synchronously reported when
IFF_UP is set, and thus, serves as an effective mechanism to notify
Tethering about the existence of the interface.
Enable OMX_ENHANCEMENT Flag on TI Devices

This change adds the omx_enhancement system property tag
which allows the system to recognize OMAP_ENHANCEMENT = true
in the system, as well as com.ti.omap_enhancement = true in system.prop
Change can be seen here : review.omapzoom.org/#/c/25071/

Change-Id: Ia920a1ce3394f7acd926d65df6ce1ed399b1d939
Add OMAP_COMPAT framework boolean too

OMAP_ENHANCEMENT is for omapzoom stuff, if required...

Change-Id: I7e9d9abd39b8bf5b62fa5583241eb0fcfffaba01
Backlight settings, preliminary to check required changes

Change-Id: Iddcbee98f6588bba428c4059e786d946d7ce2298