Bluetooth: Play ring tone on incoming call.

Play ringtone on DUT for incoming call.

Change-Id: I565962eef3ce2c334e64cb67aa27371037d17418
CRs-Fixed: 582486 591345
Bluetooth: Map: fetch proper read status for the message handle

Add change to fetch the correct read/unread status for the message
id, while creating message listing element.

Change-Id: I9c29a3053f9e552688c322eb42400ed30a956047
CRs-fixed: 594620
Bluetooth: A2dpSink change to handle Media Player Pause CMD

Camera Pauses the Playback before starting the Video recording
but it doesn't start the playback once recording is completed.
This change will Disconnect the A2dp and moves the A2dpSink
to proper state before starting the Video Recording.

Change-Id: I816edde2f5e3f7513dbe04961868a62b2e4f68a5
CRs-fixed: 591351
PBAP: Change string search comparison from NULL to empty

This change compares the searchValue atribute to empty
string value rather than comparing with the NULL object
since the searchValue object itself is never NULL here,
only the value becomes an empty string.

Change-Id: I20cdfc0246af3057ba8ee268dee3de1893810638
CRs-Fixed: 591592
Bluetooth: Map: do not distinguish between draft/drafts while setting path

When remote requests setpath to draft folder for email instance, setpath to
drafts folders because in email accounts we have drafts folder instead of
draft.

Change-Id: I253ce7ec1a450500cb6cbf3e254ead19929b5c9e
CRs-fixed: 594841
Bluetooth: MAP: Disconnect mns client when remote disables Notification

Add change to send disconnect request for the MNS session when neither
email nor sms/msm observers are registered and remote device disables
notification. currently we were only unregistering the content observer
and not sending disconnect, which was causing PTS test case to fail.

Change-Id: Ib87d6b92cc0390c6fc1d7bda1c0e70197ae3606d
CRs-fixed: 594864
Bluetooth-OPP: Handle incoming file confirmation pop-up

While BT is turned OFF during ongoing OPP Rx, DUT is not able display
incoming file confirmation pop-up after BT is turned ON again. This
is because not able to start the notification thread properly after
BT is turned ON.

This change will handle incoming file confirmation pop-up.

CRs-Fixed: 594171
Change-Id: I12950b621eddf2806c0b0f1d9c9ac17b02b4e9b8
Bluetooth: Map: Avoid Illegal argument exception while messagelisting

While doing messagelisting from drafts, we see invalid symbols appended
at the end of sender addressing, causing illegal argument exception
while creating the messagelisting object. Add change to fetch the
proper address to avoid illegal argument exception in such scenarios.

Change-Id: Iba08fed16fcf6987a1ecafdd4a22382ffe2391ab
CRs-fixed: 594738
Bluetooth: set messageList element to proper size based on offset/count

Handle all the cases based on offset and count to create message list
element when  message listing is performed from car kit for any folder

Change-Id: Ibcc6f8ed24c47464e05f26a79b38b99d233ca58b
CRs-fixed: 594926
MAP: Handle authorization request timeout.

Handle timeout for the MAP authorization request
waiting for user confirmation.

Change-Id: I1a5c542ba72440690142d5006ac8639a8814fad1
CRs-fixed: 595102
Bluetooth: MAP: Restrict Connection to only one device at a time

Do not allow two different device to connect to separate mas
instances. Restrict map connection to only one device at a time
and reject the connection request from another devices,if a
device is already connected to either of the MAS instance 0/1

Change-Id: I2c88fd7243ce44a55d7c15d687fb67f0cbd4227f
CRs-fixed: 590641
Merge "Bluetooth: Map: do not distinguish between draft/drafts while setting path"
Merge "Bluetooth: MAP: Disconnect mns client when remote disables Notification"
Merge "Bluetooth: set messageList element to proper size based on offset/count"
Merge "Bluetooth: Map: fetch proper read status for the message handle"
Merge "PBAP: Change string search comparison from NULL to empty"
Merge "Bluetooth: A2dpSink change to handle Media Player Pause CMD"
Merge "Bluetooth: Map: Avoid Illegal argument exception while messagelisting"
Merge "MAP: Handle authorization request timeout."
Merge "Bluetooth-OPP: Handle incoming file confirmation pop-up"