- 03 Nov, 2016 1 commit
-
-
Sharvil Nanavati authored
Bug: 28885210 Change-Id: I63866d894bfca47464d6e42e3fb0357c4f94d360 Conflicts: btif/co/bta_hh_co.c btif/src/btif_core.c Merge conflict resolution of ag/1161415 (referencing ag/1164670) - Directly into mnc-mr2-release (cherry picked from commit 472271b1) Change-Id: Ide5f8794e1d11ecbff79ff5c3e7c0fc5c378a2f7
-
- 27 May, 2016 2 commits
-
-
Marie Janssen authored
Bug: 27930580 Change-Id: Ieb1f23f9a8a937b21f7c5eca92da3b0b821400e6
-
Ajay Panicker authored
Add a flag to enable() to start Bluetooth in restricted mode. In restricted mode, all devices that are paired during restricted mode are deleted upon leaving restricted mode. Right now restricted mode is only entered while a guest user is active. Bug: 27410683 Change-Id: I8f23d28ef0aa3a8df13d469c73005c8e1b894d19
-
- 22 Apr, 2016 1 commit
-
-
Marie Janssen authored
We don't need to persist the unpaired devices to NVRAM so skip saving them. This fixes a regression in a previous patch where the most recent instead of the least recent devices would be removed, making some devices unpairable in extremely busy environments. This is a backport of http://r.android.com/210955 and http://r.android.com/212838 together. Bug: 26071376 Change-Id: If7ee9d960f70c836bf08b78da5f3fc852ba60a85
-
- 26 Mar, 2016 1 commit
-
-
Marie Janssen authored
If a malicious client set a pin that was too long it would overflow the pin code memory. Bug: 27411268 Change-Id: I9197ac6fdaa92a4799dacb6364e04671a39450cc
-
- 17 Mar, 2016 1 commit
-
-
Akshay Thakker authored
This reverts commit 8fe9b6c9. Change-Id: Ic0aa70bcaec57bf14afa20ac5304e7164174b566
-
- 02 Mar, 2016 1 commit
-
-
Andre Eisenbach authored
Some devices do not play well with absolute volume control. They either play back music at unacceptably loud volume levels or provide insufficiently granular volume control where a single "step" of volume change results in unexpectedly large jumps in volume. Bug: 26070064, 26060431 Change-Id: I5a336fba87119325b47a5ad385e9c48a631f2121
-
- 27 Feb, 2016 1 commit
-
-
Andre Eisenbach authored
Bug: 26551752 Change-Id: I14c5e3fcda0849874c8a94e48aeb7d09585617e1
-
- 24 Feb, 2016 1 commit
-
-
Andre Eisenbach authored
Add ability and interface for adding dynamic entries to the interop workaround database. Bug: 26548845 Change-Id: Id886e4233fc1548727e79f1581cdc0c6f0738d59
-
- 22 Jan, 2016 1 commit
-
-
Marie Janssen authored
When loads of devices are discovered a config file which is too large can be written out, which causes the BT daemon to crash on startup. This limits the number of config entries for unpaired devices which are initialized, and prevents a large number from being saved to the filesystem. Bug: 26071376 Change-Id: I4a74094f57a82b17f94e99a819974b8bc8082184 (cherry picked from commit d77f1999)
-
- 06 Nov, 2015 1 commit
-
-
Andre Eisenbach authored
This will ensure that devices which do not contain a device name in the advertising record are stored with the correct address type to ensure re-connection to the device succeeds. Bug: 25499163 Change-Id: I85f18ce2de267844c5d5ed49beeb448b9b074d74
-
- 04 Nov, 2015 2 commits
-
-
Andre Eisenbach authored
Bug: 24344122 Change-Id: I7b7ed4459c4f377d97b608bfe2e0c13aac31680e
-
Andre Eisenbach authored
Bug: 25467621 Change-Id: Ifdb52295fa5b8c5a39524a722dc044227c735240
-
- 30 Oct, 2015 1 commit
-
-
Andre Eisenbach authored
Some devices (ex. Nexus Player remote) do not take well to having the remote version queried while a remote feature request is also sent and subsequently fail encryption. This patch serializes the query of the remote version and requires both remote features and the remote version to be read before calling a connection established. Bug: 25357767 Change-Id: Ie70eea241b47b81778d8e0df47f3a8f376316932
-
- 27 Oct, 2015 2 commits
-
-
Andre Eisenbach authored
Request remote version information for LE links when connecting and ensure LMP version is >= 8 (Bluetooth 4.2) before setting the LinkKey bits in the pairing request. This is to ensure older remote devices do not get confused by the additional bit(s) in the pairing request. Bug: 25277879 Change-Id: I25424e541fa5244d8f522dffc62cdedc24f4f35b
-
Ajay Panicker authored
Bug: 17901099 Change-Id: Ib61113b19c9c9798b9ea992fad0ce997dcc2e2f8
-
- 23 Oct, 2015 3 commits
-
-
Andre Eisenbach authored
-
Mattias Agren authored
Whenever a device has more than 1 ACL link active and transferring data on one of its links via PAN, HH or JV (RFCOMM) the sys busy/idle state toggles frequently. To avoid triggering role switches for each of these events we filter this out and let the other SYS events handle it in combination with other role policy management code. Ideally we should revert the toggling to properly reflect the busy/idle state of each profile but to limit risk of side effects at this stage we will make this intermittent change. This also affects audio streaming in certain cases. Bug: 24570959, 25129209 Change-Id: I141e17ee069c82624e153fd8de5db90ae93724b9
-
Andre Eisenbach authored
Since alarms [/callbacks] are used in the critical audio path, raising the thread priority is required to ensure timely encoding/transmission of audio packets and avoiding thread pre-emption. This patch indiscriminatly raises the (single) callback thread priority, affecting all alarm callbacks. In the future, thread priotiry should be adjusted based on the alarms pending in the queue. Bug: 24570959 Change-Id: I64928fd7325f1d6f76815a185dbccf1e01ae30d2
-
- 21 Oct, 2015 3 commits
-
-
Andre Eisenbach authored
128-bit UUIDs for GATT services discovered using SDP are byte-ordered incorrectly. This patch fixes both the SDP discovery as well as the SDP record creation code. Bug: 24344122 Change-Id: Iee4bf33dcbbc5ee0f2380b48330107232bd0401b
-
Andre Eisenbach authored
-
Andre Eisenbach authored
Sometimes, during result-heavy LE scans, the UART byte stream can become corrupted, leading to assertions caused by mis-interpreting the bytes following the corruption. This workaround looks for tell-tale signs of a BLE event and attempts to skip the correct amount of bytes in the stream to re-synchronize onto a packet boundary. Bug: 23934838 Change-Id: Ifadaecf8077cb1defc7134c59c97302fca660f81
-
- 19 Oct, 2015 1 commit
-
-
Andre Eisenbach authored
Remove the absolute volume control whitelist to enable absolute volume control for all compatible devices. Bug: 25081918 Change-Id: Iab0e4b4c4fd3dac0fefdf62ec80419dd64b56c0c
-
- 11 Oct, 2015 1 commit
-
-
Andre Eisenbach authored
Bug: 24737963 Change-Id: If3b59437439305b490c5fc260a7080cee04f09c5
-
- 07 Oct, 2015 1 commit
-
-
Andre Eisenbach authored
The audio sub-system and audio related tasks run at elevated thread priorities in order to ensure timely handling of audio packets. This patch raises the thread priority of lower layer Bluetooth tasks involved in delivering audio packets to avoid thread pre-emption and subsequent audio skipping. Bug: 24570959 Change-Id: I5e19ee4590207df753f7b8bfc22174959722ec2d
-
- 25 Sep, 2015 2 commits
-
-
Pavlin Radoslavov authored
* commit '74dad515': Disable opening network debug ports for security reasons
-
Pavlin Radoslavov authored
By default, we open up to three TCP ports that are used for debugging purpose: * TCP port 8872 - used for forwarding btsnoop logs at real time Note: the port is open only if "Bluetooth HCI snoop log" is enabled in the Developer options * TCP port 8873 - used for HCI debugging * TCP port 8879 - used for debugging the Bluetooth counters Those ports are disabled by default. To enable, the following #define should be added at the top of the corresponding file(s): btcore/src/counter.c hci/src/btsnoop_net.c hci/src/hci_inject.c #define BT_NET_DEBUG TRUE Bug: 24371736 Change-Id: I5cb43af1a5d29c331eb5ef61a24dccbe95df6f40
-
- 24 Sep, 2015 2 commits
-
-
Pavlin Radoslavov authored
By default, we open up to three TCP ports that are used for debugging purpose: * TCP port 8872 - used for forwarding btsnoop logs at real time Note: the port is open only if "Bluetooth HCI snoop log" is enabled in the Developer options * TCP port 8873 - used for HCI debugging * TCP port 8879 - used for debugging the Bluetooth counters Those ports are disabled by default. To enable, the following #define should be added at the top of the corresponding file(s): btcore/src/counter.c hci/src/btsnoop_net.c hci/src/hci_inject.c #define BT_NET_DEBUG TRUE Bug: 24371736 Change-Id: I5cb43af1a5d29c331eb5ef61a24dccbe95df6f40
-
Nitin Shivpure authored
A case, where tap read thread is always exist, Sometimes data packets get recieved on older fd, which is not available. which is causing assert due to fd mismatch in race condition. when next pan connection is immediately available. If last pan connection gets disconnected, then tap_read_thread should be destroyed in btif context to fix this issue. Bug: 24093456 Change-Id: Ic1053200a7be4c2091d6c394634831ca3fbd61df
-
- 22 Sep, 2015 2 commits
-
-
Andy Hung authored
-
Pankaj Kanwar authored
-
- 21 Sep, 2015 1 commit
-
-
tturney authored
Bug: 23740164 Change-Id: Ib26a64b624c711443201adc4fde6b041ecb0dde1
-
- 19 Sep, 2015 1 commit
-
-
Andre Eisenbach authored
Bug: 23978964 Change-Id: I36b6d05bb82eb0283eed3b465038d65890c4c245
-
- 17 Sep, 2015 2 commits
-
-
Andre Eisenbach authored
On some platforms, the logs indicate that the BTU task is stalled by UHID driver when writing the HID descriptor to the kernel. This patch converts the UHID socket to non-blocking to avoid stalling the main BTU task. Bug: 23978964 Change-Id: I5a7a3e106fb2c967d68f077faedcd4fe62bbd912
-
Nitin Shivpure authored
A case where DUT is acting as PANU device on BR/EDR link & also acting as central on LE link. As LE link & PANU link need not to be master & it's not a scatter-net scenario, because there is only a BR link. So checking for BR device count before initiating role switch to avoid continuous loop of role switches. Cherry-picked from: https://partner-android-review.googlesource.com/#/c/376058/ Change-Id: I70e4041a71ba965f1f9e25729c3cfd20ae03d6b4 Bug: 23290136
-
- 15 Sep, 2015 1 commit
-
-
Eric Laurent authored
And complete implementation of out_get_render_position() Bug: 21199150 Bug: 24042067 Change-Id: I95038ad68433e401b096a0159282a2ae372570e1
-
- 09 Sep, 2015 2 commits
-
-
Andre Eisenbach authored
-
Andre Eisenbach authored
-
- 08 Sep, 2015 2 commits
-
-
tturney authored
BT Inquiry is disallowed when service discovery is in progress. Innitially when GATT discovery is in progress (crosskey pairing), it resulted in inquiry requests being rejected. During an insecure connection like OPP, bonding link key is not stored. In an earlier patch (b820aec7), BR/EDR discovery was bypassed if the bonding was temporary. However, this was not done for LE. Applying the same logic to LE, resolved the inquiry issue reported in this bug. Bug: 23468169 Change-Id: I6111c80a420aeb0bc36a0393eb215c112512d251
-
Pavlin Radoslavov authored
If there are errors when processing GATT related events (e.g., configuring the MTU), don't use recursive calls into bta_gattc_sm_execute(), because it breaks the free-ing of some of the memory. Bug: 23756301 Change-Id: I3c685170e868ffbf4e488d2bb5a31904e3f7b39d
-