summaryrefslogtreecommitdiffstats
path: root/btif/src/btif_profile_queue.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge commit '4bf68bf020c7fd1aabcdc4b5d8f5fbb8bacdec9d' into merge_workPrerepa Viswanadham2015-04-101-0/+1
|\ | | | | | | Change-Id: Ibc6d6e691b7f97611d16f96220346dfd6ffbbf52
| * Fix missing #includes needed for glibcScott James Remnant2015-04-021-0/+1
| | | | | | | | | | | | | | | | Some standard library functions are used while relying on bionic headers including the headers the functions were actually declared on. Add those missing #includes so that bluetooth.default.so will compile on glibc. Change-Id: Ied9f89ce5a05911fca63f6bfe1b8cc8196ab3b1c
* | Merge commit 'f7f839985b3931682363d2ef3b7c5cae55a842ee' into mergeEtan Cohen2015-03-311-24/+41
|\| | | | | | | Change-Id: Iaaec1ea0bf3009b7e32a9a60f697631a3f56e889
| * Demote, cleanup and extend observed loggingChris Manton2015-03-161-1/+1
| |
| * Use fully qualified path for OSI includes.Sharvil Nanavati2015-03-161-1/+1
| |
| * Drop duplicate profile connection requestsZach Johnson2015-03-161-5/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | If profile connection requests come in too quickly for us to handle, clients can effectively DoS the bluetooth stack. We used to see out of buffer errors because the requests were batched up and sitting on buffers the rest of the stack needed. With the switch to pure allocation we didn't see that specific problem anymore, but we were still running into the sanity assert. Bug: 18323666
| * ungkibufferize the profile queue, use assertZach Johnson2015-03-161-4/+11
| | | | | | | | | | | | | | | | | | ASSERTC isn't a real assert. It just prints a message and allows the code to carry on. Switch to asserts so the exception condition is evident in the crash log. Make the profile queue use osi_malloc/free instead of gki buffers, so it can't drain the buffer pool.
| * Don't dispatch connections in the connection queue until stack comes up.Sharvil Nanavati2015-03-161-16/+21
| | | | | | | | Bug: 18139425
* | Fix omitted libc includes.Ian Coolidge2015-01-241-0/+1
|/ | | | Change-Id: I72c08984aeef60e4833e600b4351759b9687a014
* Add A2DP Sink SupportHemant Gupta2014-06-121-1/+1
| | | | Change-Id: I9affefdd2d00597545e49c593ef3bddb110d4c9c
* Update btif_profile_queue to use the list data structure.Sharvil Nanavati2014-06-121-64/+34
| | | | | | | | | | | | The profile queue maintains a list of pending connect operations for each profile. If a connect is followed by a disconnect before the queued connect is dispatched, the disconnect will have no effect and the connect will proceed. This code clearly needs to be re-thought; it may be a good idea to abandon the connect queue entirely in the long-run. Change-Id: Ic0e85654abcf7a47f65953edb301eb9524394950
* Snapshot cdeccf6fdd8c2d494ea2867cb37a025bf8879bafThe Android Open Source Project2012-12-121-0/+187
Change-Id: Ia2de32ccb97a9641462c72363b0a8c4288f4f36d