• 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
e6620d1 2017-04-12 07:03:05 Jack He

Check LE advertising data length before caching advertising records
am: 1bef3546a6

Change-Id: Ibbf6183833d7f00937742fa337a04569c4ef3c2f

1bef354 2017-04-12 02:36:03 Jack He

Check LE advertising data length before caching advertising records

Bug: 33899337
Test: make, receive LE advertising
Change-Id: I06b249ac5cabdef64528deda07b8bae749e1d2fd
(cherry picked from commit d57adbc350fdee4f27b82c9e39a14bd745d92320)

58931e5 2017-04-12 01:33:09 Jakub Pawlowski

Build fix for BLE_PRIVACY_SPT == FALSE

Bug: 30622771
Test: manual
Change-Id: I9a418b8c0477ac50ec2a81e318895c2788e5ceec
(cherry picked from commit b0aca861fee4f0fbab809b5a1ef75c31d10055bd)

777ccd1 2017-04-12 01:32:57 Jakub Pawlowski

Advertising manager improvements

* Keep track wether advertiser is enabled.
* Make sure that random address for connectable advertisers is updated
when advertising is disabled, as per ESR11-E7716.
* Make sure that the local variable holding the address is properly
updated after the address is pushed to the controller.
* Use "LE Remove Advertising Set" command to free advertiser after use.

Bug: 35935853
Bug: 30622771
Test: manual
Change-Id: I1415f7272dd99e5e81ce1e2b7ef2bf98f7229cf9
(cherry picked from commit 1f62c122e908573497a8c69ccd7bd829ce02a0b9)

7e478a0 2017-04-12 01:32:50 Jakub Pawlowski

Linux build fix

Test: manual
Change-Id: I5c86e96b9bb1cee5b535ea1fa6ba0b6d078a9b09
(cherry picked from commit 17f449dab52a6092422a0405e6fe589488661594)

56aed81 2017-04-12 01:32:43 Jakub Pawlowski

Use device privacy mode as default

This change configures device privacy mode for each
remote device added to the resolving list.
Before exercising the privacy command it confirms
whether the set privacy HCI command is supported.

This patch is based on CAF patch by niarora@codeaurora.org
36fa3c528d2ae58e0b3f969665e3d25986dcdbaa

Test: manual
Bug: 35935853
Change-Id: I839045ccc3ddb73dc9c0cbe05d87c25dae9b9236
(cherry picked from commit f6db7cb9a30b34493df8658d59b2fe2232bc828a)

917db02 2017-04-12 01:32:34 Jakub Pawlowski

ESR11-E7716: Disable scans while setting local RPA

This change is required to disable any ongoing classic
advertisement or any scan before setting the RPA for the
DUT, and reenable them after the Set RPA command.
If a direct connection is ongoing, the RPA is not set.
A background connection is suspended and resumed for
sending the "Set RPA" HCI command.

This patch is based on CAF patch by niarora@codeaurora.org
690c2db21f650f74c202fd380cca4ca74cbdf83c

Test: manual
Bug: 35935853
Change-Id: Ifbc90d0c52c8f1fa627ac80c20a69149e89cb794
(cherry picked from commit 6bd467a004f4416aafc7fbd4da19b1e54578fd18)

c84faa6 2017-04-12 01:32:24 Jakub Pawlowski

Support for H7 function for key derivation

This change sets bit 5 of the auth req to 1 to display
the support for H7 function, for key derivation.
Also, it adds the implementation of the h7 function as
defined in the spec (ERRATA E7301]
H7 is used if both host and remote devices exhibit
their support for H7 function in the auth request,
else the key derivation falls back to the H6
implementation.
The method is similar for derivation from either
transports with the only difference being in the first
byte of the SAL used in h7.

This patch is based on CAF patch by niarora@codeaurora.org
70668ad34ff15d0a53aea612d3c488fa575176ca

Test: manual
Bug: 35935853
Change-Id: I2fa29b2f3d2b3ac007b2f5f024871f81220237d8
(cherry picked from commit e7f14a682d57811d9df0d64372f222bcc143ec86)

1f8f422 2017-04-11 16:09:48 gitbuildkicker

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

67ae84f 2017-04-11 07:05:38 Pavlin Radoslavov

Add A2DP codec-specific information to dumpsys output

Now we print the following information:
* Current codec name
* Info for each supported codec:
- Priority
- Encoder interval (ms)
- Codec Config: Sampling rate, Bits per sample, Channel mode (MONO/STEREO)
- Selectable codec configuration
- Codec's local capability
- Packet counts (expected/dropped)
- PCM read counts (expected/actual)
- PCM read bytes (expected/actual)
* LDAC codec-specific info:
- LDAC quality mode: HIGH/MID/LOW/ABR
- LDAC saved transmit queue length [used in ABR mode]
* SBC codec-specific info:
- Frames counts (expected/dropped)

Sample of the new format is below:

---
A2DP Codecs State:
Current Codec: LDAC

A2DP LDAC State:
Priority: 1000000
Encoder interval (ms): 20
Config: Rate=96000 Bits=32 Mode=STEREO
Selectable: Rate=44100|48000|88200|96000 Bits=16|24|32 Mode=MONO|STEREO
Local capability: Rate=44100|48000|88200|96000 Bits=16|24|32 Mode=MONO|STEREO
Packet counts (expected/dropped) : 596 / 161
PCM read counts (expected/actual) : 2488 / 2488
PCM read bytes (expected/actual) : 2547712 / 2547712
LDAC quality mode : ABR
LDAC saved transmit queue length : 0

A2DP aptX-HD State:
Priority: 4001
Encoder interval (ms): 0
Config: Invalid
Selectable: Invalid
Local capability: Rate=44100|48000 Bits=24 Mode=STEREO
Packet counts (expected/dropped) : 0 / 0
PCM read counts (expected/actual) : 0 / 0
PCM read bytes (expected/actual) : 0 / 0

A2DP aptX State:
Priority: 3001
Encoder interval (ms): 0
Config: Rate=44100 Bits=16 Mode=STEREO
Selectable: Rate=44100|48000 Bits=16 Mode=STEREO
Local capability: Rate=44100|48000 Bits=16 Mode=STEREO
Packet counts (expected/dropped) : 0 / 0
PCM read counts (expected/actual) : 0 / 0
PCM read bytes (expected/actual) : 0 / 0

A2DP AAC State:
Priority: 2001
Encoder interval (ms): 20
Config: Rate=44100 Bits=16 Mode=STEREO
Selectable: Rate=44100|48000 Bits=16 Mode=STEREO
Local capability: Rate=44100|48000|88200|96000 Bits=16 Mode=STEREO
Packet counts (expected/dropped) : 0 / 0
PCM read counts (expected/actual) : 0 / 0
PCM read bytes (expected/actual) : 0 / 0

A2DP SBC State:
Priority: 1001
Encoder interval (ms): 20
Config: Rate=44100 Bits=16 Mode=STEREO
Selectable: Rate=44100 Bits=16 Mode=STEREO
Local capability: Rate=44100 Bits=16 Mode=STEREO
Packet counts (expected/dropped) : 580 / 0
PCM read counts (expected/actual) : 2900 / 2900
PCM read bytes (expected/actual) : 1484800 / 1484800
Frames counts (expected/dropped) : 3724 / 0
---

Bug: 36567128
Test: Stream A2DP and "adb shell dumpsys bluetooth_manager"
Change-Id: Idd86005b842a4e569b7df91b8bbaf0632ed7f7c9

(cherry picked from commit 302113d4e44f06e90f90a5903e33ae830edb58a3)

a95efd5 2017-04-10 19:45:10 Bharat Pawar

N-MR2 N2G47H merge '5a9925784a4a34811ae29608b67dee4a580c226b' - conflicts

Change-Id: Icc1ccd435f30b32723d218078bfedbca647c210d

d06e739 2017-04-10 17:06:58 Linux Build Service Account

Merge 9ca51f4017a0605ee8ed59983fc7dab2d18ca3af on remote branch

Change-Id: Ib4b8ee6cf1526221dee645d6e5373e4f9850187a

374384c 2017-04-09 16:10:54 gitbuildkicker

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

bdd34d2 2017-04-08 09:03:32 Pavlin Radoslavov

Create unit test framework for audio_a2dp_hw

Create unit test framework for audio_a2dp_hw and implement a unit test
for function audio_a2dp_hw_stream_compute_buffer_size()

Also:
* Remove obsolete check for mixer unit size inside out_get_buffer_size()
* Reorganize the file structure inside directory audio_a2dp_hw/ :
- Moved the source code files *.cc to audio_a2dp_hw/src/
- Moved the header file(s) *.h to audio_a2dp_hw/include/
- The unit test file(s) are stored in audio_a2dp_hw/test/

Bug: 35849921
Test: This is the unit test. Code compilation and unit test succeed
Change-Id: I3dcc508cb6799462b7103cb2ee452b4399843899
(cherry picked from commit 304ceeb5202060a9c625a55369cbf28d72f5e2d9)

9f8c8f7 2017-04-08 08:57:19 Jacky Cheung

DO NOT MERGE ANYWHERE Mark AutoConnParamUpdateAddr on first auto connection param update am: dd467f108f -s ours
am: 1386ae5d92 -s ours

Change-Id: Ieea4194c4ea69e72f92a21dbd08eff94d390a02d

1386ae5 2017-04-08 08:53:48 Jacky Cheung

DO NOT MERGE ANYWHERE Mark AutoConnParamUpdateAddr on first auto connection param update
am: dd467f108f -s ours

Change-Id: Iae88352c83d7f3b1430c02e2af3a683bebae3bb2

910f8b6 2017-04-07 14:39:06 Jakub Pawlowski

Fix "LE Read Maximum Advertising Data Length" response parsing

The value is uint16_t, not uint8_t

Bug: 30622771
Test: manual
Change-Id: I93e8687fa74cb0f5877f9921a860b2ba83106691
(cherry picked from commit 16899e9d1ef49aedba8435ff3a5e4476f036427a)

74a7a01 2017-04-07 07:32:38 Pavlin Radoslavov

resolve merge conflicts of a3ee2e35 to nyc-dev

Bug: 34946955
Change-Id: Ieff690edd3aa527a0639483ec8e1e3b661f0ecc4
Merged-In: I0b6f50dee05a58db8c043b4d01fb58c9acbeede9

7e5b537 2017-04-06 16:09:07 gitbuildkicker

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

e311cf9 2017-04-06 02:51:30 Myles Watson

Finish conversion to Android.bp

Bug: 35651902, 35672576, 36810308
Test: build, Android Cloud Bluetooth net_test_bluetooth
Change-Id: Ie99966d610ea35ab8caf8a084d92c43618e90b94

4307daa 2017-04-06 02:51:08 TreeHugger Robot

Merge "test: Add a simulated Bluetooth HAL implementation" into oc-dev

c0e5c0b 2017-04-06 01:13:15 Arne Coucheron

Android 7.1.2 Release 2 (N2G47E)
-----BEGIN PGP SIGNATURE-----

iEYEABECAAYFAljh7rAACgkQ6K0/gZqxDngpmACeMiHc/OUJclYJ2ORQEri4OblM
JRMAoISu63bZ2iQoq+xEHVjLwj6Hkmfp
=hP2S
-----END PGP SIGNATURE-----

Merge tag 'android-7.1.2_r2' into cm-14.1

Change-Id: I6d14049f050ea0b25c74f82af86c23b57910f567

223015e 2017-04-05 19:55:42 Mingbo Zhang

uipc: retry to create srv chan if EADDRINUSE error

In very rare cases, socket cannot be closed in time.
Then we will fail to create the same socket immediately.
So need to retry after EADDRINUSE error happens

Change-Id: I1e54ded102d38cd42b3df40d405205a79b08928b
CRs-Fixed: 2029248

baba860 2017-04-05 12:46:47 Myles Watson

test: Add a simulated Bluetooth HAL implementation

Bug: 35672576
Test: Angler Bluetooth starts/stops with test HAL
Android Cloud net_test_bluetooth tests pass
Change-Id: I104e0dd3946f0efff9709e05c056bee3538394f7

ae9db0f 2017-04-05 12:03:44 Pavlin Radoslavov

Compute the audio data buffer size based on stream characteristics

Use the audio data stream characteristics (sample rate, bits per sample,
channel mode) to compute the audio stream output buffer size from
the Audio A2DP HAL to the Bluetooth stack.

Previously, the buffer size was pre-computed based on the original
(44.1kHz, 16 bits per sample, Stereo) PCM audio stream used by SBC.
NOTE: We cannot change the buffer size on the receiver side (Bluetooth),
because SO_RCVBUF option does not have effect for Domain Sockets.

Also, removed uipc_linux.h header file, because it is not used.

Test: A2DP streaming and switching the codecs, sample rate, bits per sample
Bug: 35849921
Change-Id: Ib6772f7564442ac18a02876a5aa5e3208e5aade1
(cherry picked from commit b32704f424e0ab4cd33ad670173997f8e3a0a31c)

838550c 2017-04-05 08:59:03 Arne Coucheron

Revert "Update Interop datatbase to prevent preferred conn updates"

This reverts commit 6932707ba3df2d3e42e7ecd10ae71086e5b4674f.

Change-Id: I2c636fe05b670aabef51367e36d1c7bfd7c1c26c

9ca51f4 2017-04-04 19:28:32 Linux Build Service Account

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

CRs Change ID Subject
--------------------------------------------------------------------------------------------------------------
2009617 I65a477a2976e863ef38b9ff85ecdc72303a46654 Open acceptor channel for RC on cleanup

Change-Id: Ib8cca801b21da9bcdec5ab31402037ee6c23fd50
CRs-Fixed: 2009617

7269d7b 2017-04-04 16:29:09 Service qcabuildsw

Merge "Open acceptor channel for RC on cleanup" into bt.lnx.2.1.c1-dev

8ffa830 2017-04-04 16:09:41 gitbuildkicker

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

b24adec 2017-04-04 05:29:20 Jorge E. Moreira

test-vendor-lib: Enable building for 64 bits

Removes LOCAL_MODULE_PATH which is not supported for 64 bit builds.
Uses LOCAL_PROPRIETARY_MODULE to let the build system know it should
go in the vendor directory.

Test: builds
Change-Id: Iba55d497d8cbe97911a41a5623248306a8954ec2
(cherry picked from commit 77c6bc5886da34011fc6b6bfcc15cf19dc4b5b68)