• R/O
  • HTTP
  • SSH
  • HTTPS

Liste der Commits

Tags
Keine Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

system/bt


RSS
Rev. Zeit Autor
f64007d 2017-05-17 16:32:28 CNSS_WLAN Service

Merge "Fix time consuming doing Bluetooth OFF/ON while a2dp steaming." into bt.lnx.2.1.c1-dev

6ef4b5d 2017-05-17 16:15:27 android-build-team Robot

release-request-6c498b17-9310-412b-ad36-3dcf25ffef73-for-git_oc-release-4017086 snap-temp-L16500000064871237

Change-Id: I9a581abbabf24394d404187573c650535b8b35aa

4c30db6 2017-05-17 08:38:00 Pavlin Radoslavov

Disable MONO channel mode for LDAC

Bug: 38351937
Test: A2DP streaming to LDAC headset and switching MONO/STEREO in Settings
Change-Id: I20c5069fd5d104b9ebe767ae2728af7d7b2ae1d9
(cherry picked from commit f7e48dff99ffbce639c37379976b8cd9519e1d06)

0de6324 2017-05-17 05:53:33 Jakub Pawlowski

Discover primary service by UUID for PTS tests (1/4)

Bug: 38123054
Test: manual
Change-Id: Ic97a964ca2a25a84c6abcf41acb0f3fb583488a2
(cherry picked from commit 45aebe75f75c1f93c396118bc39748fc0f4054c7)

462f165 2017-05-16 16:31:30 android-build-team Robot

release-request-ad2b7abc-f489-4c21-891e-cb2cf48c6370-for-git_oc-release-4012004 snap-temp-L44000000064332402

Change-Id: Ib4113235066b04b3becf6ba1ad931a4b11868143

1f02134 2017-05-16 06:12:04 Jakub Pawlowski

Fix crash on GATT service unregistration

When SDP_MAX_RECORDS were reached in SDP db, which usually happen by
registering big number of GATT services, unregistration of a service was
causing a crash. This was because we moved from memory after the array
into last element.

Bug: 38265174
Test: manual
Change-Id: I7b0235213fb07c85dcc1245f1c840b41267521d5
(cherry picked from commit 0d892120359af4cd1af7f9c13897c1002eac59f3)

8f046cc 2017-05-14 16:16:44 android-build-team Robot

release-request-951b3a8b-6c0c-4d2e-8af4-1c3f7e209f66-for-git_oc-release-4006899 snap-temp-L39600000063784275

Change-Id: I8868cff2e4becb8d437e213c00c4842078745892

436fcd7 2017-05-14 11:42:42 Pavlin Radoslavov

Don't ignore the A2DP Sink preferred SBC codec config

If the A2DP Sink device sends "Set Configuration" with its preferred
SBC configuration, try using that configuration when selecting
the codec parameters instead of the A2DP Sink SBC capability.

Test: A2DP streaming, PTS AVDTP Tests: TC_ACP_SRC_SIG_SMG_BV_18_C,
TC_ACP_SRC_SIG_SMG_BV_20_C, TC_ACP_SRC_SIG_SMG_BV_22_C
PTS A2DP Tests: A2DP/SRC/SET/BV-04-I, A2DP/SRC/SET/BV-06-I
Bug: 37723311
Bug: 35664023
Change-Id: I48e2aa664b899c1cda5df4d1f86f9cfa3a9a67f6
(cherry picked from commit d62e522131e8646830f846fdcb292870d7fb9d7b)

b549bd7 2017-05-14 11:38:10 Pavlin Radoslavov

Set the RTP Header Marker bit selectively per A2DP codec

Add a mechanism to set the RTP Header Marker bit per codec.
Currently, the Marker bit is set only for AAC.

Test: A2DP streaming, PTS AVDTP tests: TC_ACP_SRC_TRA_BTR_BV_01_C,
TC_INT_SRC_SIG_SMG_BV_17_C, TC_INT_SRC_TRA_BTR_BV_01_C
Bug: 37723283
Change-Id: I9b8e77d44c750746c169df9628d5539ad2406b92
(cherry picked from commit 3b8391cd47dd0ea3e399f99a888f029de8c7d8c8)

e464503 2017-05-13 20:39:27 Linux Build Service Account

Merge "resolve merge conflicts of a3ee2e35 to nyc-dev"

f342819 2017-05-13 05:03:14 TreeHugger Robot

Merge changes I1620be68,Ide2c2110 into oc-dev

* changes:
Improve GATT Server database handling.
GATT Server: check UUID

5b60886 2017-05-13 03:50:35 TreeHugger Robot

Merge "Disable output_sample.pcm" into oc-dev

ad3ab46 2017-05-13 02:56:49 Jakub Pawlowski

Improve GATT Server database handling.

- use references instead of pointers where possible. Thanks to it we can
remove some reduntant null checks and simplify the code.
- use directly allocated memory instead of own buffers. Thanks to it the
stack uses around 12kb less of memory after startup.
- use list and vector from std library, instead of some hand-written
implementations.

This patch is a prerequisite for further server refactoring, that will
further reduce the space used, make unit-testing possible, and enable
proper handling of PTS GATT tests.

Test: sl4a GattReadTest
Bug: 38225928
Change-Id: I1620be682259ccb8f0c02754806e355e3f1ad0c1
(cherry picked from commit 6395f1547ed6179dcdeed392bd9909d18772fb25)

5c1fe35 2017-05-13 02:56:28 Jakub Pawlowski

GATT Server: check UUID

Characteristic and descriptor can't use UUID equal to GATT Attribute
Types. Using such UUID would result in invalid GATT database, and
crashes during service discovery.

Test: manual
Bug: 38134693
Change-Id: Ide2c21109f885cbc79287452b1dabd3f532de385
(cherry picked from commit 671ad6679ce4b8edcdb7eaaee96bc5c66b557441)

254bc17 2017-05-13 01:13:45 Joseph Pirozzo

Disable output_sample.pcm

Update include files to include bt_target.h as it has the necessary
defines to correctly allow bdroid_buildcfg.h to enable and disable
dumping to output_sample.pcm.

Bug: 38180732
Test: Stream Bluetooth audio to device and observe that
output_sample.pcm does not get written or appended to.

Change-Id: Ia7926f93a47489686d315e3c9abd1618cb8adda3

b73ce56 2017-05-12 19:33:34 Linux Build Service Account

Promotion of bt.lnx.2.1.c1-00052.

CRs Change ID Subject
--------------------------------------------------------------------------------------------------------------
2038030 I7fdb0433353ba5793470313d205a68e8eb3fb5ac SDP: Add logic to downgrade PBAP version for blacklisted
2031104 Ic7f0bb53dce9fe1b72bf34c61c0b6ea3daf1e025 Configure correct remote MTU
1095999 I7bcff61d36249fd1a2d2101ec4745b7f7426fe0f Fix timestamp error in btsnoop log

Change-Id: I753581064525c4773fa11f12ed9fc0787412eb6a
CRs-Fixed: 1095999, 2031104, 2038030

635aef1 2017-05-12 08:24:02 Jacky Cheung

DO NOT MERGE ANYWHERE Check ACL link on non-opportunistic connection creation am: 0ce25115e9 -s ours
am: 6ba79a8618 -s ours

Change-Id: Ibc77d01e1b480d60b04da5355242ba4071a9b064

6ba79a8 2017-05-12 08:19:01 Jacky Cheung

DO NOT MERGE ANYWHERE Check ACL link on non-opportunistic connection creation
am: 0ce25115e9 -s ours

Change-Id: I105198593ba9994002205567038778162dc9e6d0

0ce2511 2017-05-12 05:08:51 Jacky Cheung

DO NOT MERGE ANYWHERE Check ACL link on non-opportunistic connection creation

At the time of connection, the idle timeout could have been set to a fixed
value, which is likely to be related to the completion of service discovery
after bonding. A check on ACL link allows the idle timeout to be reset to no
timeout, which would eliminate local host disconnections observed due to
idle timeouts.

Bug: 37352720
Test: manual
Change-Id: Ie0b24b83020d502cf7c55421a27659215253b4d2

c469be1 2017-05-11 16:10:26 gitbuildkicker

merge in oc-release history after reset to oc-dev

1f7d8e2 2017-05-11 10:03:31 TreeHugger Robot

Merge "btif: GetItemAttributes can return no attributes" into oc-dev

bf4e56b 2017-05-11 06:52:10 Jaganath Kanakkassery

Reject LE COC if cid is duplicated

This is for PTS test TP/LE/CFC/BV-20-C.

The scenario is there is already one COC between DUT and PTS.
Then PTS tries to establish one more COC with same cid which
should be rejected.

Test: PTS test TP/LE/CFC/BV-20-C done by Intel (originator
of this change).

Change-Id: I094a4058ac0e7bb9d7344e66d9feafee17bc3d53
Signed-off-by: Jaganath Kanakkassery <jaganathx.kanakkassery@intel.com>
(cherry picked from commit a252e78152f27ed07285ecf187ace83a12bca06b)

3f12278 2017-05-11 06:36:05 Jack He

Fix broken linux build

* Generic linux does not have property_get_int32. Instead,
osi_property_get_int32() is created to handle OS_GENERIC cases
* Some linux header have sigevent.sigev_notify_attributes typed as
(pthread_attr_t *) whereas others typed it as (void *), as any pointer
can be implicitly casted to (void *), the current casting to (void *)
is unncessary and will break build on systems using (pthread_attr_t *)

Test: make, unit test, no user visible effect
Change-Id: I24b33da453dc9d40656168a3bcd900d9c99219ce
(cherry picked from commit 2b59c4a0843c9f2782cf4163f921eddb31dd6ff9)

b3a848a 2017-05-11 05:02:17 Marie Janssen

btif: GetItemAttributes can return no attributes

If there are no attributes available, it's possible to return zero
attributes from a GetItemAttributes request.

This is triggered by some carkits who are unhappy when they only get
titles back (the only required item) and ask for the rest of the
attributes (which we don't have).

Test: connect to honda carkit and get snoop logs to confirm
Bug: 36055995
Bug: 35956792
Change-Id: I5a31e206565d212e456111d8c6b542c7a1569e5a
(cherry picked from commit 840f4f3de98c7d6c83abae89f0b41990bc56fef4)

8db5514 2017-05-11 04:05:25 Jack He

Remove include for log/log.h in l2c_main.cc

* log/log.h is not supported by linux build and is handled by
osi/include/log.h
* Thus, it shouldn't be included in l2c_main.cc, which breaks the linux
build

Test: make on both linux and Android, no functional effect
Change-Id: I0c974b754b43d7b73adea2a91078b85e22b3b14e

67e76b1 2017-05-10 15:14:36 Pavlin Radoslavov

resolve merge conflicts of a3ee2e35 to nyc-dev

Bug: 34946955
Change-Id: Ieff690edd3aa527a0639483ec8e1e3b661f0ecc4
Merged-In: I0b6f50dee05a58db8c043b4d01fb58c9acbeede9
(cherry picked from commit 1c6662b6263298b97122ab308d8dde1d5ed66ef7)

035f2c9 2017-05-09 16:09:38 gitbuildkicker

merge in oc-release history after reset to oc-dev

cfd6525 2017-05-08 17:39:21 Jakub Pawlowski

LE advertise data parsing refactor

* merge BTM_CheckAdvData and BTM_CheckEirData into GetFieldByType
* check wether AD data is properly formatted when the packet is
received. Some controllers were returning malformed data that
resulted in stack crashes for BT5 packets.
* add tests to verify the helpers work as expected

Test: added net_test_stack_ad_parser
Bug: 37671082
Change-Id: I49e43d7cf7d0a8ace1ee45d9b14b2b8440096b05
(cherry picked from commit 103b2c44d3db6172a2dc9319e215eeece504316e)

d7ed7c0 2017-05-08 17:39:11 Jakub Pawlowski

Check device name length

BT spec limits the length of device name to 248 bytes. With the new
LE advertising packets, that can go up to 1650 bytes long, we must check
the length of device name received.

Bug: 37671082
Test: manual
Change-Id: Iad309d638003c2391014c9764605d84ed5717cb1
(cherry picked from commit 3a4e7622ff07772a512052c23cada59f5830941f)

6b3a12d 2017-05-08 17:36:03 siminy

SDP: Add logic to downgrade PBAP version for blacklisted device

As some remote devices go in bad state on parsing PBAP 1.2 SDP record.
Add them to PBAP version downgrade blacklist.Upgrade PBAP version
downgrade logic from to include name based blacklist and also remove
SDP attributes not suppported in PBAP 1.1 specifications like
GoepL2capPsm, SupportedFeatures.

CRs-Fixed: 2038030
Change-Id: I7fdb0433353ba5793470313d205a68e8eb3fb5ac