[MOCK_SMS] update api
Merge branch 'jb4.3-dev' into jb4.3
Ported: Bluetooth Message Access Profile (MAP) from CM9

This was added to CM10 to restore message exchange capabilities with automotive systems.

Change-Id: Ib872bebc5c292b1f84c903b068e59b7eeca6d76f
Bluetooth MAP (Message Access Profile) Upstream Changes (3/3)

PORTED FROM CM10: http://review.cyanogenmod.org/#/c/26419/

Incorporates updates to the Bluetooth MAP profile from Code Aurora's
Android Enablement Project since we initially pulled in from their
gingerbread to CM7 last year. This patch addresses bugs with the
current MAP profile, adds a UI request for message access approval
when pairing, and adds additional error checking and logging.
Confirmed to fix date and "Download" function of Ford SYNC Gen1.
Pulled in from the codeaurora jb branch.

Change-Id: I5c7e7396e0e97760bba9bdf4bf848b6bfa58e62c
Fix MAP SDP record generation [2/3].

Give the bluetooth app API to register a server socket for a specific
UUID/port pair. It needs that for registering two OBEX server instances.

Change-Id: I6ede7f2777040af4e653eceb14ea47a2c03abfae
Bluetooth: SAP: Add framework changes to support SAP

This change consists of:
SAP Disconnect from server support related changes

Change-Id: I7215f503244c5ee277e83d60d6960f18559acfb9
Bluetooth: HID: Add support for Set Idle and Get Idle Commands

This patch provides an interface for application to send Set Idle
and Get Idle commands to remote HID Device. Support for these
two commands was missing from exisitng code, so existing code
design is reused to add support for these two commands.

Change-Id: I548362cc328498920b2dae740f1a76b2cc2d6a67
CRs-Fixed: 522511
Bluetooth: Add trust device feature.

Add set trust feature where the remote device is marked
as a trusted device for subsequent connection.

CRs-fixed: 523135

Change-Id: I9bde4d7dfe07d9d63b58a661ed2413f45501bd7b
OBEX: Implementation of MAP and PBAP client role on Bluedroid

Implementation changes to support MAP client and PBAP client
role on Bluedroid stack.

Change-Id: Ic75e0bea10b8420aef928d868cc25acd769d5620
CRs-fixed: 530274
MAP: Add support for Connection ID

This patch adds support for connection identifier used while
sending put requests to MNS.

Change-Id: I016940d2ca023fc7d2e3da1c63e338e1528be147
CRs-Fixed: 518395
OBEX: Implementation of MAP and PBAP client role on Bluedroid

Implementation changes to support MAP client and PBAP client
role on Bluedroid stack.

Change-Id: Ic75e0bea10b8420aef928d868cc25acd769d5620
CRs-fixed: 530274
Merge branch 'jb4.3-dev' into jb4.3
Squashed changes for obex from cyangenmod

These changes fixes the packages/apps/BluetoothExt build break

commit 476f7c748eabc03117d5046ec42de9a701b912a0
Merge: a2b017c 325bfe0
Author: SunRain <5908183@163.com>
Date:   Sun Sep 29 15:40:12 2013 +0800

    Squash changes for obex from cyangenmod
    commits are
    https://github.com/CyanogenMod/android_frameworks_base/commit/0e5fdcffdd1c3f1292a7cfa04660c966f70c883a
    https://github.com/CyanogenMod/android_frameworks_base/commit/9eaef385f367fe1d05444dc9ac33151fd8254aa6

commit 325bfe0f00807729d7e3b1156238898e32808bdf
Author: SunRain <5908183@163.com>
Date:   Sun Sep 29 15:38:53 2013 +0800

    fix merge

commit 0fead555c7cb4834d068124ba3708890859320ab
Author: Steve Kondik <shade@chemlab.org>
Date:   Sat Sep 7 09:11:15 2013 -0700

    Revert "Ported: Bluetooth Message Access Profile (MAP) from CM9"

    This reverts commit 0e5fdcffdd1c3f1292a7cfa04660c966f70c883a.

    MAP: Support MAP Server role on Bluedroid with javax.OBEX lib.

    Handle No END OF BODY for MAP 1.0 Server Get request. Only the
    last packet need send the 0x49(End of Body). For intermediate
    packets, we need to send 0x48 (Body).

    Move definitions for MAP or FTP Service Specific UUID and
    Request type for CONNECTION_ACCESS_REQUEST intent to
    BluetoothExt APK.

    Change-Id: I04cfeb8d53b8f8c19160a2de1eb448a7ec1f2c41
    CRs-fixed: 504042

commit ed02b0cd1db1156d1e3892e3d906caf027d134df
Author: Corey Garst <corey.garst@gmail.com>
Date:   Wed Sep 12 21:41:17 2012 -0400

    Ported: Bluetooth Message Access Profile (MAP) from CM9

    This was added to CM10 to restore message exchange capabilities with automotive systems.

    Change-Id: Ib872bebc5c292b1f84c903b068e59b7eeca6d76f

    Conflicts:
    	obex/javax/obex/ClientOperation.java
am: Allow more hidden apps on devices with lots of RAM

 * If more than 1.5GB is present, allow up to 40 hidden apps.
 * Number is somewhat arbitrary, but was found to work well on D2.
 * Also look at the sys.mem.max_hidden_apps value if given.

Change-Id: I2d3cf6e0dad1bc0b482cc37bf9c61ed2f2b4be51
[2/3] mediaeditor: Allow custom DOMX source instead of Google DOMX default

Part 2 of 3 patches: To allow omap4 devices to use custom "domx" source
via a new BoardConfig.mk item:
TI_CUSTOM_DOMX_PATH := device/<manufacturer>/<device-name>/domx

This setting provides for 3 changes during the build:
1. In hardware/ti/omap4xxx this settings stops standard Google domx
source from being built and changes the domx reference for tiutils.
2. In frameworks/base it changes the default openmax references for
frameworks/base/media/jni/mediaeditor/Android.mk to the new location
3. In frameworks/av changes the openmax references in 5 places, and adds
new includes in ACodec.cpp, CameraSource.cpp and OMXCodec.cpp

This commit is based on cherry-pick from omapzoom (with a more descriptive
BoardConfig setting name):
http://www.omapzoom.org/?p=platform/frameworks/base.git;a=commit;h=f7f929ff477955333bf7e7413a81a66d683d1f3f

Change-Id: I76e558ce840ea45eec14194f2e9107fb83cebf8f
Signed-off-by: Hashcode <hashcode0f@gmail.com>
input: Add workaround for broken hardware keyboard support

* Add workaround var for devices with broken kernels

Patchset 1 : Stick to android code guidelines

Change-Id: Iefbd2389656f5da7bcaa02337aed1ef48ba9653a

Conflicts:
	core/res/res/values/config.xml
	core/res/res/values/symbols.xml
remove duplicate symbols
input: Fix workaround for broken hardware keyboard support

Using a wrong reference to mHardKeyboardAvailable caused device config
to never report physical keyboards.

Change-Id: I9b64e2d89512436c17fa8929464e2b727fba1cf3
Camera : Powerkey shutter (1/2)

Allows user to take use power key to take pictures/videos

Change-Id: I85a1e1761199f4604672be42a3a5005227f5451a
Framework (1): Forward Port CM10 features

This commit includes:
 - Power menu Reboot
 - Power menu screenshot
 - Profiles
 - Quiet hours
 - Notification light customization
 - Battery light customization
 - IME Selector notification toggle
 - Volume Rocker / Wakeup
 - and a few more things to support Settings

PatchSet 2

just changed commit message

PatchSet 3

rebased on initial Power Widget commit

PatchSet 4

rebased
whitespace cleanup
profile airplane mode fix
delete GB drawable on reboot powermenu
small fixes

Change-Id: Ibab71331dbced41ef4b8cb20c1f9aac29a142551

Conflicts:
	core/java/android/app/ContextImpl.java
	core/java/android/app/Notification.java
	core/java/android/provider/Settings.java
	core/res/res/values/config.xml
	core/res/res/values/symbols.xml
	policy/src/com/android/internal/policy/impl/GlobalActions.java
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
	policy/src/com/android/internal/policy/impl/keyguard_obsolete/KeyguardViewMediator.java
	services/java/com/android/server/NotificationManagerService.java
	services/java/com/android/server/VibratorService.java