Bluetooth: Allow the HFP app to set features.

This change gives the flexibility to the HFP
APP to update the features supported, rather
than using the hardcoded bitmask in BT stack.
CRs-Fixed: 482189

Change-Id: I2c2be9b71cef94dddb1417d3b924d1d8bb47a759
Bluetooth: Enabling WBS feature in BT app.

Bluetooth HFP statemachine will enable
WBS support based on reading system property.
This will enable Codec negotiation bit mask in
BRSF AT response to claim support of WBS and
codec negotiation.

Change-Id: Ia01212bd11edf5cd53c4d54ea5b9af65737a40b4
Bluetooth: SAP: Add SAP high security support to Bluetooth APP

This change consists of:
High security authentication changes

Change-Id: I01cec39955e2df25be7b7bccd1b0d5b3f22b7d85
Bluetooth: Add send file information before retransmission

This patch adds send file information before retrying failed file transfer.
without this change, file outbound file could not be sent as file
information was missing resulting in error.
CRs-Fixed: 505101

Change-Id: I53e828672d107e80a600fbbcc73c7b0ec7bf0737
Bluetooth: Add docx and xlsx format support.

Add docx and xlsx format to acceptable share inbound types to
send/receive these file format using OPP.

Change-Id: I99bcd644cbbabdfef306604562b0836a86440e58
CRs-fixed: 483041
Bluetooth: Setting bluetooth.isEnabled on BT state change

btwlancoex process starts based on the bluetooth.isEnabled
property which is used to indicate Bluetooth on/off. If BT is
already turned on before rebooting the phone. btwlancoex process
does not start, As  property is not getting set, Even though
bluetooth is turned on successfully after rebooting phone, if
bluedroid stack is enabled. Setting the property from adapter
state,Once BT state change(ON or OFF) is recieved from
abstraction layer in bluedroid stack.
CRs-Fixed: 496729

Change-Id: Ieae4356064e98953287c842e0c60c76c56e7f1c6
Bluetooth:Aquire a wakelock to bring the display up.

Acquire a wakelock during PIN code request to bring up the LCD
display when the remote device requests for pairing.
CRs-fixed: 466069

Change-Id: I9a9f45178ec286d6c6b570625669f5532bfe3d6b
Bluetooth: Proper Connection with multiple Headsets

When paired with multiple Headsets,connecting/disconnecting randomly
between them DUT was connecting HS to one device and A2DP to other device.
CRs-Fixed: 465980

Change-Id: I0aa1bf1c9c75157fd19710beeba69eb680a71439
Bluetooth: OPP Update progress in worker thread

OPP throughput was seen very less because of the progress update
from BT Read/Write path. Moved it to worker thread.

Change-Id: I884356dc8b42a7f7eca1b8581e3118d5ec2ce9e2
Clean up file when file transfer is aborted by remote/local device

Delete File when the transfer is terminated due to
Remote's BT is turned off, remote being taken out of reach or
remote is turned off properly. Also delete the file on the next
reboot while the previous inbound transfer was interrupted by
local device power off.
CRs-Fixed: 506182

Change-Id: I96211e701610322881eda8345d04898ae3f18ab6
Bluetooth: Add support to Receive/Send OPP file with size greater than an int can hold

Change-Id: I5d70718be14c3bbbdccaf52971ce03c0879a6a71
CRs-fixed: 366818, 468659

Conflicts:
	src/com/android/bluetooth/opp/BluetoothOppObexClientSession.java
	src/com/android/bluetooth/opp/BluetoothOppObexServerSession.java
	src/com/android/bluetooth/opp/BluetoothOppReceiveFileInfo.java
	src/com/android/bluetooth/opp/BluetoothOppShareInfo.java