Add LegacyUsbDeviceManager::setCurrentFunction method.

Method implementation is the same as UsbDeviceManager::setCurrentFunction.
The override is required to use LegacyUsbDeviceManager's mHandler, as
UsbDeviceManager's mHandler is an uninitialized private field.

Change-Id: I9ffece5247c17de77fa799e1f6c9b439ebd074db
Improve scrolling cache

Scrolling cache helps make short scrolls/flings smooth but will
cause stutter when long flings are made. This patch disables
scrolling cache when long flings are made.

This patch also fixes a related bug where scrolling cache will
not be enabled properly when transitioning from flinging to scrolling.

Patch Set 2: Calculate threshold based on maximum velocity (Sang Tae Park)

Change-Id: I1fdbaad92263c9f983a32900e74eba1f0367902b
Add more CDMA SamsungRIL fixes.

Adds a collection of CDMA device fixes to SamsungRIL.  They include:

- Overriding ERROR_UNSPECIFIED fail cause with NORMAL_CLEARING, to prevent
  far-end hangups from displaying the "Call Lost" dialog.

- Adding, and ignoring the RIL_UNSOL_GPS_NOTI request, which is also
  ignored in the TW RIL, to keep the radio log clean of exceptions when the
  GPS is active.

- Workaround for Samsung CDMA "ring of death" bug.  See source comments for
  details on this problem.

Change-Id: Ida4797718ad3463d073a6fc27246cc916526d487
Telephony: Correct the typo in RIL.java

Change-Id: Ia2466d478e86bb891c4b394ac86389369a9b8dd3
[Exynos4] added support for samsung codec

Change-Id: I7ed5034ad847fe312fbe79624fa24e097dc547e8
samsung: added support for proprietary omx codecs

Change-Id: Ide94f625ff52ca5c55a1e92e5f3581a869bb4a9d
exynos4: getphys implementation on buffermanager for samsung omx

Change-Id: Ifa6ac008d56ddaa10297803ad09ebe70cba3417f
SamsungRIL: Fixes for CDMA data reconnection failures due to stale pppd

Occasionally the CDMA data connection fails to reconnect after various
radio events, which is fixed neither by toggling mobile data nor airplane
mode, but only by a reboot.  One known cause of this problem is that the
pppd_cdma service is occasionally left running after the radio event, which
causes all subsequent "setup data call" operations to fail.  These two
fixes address the stale pppd_cdma service issue:

- Move the pppd_cdma service shutdown (set ril.cdma.data_state=0) from the
  "deactivate data call" response to its request.  This avoids the issue
  where the response never comes (radio crash?), and thus, the service is
  never stopped.

- Force pppd_cdma service shutdown on a "setup data call" failure.  This
  allows subsequent setup attempts to succeed in the event that the
  "deactivate" request was never made (unexpected radio poweroff).
fix sms receiving for some Samsung CDMA phones

Change-Id: I4639b10e5d1c512135572807f9430e81b6b8869b
GraphicBufferManager: getphys: fixed type of paddr

Change-Id: I63f6dd4d36a589f4bb718d71641f23b995ab3903
omx: support for samsungs opensource vp8 and fp avc decoders

Change-Id: Ifa2c516029650ddc76f659cd0101d6debf9252bc
stagefright: more exynos4 enhancements

Change-Id: I1f6421ed295804ffc0182b874a26aef755472b51
omxcodec: added buffersize logic back in

got lost with merge of 1d73f2b83f17e009150685be4d40c5f9b4065ae6

Change-Id: I0a185dd1b14d0ced4d96b0d8cc1515b7ba18abea
softwarerenderer: exynos4: mali alignment

Change-Id: I6bbe13570d3ef6c268f637ccf7be9d6843eed91f
samsung: explicitely request a fixed bitrate, otherwise it is ignored.

Change-Id: I5e24dcdea01ab081629ce455efb37f2fd151779c
samsung: set proper native color format if using samsung codecs