SurfaceTexture: returning the current transform value

Change-Id: I2975057f47b219ef1ebe73cb8ef85048dc22c784
TS_Seek: Fix hard exit case when bad TS packet is found

- Some TS clips with bad TS packet at end doesn't play at all and
  crash happens in ATS parser.
- There is hard check, which crashes the thread if packet fetch to
  ATS parser is not TS packet.
- Replace hard exit with graceful exit, return with error code
  that is handled (exit or continue) at the extractor level.

CRs-Fixed: 340773
(cherry picked from commit 23779e075831422758295758a51c836e9fe5376b)

Change-Id: Ifa9f1e758c72b72398da4a133aacfc0791463564
Bluetooth: Low energy GATT server Implementation

Implements a proxy for multiple Gatt server applications to
register/unregister itself and service GATT requests
and responses to and from the applications.

CRs-Fixed: 348096
(cherry picked from commit ebb620e182b7cb5e0e10f383982280f8cecf0dbe)

Change-Id: Id9575758010d8558140b19b9e267d46caab9e93f
Fix AT command

Fix "AT+CRSL=?" and "AT+CRSL?" behavior that was interchanged.

CRs-Fixed: 345752

(cherry picked from commit 6373c253e5a1f858ca6f077e49b23a59d6416f90)

Change-Id: I704d98ca791a616fbbda8591aa04edf7c421767c
Merge "TS_Seek: Fix hard exit case when bad TS packet is found" into ics_chocolate
Merge "Bluetooth: Low energy GATT server Implementation" into ics_chocolate
Merge "Fix AT command" into ics_chocolate
frameworks/base: Set config methods to display,keypad and pushbutton.

set the config methods to display, keypad and pushbutton by default
to support IOT compatability. Since some devices expect these config
methods to be present in probe request.

(cherry picked from commit d9cd74bfcbc400f2f049203028cb4a82c5b56427)

Change-Id: I580fbd3e5a6cfd390180faa9f1f245ea2ff3ab17
CRs-fixed: 348477
libstagefright: Fix for application not responding when going to next song

- When a song is ended, the driver is paused, flushed and then close.
- The issue is that under some scenario, the song is ended before the
  driver is initialized. Pausing the driver as result causes a native
  crash
- Issue is fixed by only issuing the pause to the driver if it is
  started.

Change-Id: Ib839a087136526e9186fc37c8cb29c681612e6c9
CRs-Fixed: 339578
(cherry picked from commit a7117328a21eca0fc422b56c12acfab25f17873a)
Merge "frameworks/base: Set config methods to display,keypad and pushbutton." into ics_chocolate
frameworks/base: Fix for sta not associating to the AP with WPS pin.

Increase the authentication retry count.

CRs-fixed: 345577
(cherry picked from commit ec3435e9d149d6265a42e55216523dc3d07e7859)

Change-Id: I214ef7d4e1446f4e1d942820e4573242a1d62c82
Revert "SurfaceFlinger: Skip composition when rotation is not completed"

This reverts commit aa15a84003562f2f00660aa05f8baacfd769a425.
(cherry picked from commit 7cb0c9c47bac39091c9b9be465c9ac9e2d2a00ab)
Bluetooth: Avoid deadlock while disconnecting multiple devices.

While disconnecting multiple HID/PANU connections during BT turn off,
BluetoothService, BluetoothInputProfileHandler and
BluetoothPanProfileHandler gets into circular call lock which results
in deadlock. This has been avoided by listening specific intents in
BluetoothService and doing the required operation while handling the
intents.

CRs-fixed: 342864
(cherry picked from commit 6cf723f0c081792a2d462caddcc14c398efb7f55)

Change-Id: Iafbf760776f73fdc5e062f9ebf833f3b1c20dd71
Camera: Enable metadata callback after snapshot

Change-Id: I0c37a7185e73a6c6039bdd86b26287cdcf992c83
CRs-fixed: 346728
Merge "Camera: Enable metadata callback after snapshot" into ics_chocolate
frameworks/base: Minimum one argument to be passed for input event

CRs-Fixed: 349231
(cherry picked from commit 293a51600230bba4606fb9152d40b4373b4789d5)

Change-Id: I10cfa74124ba9beb7b460375c7f8a5003072b5ed
fm-frameworks: Return error status when set station fails

Set station to a frequency fails but "true" is returned
from framework

CRs-Fixed: 338132
(cherry picked from commit 37edcc885430aa8bdc0a3077d05412d39ffd7cfc)

Change-Id: I79fe22c805f4b22f367e4dadb95bde6478c19616
frameworks/base: Assign default value to meta data members if they are NULL.

CRs-fixed: 336143
(cherry picked from commit 45215f335ad666159371977f84c69a804f2bb582)

Change-Id: I68cb4c7b1a60ec9e3583db427e25103231ae203b
Merge "fm-frameworks: Return error status when set station fails" into ics_chocolate
Merge "frameworks/base: Minimum one argument to be passed for input event" into ics_chocolate