wifi: Support for AP with Chinese GBK Charset SSID

It doesn't support Chinese GBK Charset in original android.
But there are some APs with Chinese GBK Charset SSID, it will result
in that wifi can't display these APs nomally and connect to these APs.
Here make a conversion in wifi JNI layer. When "SCAN" or "GET_NETWORK"
command has the reply with Chinese GBK Charset SSID, convert GBK to UTF-8.

CRs-Fixed: 497995
Change-Id: If4d1d5bc3a98490db55c69ebcc0c78d526b7a563

Wifi: get rid of the log from Gbk2Utf

In android_net_wifi_Gbk2Utf.cpp, we set DBG as true,
this should be false in default.

Change-Id: Ib5673f0817677887d6b050191d96edb33fdb8799
CRs-Fixed: 690860
Frameworks: Fix ap list issue while wifi turns on

Decrease the sleep time to resolve the synchronization issue
which happens between wpa_supplicant and Wifimonitor thread
when wifi turns on.

CRs-Fixed: 673012

Change-Id: I4e2414301ace26a26351b6c1345e1ff6e7ab49a9
Bluetooth-OBEX: Fine tune OBEX Tx MTU for better performace/power

This will change improve Tx throughput and better power numbers
during operation.

CRs-Fixed: 625250
Change-Id: Ife61b1e48c633c3ea2f7bba7afce21c7c16ddd85
[HWUI]: fix residual line on FrameBuffer

Symptom: If app applies animation to enlarge a bitmap, there will be an residual
         line on the screen

Root Cause: On platform which has Tile Rendering implementation (ex. Qualcomm
            CPU), startTiling() call will restrict the framebuffer region which
            GPU can affect. So the expansion of clear region by 1 will not take
            effect if startTiling region is not expanded.

Solution: Expand the startTiling region by 1, too.

Reproduce steps: Apply animation to enlarge (and then shrink) a bitmap icon.

Change-Id: I7b4a59e180daa29dbe909d9e11f4093ae1d7396f
[HWUI] Fix invisible views are still shown in popup window

Symptom: Invisible views are still shown in popup window

Root Cause: glClear isn't called if there is no draw command

Solution: Even if there is no draw command, it still calls glClear
          by startFrame().

Reproduce steps: App set one view in a popup window to invisible,
                 it will be still visible.

Change-Id: I36bc7b752434ad388fbb80ea63341ac778f48d35
[Asset Manager] Fix memory leakage bug

Symptom: memory leakage
Root Cause: new SortedVector but not free it in native cpp
Solution: free the SortedVector
Project: AOSP
Note:

Change-Id: Iab5a7f2e8d8509631301e7231427927d4797c856
Revert "QuickBoot: don't wake up screen when usb connected"

Duplicated code

This reverts commit 9cf2a41749b0f9e732a14c62ac60e9bcf9e48a27.

Change-Id: Ib2274d4147115275fb0d947ee5a78646cc1f901c