summaryrefslogtreecommitdiffstats
path: root/src/com/android/bluetooth/hdp
Commit message (Collapse)AuthorAgeFilesLines
* BT App: Fix to resolve Static Code Analysis issuesSai Aitharaju2015-10-061-6/+30
| | | | | | | | | | | | | | Use case: During static code analysis of Bluetooth Application codespace, many NULL pointer exceptions and Array Index Out of Bounds Exceptions were observed. Root Cause: No proper NULL checks before dereferencing a pointer and no proper boundary checks kept for the array indices. CRs-fixed: 760114 Change-Id: I0c12a5ce37243695a839d0f976917da27d7fa989
* Add dumpsys support for bluetoothMike Lockwood2014-10-281-0/+17
| | | | | Bug: 18159457 Change-Id: I807a7d921b6e5baf111d0f0e3e182c6633a93b7c
* Check null mHandler condition before invoking method on itMatthew Xie2014-08-041-4/+6
| | | | | | | | There is a path that clean up is called before stop call on HealthService mHandler could be set to null bug 16784750 Change-Id: Ie931fa502cf82d21c6bf97a8dc7035e5a1ed4b2e
* BT: HDP: Add NULL check in cleanupAppsNitin Srivastava2014-05-061-9/+10
| | | | | | | Add NULL check for profile Apps data before accessing them during cleanup. Change-Id: Iebc6dc0399ed3d77078962b50550d3080a82644f
* HDP Single SDP fixPriti Aghera2013-04-231-15/+26
| | | | | | | Modified the stack logic to create single SDP record for all register call. bug 8656462 Change-Id: If06193aecbe7555e6b1402275ee243fcd672c812
* License of files Bluetooth package is not updated to ASL2Zhihai Xu2012-10-231-1/+13
| | | | | | bug 7385618 Change-Id: I338fd87083387706f3b5f410c9592219bb8a1acb
* Merge "Turn off dbg messages, be prepared for production build" into jb-mr1-devMatthew Xie2012-10-101-2/+2
|\
| * Turn off dbg messages, be prepared for production buildMatthew Xie2012-10-071-2/+2
| | | | | | | | | | | | bug 7174712 Change-Id: I58747ec6507da8ea8ae27a182b601aaf626ede42
* | Bluetooth multi-user updates: change bluetooth serviceZhihai Xu2012-10-091-7/+13
|/ | | | | | | | to reject background user access. bug 6925422 Change-Id: I11d5ebf007c2843a72a9870055fc96672daf8409
* Fix for BT turn on/off issues: NPE, FD/thread leaks, ANR.Fred2012-08-081-3/+0
| | | | | | | | | | | | This fix addresses numerous BT on/off issues found from the CTS test. Fixed fD/pipe leak in various state machine Looper objects by calling quit() function. Fixed cursor leak in AtPhonebook. Change Pbap to stop the RFCOMM listener on the STATE_TURNING_OFF instead of STATE_OFF. Removed several cleanup() methods causing NPE. Reduced RFCOMM listener timeout from 3 seconds to 300ms between retry. bug 6834336 Change-Id: I52423343d8f52f65294af0143f373871a9874d77
* HDP-App crash fixPriti Aghera2012-07-251-0/+4
| | | | | | Set the channel fd to null in channel state callback if new state is not CONNECTED Change-Id: Id540d9ca2e20ef3e03b11a61634b8a2cb4e05df1
* Fix for force closing HDP app: Included review commentsPriti Aghera2012-07-161-3/+73
| | | | | | Included a callback to linkToDeath and notify the HealthService when BluetoothHealth is dead Change-Id: Ie34a391f78c4fba0a74bcefd3dedccaa63f7bba3
* Fixed HDP Disconnection issue. Included channel to list of channels when ↵Priti Aghera2012-07-161-2/+1
| | | | | | channel state callback is received Change-Id: Icd361a3f19b883b3cca27fe9eb0cafc3b969290b
* Fixed memory leak in Binder objects from repeatedly turning on/off Bluetoothfredc2012-07-161-102/+149
| | | | Change-Id: Ibee5382816d47b1e9b846461942a9daccc4210a7
* Fixed BT on/off issuefredc2012-07-161-65/+22
| | | | | | | | Change-Id: I47cbac9fc694d5604a664f20170eeed90eeee8e6 Conflicts: jni/com_android_bluetooth_btservice_AdapterService.cpp
* Memory profiling changes : Updated the Bluetooth code to handle cleaning up ↵Ravi Nagarajan2012-07-161-0/+19
| | | | | | of object references (context, handlers, and collection objects ) during service cleanup.Memory profiling changes : Updated the Bluetooth code to handle cleaning up of object references (context, handlers, and collection objects ) during service cleanup. Change-Id: I2b0235f71c1feaf32215b2aaf89a2e06d8fa7d73
* adapter non persistent service. Fixed null exception when profile services ↵fredc2012-07-161-8/+3
| | | | | | connect/disconnect Change-Id: Iefafd1115471256d3107f039897e2af16077cdae
* Non persistent adapter servicefredc2012-07-161-16/+66
| | | | | | | | | | | | | Change-Id: I65e1c18e2899cea0a1e5c0102c4d24d39dce0249 Conflicts: jni/com_android_bluetooth_hdp.cpp jni/com_android_bluetooth_hid.cpp Conflicts: jni/com_android_bluetooth_hid.cpp
* Initial implementation of hdp service and jniMatthew Xie2012-07-161-0/+724
Change-Id: Ieca906080835098383cabbc13fa914363459f555