OSDN Git Service
Android Build Merger (Role) [Fri, 7 Jul 2017 01:52:36 +0000 (01:52 +0000)]
Merge "Merge "Make RawAddress into a class (1/3)" am:
4a1fc85744 am:
56978c211d -s ours am:
8a5238a97a -s ours am:
306a4f067e -s ours"
Android Build Merger (Role) [Fri, 7 Jul 2017 01:51:23 +0000 (01:51 +0000)]
Merge "Merge "Make RawAddress into a class (1/3)" am:
4a1fc85744 am:
56978c211d -s ours am:
8a5238a97a -s ours am:
306a4f067e -s ours"
Jakub Pawlowski [Fri, 7 Jul 2017 01:51:06 +0000 (01:51 +0000)]
Merge "Make RawAddress into a class (1/3)" am:
4a1fc85744 am:
56978c211d -s ours am:
8a5238a97a -s ours
am:
306a4f067e -s ours
Change-Id: Ifd0fc2caf7b9d97ec1af954429ab823af8330c35
Android Build Merger (Role) [Fri, 7 Jul 2017 01:50:06 +0000 (01:50 +0000)]
Merge "Merge "Make RawAddress into a class (1/3)" am:
4a1fc85744 am:
56978c211d -s ours am:
8a5238a97a -s ours am:
b8bb258c50 -s ours"
Jakub Pawlowski [Fri, 7 Jul 2017 01:49:50 +0000 (01:49 +0000)]
Merge "Make RawAddress into a class (1/3)" am:
4a1fc85744 am:
56978c211d -s ours am:
8a5238a97a -s ours
am:
306a4f067e -s ours
Change-Id: I20329c67c6c8940b327b0e79d1557a01baef1082
Android Build Merger (Role) [Fri, 7 Jul 2017 01:48:37 +0000 (01:48 +0000)]
Merge "Merge "Make RawAddress into a class (1/3)" am:
4a1fc85744 am:
56978c211d -s ours am:
8a5238a97a -s ours am:
b8bb258c50 -s ours"
Jakub Pawlowski [Fri, 7 Jul 2017 01:48:27 +0000 (01:48 +0000)]
Merge "Make RawAddress into a class (1/3)" am:
4a1fc85744 am:
56978c211d -s ours am:
8a5238a97a -s ours
am:
b8bb258c50 -s ours
Change-Id: Id7e9f1e81e0c9bf991696707023d217e0a196907
Android Build Merger (Role) [Fri, 7 Jul 2017 01:47:51 +0000 (01:47 +0000)]
Merge "Merge "Make RawAddress into a class (1/3)" am:
4a1fc85744 am:
6ad7d19e69 am:
96481ffe75 am:
97ff06e212 -s ours"
Jakub Pawlowski [Fri, 7 Jul 2017 01:47:21 +0000 (01:47 +0000)]
Merge "Make RawAddress into a class (1/3)" am:
4a1fc85744 am:
56978c211d -s ours am:
8a5238a97a -s ours
am:
b8bb258c50 -s ours
Change-Id: If9b84c31b19d7ea33acc56250b1f2ed3ad9fa5bf
Jakub Pawlowski [Fri, 7 Jul 2017 01:46:23 +0000 (01:46 +0000)]
Merge "Make RawAddress into a class (1/3)" am:
4a1fc85744 am:
6ad7d19e69 am:
96481ffe75
am:
97ff06e212 -s ours
Change-Id: I4f79fbdcff341010677282c778b30ad71798f24e
Jakub Pawlowski [Fri, 7 Jul 2017 01:44:56 +0000 (01:44 +0000)]
Merge "Make RawAddress into a class (1/3)" am:
4a1fc85744 am:
6ad7d19e69 am:
96481ffe75
am:
97ff06e212 -s ours
Change-Id: I93800860c5ca0035bc3241d93d5d5d09f2f9a204
Jakub Pawlowski [Fri, 7 Jul 2017 01:43:30 +0000 (01:43 +0000)]
Merge "Make RawAddress into a class (1/3)" am:
4a1fc85744 am:
56978c211d -s ours
am:
8a5238a97a -s ours
Change-Id: I91ce9a209d77e13aef59d087a5e4910499f9e45a
Jakub Pawlowski [Fri, 7 Jul 2017 01:43:19 +0000 (01:43 +0000)]
Merge "Make RawAddress into a class (1/3)" am:
4a1fc85744 am:
56978c211d -s ours
am:
8a5238a97a -s ours
Change-Id: Ib448b233562470db184826e5136e4d9dfde367c3
Jakub Pawlowski [Fri, 7 Jul 2017 01:41:18 +0000 (01:41 +0000)]
Merge "Make RawAddress into a class (1/3)" am:
4a1fc85744 am:
6ad7d19e69
am:
96481ffe75
Change-Id: I2d8c1d2040f29c47e144a46d9f3ccc6ceb11edb0
Jakub Pawlowski [Fri, 7 Jul 2017 01:40:14 +0000 (01:40 +0000)]
Merge "Make RawAddress into a class (1/3)" am:
4a1fc85744
am:
56978c211d -s ours
Change-Id: Ib77fc61181d7e8ee035a706e149868699a9decc1
Jakub Pawlowski [Fri, 7 Jul 2017 01:38:05 +0000 (01:38 +0000)]
Merge "Make RawAddress into a class (1/3)" am:
4a1fc85744
am:
6ad7d19e69
Change-Id: I56c4b867de829c86dd4f742ac1fce01ce2951f4b
Jakub Pawlowski [Fri, 7 Jul 2017 01:36:41 +0000 (01:36 +0000)]
Merge "Make RawAddress into a class (1/3)"
am:
4a1fc85744
Change-Id: I61d249aa17044cd55b6834bc9563f648362621b6
Jakub Pawlowski [Fri, 7 Jul 2017 01:35:36 +0000 (01:35 +0000)]
Merge "Make RawAddress into a class (1/3)"
am:
4a1fc85744
Change-Id: I05b23ab3aff4d61dd8b04a3f011e832305203ce5
Treehugger Robot [Fri, 7 Jul 2017 01:29:30 +0000 (01:29 +0000)]
Merge "Make RawAddress into a class (1/3)"
Myles Watson [Fri, 7 Jul 2017 00:03:54 +0000 (00:03 +0000)]
Merge "Remove unused BDADDR definitions am:
525e743277" into stage-aosp-master am:
1b8043bbe0 am:
b88afe75f1
am:
0114df15b7
Change-Id: Idbc6c7b05339ed091baa5526beb128b7fe6f075c
Myles Watson [Fri, 7 Jul 2017 00:03:38 +0000 (00:03 +0000)]
Remove unused BDADDR definitions am:
525e743277 am:
799a72b7c2 am:
bc44e51f23
am:
42123550b3
Change-Id: I47324c4665ccb942fc0532a710164324b962bcf3
Philip Cuadra [Fri, 7 Jul 2017 00:03:22 +0000 (00:03 +0000)]
Bluetooth - Add tracing for TX queue and LDAC ABR am:
08beff46bc
am:
ef11915a58
Change-Id: I4986b7bc4bad1302e136b02387b25b8cbb0f7a3a
Myles Watson [Thu, 6 Jul 2017 23:33:35 +0000 (23:33 +0000)]
Merge "Remove unused BDADDR definitions am:
525e743277" into stage-aosp-master am:
1b8043bbe0
am:
b88afe75f1
Change-Id: I25f7a6e7f29e123cbceb386754c6a65e0b0d525e
Myles Watson [Thu, 6 Jul 2017 23:33:21 +0000 (23:33 +0000)]
Remove unused BDADDR definitions am:
525e743277 am:
799a72b7c2
am:
bc44e51f23
Change-Id: I5b1a055b24964f3da1efd816dbaae438b543b329
Philip Cuadra [Thu, 6 Jul 2017 23:30:45 +0000 (23:30 +0000)]
Bluetooth - Add tracing for TX queue and LDAC ABR
am:
08beff46bc
Change-Id: Icd60fb8123acb30279fc86df19c8dbb21ba7372b
Philip Cuadra [Fri, 9 Jun 2017 21:36:06 +0000 (14:36 -0700)]
Bluetooth - Add tracing for TX queue and LDAC ABR
For debugging, add tracing to show the length of the TX queue and the
LDAC ABR level.
Test: Ran bluetooth, took a systrace
Change-Id: Ia23764d68f27ae8209e37c4a0836852d73cf6cbc
Myles Watson [Thu, 6 Jul 2017 23:09:42 +0000 (23:09 +0000)]
Merge "Remove unused BDADDR definitions am:
525e743277" into stage-aosp-master
am:
1b8043bbe0
Change-Id: I74ab0fb68ea45e31ab517a553d98e612c40b47ff
Myles Watson [Thu, 6 Jul 2017 23:09:26 +0000 (23:09 +0000)]
Remove unused BDADDR definitions am:
525e743277
am:
799a72b7c2
Change-Id: Id08c1c926e2ff224d44a5cdd72f75c1391347e89
Android Build Merger (Role) [Thu, 6 Jul 2017 22:56:40 +0000 (22:56 +0000)]
Merge "Remove unused BDADDR definitions am:
525e743277" into stage-aosp-master
Myles Watson [Thu, 6 Jul 2017 22:56:19 +0000 (22:56 +0000)]
Remove unused BDADDR definitions
am:
525e743277
Change-Id: I211d82d42a53fe9bb2a6b930c7d99d5187b4f850
Myles Watson [Thu, 6 Jul 2017 22:56:14 +0000 (22:56 +0000)]
Remove unused BDADDR definitions
am:
525e743277
Change-Id: I13b1c9dd558bf8662f5f9af0008df0740ec333ae
Jakub Pawlowski [Mon, 3 Jul 2017 22:39:36 +0000 (15:39 -0700)]
Make RawAddress into a class (1/3)
* Add libbluetooth-types - library containing types implementation, that
is common between stystem/bt and packages/apps/Bluetooth. It must be
included in every project using btif interface.
* Put Raw Address implementation into libbluetooth-types
* Unify all "to/from string" helper methods into ToString and FromString
* bd_addr_empty -> RawAddress::kEmpty
* bd_addr_any -> RawAddress::kAny
Also fix leaks in jni str2addr by adding ReleaseStringUTFChars
Test: types_unittest
Change-Id: Ie0694843ad5fbd2a80b310c5f532e5e5a9548043
Merged-In: Ie0694843ad5fbd2a80b310c5f532e5e5a9548043
Jakub Pawlowski [Mon, 3 Jul 2017 22:39:36 +0000 (15:39 -0700)]
Make RawAddress into a class (1/3)
* Add libbluetooth-types - library containing types implementation, that
is common between stystem/bt and packages/apps/Bluetooth. It must be
included in every project using btif interface.
* Put Raw Address implementation into libbluetooth-types
* Unify all "to/from string" helper methods into ToString and FromString
* bd_addr_empty -> RawAddress::kEmpty
* bd_addr_any -> RawAddress::kAny
Also fix leaks in jni str2addr by adding ReleaseStringUTFChars
Test: types_unittest
Change-Id: Ie0694843ad5fbd2a80b310c5f532e5e5a9548043
Srinu Jella [Thu, 6 Jul 2017 20:36:42 +0000 (20:36 +0000)]
Don't initiate role switch for blacklisted devices am:
b47bf4e5ae -s ours
am:
4962a67b2b -s ours
Change-Id: I1fa57a6c87635319cf43c21485766b53260e665e
Srinu Jella [Thu, 6 Jul 2017 19:56:34 +0000 (19:56 +0000)]
Don't initiate role switch for blacklisted devices
am:
b47bf4e5ae -s ours
Change-Id: I4013c5ff70044c26f92582567e5c6ffe397c29fe
Myles Watson [Wed, 28 Jun 2017 17:28:47 +0000 (10:28 -0700)]
Remove unused BDADDR definitions
The code that used these moved to the HAL.
Test: build
Change-Id: I4a25b525ff60c060143ea913c800c4dea8f676e1
Srinu Jella [Wed, 7 Dec 2016 13:46:31 +0000 (19:16 +0530)]
Don't initiate role switch for blacklisted devices
Some devices always reject role switches and role switch
retries from the DUT may lead to A2DP glitches and LMP timeouts.
Test: manual
Bug:
33000157
Change-Id: I535a2c45ced0e14cf5530f78f3367569b306b1f4
Merged-In: I535a2c45ced0e14cf5530f78f3367569b306b1f4
(cherry picked from commit
811200c8d120d987695445c28fda378677ba21c1)
Ajay Panicker [Thu, 6 Jul 2017 17:46:13 +0000 (17:46 +0000)]
Merge "Remove bta_closure in favor of posting messages to a message loop" am:
1c6f5e6a5c am:
5e8da48d76 am:
586600890b
am:
763f87b594
Change-Id: I908a1a90a97ab74f45f250d1eb6405e93e987e4d
Ajay Panicker [Thu, 6 Jul 2017 17:44:24 +0000 (17:44 +0000)]
Merge "Remove bta_closure in favor of posting messages to a message loop" am:
1c6f5e6a5c am:
5e8da48d76
am:
586600890b
Change-Id: I3894f546925d11168eb77c540085473788f93760
Ajay Panicker [Thu, 6 Jul 2017 17:43:14 +0000 (17:43 +0000)]
Merge "Remove bta_closure in favor of posting messages to a message loop" am:
1c6f5e6a5c
am:
5e8da48d76
Change-Id: I4e88bb24985e18e5f29e60cde26c184d85b3fb79
Ajay Panicker [Thu, 6 Jul 2017 17:41:54 +0000 (17:41 +0000)]
Merge "Remove bta_closure in favor of posting messages to a message loop"
am:
1c6f5e6a5c
Change-Id: I8a90de11fea85a01747d35e655e24d9c3f0ad41b
Android Build Merger (Role) [Thu, 6 Jul 2017 17:40:26 +0000 (17:40 +0000)]
Merge "Merge "Add missing lock protection when freeing RFCOMM port queues" am:
ea5319f3e0 am:
75236c40f6 am:
3945c2b913 am:
f746dd8f08"
Pavlin Radoslavov [Thu, 6 Jul 2017 17:40:13 +0000 (17:40 +0000)]
Merge "Add missing lock protection when freeing RFCOMM port queues" am:
ea5319f3e0 am:
75236c40f6 am:
3945c2b913
am:
f746dd8f08
Change-Id: Ied919e321ae186ae2d763193f1a4990061ab1691
Pavlin Radoslavov [Thu, 6 Jul 2017 17:39:59 +0000 (17:39 +0000)]
Merge "Add missing lock protection when freeing RFCOMM port queues" am:
ea5319f3e0 am:
75236c40f6 am:
3945c2b913
am:
f746dd8f08
Change-Id: I3312b42bfb3f39ecb2d06cc9a7133d048b0a4704
Treehugger Robot [Thu, 6 Jul 2017 17:39:05 +0000 (17:39 +0000)]
Merge "Remove bta_closure in favor of posting messages to a message loop"
Pavlin Radoslavov [Thu, 6 Jul 2017 17:36:54 +0000 (17:36 +0000)]
Merge "Add missing lock protection when freeing RFCOMM port queues" am:
ea5319f3e0 am:
75236c40f6
am:
3945c2b913
Change-Id: I5f13619a25d9d8c4e5c1acead64de00465d3a29f
Pavlin Radoslavov [Thu, 6 Jul 2017 17:35:31 +0000 (17:35 +0000)]
Add missing lock protection when freeing RFCOMM port queues am:
15badf7819
am:
89d349fbda
Change-Id: Ib602d4dd86c70cbeae21041decf014113ad81885
koh.changseok [Thu, 6 Jul 2017 17:35:13 +0000 (17:35 +0000)]
Merge "A2DP: Add mandatory elements for SBC SRC capabilities" into oc-dr1-dev am:
6487bb64f5
am:
86eeec1bd4
Change-Id: Iee7fb6101b5d3393d05f43c6d3ad0c207341f724
Pavlin Radoslavov [Thu, 6 Jul 2017 17:34:24 +0000 (17:34 +0000)]
Merge "Add missing lock protection when freeing RFCOMM port queues" am:
ea5319f3e0
am:
75236c40f6
Change-Id: I5fca11ed98a3f7b96228a8a207b989be956962ca
Pavlin Radoslavov [Thu, 6 Jul 2017 17:33:16 +0000 (17:33 +0000)]
Add missing lock protection when freeing RFCOMM port queues
am:
15badf7819
Change-Id: I12677b8a1969c44b70e84912b4a1d890480b9f55
koh.changseok [Thu, 6 Jul 2017 17:33:04 +0000 (17:33 +0000)]
Merge "A2DP: Add mandatory elements for SBC SRC capabilities" into oc-dr1-dev
am:
6487bb64f5
Change-Id: I6d3e9f75c51ff58d85bd5c1fa73e003afa96b327
Pavlin Radoslavov [Thu, 6 Jul 2017 17:32:43 +0000 (17:32 +0000)]
Merge "Add missing lock protection when freeing RFCOMM port queues"
am:
ea5319f3e0
Change-Id: Idee0119a6aae76df40a65d91618fe42130768f65
Pavlin Radoslavov [Sat, 1 Jul 2017 04:25:15 +0000 (21:25 -0700)]
Add missing lock protection when freeing RFCOMM port queues
Bug:
63100223
Test: Code compilation
Change-Id: Ibbafb9586e9807688276c9eb2f6399cb3ee487c9
(cherry picked from commit
16f4cf0bb17cee817da11f2775f4a00d290eaba7)
Treehugger Robot [Thu, 6 Jul 2017 17:19:53 +0000 (17:19 +0000)]
Merge "Add missing lock protection when freeing RFCOMM port queues"
TreeHugger Robot [Thu, 6 Jul 2017 17:19:45 +0000 (17:19 +0000)]
Merge "A2DP: Add mandatory elements for SBC SRC capabilities" into oc-dr1-dev
koh.changseok [Thu, 6 Jul 2017 02:51:53 +0000 (02:51 +0000)]
Merge "Merge "A2DP: Add mandatory elements for SBC SRC capabilities" am:
e0a0913672" into stage-aosp-master am:
64305a2ac5 am:
410b2306a3
am:
47cbf36b81
Change-Id: I8b44af4ddb01e9d9d2be30c67739d5c2dbdf155f
koh.changseok [Thu, 6 Jul 2017 02:51:37 +0000 (02:51 +0000)]
Merge "A2DP: Add mandatory elements for SBC SRC capabilities" am:
e0a0913672 am:
09a943f17f am:
c661b860be
am:
48e4f6050a
Change-Id: I94df416a0e9ec8cb4f53a5da3d2a9c591c77b71f
Srinu Jella [Thu, 6 Jul 2017 02:51:16 +0000 (02:51 +0000)]
Dynamic blacklist device for role switch am:
ab404e6f4a -s ours
am:
c4da8db0cf
Change-Id: I00615d7938503b1531283ff0bc073f618d3fbae1
koh.changseok [Thu, 6 Jul 2017 02:32:42 +0000 (02:32 +0000)]
Merge "Merge "A2DP: Add mandatory elements for SBC SRC capabilities" am:
e0a0913672" into stage-aosp-master am:
64305a2ac5
am:
410b2306a3
Change-Id: I9622dafd3023fc7317679bf06f7e53a4e1fc9541
koh.changseok [Thu, 6 Jul 2017 02:32:29 +0000 (02:32 +0000)]
Merge "A2DP: Add mandatory elements for SBC SRC capabilities" am:
e0a0913672 am:
09a943f17f
am:
c661b860be
Change-Id: I52b019ef904c83c711b63ad61184292fb796dddb
koh.changseok [Thu, 6 Jul 2017 02:21:06 +0000 (02:21 +0000)]
Merge "Merge "A2DP: Add mandatory elements for SBC SRC capabilities" am:
e0a0913672" into stage-aosp-master
am:
64305a2ac5
Change-Id: I0233ab022b485651821d16e1cf2f46d69b1d0a2c
koh.changseok [Thu, 6 Jul 2017 02:20:53 +0000 (02:20 +0000)]
Merge "A2DP: Add mandatory elements for SBC SRC capabilities" am:
e0a0913672
am:
09a943f17f
Change-Id: I49aeef656e17909b133123f89efcc5fbcb1c4346
Srinu Jella [Thu, 6 Jul 2017 02:18:27 +0000 (02:18 +0000)]
Dynamic blacklist device for role switch
am:
ab404e6f4a -s ours
Change-Id: I350f57169424ef6efed16b38a79bae9dee2fb624
Android Build Merger (Role) [Thu, 6 Jul 2017 02:10:53 +0000 (02:10 +0000)]
Merge "Merge "A2DP: Add mandatory elements for SBC SRC capabilities" am:
e0a0913672" into stage-aosp-master
koh.changseok [Thu, 6 Jul 2017 02:10:46 +0000 (02:10 +0000)]
Merge "A2DP: Add mandatory elements for SBC SRC capabilities"
am:
e0a0913672
Change-Id: I28432a70beeb57771174a32edeb0629d97200bfc
koh.changseok [Thu, 6 Jul 2017 02:10:36 +0000 (02:10 +0000)]
Merge "A2DP: Add mandatory elements for SBC SRC capabilities"
am:
e0a0913672
Change-Id: I018b14e6c7a1849da743ce19db053265e19af890
Treehugger Robot [Thu, 6 Jul 2017 01:47:24 +0000 (01:47 +0000)]
Merge "A2DP: Add mandatory elements for SBC SRC capabilities"
Srinu Jella [Thu, 6 Jul 2017 00:29:22 +0000 (00:29 +0000)]
Merge "Don't initiate role switch for blacklisted devices" am:
14eac9efa0 am:
026e94bba3 am:
42b8dd6bed
am:
8839fa1f9e
Change-Id: I1b25f3e402fdd62271d0dfde0eeff47d7e601645
Srinu Jella [Thu, 6 Jul 2017 00:26:39 +0000 (00:26 +0000)]
Merge "Don't initiate role switch for blacklisted devices" am:
14eac9efa0 am:
026e94bba3
am:
42b8dd6bed
Change-Id: I91dd1ca0e433d7cc805176b598403b1bf0717faa
Srinu Jella [Thu, 6 Jul 2017 00:25:51 +0000 (00:25 +0000)]
Merge "Don't initiate role switch for blacklisted devices" am:
14eac9efa0
am:
026e94bba3
Change-Id: Iffe7268e4e5c401888780bc5481afd916437dea0
Srinu Jella [Thu, 6 Jul 2017 00:23:52 +0000 (00:23 +0000)]
Merge "Don't initiate role switch for blacklisted devices"
am:
14eac9efa0
Change-Id: I87ffd1fcd4ff76c702eb895a528598c585aeaebb
Satish Patel [Thu, 6 Jul 2017 00:19:45 +0000 (00:19 +0000)]
Merge "Generic Bluetooth HAL for standard Linux hci interface" am:
6c34c8adc1 am:
21338c7656 am:
5c3131c72c
am:
d97336cd2a
Change-Id: Iefd410a569deec51ace1da175acd7d7522674a87
Treehugger Robot [Thu, 6 Jul 2017 00:19:02 +0000 (00:19 +0000)]
Merge "Don't initiate role switch for blacklisted devices"
Pavlin Radoslavov [Sat, 1 Jul 2017 04:25:15 +0000 (21:25 -0700)]
Add missing lock protection when freeing RFCOMM port queues
Bug:
63100223
Test: Code compilation
Change-Id: Ibbafb9586e9807688276c9eb2f6399cb3ee487c9
koh.changseok [Mon, 3 Jul 2017 17:37:42 +0000 (02:37 +0900)]
A2DP: Add mandatory elements for SBC SRC capabilities
* The SBC items below are mandatory for SBC SRC capabilities
(see A2DP_SPEC_V13.pdf, Section 4.3.2):
- Channel Mode - mono
- Block Length - 4, 8, 12, 16
* Updated/fixed the corresponding unit tests
Bug:
63260735
Test: Manual - A2DP SBC streaming
Change-Id: I04c4f0b830411bc736d7c402b86006c182af02e7
(cherry picked from commit
444ea2c15a24cabaae87c8806b5d50e6ecb9a24d)
Srinu Jella [Thu, 8 Dec 2016 13:33:20 +0000 (19:03 +0530)]
Dynamic blacklist device for role switch
- Blacklist the device if it's rejected the role switch for
max number of times. Same is added to the interop_database.
- Maximum number of failed (BTM_MAX_SW_ROLE_FAILED_ATTEMPTS)
attempts set to 3 and it is configurable.
- Same blacklisted device is referred by the BTM module when
any other module like profile is requesting for role switch
and BTM module returns BTM_REPEATED_ATTEMPTS as the switch
role status.
Test: Code compilation
Bug:
32999957
Change-Id: Ie999104a2c8ca507605ef3e1d454865cee98dcd2
(cherry picked from commit
942648ef5a4b25508cc9ffe7073ddab5e04a9ab4)
Satish Patel [Wed, 5 Jul 2017 23:40:53 +0000 (23:40 +0000)]
Merge "Generic Bluetooth HAL for standard Linux hci interface" am:
6c34c8adc1 am:
21338c7656
am:
5c3131c72c
Change-Id: I57a76a52ca9096c5d57f5ae75b393918bf3684dc
Satish Patel [Wed, 5 Jul 2017 23:35:07 +0000 (23:35 +0000)]
Merge "Generic Bluetooth HAL for standard Linux hci interface" am:
6c34c8adc1
am:
21338c7656
Change-Id: Ibb456aeceeca74de718bf15f431568de6d0817d7
Satish Patel [Wed, 5 Jul 2017 23:33:23 +0000 (23:33 +0000)]
Merge "Generic Bluetooth HAL for standard Linux hci interface"
am:
6c34c8adc1
Change-Id: I0b2b523f8467b3f0cebbe96d997416baadf48cc7
Treehugger Robot [Wed, 5 Jul 2017 23:27:33 +0000 (23:27 +0000)]
Merge "Generic Bluetooth HAL for standard Linux hci interface"
koh.changseok [Mon, 3 Jul 2017 17:37:42 +0000 (02:37 +0900)]
A2DP: Add mandatory elements for SBC SRC capabilities
* The SBC items below are mandatory for SBC SRC capabilities
(see A2DP_SPEC_V13.pdf, Section 4.3.2):
- Channel Mode - mono
- Block Length - 4, 8, 12, 16
* Updated/fixed the corresponding unit tests
Bug:
63260735
Test: Manual - A2DP SBC streaming
Change-Id: I04c4f0b830411bc736d7c402b86006c182af02e7
Ajay Panicker [Wed, 5 Jul 2017 20:20:53 +0000 (13:20 -0700)]
Remove bta_closure in favor of posting messages to a message loop
Test: Sanity test with Bluetooth
Change-Id: Ifda27a3bd88d82f884c4d8af6383f1c692b69e85
Srinu Jella [Wed, 5 Jul 2017 21:47:34 +0000 (21:47 +0000)]
Dynamic blacklist device for role switch am:
942648ef5a am:
6ea73c7525 am:
4c193ebdd0
am:
8ea537fa57
Change-Id: Iae957f3123b241cd3d40384d4b6ff64e69d108b4
Srinu Jella [Wed, 5 Jul 2017 21:43:33 +0000 (21:43 +0000)]
Dynamic blacklist device for role switch am:
942648ef5a am:
6ea73c7525
am:
4c193ebdd0
Change-Id: Id0b21f75c5bac17537bf25788a5406e279d3cc3c
Srinu Jella [Wed, 5 Jul 2017 21:41:39 +0000 (21:41 +0000)]
Dynamic blacklist device for role switch am:
942648ef5a
am:
6ea73c7525
Change-Id: I01fe791e8d95db892d890fe7e322deefb50ee266
Srinu Jella [Wed, 5 Jul 2017 21:40:42 +0000 (21:40 +0000)]
Dynamic blacklist device for role switch
am:
942648ef5a
Change-Id: I95da63d1e6cc3952e53fcdb78760b86b27e6f4a9
Satish Patel [Wed, 28 Jun 2017 01:35:19 +0000 (18:35 -0700)]
Generic Bluetooth HAL for standard Linux hci interface
This acts as common interface for bluetooth devices (including
USB ones) using the standard Linux bluetooth hci interface.
Much of this code is pulled from hardware/interface/bluetooth
and system/bt/vendor_libs/linux.
Original code used from "system/bt/vendor_libs/linux" was from:
Samuel Ortiz <sameo@linux.intel.com>
Cristian Iorga <cristian.iorga@intel.com>
Pavlin Radoslavov <pavlin@google.com>
Jakub Pawlowski <jpawlowski@google.com>
Myles Watson <mylesgw@google.com>
Orginal code taken from hardware/interface/bluetooth was
contributed by:
Myles Watson <mylesgw@google.com>
Zach Johnson <zachoverflow@google.com>
Treehugger Robot <treehugger-gerrit@google.com>
Tested:
Hikey + on board bluetooth and Hikey + USB bluetooth dongle
Change-Id: I03da10cadfae6ffb298cfccc98e3337ab7db1967
Signed-off-by: Satish Patel <satish.patel@linaro.org>
[jstultz: Migrated code back to system/bt/vendor_libs/linux/.
Included required sepolicy changes. Reworded and simplified
commit message. ]
Signed-off-by: John Stultz <john.stultz@linaro.org>
Srinu Jella [Wed, 7 Dec 2016 13:46:31 +0000 (19:16 +0530)]
Don't initiate role switch for blacklisted devices
Some devices always reject role switches and role switch
retries from the DUT may lead to A2DP glitches and LMP timeouts.
Test: manual
Bug:
33000157
Change-Id: I535a2c45ced0e14cf5530f78f3367569b306b1f4
Srinu Jella [Thu, 8 Dec 2016 13:33:20 +0000 (19:03 +0530)]
Dynamic blacklist device for role switch
- Blacklist the device if it's rejected the role switch for
max number of times. Same is added to the interop_database.
- Maximum number of failed (BTM_MAX_SW_ROLE_FAILED_ATTEMPTS)
attempts set to 3 and it is configurable.
- Same blacklisted device is referred by the BTM module when
any other module like profile is requesting for role switch
and BTM module returns BTM_REPEATED_ATTEMPTS as the switch
role status.
Test: Code compilation
Bug:
32999957
Change-Id: Ie999104a2c8ca507605ef3e1d454865cee98dcd2
Jiyong Park [Sun, 2 Jul 2017 03:50:51 +0000 (03:50 +0000)]
Merge "Add stdint.h for uint*_t types" am:
ca6aea976d am:
6f2cf2d5ef am:
bd61770dc3
am:
bb5fdca2ee
Change-Id: Iaf39daef0fe2f55f4ff6662c2864eeda0ffd5ed9
Jiyong Park [Sun, 2 Jul 2017 03:48:20 +0000 (03:48 +0000)]
Merge "Add stdint.h for uint*_t types" am:
ca6aea976d am:
6f2cf2d5ef
am:
bd61770dc3
Change-Id: I7e5e4602e5a735e79b774f3315e9971a43547a41
Jiyong Park [Sun, 2 Jul 2017 03:45:50 +0000 (03:45 +0000)]
Merge "Add stdint.h for uint*_t types" am:
ca6aea976d
am:
6f2cf2d5ef
Change-Id: Iedec66633a6d4faf4c048332fe2b7e650381c59b
Jiyong Park [Sun, 2 Jul 2017 03:43:21 +0000 (03:43 +0000)]
Merge "Add stdint.h for uint*_t types"
am:
ca6aea976d
Change-Id: I6bff96fd99d2091a34ade1101350fc798e2ba574
Treehugger Robot [Sun, 2 Jul 2017 03:38:39 +0000 (03:38 +0000)]
Merge "Add stdint.h for uint*_t types"
Scott Bauer [Sat, 1 Jul 2017 01:49:44 +0000 (01:49 +0000)]
Read the correct amount of attributes am:
972c885cc9 am:
2f041ccb94 am:
a59a3fd5cb
am:
e9da5b7513
Change-Id: Ied02d56a942e7ac56f57a89ce8a4676e924dc0b6
Scott Bauer [Sat, 1 Jul 2017 01:45:43 +0000 (01:45 +0000)]
Read the correct amount of attributes am:
972c885cc9 am:
2f041ccb94
am:
a59a3fd5cb
Change-Id: I587aacad4e34d63060a474ba30524a7539d7f9c6
Scott Bauer [Sat, 1 Jul 2017 01:41:09 +0000 (01:41 +0000)]
Read the correct amount of attributes am:
972c885cc9
am:
2f041ccb94
Change-Id: I84761b2140ea4d00caabd18108938a2901ffe71c
Scott Bauer [Sat, 1 Jul 2017 01:36:40 +0000 (01:36 +0000)]
Read the correct amount of attributes
am:
972c885cc9
Change-Id: I01cb7b412650c7d0e97646539b3b86a5166f4d84
Colin Cross [Fri, 30 Jun 2017 23:08:34 +0000 (23:08 +0000)]
Merge changes from topic 'refactor_register' am:
50e621f219 am:
f993169796 am:
bc889dfa10
am:
8a786c7f29
Change-Id: Id828981d10a27d143826209105a2e2a0ec08ebfe
Colin Cross [Fri, 30 Jun 2017 23:08:24 +0000 (23:08 +0000)]
gofmt -w build/fluoride.go am:
2cf6e71b0a am:
803867011d am:
81eee69251
am:
87fbe7de3c
Change-Id: I3688189aca33c2b686500ef793cac1d1f0b0a460