Bluetooth: Query BluetoothPhoneService at BT ON.

This will allow the application to have
updated values of call states.

CRs-fixed: 506853
Change-Id: I0b1e9cdfd7ecac05062c82aa563849f49a5ae520
Bluetooth: Update the roam status.

This change makes sure that roam status
change is updated to headset immediately
instead of updating at network service state
changed.

CRs-Fixed: 503919
Change-Id: Ia5c68e2158241459f48a1718689361ad0cd6fbf8
Bluetooth: Fix to update mTetherOn with proper value.

As the mTetherOn indicates, whether bluetooth tethering
is on/off. So incoming pan(DUT as NAP Role) connection
is only accepted, if mTetherOn is set true. So mTetherOn
should be updated with proper value.

Change-Id: I31cfe4e3f3b7fd2ed1f970418f28286100d29514
CRs-fixed: 506194
Bluetooth: set apk format as acceptable shareinbound types.

Adding apk format as a acceptable inbound types ,to be able
to receive these file formats from remote device.

Change-Id: I5175b634b88418b0d5c9baaedb84a48fe0d97357
CRs-fixed: 497427
AVRCP: Make artist metadata come from ARTIST and fallback to ALBUMARTIST

Makes artist appear on bluetooth device when music player only sents
artist (Apollo does this)

Change-Id: I75ca5515d0f20fc647e8d55a339610a7d5dbeba1
Send out a broadcast intent when BT voice dialing is shut down.

This broadcast can be used by voice dialing applications to stop
themselves.

Change-Id: Ia9f5b6bc4cbfd18bddc40f98170463b613a9c329
Bluetooth: Send proper track number

As per specification
RegisterNotification - If no track is currently selected
then return 0xFFFFFFFFFFFFFFFF in the interim response.
Changes are made to ensure return above value if play state
is not playing.

Change-Id: Ib27eeeb65fe6659178658e58eb8f875168b236df
CRs-Fixed: 519337
Bluetooth: HID : Add support for Set Idle and Get Idle commands

This patch adds support for Get Idle and Set Idle command handling
in jni and HidService which will be used to provide interface for
sending thse commands to HID Remote device.

Change-Id: I066d47c022905a39c11d365a9d26d128f94fe2f6
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.

Change-Id: Iee491db2e5b6090761a4f42467ac36ed53923fc4
CRs-fixed: 523135
Bluetooth: Connect only A2dp Sink devices.

DUT supports only A2DP source role,it should connect
only with A2DP sink devices.RENDERING service must be
supported by A2DP sink devices.Hence try to connect A2DP
source only with these class of devices.

CRs-Fixed: 507306

Change-Id: I93d9d30185444473e79008b47b607802ec5e7f3e