summaryrefslogtreecommitdiffstats
path: root/core/jni/android_bluetooth_HeadsetBase.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Delete various Bluetooth files for stack integration.Jaikumar Ganesh2012-07-131-567/+0
|
* Handle ENITR failure for Headset control channel.Matthew Xie2012-06-141-3/+3
| | | | | | | Wrap poll and read with TEMP_FAILURE_RETRY bug 6503000, 6623444 Change-Id: I2e302dc04df6b5bd5982c3d189881a687a95fb2d
* Fix build warningsGlenn Kasten2012-01-111-1/+1
| | | | Change-Id: Ic82cc86ac4b63b30ab66e1b8c7fd0e998fea590e
* Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGESteve Block2012-01-081-14/+14
| | | | | | | See https://android-git.corp.google.com/g/#/c/157220 Bug: 5449033 Change-Id: Ic9c19d30693bd56755f55906127cd6bd7126096c
* Rename (IF_)LOGW(_IF) to (IF_)ALOGW(_IF) DO NOT MERGESteve Block2012-01-061-1/+1
| | | | | | | See https://android-git.corp.google.com/g/157065 Bug: 5449033 Change-Id: I00a4b904f9449e6f93b7fd35eac28640d7929e69
* Rename (IF_)LOGI(_IF) to (IF_)ALOGI(_IF) DO NOT MERGESteve Block2012-01-041-9/+9
| | | | | | | See https://android-git.corp.google.com/g/156801 Bug: 5449033 Change-Id: Ib08fe86d23db91ee153e9f91a99a35c42b9208ea
* Rename (IF_)LOGV(_IF) to (IF_)ALOGV(_IF) DO NOT MERGESteve Block2011-10-261-11/+11
| | | | | | | See https://android-git.corp.google.com/g/#/c/143865 Bug: 5449033 Change-Id: I0122812ed6ff6f5b59fe4a43ab8bff0577adde0a
* Rename (IF_)LOG() to (IF_)ALOG() DO NOT MERGESteve Block2011-10-251-1/+1
| | | | | | | See https://android-git.corp.google.com/g/#/c/141576 Bug: 5449033 Change-Id: I42575e7c29cf1c0f465c357a5c97ab118df6f473
* Use mask_eighth_bit function to replace is_ascii check.Matthew Xie2011-03-211-15/+15
| | | | | | | | According to ITU V.250 section 5.1, IA5 7 bit chars are used, the eighth bit or higher bits are ignored if they exists. bug: 3379257 Change-Id: Id46bda10702f4defa148b34b7538bd5b38ffc7fc
* Fix compiler errors when compiled with debug option.Jaikumar Ganesh2011-02-221-7/+7
| | | | | | The Logv statement was missing the format specifier. Change-Id: Ibf986d28dabfdbb3fbfd75381cb349448c6e57e7
* Do not log AT command traffic by default.Nick Pelly2010-06-241-2/+2
| | | | | Bug: 2792732 Change-Id: I24cb14c14f49e606f0aef1d05a533b90b3dfff53
* Get rid of warnings when compiled with -Wformat-securityNick Kralevich2010-05-131-2/+2
| | | | Change-Id: I5a7ad5be2aaf0fa0d164204d3c1bebf02ec55745
* Fix Phone App crash due to binary data in HSP/HFP stream.Nick Pelly2010-03-251-4/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The BMW 2005 E46 sends binary data amongst the AT commands. Log below. There were a couple of problems when this happened. o Off by one error causing overflow of read buffer. o No validation that input can be parsed by NewStringUTF() This commit fixes the off-by-one, and validates that the input is ASCII. I also increased the read buffer size to 256 to make it less likely we split commands across buffers. We will lose the command when this happens. 2010-03-24 16:00:29.934185 > ACL data: handle 1 flags 0x02 dlen 17 L2CAP(d): cid 0x0040 len 13 [psm 0] 0000: 29 ef 13 41 54 2b 43 49 4e 44 3f 0d 6a )ï.AT+CIND?.j 2010-03-24 16:00:29.940502 < ACL data: handle 1 flags 0x00 dlen 38 0000: 22 00 40 00 2b ef 3d 0d 0a 2b 43 49 4e 44 3a 20 ".@.+ï=..+CIND: 0010: 31 2c 30 2c 30 2c 30 2c 34 2c 30 2c 35 0d 0a 0d 1,0,0,0,4,0,5... 0020: 0a 4f 4b 0d 0a b0 .OK..° 2010-03-24 16:00:29.949657 > HCI Event: Number of Completed Packets (0x13) plen 5 handle 1 packets 1 2010-03-24 16:00:30.004284 > ACL data: handle 1 flags 0x02 dlen 9 L2CAP(d): cid 0x0040 len 5 [psm 0] 0000: 29 ff 01 01 76 )ÿ..v 2010-03-24 16:00:30.137218 > ACL data: handle 1 flags 0x02 dlen 144 L2CAP(d): cid 0x0040 len 140 [psm 0] 0000: 29 ef 0e 01 02 a9 03 58 02 a9 03 64 02 a9 03 98 )ï...©.X.©.d.©.. 0010: 02 a9 03 98 02 a9 03 98 02 a9 03 98 02 a9 03 98 .©...©...©...©.. 0020: 02 a9 03 98 02 a9 03 98 02 a9 03 98 02 a9 03 98 .©...©...©...©.. 0030: 02 a9 04 d8 02 a9 03 a4 02 a9 03 b0 02 a9 03 bc .©.Ø.©.¤.©.°.©.¼ 0040: 02 a9 03 c8 02 a9 03 fc 02 a9 04 38 02 a9 04 44 .©.È.©.ü.©.8.©.D 0050: 02 a9 04 50 02 a9 04 84 02 a9 04 90 02 a9 04 9c .©.P.©...©...©.. 0060: 02 a9 04 a8 02 a9 04 b4 02 a9 04 c0 02 a9 04 d8 .©.¨.©.´.©.À.©.Ø 0070: 02 a9 04 d8 02 a9 04 cc 02 a9 10 7c 02 a9 10 d8 .©.Ø.©.Ì.©.|.©.Ø 0080: 02 a9 10 e4 02 a9 10 f4 02 a9 11 6a .©.ä.©.ô.©.j Change-Id: I7ccff70bc95a7945d8ff03527764fd8f4da04d24 Bug: 2539053
* Fix rfcomm socket connect return code.Jaikumar Ganesh2009-10-011-2/+2
| | | | | | | | The phone would say connected even when powered off. Bug id: 2161890 DrNo: Hiroshi Change-Id: I5dbd19941a80e86c7462670fb844a29cf4eb0908
* Try to reconnect twice when the rfcomm error code is Connection Refused.Jaikumar Ganesh2009-09-301-11/+13
| | | | | | | This happens when the the remote headset is in a bad state or is not accepting connections. Try twice before giving up. Change-Id: I55e15bad6b72904b8e4ccbca89e17e9bd3ddb61e
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+548
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-548/+0
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+548