Port wimax support changes from CM9.

- Register WiMax service in ContextImpl (fixes 4G toggle).
- Fix misdocumented EXTRA_4G_STATE in WimaxManagerConstants.
- Share wimaxClassLoader between WimaxHelper and ConnectivityService.
- Add ACCESS_4G_RADIO_DISABLE, ACCESS_4G_STATE, and CHANGE_4G_STATE
  permissions to SystemUI.

Note that WimaxManagerConstants was previously misdocumented, confabulating
the lookup key EXTRA_4G_STATE ("4g_state") with EXTRA_WIMAX_STATUS
("wimax_status"), which no longer exists.  This is also fixed.

Change-Id: I4f5973e7bd2ff4c860036df0f38589b34ad72b49
PowerManagerService: fix getAutoBrightnessValue for btn/kbd

getAutoBrightnessValue calculations are correct only for LCD
backlight brightness values increasing with higher light values.
Skip the calculation for the reversed button/keyboard backlight
arrays, where the backlight brightness decreases with increasing
light values.

Change-Id: Ib72b8325fe2b0f83780e91dc94eea2e38061224b
bootanimation: allow using RGB565 instead of ARGB8888

RGB565 uses considerably less memory, and together with texture
cache, it allows us to offer a really smooth bootanimation on
not so powerful devices.

Change-Id: I9da8fd7e6a587b5895519dd0983ec9b8f676771b
SearchWidget: passing APP_DATA to voice intent (from ics)

ics: http://review.cyanogenmod.com/#/c/17826/1

SearchView uses SearchManager.APP_DATA to pass data between the origin activity
and the search activity. This works for text searches (keyboard), but it's not
implemented by voice recognition searches. The method createVoiceAppSearchIntent
initializes a empty bundle that is filled with the QUERY parameter.
This patch adds the SearchManager.APP_DATA parameter if is present, let the
search activity access to the data passed by the origin activity

Change-Id: I2d0d853b69b36aa4e52f3cd49b4364f5fbb5ab93
Fix 5772: Pattern screen lock shows incorrect attempts (from ics)

http://review.cyanogenmod.com/#/c/20211/1

Hide incorrect draw paths. If the pattern is incorrect a message is displayed
instead of incorrect pattern.

Change-Id: I5f74521738e9cdeaa561a946fb28ac4dc9785660
Frameworks Base: Use public constant for SYSTEM_PROFILES_ENABLED

Use the public Settings.System.SYSTEM_PROFILES_ENABLED instead of private definition.

Change-Id: I571dd69f26a05f903779578da01c69addb2284f2
Fix Issue 5810: Framework Base: Uighur language

Initial commits for Uighur language
Depends: http://r.cyanogenmod.com/#/c/19818/1
Credits: Abduqadir Abliz

Patch 2: Remove trailing whitespaces
         Incorrect nodomain.html
Patch 3: Remove no translatable entries

Change-Id: Id5a8b070b78b80b97aaf4dbc708bd7cfb7300ba2
hnl_dk: size_t is long int and not unsigned int.

Change-Id: I6c1f33be09e83324894ac43e38829f3e39890f3e
Fix keystore access when utilizing quick unlock

Change-Id: Ieb8f84918d2f375752a625bddba0e4415a8efd29
Framework Base: Power Widget scrollbar not showed

If the number of the buttons in the Power Widget exceeded the LAYOUT_SCROLL_BUTTON_THRESHOLD
the HorizontalScrollView created is not showed because notification areas is over the scrollbar.
This occurs because buttons layout has set a bottom padding to not overlap the buttons. This has
sense in ics (where buttons has indicators), but not in jb there are not button indicator.
Remove the bottom padding to show the scrollbar. The scrollbar aspect is in tune with the rest of
the power widget

Change-Id: I1d1784a3b34329a2c710a2a3605f253f3756bf0b
PT-BR: Added missing translations

Change-Id: If3a67c3f028f758fe5b990eef5ad53b188ca7cdf
framework: fix notification icons not animating till ticker is updated

Fixes Android issue #15657

Change-Id: Ic406ffbf139ae1562ed2b048b2e8e1f8b734271c
ActivityManager: Fix getCurrentUser() transaction

It was actually invoking switchUser()... :\

Change-Id: If9ab9effa4816c12d14d8f53df4ab131ac320d0c
Merge "ActivityManager: Fix getCurrentUser() transaction" into jellybean
Merge "framework: fix notification icons not animating till ticker is updated" into jellybean
Merge "Fix keystore access when utilizing quick unlock" into jellybean
Merge "Frameworks Base: Use public constant for SYSTEM_PROFILES_ENABLED" into jellybean
Merge "PowerManagerService: fix getAutoBrightnessValue for btn/kbd" into jellybean
Bluetooth: AVRCP 1.3 features changes (2/2)

Bluetooth module will listen metadata/event change intents
from Music app and post data to Bluez stack.

Merged the following from ICS:
Change-Id: 37151cf5162404e27c985a1b6a874cfd9a51d657
Change-Id: f3d9f182f0eacc3ead491f7d3f571f5ed93f7c20
Change-Id: 432fdab5fbbfb6687b571d1e06d6b51e944ed4d5
Change-Id: b4d51e3bc1b52f6c1ff1d006aae6cff261c739e9
Change-Id: f1c1549254c17be681066544efbbcf7ad1e25913

       modified:   core/java/android/server/BluetoothA2dpService.java
       new file:   core/java/fm/last/api/Station.java
       modified:   core/jni/android_server_BluetoothA2dpService.cpp
       modified:   core/jni/android_server_BluetoothEventLoop.cpp
       new file:   core/res/res/values/avrcp_data.xml
       modified:   core/res/res/values/public.xml

Signed-off-by: Trey Briggs <treybriggs@gmail.com>
base: External BT GPS

Change-Id: I869320d42f40e8b762b8b27702ea4495403f8fc5
Credit: Cuong <cuongbui@gmail.com>