| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Value is overridable by build time system properties:
bluetooth.l2cap.le.credit_default.value
bluetooth.l2cap.le.credit_threshold.value
Bug: 263323082
Bug: 174290912
Test: Manual test
(cherry picked from commit 5fa1707fd2d7ed5d040ab8aa2c35d07a3ce920fa)
(cherry picked from commit 4f221c977f4c2a4329cd0679e23541c3b672a6f0)
Merged-In: Ic27f572e73527bdf1af47e3781372043f8e310be
Change-Id: Iaced125567764ab5c9d373f10fea6417c589f3e0
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Move sdp test to its own folder and adding them to mts_default for
coverage tracking
Add basic test for service_search_request
Bug: 246022810
Test: atest net_test_stack_sdp
Tag: #refactor
Merged-In: Ic9c80556883e9a84a93bf3757f8b7bb0d8ea0748
Change-Id: Ic9c80556883e9a84a93bf3757f8b7bb0d8ea0748
(cherry picked from commit 261839848de1bb6e818ea5629f8aef6d60fa6c77)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When GATT is asking about channel with a non empty data queue to send,
EATT shall check also if the outstanding command is scheduled to send or
maybe is already waiting for the response.
Otherwise, we might end up with having channel not beeing used.
Bug: 249992170
Test: atest BluetoothInstrumentationTests
Test: atest --host net_test_eatt
Tag: #feature
Merged-In: Idceaf76847851cc8e256da4a3c4069c9e5cc93fd
Change-Id: Idceaf76847851cc8e256da4a3c4069c9e5cc93fd
(cherry picked from commit e84baf9ca92c09f57cd0d643c73b2e4620a7a12c)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch adds upper tester for L2CAP ECOC testing e.g.
- trigger sending data
- trigger reconfiguration
- trigger L2CAP ECOC creation as a peripheral
- initiate ECOC with configurable number of channels
- configure minimum encryption key size
- force all profiles to use EATT
Bug: 242033442
Bug: 242032465
Bug: 237399985
Test: PTS Testing
Test: atest BluetoothInstrumentationTests
Tag: #feature
Merged-In: Iee13f61149381dc1adec485bfc6dd216361ad1b9
Change-Id: Iee13f61149381dc1adec485bfc6dd216361ad1b9
(cherry picked from commit 8512f5bb9fdf285f8c6901f0df33f655a0ce9fd4)
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When there is an operation on the EATT channel and there is gatt
timeout, lets disconnect this channel
Bug: 236083555
Test: atest BluetoothInstrumentationTests
Test: GATT/CL/GAT/BV-03-C
Tag: #stability
Merged-In: I02d5d538af801a4118d293f8244445e8b34a2d7a
Change-Id: I02d5d538af801a4118d293f8244445e8b34a2d7a
(cherry picked from commit 6584fb53bc5b6f0da55ee4ef617d1a996cf58cf0)
|
| |\| |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
As per specification EATT channel shall be encrypted and this patch
makes this happen.
However for some PTS test cases, we still would like to create L2CAP
channels without encryption and this patch also allows to do that with
flag PTS_ConnectEattUnencrypted
Bug: 236944522
Test: PTS L2CAP/ECFC/BV-32-C
Test: atest BluetoothInstrumentationTests
Test: atest net_test_eatt
Tag: #feature
Merged-In: I98d7721f3733756e2c47bc7acd6f36d571b0eac0
Change-Id: I98d7721f3733756e2c47bc7acd6f36d571b0eac0
(cherry picked from commit 1cb0d9172cd16d6f5441ae1383b18f03aa8e4217)
|
| |/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
To avoid AVRCP IOP issues related to AVRCP version mismatch, bt_stack
can report AVRC Target version same as AVRC Controller version of remote
device when connection setup.
- add sysprop persist.bluetooth.dynamic_avrcp.enable
To enable: adb shell setprop persist.bluetooth.dynamic_avrcp.enable
true
- Add unit test "atest net_test_stack_sdp"
Bug: 231289728
Tag: #feature
Test: manual test on IOP carkits and regression test devices
Change-Id: I9842c4cf4023612d59491a831634c53c3e768939
Merged-In: I9842c4cf4023612d59491a831634c53c3e768939
|
| |
|
|
|
|
|
|
|
|
|
| |
The deprecated macros will be removed from base/macros.h from libchrome
r938828. The header file will no longer contains any macros and hence
renamed to base/ignore_result.h in libchrome r941411.
Bug: 211560276
Tag: #floss
Test: FEATURES=test emerge-hatch floss
Change-Id: I83c8c0d0a668df0d62544894884fe30d80f9f821
|
| |
|
|
|
|
|
|
| |
Bug: 197514416
Tag: #refactor
Test: gd/cert/run
Change-Id: If3d9cf5585579c727dd6564fb62423555a8a03a5
|
| |
|
|
|
|
|
|
| |
Bug: 199945370
Tag: #refactor
Test: gd/cert/run
Change-Id: Ifbf9a7aa2ee8e3f18c56cffefab994783a3d3e57
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Bug: 202068782
Tag: #refactor
Test: gd/cert/run
Change-Id: I00564abbb638a45316b53609504bc35abbb63355
|
| |/
|
|
|
|
|
|
| |
Bug: 199945370
Tag: #refactor
Test: gd/cert/run
Change-Id: I33ec0248e0e8baaf79fae32b7a9ee1e6a28ecc7b
|
| |
|
|
|
|
|
|
| |
Bug: 197513926
Tag: #refactor
Test: gd/cert/run
Change-Id: Ie0fc5a7977f1ca9de2756448d9d0f9d4b99fa629
|
| |
|
|
|
|
|
|
| |
Bug: 197478351
Tag: #refactor
Test: gd/cert/run
Change-Id: I6eedcf3455ab278094a2e4e47f8cede84d96fd25
|
| |
|
|
|
|
|
|
| |
Bug: 197478351
Tag: #refactor
Test: gd/cert/run
Change-Id: I028b984fc6262ef8905a84864bfe8cbed159c5f5
|
| |
|
|
|
|
|
| |
Bug: 197478351
Tag: #refactor
Test: gd/cert/run
Change-Id: Ib075e6d524841908e3fb732cc2f3c53b78340c88
|
| |
|
|
|
|
|
|
| |
Bug: 197478351
Tag: #refactor
Test: gd/cert/run
Change-Id: Iea02f349f09d343902a0e9bbe36f835e40519d11
|
| |
|
|
|
|
|
|
| |
Bug: 188077107
Tag: #refactor
Test: gd/cert/run
Change-Id: Ibfaa624da4e04809945b0648d9d432af4f5f1508
|
| |
|
|
|
|
|
|
| |
Bug: 197478351
Tag: #refactor
Test: gd/cert/run
Change-Id: I0d86908c31ff1fc3e3dd8824ccad15d3aee5b6e6
|
| |
|
|
|
|
|
|
| |
Bug: 197150934
Tag: #refactor
Test: gd/cert/run
Change-Id: Ibd2d626d691db99d6b2c6eaab0b9440e81bfa6a0
|
| |
|
|
|
|
|
|
| |
Bug: 187825293
Tag: #refactor
Test: gd/cert/run
Change-Id: I7d48063b8d88e0e4d724d24cb3018a504d649165
|
| |
|
|
|
|
|
| |
Tag: #feature
Bug: 187165224
Test: Manual
Change-Id: I260c967de0f4656ee852a098a98c9ceb0e6dfbde
|
| |
|
|
|
|
|
|
| |
Bug: 188297862
Tag: #refactor
Test: gd/cert/run
Change-Id: I079f97be62228a31cd8df3eef869efe2b6c79ea7
|
| |
|
|
|
|
|
|
|
|
|
| |
This reverts commit 53962abc7698ce92778852ffc71e679f808d0684.
Bug: 191431228
Tag: #refactor
Test: gd/cert/run
Reason for revert: probably works
Change-Id: I57a7b73944ff5f8c4744eb4f761e6955fce09ee5
|
| |
|
|
|
|
|
|
| |
Bug: 188297862
Tag: #refactor
Test: gd/cert/run
Change-Id: I8bce5e9cd9cbb17c39ab482a7ea3cfc3f476d644
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Revert submission 1738738
Bug: 191431228
Tag: #refactor
Test: gd/cert/run
Reason for revert: Test Cop test checking
Reverted Changes:
I97a6d10c9:test: Fix net_test_osi
Ib514252d0:Make stack_smp_test host runnable
I77e9a079c:Update test/mock_stack_acl
Ia8a2896ca:Canonicalize include pathnames
Ibc4d03fc1:Add test/mock_btif_bluetooth
Id4733a3af:Remove unused mocks
Ifebdb31ec:Re-point stack tests to use centralized test/mock
Change-Id: Ia67e02eee172b26214a13d4dbdb665fa5fbaf842
|
| |
|
|
|
|
|
|
|
|
| |
Bug: 187825293
Tag: #refactor
Test: gd/cert/run
Mocks are aggregated at toplevel test/mock dir
Change-Id: Id4733a3afc9c44b43e9d4d80c3fa44d7cb693b67
|
| |
|
|
|
|
|
|
| |
Bug: 188297860
Tag: #refactor
Test: gd/cert/run
Change-Id: Id54d785ce752c905c2920a04806de65724d60a9c
|
| |
|
|
|
|
|
|
| |
Bug: 163134718
Tag: #refactor
Test: gd/cert/run
Change-Id: I81a5f03cf3b4a200076acae0c61025ac2734131c
|
| |
|
|
|
|
|
|
| |
Bug: 183374320
Test: gd/cert/run
Tag: #refactor
Change-Id: I07d787e70e0da353f7b9f200536d6d6ef1ae7452
|
| |
|
|
|
|
|
|
| |
Tag: #feature
Bug: 159786353
Sponsor: jpawlowski@
Test: compile & manual testing
Change-Id: Ic16d962949e3aa51ed1ab5ce06cf9aa1acebc726
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
As accept device, sending delay report after setconfig rsp
is sent. Do it as a second action instead of in the
bta AV subsystem.
As init device, send delay report after setconfig rsp
is received and just before sending open req.
Add UT to test the state machine;
- As accept, it shall send delay report after it sends setconfig rsp
- As init, it shall send delay report after it receives setconfig rsp
and before it sends open req
Also, correct delay report confirm event shall be called back
To run the test, run atest [--host] net_test_stack_avdtp
Bug: 185507179
Bug: 188367563
Tag: #feature
Test: atest --host bluetooth_test_gd
Change-Id: Id0cb5bfc62b3a9296564b0e9651b30027d677f85
|
| |/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* base/bind_helpers.h
All utilities of base/bind_helpers.h will be moved to
base/callback_helpers.h. Add a wrapper header for system/bt.
* using base::MakeUnboundRunType
base::MakeUnboundRunType is now in base::internal namespace. Use
internal namespace as temporary workaround.
This change should be no-op to Android.
Chrome OS Bug: crbug/2742042
Bug: 189293646
Tag: #floss
Test: CrOS zork-floss-cq ci.chromium.org/ui/b/8846190456959373168
Change-Id: Ia37528fcc56300a45b21e74937e6a21eb8026f84
|
| |
|
|
|
|
|
|
| |
Bug: 183374320
Test: gd/cert/run
Tag: #refactor
Change-Id: I40c663f53914e6174ae531648c027b9cd0f7ab56
|
| |
|
|
|
|
|
|
|
|
| |
Tag: #gd-refactor
Bug: 183575877
Bug: 185286437
Test: gd/cert/run
BYPASS_LONG_LINES_REASON: Bluetooth likes 120 lines
Change-Id: I070ccd94d600c6c0da4a996cd2b1fa03820bbf32
|
| |
|
|
|
|
|
|
| |
Bug: 163134718
Test: gd/cert/run
Tag: #refactor
Change-Id: I57eb31e9e39f073380949dc9df4510a8adb81dfb
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Implement generation of LE OOB Data
- Remove GD flag to NOP for OobDataReply.
GD Stack is only up to ACL, so Legacy SM needs to properly function.
Bug: 184377951
Tag: #feature
Test: Manual implementation from p/a/Settings
Change-Id: I6072c70f5e6707eb8f3a6126ffa1edbb5cba5aa4
|
| |
|
|
|
|
|
|
|
|
| |
Toward testable code
Bug: 163134718
Test: gd/cert/run
Tag: #refactor
Change-Id: I6f2d7a4a26858c416750bf35c47f70ec13f2f0f4
|
| |
|
|
|
|
|
|
|
| |
Bug: 182370398
Test: gd/cert/run
Tag: #refactor
BYPASS_LONG_LINES_REASON: Bluetooth likes 120 lines
Change-Id: I968195c790eced00134739cbb9b6c9c060193d97
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Legacy stack always assume the last user of BT_HDR
will free the structure. Make sure we do this in GD
shim as well
Bug: 185083624
Tag: #gd-refactor
Test: gd/cert/run
Send a 31MB video
- before this change, RSS increased by 86 MB when 10% (3MB) was sent
- after this change, RSS increased by 37 MB and stabilized, this
increase is anticipated as the file needs to be cached in RAM
BYPASS_LONG_LINES_REASON: consist with gd format
Change-Id: Ie934e6d4edd7dfc79b4444ce1c13819834f59692
|
| |
|
|
|
|
|
| |
Bug: 183057550
Test: Enable BQR events
Tag: #logging
Change-Id: Ibda9f7041c7f68b0bb9fff203fea556a47c12079
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add plumbing for both p192 and p256 data types.
Ignore-AOSP-First: Conflicts with CL previously merged internal
Bug: 178007935
Test: atest net_test_btif
Tag: #refactor
Change-Id: I6b1424c22495821bfbbf56830f3848e6c03b74d4
Merged-In: I6b1424c22495821bfbbf56830f3848e6c03b74d4
|
| |/
|
|
|
|
|
|
|
| |
Bug: 179120287
Test: gd/cert/run
Tag: #refactor
BYPASS_LONG_LINES_REASON: Bluetooth likes 120 lines
Change-Id: I6fd932fa39b4d7ea8b88db0877806a636a90deed
|
| |
|
|
|
|
|
| |
Bug: 181293964
Test: atest BluetoothInstrumentationTests
Tag: #feature
Change-Id: I89356bb39fa0fe5cc70d8ee17a28699275a32126
|
| |
|
|
|
|
|
|
|
|
| |
Toward readable code
Bug: 163134718
Test: cert
Tag: #refactor
Change-Id: I7727220d4da93279ed215fa366b528cc859b8525
|