SAP: Klocwork issue

This change will fix the Klocwork issue coming
with respect to RfcommInputStream in SAP.

Change-Id: I29fc19e6b44b5eb35999111d45327b6cd4251ddb
CRs-fixed: 758581
PBAP C: Fix klocwork issue

This change will fix the klocwork issue coming with respect to
BluetoothPbapTestActivity.

Change-Id: Iffc45dc24796e718fc75c1d2c55743c871dd9839
CRs-fixed: 758578
Bluetooth: Fix KW issues for DUN profile

This patch fixes P1 Klockwork issues in DunService.

Change-Id: I11f724451858d51825ad1a1d8b9dc1fd5ef21c20
CRs-fixed: 759267
FTP: Fix klockwork reported issues.

Fix NPE and RLK issues reported
from klockwork.
CRs-fixed: 758708

Change-Id: I017b1e8b954239cff377ca3e68d6737e32d53b2c
Merge "Bluetooth: Fix KW issues for DUN profile"
Merge "SAP: Klocwork issue"
Merge "PBAP C: Fix klocwork issue"
Merge "FTP: Fix klockwork reported issues."
BTTestApp: Fix klockwork issues for MAPClient.

Fix NPE issues reported from klockwork for
BTTestApp  MAP Client relevant implementation.

Change-Id: I4a03d57c78c464dc3ede7c5b3baa46ad68c2442f
CRs-fixed: 758706
Merge "BTTestApp: Fix klockwork issues for MAPClient."
SAP: Flush RfcommOutputStream

Flush RfcommOuputStream after every write so that
Sap packets could go seperately. It is done since
It was leading to queing of packets at rfcomm earlier.

CRs-fixed: 760728

Change-Id: I1cc6b5a60ce2c830f4a8bf7f06965e0573aa53b2
FTP: Remove pending user timeout intent on ACL disconnected

This patch fixes the following issues in FTP Code:
   - MSG_INTERNAL_USER_TIMEOUT intent is removed on reception of
     ACL disconnected. Previously this message was not removed and
     new intent was sent to stop obex server resulting in rfcomm
     socket being listened 2 times from ftp service in case ACL is
     disconnected while waiting for authorization.
   - Rfcomm accept thread is closed properly and joined instead of
     making it null on stopObexServer. this might be leading to some
     synchronization issues, as thread variable was made zero before
     it was closed.
   - VERBOSE logging was not shown, so removed all the logs from the
     flag for BluetoothFtpService.java.

Change-Id: Ie5c3ea45bd0a616f3513d63e8de9c332d768e3b2
CRs-Fixed: 761687
Merge "SAP: Flush RfcommOutputStream"
Merge "FTP: Remove pending user timeout intent on ACL disconnected"
Merge pull request #1 from AOSParadox/LA.BF.1.1.2_rb1.5

CAF_UPDATE : LA.BF.1.1.2_rb1.5