summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
| * Merge tag 'AU_LINUX_ANDROID_KK.04.04.04.010.171' into HEADZhoulu Luo2014-09-241-0/+258
| |\ | | | | | | | | | | | | | | | | | | | | | | | | AU_LINUX_ANDROID_KK.04.04.04.010.171 based on quic/aosp/kk Conflicts: src/org/codeaurora/bluetooth/pbapclient/BluetoothPbapObexSession.java Change-Id: I6366caf12520543f172ec7006099ca135cf5e896
| | * PBAP C: Run the abort operation in a seperate threadSmriti Gupta2014-09-191-6/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | This change has been done to start the ABORT in a seperate thread so that it doesn't block the main thread. The new thread was not spawned properly with the old implementation. Change-Id: I0676e11e1ccdbbd9f9c7d1378293e12a3059bd04 CRs-Fixed: 720092
| | * Bluetooth: Fix to avoid DUN crash due to incorrect readIndexNitin Shivpure2014-08-251-116/+121
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Fix to avoid indexOutOfBoundsException due to incorrect readIndex in DownlinkThread after reading response from Dun Server while disconnecting DUN from PC side. - Added Dynamic Verbose logging support - Optimized DUN Service code Change-Id: Ia7c3392e92e84b9c7e3cbdb62ea0ae9224588b5c CRs-Fixed: 702364
* | | FTP: Avoid ServerSocket leak and cleanup unnecessary code.Ashwini Munigala2014-09-261-2/+0
|/ / | | | | | | | | | | | | | | | | | | Assigning serverSocket to NULL when IOException occurs on connection socket is not required. Also without a proper closure for RFCOMMServerSocket before assigning it to NULL would cause a socket leak. Change-Id: I99dfcd03f5f73b30fe1763cffcb2a00baed93286 CRs-fixed: 715033
* | Bluetooth-Wipower: Stop Advertisment on disconnect.Kiran Kelageri2014-09-181-3/+5
| | | | | | | | | | | | | | | | | | | | Stopping advertisment on disconnect, Connection state is been maintained to avoid unncessary clean-up of wipower activity. state is been added to avoid sending VS command to get the wipower state. Change-Id: Icf9eafa72a67a4def746f5132dea0e341d7412c0 CRs-fixed: 726742
* | Bluetooth-Wipower: Enable A4WP service using adbKiran Kelageri2014-09-091-1/+1
| | | | | | | | | | | | | | Support for enabling/Disabling A4WP service dynamically during run time using ADB. Change-Id: If599a58d75551375dc1c6479c3b9ea70c2061a47
* | Bluetooth-Wipower: Cleanup activity for wipower on disconnect.Kiran Kelageri2014-09-051-1/+3
| | | | | | | | | | | | | | | | This is been added as part of cleanup activity if and only if there exists a wipower connection. This will also enusure unnecessary cleaup being called which would lead to null dereferencing. Change-Id: I6d4666be82dbb1a1d84d42d4326db934676d27d6
* | Bluetooth-Wipower: Compilation fix for Wipower.Kiran Kelageri2014-09-041-1/+1
| | | | | | | | | | | | | | Change has been made based on compilation issue due to API being renamed on latest baseline. Change-Id: Id3604b9a6be16a26d05b29a2d9efd23ea18c3805
* | Merge "Bluetooth-wipower: Enabling A4WP Profile."Linux Build Service Account2014-09-041-18/+26
|\ \
| * | Bluetooth-wipower: Enabling A4WP Profile.Kiran Kelageri2014-08-271-18/+26
| | | | | | | | | | | | | | | | | | | | | | | | Changes have been made to enable A4WP profile and adevrtising API based on the Google peripheral code changes. Change-Id: I60a9ebf70da5f073a2046a407ddf8cc0a4f74399 CRs-fixed: 713981
* | | FTP: Modify notification deleteIntent and add FLAG_NO_CLEAR.Ashwini Munigala2014-08-281-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | Modifiy deleteIntent to disallow the authorization instead of access allow. Mark FLAG_NO_CLEAR, defaults and priority same as MAP and PBAP authorization notifications. Change-Id: I5af0564c3201cff154f6a8bde05f02de76699afd CRs-fixed: 711006
* | | Bluetooth: Fix to avoid DUN crash due to incorrect readIndexNitin Shivpure2014-08-251-116/+121
|/ / | | | | | | | | | | | | | | | | | | | | - Fix to avoid indexOutOfBoundsException due to incorrect readIndex in DownlinkThread after reading response from Dun Server while disconnecting DUN from PC side. - Added Dynamic Verbose logging support - Optimized DUN Service code Change-Id: Ia7c3392e92e84b9c7e3cbdb62ea0ae9224588b5c CRs-Fixed: 702364
* | Merge "Bluetooth-Wipower: Support for Wipower feature."Linux Build Service Account2014-08-211-33/+58
|\ \
| * | Bluetooth-Wipower: Support for Wipower feature.Kiran Kelageri2014-08-111-33/+58
| | | | | | | | | | | | | | | | | | | | | | | | Wipower feature code is been enabled, This is used to perform wireless charging over bluetooth low energy. Change-Id: I45a67570911483143760f2bc440aa4fc2d5dee30 CRs-fixed: 698314
* | | Bluetooth: SAP: Enable SAP ServiceJuffin Alex Varghese2014-08-041-2/+6
|/ / | | | | | | | | | | Enable SAP Service in BluetoothExt app Change-Id: I6542cd9a8f7dce37e6e9b768feb302f77b6d2bc1
* | Bluetooth: Fix crash in BluetoothExtApp due to dun bindingNitin Shivpure2014-07-291-2/+6
| | | | | | | | | | | | Fix crash in BluetoothExtApp due to dun service binding Change-Id: I5d98e5697dc800274b9f4b3020cf89bd3d3d565c
* | Update bttestapp for PBAP and MAP ClientHemant Gupta2014-07-2944-7894/+0
|/ | | | | | | | | Because of changes in pbap and map client static library from org.codeaurora.bluetooth to com.android.bluetooth changes are done to compile bttestapp. Also RECEIVE_BLUETOOTH_MAP is added in AndroidManifest.xml for fetching Masinstance SDP record. Change-Id: Ib49ecd532de514df302842498e5f3130416dcdb7
* Merge "Bluetooh-wipower: Support for power apply and charge complete API's."Linux Build Service Account2014-07-181-11/+67
|\
| * Bluetooh-wipower: Support for power apply and charge complete API's.Kiran Kelageri2014-07-111-11/+67
| | | | | | | | | | | | | | | | Support for Power apply command from app layer provided along with charge complete api's as a part of wipower charging. Change-Id: I32bae53d87c2af123c86b9f744093cdada18852d CRs-fixed: 671422
* | Bluetooth: Do not disconnect pbap client sessionVadivel Thekkamalai2014-07-081-1/+1
| | | | | | | | | | | | | | | | | | 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: I0379fd2e83685faa28dc258f9c792b23fc17c857
* | Merge "Bluetooth: Integrates LPP changes into pxp monitor servcie"Linux Build Service Account2014-07-013-23/+235
|\ \
| * | Bluetooth: Integrates LPP changes into pxp monitor servcieSatish kumar sugasi2014-06-173-23/+235
| |/ | | | | | | | | | | | | | | | | This removes extra gatt connections for same device,adds LPP callback handlers for each device as part of pxp service. pxp service also includes RSSI monitor callback. Change-Id: Ia5bd864282c8ea99664e5feb6184c7de998e9a5e CRs-Fixed: 657495
* / Blueotooth: BttestApp: create proper bMessage element for push messagePradeep Panigrahi2014-06-241-0/+2
|/ | | | | | | | Add change to create proper bMessage for pushing message from bttest app. CRs-fixed: 684691 Change-Id: Iee217bc7a62446e416d2622bee8376447d4d2069
* FTP: Fix FTP NULL pointer exception for codenomicon tests.Ashwini Munigala2014-05-291-0/+8
| | | | | | | | Handle uncaught NULL pointer exceptions for bluetooth connection socket and transport from BluetoothFtpService. Change-Id: I045ce0b1b03cb453069c2fd88899236b019c06f7 CRs-fixed: 671855
* Bluetooth: allows pxp service to persist even pxpmonitor destroyedSatish kumar sugasi2014-05-201-29/+11
| | | | | | | | This allows pxpservice to maintain gatt links and deviceproperties list even if pxp test app were to get destroyed for any reason. CRs-Fixed: 628507 Change-Id: I73f4c6199becad51eff969e15c6d6ff274bbb313
* BT: Fix to close FTP service while BT turning OFF in race conditionNitin Shivpure2014-05-071-2/+2
| | | | | | | | | | | | | A case, where automation is running for many FTP use cases, Some of the test cases are doing BT OFF/ON while running the test case. Sometimes FTP service is not closed, when STATE_TURNING_OFF indent is received by FTP service. But adapter state was already moved to STATE_OFF. As FTP service is not closed, So SDP registration for FTP does not happen on next BT TURN ON. This patch will fix the issue. Change-Id: I903385224f9a76dccff524c3e1ed1c0a912b6137 CRs-Fixed: 653213
* Merge "MAPC: Fix GetMessagelisting Request for maxlistcount value 0."Linux Build Service Account2014-05-051-1/+1
|\
| * MAPC: Fix GetMessagelisting Request for maxlistcount value 0.Ashwini Munigala2014-04-221-1/+1
| | | | | | | | | | | | | | | | Include maxlistcount for value 0 in application parameters header while composing obex GetMessageListing Request to MAP Server. Change-Id: I2776e0f0f2191ca4c11b05c451c6487f30a8fbdc CRs-fixed: 652006
* | SAP: Handle the case of remote side DISC properlySmriti Gupta2014-04-251-10/+13
|/ | | | | | | | | If the SAP is getting disconnect from the remote side but the sapDevice is already NULL, UI status was not updated properly as DISCONNECTED in the DUT. Change-Id: I2ff0882fb0c871cfabc7a5be41e54ae0583080cb CRs-Fixed: 643437
* Bluetooth: Avoiding ANR, while rejecting SAP authorization requestSmriti Gupta2014-04-141-0/+5
| | | | | | | | | | | | | | | | | - A case, where SAP has rejected remote device authorization request, DUT start RFCOMM Listener thread & does not update authorization status(isWaitingAuthorization is true), then ACTION_ACL_DISCONNECTED is received. As isWaitingAuthorization is true, So DUT try to start RFCOMM Listener thread again, which is running. So ANR due to longer OBJECT wait in main thread. Updating the correct authorization status while rejecting remote SAP authorization request to solve the issue. - Avoiding the resource leak by closing RFCOMM Socket, if Sapd client socket is not successfully initialized. Change-Id: I2820d5b04502b344f43c22af08c173a526c30834 CRs-Fixed: 647175
* Merge "Bluetooth: verify gatt char value is read before accessing it in ↵Linux Build Service Account2014-04-111-1/+3
|\ | | | | | | pxpservice"
| * Bluetooth: verify gatt char value is read before accessing it in pxpserviceSatish kumar sugasi2014-04-091-1/+3
| | | | | | | | | | | | | | | | This ensures pxp link loss alert characteristic is read before PxpMonitor application tries to get the value of LLS alert. Change-Id: I6bf9f54942d0dc5e708c0dcc83a7ea4ca390dc73 CRs-Fixed: 646168
* | Merge "Bluetooth: Disable BTC app layer for non Athroes BT socs"Linux Build Service Account2014-04-111-0/+11
|\ \
| * | Bluetooth: Disable BTC app layer for non Athroes BT socsSrinu Jella2014-04-111-0/+11
| |/ | | | | | | | | | | | | Disable BTC application layer for non Athroes BT socs. Change-Id: I7b701a0920afb97b581e28ea62c4f07f34a85639 CRs-Fixed: 642281
* / Bluetooth: Fix to avoid BTTestApp crash while disconnecting PBAPCNitin Shivpure2014-04-101-0/+6
|/ | | | | | | | | | A case, where DUT is downloading contacts from remote using PBAP client. While download is in progress, Disconnect the PBAP session from DUT. ANR is occurred & BTtest APP gets crashed. This patch will solve the issue. Change-Id: Iddb71b6b787283a071a93f5c0069188fb20edcc9 CRs-Fixed: 645818
* Merge "FTP: Control Verbose logging runtime from adb shell"Linux Build Service Account2014-03-284-4/+6
|\
| * FTP: Control Verbose logging runtime from adb shellHemant Gupta2014-03-244-4/+6
| | | | | | | | | | | | | | | | Support runtime VERBOSE logging control for OPP Server or Client app implementation through "BluetoothFtpService" TAG. Change-Id: Ib5db0763cbe7c6160083b320f8c7e824a43eb7d1 CRs-fixed: 604523
* | Merge "Bluetooth: Avoiding ANR, while rejecting DUN authorization request"Linux Build Service Account2014-03-261-0/+5
|\ \
| * | Bluetooth: Avoiding ANR, while rejecting DUN authorization requestNitin Shivpure2014-03-251-0/+5
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - A case, where DUT has rejected remote device authorization request, DUT start RFCOMM Listener thread & does not update authorization status(isWaitingAuthorization is true), then ACTION_ACL_DISCONNECTED is received. As isWaitingAuthorization is true, So DUT try to start RFCOMM Listener thread again, which is running. So ANR due to longer OBJECT wait in main thread. Updating the correct authorization status while rejecting remote DUN authorization request to solve the issue. - Avoiding the resource leak by closing RFCOMM Socket, if DunD client socket is not successfully initialized. Change-Id: Ifbe4e8f961843a2f3028421b1dff6b3986ddd07c CRs-Fixed: 636259
* / PBAP : Handle null pointer exception when name is nullSmriti Gupta2014-03-251-1/+4
|/ | | | | | | | This change handles if the remote server is sending the name in the vcard as null. Change-Id: I6e93363b50c3760eda922c8e71e8e5d28a000519 CRs-Fixed: 630242
* FTP: Handle FTP registration on SSR.Ashwini Munigala2014-03-132-5/+15
| | | | | | | | | Check and perform FTP start socket listener from onStartCommand() if not already started from FTP Service onCreate(). CRs-fixed: 625211 Change-Id: I549dd164da7693c49038fcc29440a4a92ca32dc4
* Merge "Bluetooth: Avoiding a ANR, if FTP service record is not registered"Linux Build Service Account2014-03-031-2/+2
|\
| * Bluetooth: Avoiding a ANR, if FTP service record is not registeredNitin Shivpure2014-02-281-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | A case where monkey is running. When BT is turned on, Rfcomm Server Socket is not created during FTP SDP registration on 1st attempt. So FTP was retrying to create RFCOMM server socket after sleeping 3 second. As it was running under main thread context. So ANR was occurred due to longer sleep(3s). Reducing the sleep from 3s to 300ms to solve the issue. Change-Id: I93b9e6f77dc1a1f3d941571299e86285f0b44b32 CRs-Fixed: 611677
* | Merge "Bluetooth: Fix for WiPower Module Crash."Linux Build Service Account2014-03-011-15/+25
|\ \ | |/ |/|
| * Bluetooth: Fix for WiPower Module Crash.Kiran Kelageri2014-02-281-15/+25
| | | | | | | | | | | | | | Fix provided for LE advertisement Intervals as per A4WP spec. Change-Id: I5ecc6cd20cd14c6e1bce8a7cfa89d156842f96dd CRs-fixed: 619985
* | Merge "Bluetooth: Avoids device added to whitelist if bonding fails."Linux Build Service Account2014-02-262-8/+27
|\ \ | |/ |/|
| * Bluetooth: Avoids device added to whitelist if bonding fails.Satish kumar sugasi2014-02-212-8/+27
| | | | | | | | | | | | | | | | This checks bond state of remote device, if bonding failed and device disconnected, won't add device to WL Change-Id: If870db29e4a59b1fd933dc86d625b3440d53e973 CRs-Fixed: 609156
* | Revert "SAP: Handle ACL_DISCONNECT from the client"Smriti Gupta2014-02-111-12/+8
| | | | | | | | | | | | | | This reverts commit dc7d732a106affb1cd98e4de6cc5a20e105015e6. Change-Id: Ib0e91ee5ebffe74a945609ad5b7cfd5991f378fe CRs-Fixed: 596152
* | A4WP: Start advertising A4WP on power apply eventKiran Kelageri2014-02-061-69/+97
|/ | | | | | | | | | Start A4WP advertisement on Wipower power apply ON event and tear down the GATT connection as part of power apply OFF event CRs-fixed: 612628 Change-Id: I08ebad96fca4e0da08379c858f561ba6250ca877
* Merge "Bluetooth: Handle exception in SAP/DUN during BT ON/OFF"Linux Build Service Account2014-01-282-12/+55
|\