Add support for using a custom USB management service.
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.
hwui: blacklist and whitelist properties
temporary: disable hwui for launchers and systemui
opengl: remove tegra errata duplicates
Dynamic dealing with missing GL_OES_EGL_image_external extension
- instead of static replacement of GL_TEXTURE_EXTERNAL_OES with GL_TEXTURE_2D
and patching the platform code at various places, use gl library call hooks
and shader source filtering at runtime to achieve the compatibility
also with apps compiled outside of the platform (e.g. Opera Mobile)

Conflicts:

	opengl/libs/Android.mk
Fix a couple of nasty heap corruption bugs.

- When replacing the buffer pointer with another one, the allocated
  length wasn't updated. As the TI encoder relies of those being matched
up (it e.g. does a memset(pBuffer, 0, nAllocLen) at certain places), this
could lead to random memory being overwritten (or to a segfault when
reaching the end of the mapping)
- When replacing the buffer, the old buffer wasn't saved and restored
  before calling freeBuffer. This led to a different address passed to
free() than was returned by malloc(), could lead to all kinds of weird,
undefined behaviour.

Conflicts:

	include/media/stagefright/OMXCodec.h

Change-Id: Idb22aa80d21c1e01f1e48ef59a881002f7616b01
Provide format via getter.
Cleanup, coding style, namespace fixup, etc.

Conflicts:

	libs/ui/Overlay.cpp

Change-Id: I0cab7d1f6f63fab51142adbf8e4ca96fa3684b94
log color format overrides

Conflicts:

	libs/gui/SurfaceTexture.cpp
	libs/ui/GraphicBufferAllocator.cpp

Conflicts:

	libs/ui/GraphicBufferAllocator.cpp

Change-Id: I9a51e72ab81ea980cb679f26359952d4e865e6a8
disable the OES shaders ifdefs
Fix buffer overflow and make code a little more readable.
libui: fix the last (sign) warning
surfaceflinger: define BOARD_WITHOUT_HW_COMPOSER flag
it's the only place where MISSING_GRALLOC_BUFFERS is really required
GraphicBuffer: sign warning fix
GraphicBufferAllocator: allow to handle a custom omx color format

Conflicts:

	libs/ui/Android.mk

Change-Id: Idd159479487acd97bc1d1d541808b323a371bcbc
GraphicBufferAllocator: cleanup
Proper BOARD_WITHOUT_PIXEL_FORMAT_YV12 variable

prevent use of the global cflag -DMISSING_EGL_PIXEL_FORMAT_YV12

This is not really related to EGL, but to libui and stagefright
video buffers allocator

Conflicts:

	libs/ui/Android.mk
	libs/ui/GraphicBufferAllocator.cpp

Change-Id: Ieec3ca3c309c4ad58414b90c7d53318d95d6cde5
Fix derp

Conflicts:

	core/java/android/app/ActivityThread.java
Remove old debugging
Update an ifdef to our new HOOK_MISSING_EGL_EXTERNAL_IMAGE

Conflicts:

	opengl/libs/EGL/eglApi.cpp
More verbose debugging
Support deprecated freeAllBuffersExceptCurrentLocked()

Borrowed from tpruvot

Conflicts:

	libs/gui/SurfaceTexture.cpp
More verbose debugging
Support deprecated freeAllBuffersExceptCurrentLocked()

Borrowed from tpruvot

Conflicts:

	libs/gui/SurfaceTexture.cpp
Fix compilation error