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: 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: Send pairing cancel intent only if pairing in progress

This patch sends pairing cancel intent on acl disconnetion only if
pairing is in progress. Without this patch, in case there was an
ongoing pairing while acl disconnect is received for some other
device, ongoing pairing was getting cancelled un-intentionally due
to side-effects caused by dbff9ae0ebdcdf63db6c125331002dbb6f50f953

Change-Id: I859f79a8b7f196fe7617419dbbd6284a47228700
CRs-Fixed: 508911
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: 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