summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Bluetooth: Fix to avoid crash during message listing due to disconnectstable/cm-13.0-ZNH0ENitin Shivpure2015-10-061-1/+7
| | | | | | | | | | A case, where message listing is going on and user does explicitly disconnect. As mInterrupted is not set, so clientThread waits forever after completing existing MAS request. Hence setting mInterrupted while disconnecting MAS session to solve this crash. Change-Id: Icdbaf70e917e139bcd2e63544b315fde346f6c2f CRs-fixed: 914961
* PBAP-C: Add support for dynamic SDP record creationHemant Gupta2015-10-061-0/+34
| | | | | | | | | | This patch adds support for dynamic creation of PBAP Client SDP record. Without this patch it is not possible to add pbap client sdp record when pbap client test application is launched, leading to BT spec violation and resulting in PTS IOPT test case TP/SDSS/BV-02 to fail. Change-Id: If5226b633d36eba8e43b472f170d8c8cc360153b
* PBAPC: Use maxlistcount set by upper layersHemant Gupta2015-10-061-5/+1
| | | | | | | | | This patch fixes the maxListCount being sent to remote PBAP Server for PullPhonebook Request. Without this patch, maxListCount was being sent as 65535 when upper layers was setting it as 0 resulting in PTS test case PCE_PBD_BV_04_C failure Change-Id: I7312087a4cc7d4127dad38eb843e5f361fef5ccd
* PBAPC: Fix following issues in PBAP Client CodeHemant Gupta2015-10-063-13/+32
| | | | | | | | | | | | | | | | | - Do not disconnect Pbap client session in specific error cases For a dut initiated get vcard request, if the server is responding with 'Not Acceptable' response code, do not disconnect the pbap client session. It allows the user to do other pbap operations without initiating pbap connection request once again. - Run the abort and disconnect operation in a seperate thread This change has been done to start the abort and disconnect in a seperate thread so that it doesn't block the main thread. The new thread was not spawned properly with the old implementation resulting in ANR in the test application. Change-Id: I0676e11e1ccdbbd9f9c7d1378293e12a3059bd04 CRs-Fixed: 720092, 645818, 799409, 668890
* MAPC: Create proper bMessage element for push messageHemant Gupta2015-10-061-0/+2
| | | | | | | Add change to create proper bMessage for pushing message from Test App Change-Id: Id3232bac2747a38dc6ee2b27d455d9dc3d9e57e8 CRs-Fixed: 684691
* Bluetooth: Add support for Map client over L2capNitin Shivpure2015-10-066-68/+356
| | | | | | | | | - Add support for Map client(MAP1.2) over L2cap. - Add support to parse Extended Map-Event-report 1.1 on MCE. Change-Id: Iec1aa98555399bfa7ad51b8386124b1fb1ef5d44 CRs-Fixed: 754956
* MAPC: Fix following issues in map client codeHemant Gupta2015-05-146-19/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Fix NPE for ObexTime and dateTimeformat. Handle possible NullPointerException while accessing map client ObexTime constructor utility. Send all parameters event, status and notification state to Test Client for setNotifcationRegistration event both success and failure case. - Fix GetMessagelisting Request for maxlistcount value 0. Include maxlistcount for value 0 in application parameters header while composing obex GetMessageListing Request to MAP Server. - Add maxListCount param in getfolderlisting. A special case, where MCE APP send the folderlisting with maxlistcount=0, startoffset=5, As DUT(MCE role) does not include maxListcount param in folderlsiting, when it's value set to 0 by MCE APP. So as per the spec, MSE assume maxListCount = 1024 for folderlsiting & MSE response as the bad request, when startoffset is Out of range. Adding MaxListCount in folderListing to solve this issue, when it's value set to 0. - Handle exception for incorrect length value from MSE Handle possible exception while parsing GET Message response with incorrect LENGTH value fetched from MSE. - Include ParameterMask Header in GET only when specified. Include ParmaterMask in GET MessageLising Request only when specific values are selected from TestClient. ParameterMask is not a mandatory feild as per MAP1.1 Spec. excluding ParameterMask for default or value '0' fix MSE IOT issues that doesnot support ParameterMask Header. Change-Id: I1bee3f512f877974bb8fd63f3b27dc3ce3ff8a13
* am 3920adc..3920adc from mirror-m-wireless-internal-releaseVinit Deshpande2015-04-143-8/+41
|\ | | | | | | 3920adc Update to new OBEX transport and SDP search
| * Update to new OBEX transport and SDP searchCasper Bonde2015-04-093-8/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | The fetchMasInstances() search API have been replaced with a more generic sdpSearch(UUID) API, and therefore the constructor of BluetoothMasClient should take in a SdpMasRecord in stead of a BluetoothMasInstance. Any app using this library must use the new sdpSearch API and listen for the new ACTION_SDP_RECORD intent. Change-Id: I4a9a097fc05e227f606b8eb127a2762ec595cbab Signed-off-by: Casper Bonde <c.bonde@samsung.com>
* | PBAP-C: Do not disconnect pbap client sessionHemant Gupta2014-11-041-1/+2
|/ | | | | | | | | For a dut initiated get vcard request, if the server is responding with 'Not Acceptable' response code, do not disconnect the pbap client session. It allows the user to do other pbap operations without initiating pbap connection request once again. Change-Id: I389e357f2191c6be8042779d6d4cc77fc7ff64b4
* Bluetooth: Support MAP and PBAP Client role on Bluedroid.Hemant Gupta2014-07-0145-0/+7354
| | | | | | | | | Implementation of android.bluetooth.client.pbap and android.bluetooth.client.map STATIC JAVA lib for PBAP and MAP client role(s). These static libraries can be used by application for PBAP and MAP Client role support on Bluedroid. Change-Id: I173d2c095661704e2efb39516837c6b681193e9a
* Initial empty repositoryGeoff Mendal2014-03-310-0/+0