OSDN Git Service

android-x86/system-bt.git
7 years agoMerge "Add test config to net_test_osi" am: 4f9e3c6376 am: df9ba4ba20 am: 617932a003
Dan Shi [Sun, 2 Apr 2017 05:58:55 +0000 (05:58 +0000)]
Merge "Add test config to net_test_osi" am: 4f9e3c6376 am: df9ba4ba20 am: 617932a003
am: e1b1439204

Change-Id: Iac8cc81a4f80cb4951aea1e9a9b8842826420f60

7 years agoMerge "Add test config to net_test_osi" am: 4f9e3c6376 am: df9ba4ba20
Dan Shi [Sun, 2 Apr 2017 05:55:55 +0000 (05:55 +0000)]
Merge "Add test config to net_test_osi" am: 4f9e3c6376 am: df9ba4ba20
am: 617932a003

Change-Id: Ic60e534f3c81bdf056e9fa77e34071c986593961

7 years agoMerge "Add test config to net_test_osi" am: 4f9e3c6376
Dan Shi [Sun, 2 Apr 2017 05:52:24 +0000 (05:52 +0000)]
Merge "Add test config to net_test_osi" am: 4f9e3c6376
am: df9ba4ba20

Change-Id: I2dd7109d432ec3af46fccf8c6a1519c1090aee42

7 years agoMerge "Add test config to net_test_osi"
Dan Shi [Sun, 2 Apr 2017 05:49:24 +0000 (05:49 +0000)]
Merge "Add test config to net_test_osi"
am: 4f9e3c6376

Change-Id: Iffa7f3862d25d09735cd69bd891554efc85f5dc4

7 years agoMerge "Add test config to net_test_osi"
Treehugger Robot [Sun, 2 Apr 2017 05:46:57 +0000 (05:46 +0000)]
Merge "Add test config to net_test_osi"

7 years agoBluetooth 5 advertising duration refactoring (1/4) am: a3129f158e
Jakub Pawlowski [Sat, 1 Apr 2017 16:03:27 +0000 (16:03 +0000)]
Bluetooth 5 advertising duration refactoring (1/4) am: a3129f158e
am: 9f2107a217

Change-Id: Ia35938411528aef4789c03851eb24d3634efd466

7 years agoInclude flags in all connectable packets am: c4232a76ac
Jakub Pawlowski [Sat, 1 Apr 2017 16:03:22 +0000 (16:03 +0000)]
Include flags in all connectable packets am: c4232a76ac
am: 44fed6b7e9

Change-Id: I90099b6178fe35b9ac3de664156dc770746a2398

7 years agoBluetooth 5 periodic scan (2/3) am: f786f00560
Jakub Pawlowski [Sat, 1 Apr 2017 16:03:18 +0000 (16:03 +0000)]
Bluetooth 5 periodic scan (2/3) am: f786f00560
am: d856e889bb

Change-Id: If44f307708eeac3d42d444e8d3941d122a3910ab

7 years agoBluetooth 5 advertising duration refactoring (1/4)
Jakub Pawlowski [Sat, 1 Apr 2017 15:58:15 +0000 (15:58 +0000)]
Bluetooth 5 advertising duration refactoring (1/4)
am: a3129f158e

Change-Id: Ib4c2a9cb116d17847c3c2671e5e75b3a21096225

7 years agoInclude flags in all connectable packets
Jakub Pawlowski [Sat, 1 Apr 2017 15:58:10 +0000 (15:58 +0000)]
Include flags in all connectable packets
am: c4232a76ac

Change-Id: I80624abdd48ac6d2b88f4182e333d1a9d67b5b7b

7 years agoBluetooth 5 periodic scan (2/3)
Jakub Pawlowski [Sat, 1 Apr 2017 15:58:04 +0000 (15:58 +0000)]
Bluetooth 5 periodic scan (2/3)
am: f786f00560

Change-Id: I9dd110ba2f8ab344f60e7b8b85b230c6ee67c701

7 years agoBluetooth 5 advertising duration refactoring (1/4)
Jakub Pawlowski [Fri, 31 Mar 2017 03:41:02 +0000 (20:41 -0700)]
Bluetooth 5 advertising duration refactoring (1/4)

Expose both duration and maximum extended advertising events to limit
advertising time.

Test: manual
Bug: 30622771
Change-Id: I4475c322347899946b39e65026d8009e02c93759
(cherry picked from commit 5204c62f137de9b6c2834391fd329457d3fdbc84)

7 years agoInclude flags in all connectable packets
Jakub Pawlowski [Thu, 30 Mar 2017 18:52:53 +0000 (11:52 -0700)]
Include flags in all connectable packets

According to Bluetooth CSSv7, the flags field shall be included in all
connectable packets, not only legacy packets.

Test: manal
Bug: 30622771
Change-Id: I006f9bd6d31ca0673d78405f320b18623e6e5b16
(cherry picked from commit 9389b64629776238e6ee69b1f37bdec97187e75e)

7 years agoBluetooth 5 periodic scan (2/3)
Jakub Pawlowski [Wed, 29 Mar 2017 21:28:43 +0000 (14:28 -0700)]
Bluetooth 5 periodic scan (2/3)

This patch wires calls/callbacks through stack to prepare for actual
implementation.

Test: manual
Bug: 30622771
Change-Id: Iac8c74a228f34f5ea4231a76848e22ea64f11d06
(cherry picked from commit f685bfb7b1f6da17165a33590b18f559476e670f)

7 years agoBluetooth 5 advertising duration refactoring (1/4) am: 5204c62f13 am: 04f1daed8b...
Jakub Pawlowski [Sat, 1 Apr 2017 05:00:06 +0000 (05:00 +0000)]
Bluetooth 5 advertising duration refactoring (1/4) am: 5204c62f13 am: 04f1daed8b am: 68ffda69a7
am: 34d2179738

Change-Id: I76f039ffe5ba4e6451d71958a34ebec7d01e5f73

7 years agoBluetooth 5 advertising duration refactoring (1/4) am: 5204c62f13 am: 04f1daed8b
Jakub Pawlowski [Sat, 1 Apr 2017 04:55:10 +0000 (04:55 +0000)]
Bluetooth 5 advertising duration refactoring (1/4) am: 5204c62f13 am: 04f1daed8b
am: 68ffda69a7

Change-Id: I3674268f6e14e85adb161b49eba2c4585b8cf3e6

7 years agoBluetooth 5 advertising duration refactoring (1/4) am: 5204c62f13
Jakub Pawlowski [Sat, 1 Apr 2017 04:49:40 +0000 (04:49 +0000)]
Bluetooth 5 advertising duration refactoring (1/4) am: 5204c62f13
am: 04f1daed8b

Change-Id: Id5518559e89db5bcbf3129740c3489220ac42067

7 years agoBluetooth 5 advertising duration refactoring (1/4)
Jakub Pawlowski [Sat, 1 Apr 2017 04:42:53 +0000 (04:42 +0000)]
Bluetooth 5 advertising duration refactoring (1/4)
am: 5204c62f13

Change-Id: I5aa32aae1934ef4116f2bcf6160a075252aa335d

7 years agoBluetooth 5 advertising duration refactoring (1/4)
Jakub Pawlowski [Fri, 31 Mar 2017 03:41:02 +0000 (20:41 -0700)]
Bluetooth 5 advertising duration refactoring (1/4)

Expose both duration and maximum extended advertising events to limit
advertising time.

Test: manual
Bug: 30622771
Change-Id: I4475c322347899946b39e65026d8009e02c93759

7 years agoAVRCP CT: Only call handle_rc_features if target registered am: 7745e29576 am: dbb89b...
Bailey Forrest [Sat, 1 Apr 2017 00:42:06 +0000 (00:42 +0000)]
AVRCP CT: Only call handle_rc_features if target registered am: 7745e29576 am: dbb89ba44a am: dc0ad14ec1
am: 65f1f32f5d

Change-Id: I465c669575f724cf7f4fc55fa8a14a04bd533001

7 years agoAVRCP CT: Only call handle_rc_features if target registered am: 7745e29576 am: dbb89ba44a
Bailey Forrest [Sat, 1 Apr 2017 00:37:47 +0000 (00:37 +0000)]
AVRCP CT: Only call handle_rc_features if target registered am: 7745e29576 am: dbb89ba44a
am: dc0ad14ec1

Change-Id: I0a7b426ed5ff23d12e2b61088c4872900faf518b

7 years agoAVRCP CT: Only call handle_rc_features if target registered am: 7745e29576
Bailey Forrest [Sat, 1 Apr 2017 00:35:16 +0000 (00:35 +0000)]
AVRCP CT: Only call handle_rc_features if target registered am: 7745e29576
am: dbb89ba44a

Change-Id: Idb1d5354a3d645d83f0afeefe2007f1e427748ab

7 years agoAVRCP CT: Only call handle_rc_features if target registered
Bailey Forrest [Sat, 1 Apr 2017 00:32:46 +0000 (00:32 +0000)]
AVRCP CT: Only call handle_rc_features if target registered
am: 7745e29576

Change-Id: I68e25e8a3bc03fe3b739e9ca62df82655a2cf1e0

7 years agoAdd test config to net_test_osi
Dan Shi [Sat, 1 Apr 2017 00:12:37 +0000 (17:12 -0700)]
Add test config to net_test_osi

This change allows TradeFederation to run the test directly.
Refer to b/35882476 for design and discussion of this change.

Bug: 35882476
Test: local test
tradefed.sh run template/local --template:map test=net_test_osi

Change-Id: I5e26b7a9047e44aeeed12c4bcfce1f998183b597

7 years agoAVRCP CT: Only call handle_rc_features if target registered
Bailey Forrest [Fri, 31 Mar 2017 04:43:28 +0000 (21:43 -0700)]
AVRCP CT: Only call handle_rc_features if target registered

If target is not registered, handle_rc_features would clear feature
flags before handle_rc_ctrl_features can use them.

Bug: b/35807779
Test: AVRCP controller track info works on iOS.
Change-Id: Iee781f2fc926a053ba9cf30089d3a49e56b94539

7 years agoMerge "Include flags in all connectable packets" am: b4bed63632 am: fec98481af am...
Jakub Pawlowski [Thu, 30 Mar 2017 21:03:52 +0000 (21:03 +0000)]
Merge "Include flags in all connectable packets" am: b4bed63632 am: fec98481af am: 5f98be6d53
am: e6db8cc81a

Change-Id: I8e98fc13623a9ac28eed2d4043dad2dd6143a933

7 years agoMerge "Include flags in all connectable packets" am: b4bed63632 am: fec98481af
Jakub Pawlowski [Thu, 30 Mar 2017 20:59:05 +0000 (20:59 +0000)]
Merge "Include flags in all connectable packets" am: b4bed63632 am: fec98481af
am: 5f98be6d53

Change-Id: Ie041b4dec7c6e0acfa04a633ee4401e1f659020a

7 years agoMerge "Include flags in all connectable packets" am: b4bed63632
Jakub Pawlowski [Thu, 30 Mar 2017 20:56:32 +0000 (20:56 +0000)]
Merge "Include flags in all connectable packets" am: b4bed63632
am: fec98481af

Change-Id: I7dd95fd854fb4a649d717b4456517bab5bb4911b

7 years agoMerge "Include flags in all connectable packets"
Jakub Pawlowski [Thu, 30 Mar 2017 20:55:04 +0000 (20:55 +0000)]
Merge "Include flags in all connectable packets"
am: b4bed63632

Change-Id: Id710017c3e63d45ee1b09c82a7f507ef4b3e189e

7 years agoMerge "Include flags in all connectable packets"
Treehugger Robot [Thu, 30 Mar 2017 20:53:10 +0000 (20:53 +0000)]
Merge "Include flags in all connectable packets"

7 years agoDelete bt_snoop.log when snoop logging is disabled am: f8360e4c14
Ajay Panicker [Thu, 30 Mar 2017 20:26:01 +0000 (20:26 +0000)]
Delete bt_snoop.log when snoop logging is disabled am: f8360e4c14
am: 5082b765b2

Change-Id: Ie01f90e7790f279af4208d2c30aa4c933de7b7d2

7 years agoDelete bt_snoop.log when snoop logging is disabled
Ajay Panicker [Thu, 30 Mar 2017 20:21:01 +0000 (20:21 +0000)]
Delete bt_snoop.log when snoop logging is disabled
am: f8360e4c14

Change-Id: Ib0933bf9444d7d4c23b21ea2e7bc31d1291f4159

7 years agoDelete bt_snoop.log when snoop logging is disabled am: f786aac482 am: 502cf8bd64...
Ajay Panicker [Thu, 30 Mar 2017 19:57:39 +0000 (19:57 +0000)]
Delete bt_snoop.log when snoop logging is disabled am: f786aac482 am: 502cf8bd64 am: 6b463b3e88
am: bce84df931

Change-Id: I3cb461fa84edae1f3bf6640bc8daba19c34e687a

7 years agoDelete bt_snoop.log when snoop logging is disabled am: f786aac482 am: 502cf8bd64
Ajay Panicker [Thu, 30 Mar 2017 19:54:30 +0000 (19:54 +0000)]
Delete bt_snoop.log when snoop logging is disabled am: f786aac482 am: 502cf8bd64
am: 6b463b3e88

Change-Id: I829d55d628614061a97952608aaa87c781239e1b

7 years agoDelete bt_snoop.log when snoop logging is disabled am: f786aac482
Ajay Panicker [Thu, 30 Mar 2017 19:52:30 +0000 (19:52 +0000)]
Delete bt_snoop.log when snoop logging is disabled am: f786aac482
am: 502cf8bd64

Change-Id: If308fd2c4e1d155679370f9fd03959486389223c

7 years agoDelete bt_snoop.log when snoop logging is disabled
Ajay Panicker [Thu, 30 Mar 2017 19:49:58 +0000 (19:49 +0000)]
Delete bt_snoop.log when snoop logging is disabled
am: f786aac482

Change-Id: I3359087dc96042e914ef8bcfcff3a735140c2751

7 years agoInclude flags in all connectable packets
Jakub Pawlowski [Thu, 30 Mar 2017 18:52:53 +0000 (11:52 -0700)]
Include flags in all connectable packets

According to Bluetooth CSSv7, the flags field shall be included in all
connectable packets, not only legacy packets.

Test: manal
Bug: 30622771
Change-Id: I006f9bd6d31ca0673d78405f320b18623e6e5b16

7 years agoDelete bt_snoop.log when snoop logging is disabled
Ajay Panicker [Thu, 30 Mar 2017 17:33:19 +0000 (10:33 -0700)]
Delete bt_snoop.log when snoop logging is disabled

This patch will immediatly delete the snoop log if Bluetooth is on. If Bluetooth
is off it will delete the log as soon as Bluetooth starts again.

Test: Turn off logging while Bluetooth is on and off
Bug: 36718948
Change-Id: Ib660cd442c93f1a34c948d51c5cffc38695558d5

7 years agoDelete bt_snoop.log when snoop logging is disabled
Ajay Panicker [Thu, 30 Mar 2017 17:33:19 +0000 (10:33 -0700)]
Delete bt_snoop.log when snoop logging is disabled

This patch will immediatly delete the snoop log if Bluetooth is on. If Bluetooth
is off it will delete the log as soon as Bluetooth starts again.

Test: Turn off logging while Bluetooth is on and off
Bug: 36718948
Change-Id: Ib660cd442c93f1a34c948d51c5cffc38695558d5

7 years agoBluetooth 5 periodic scan (2/3) am: f685bfb7b1 am: 60c19a4310 am: fde133bbe5
Jakub Pawlowski [Thu, 30 Mar 2017 03:41:29 +0000 (03:41 +0000)]
Bluetooth 5 periodic scan (2/3) am: f685bfb7b1 am: 60c19a4310 am: fde133bbe5
am: e05bd8bec4

Change-Id: I12343792926d7394e6a517e10f382d209188fdf3

7 years agoBluetooth 5 periodic scan (2/3) am: f685bfb7b1 am: 60c19a4310
Jakub Pawlowski [Thu, 30 Mar 2017 03:38:00 +0000 (03:38 +0000)]
Bluetooth 5 periodic scan (2/3) am: f685bfb7b1 am: 60c19a4310
am: fde133bbe5

Change-Id: I467cc25e9f709fc70fb60977a6d79050648dce15

7 years agoBluetooth 5 periodic scan (2/3) am: f685bfb7b1
Jakub Pawlowski [Thu, 30 Mar 2017 03:33:09 +0000 (03:33 +0000)]
Bluetooth 5 periodic scan (2/3) am: f685bfb7b1
am: 60c19a4310

Change-Id: Ia20d4fb380534d7dda4f821c30c5307ef4ef8c3c

7 years agoBluetooth 5 periodic scan (2/3)
Jakub Pawlowski [Thu, 30 Mar 2017 03:30:10 +0000 (03:30 +0000)]
Bluetooth 5 periodic scan (2/3)
am: f685bfb7b1

Change-Id: I36365df844aa015b9481c0f1fbfb6e8b5450e321

7 years agoMerge "l2cap: Use CHECK for memory allocation errors" into oc-dev am: 52e33dfa24
Myles Watson [Thu, 30 Mar 2017 02:51:50 +0000 (02:51 +0000)]
Merge "l2cap: Use CHECK for memory allocation errors" into oc-dev am: 52e33dfa24
am: 0f2d248bc1

Change-Id: I99468383ca5442dab1b769cc3fb7498565cc1b92

7 years agoMerge "l2cap: Use CHECK for memory allocation errors" into oc-dev
Myles Watson [Thu, 30 Mar 2017 02:49:52 +0000 (02:49 +0000)]
Merge "l2cap: Use CHECK for memory allocation errors" into oc-dev
am: 52e33dfa24

Change-Id: Iadf8792d5074b8f7130d2192d3eb16b6f1a5e4e8

7 years agoMerge "l2cap: Use CHECK for memory allocation errors" into oc-dev
TreeHugger Robot [Thu, 30 Mar 2017 02:40:54 +0000 (02:40 +0000)]
Merge "l2cap: Use CHECK for memory allocation errors" into oc-dev

7 years agoMerge "osi: Update error messages" into oc-dev am: a86f559968
Myles Watson [Thu, 30 Mar 2017 02:01:52 +0000 (02:01 +0000)]
Merge "osi: Update error messages" into oc-dev am: a86f559968
am: 3082180cef

Change-Id: I9b0adc959160b342ac79b9f977b415418735e462

7 years agoMerge "hci: Update error messages" into oc-dev am: 9b0dab91b0
Myles Watson [Thu, 30 Mar 2017 02:01:42 +0000 (02:01 +0000)]
Merge "hci: Update error messages" into oc-dev am: 9b0dab91b0
am: 31b1051981

Change-Id: Iab3a69f0b33548764699c5a99e48405b0f34bf8d

7 years agoMerge "osi: Update error messages" into oc-dev
Myles Watson [Thu, 30 Mar 2017 01:53:13 +0000 (01:53 +0000)]
Merge "osi: Update error messages" into oc-dev
am: a86f559968

Change-Id: Ib49745d7050e1cecffa8e510559f39ddacdefc0b

7 years agoMerge "hci: Update error messages" into oc-dev
Myles Watson [Thu, 30 Mar 2017 01:53:02 +0000 (01:53 +0000)]
Merge "hci: Update error messages" into oc-dev
am: 9b0dab91b0

Change-Id: I18ce3541212afe0d9a44b72e8219bd920f1a739c

7 years agoMerge "osi: Update error messages" into oc-dev
TreeHugger Robot [Thu, 30 Mar 2017 01:39:52 +0000 (01:39 +0000)]
Merge "osi: Update error messages" into oc-dev

7 years agoMerge "hci: Update error messages" into oc-dev
TreeHugger Robot [Thu, 30 Mar 2017 01:36:05 +0000 (01:36 +0000)]
Merge "hci: Update error messages" into oc-dev

7 years agoAdd new internal API: enableOptionalCodecs()/disableOptionalCodecs() am: 3e4ecfdc4e
Pavlin Radoslavov [Thu, 30 Mar 2017 01:26:59 +0000 (01:26 +0000)]
Add new internal API: enableOptionalCodecs()/disableOptionalCodecs() am: 3e4ecfdc4e
am: d8b436319f

Change-Id: Iadbd402c01affc9f46ab98e1b6f0d07bdd4479a2

7 years agoAdd new internal API: enableOptionalCodecs()/disableOptionalCodecs()
Pavlin Radoslavov [Thu, 30 Mar 2017 01:22:43 +0000 (01:22 +0000)]
Add new internal API: enableOptionalCodecs()/disableOptionalCodecs()
am: 3e4ecfdc4e

Change-Id: Id58964dc8a2ab67ee7a1f96e8e94692e5c33076b

7 years agoBluetooth 5 periodic scan (2/3)
Jakub Pawlowski [Wed, 29 Mar 2017 21:28:43 +0000 (14:28 -0700)]
Bluetooth 5 periodic scan (2/3)

This patch wires calls/callbacks through stack to prepare for actual
implementation.

Test: manual
Bug: 30622771
Change-Id: Iac8c74a228f34f5ea4231a76848e22ea64f11d06

7 years agoosi: Update error messages
Myles Watson [Tue, 21 Mar 2017 17:28:20 +0000 (10:28 -0700)]
osi: Update error messages

Test: build
Change-Id: I5af34f01c47d8037d56c27e7e3fab3cc2f5fd2bc
(cherry picked from commit 1dc4b361ddc16ec8d917b052c8a3d9bdb28bbd1c)

7 years agol2cap: Use CHECK for memory allocation errors
Myles Watson [Tue, 21 Mar 2017 17:16:44 +0000 (10:16 -0700)]
l2cap: Use CHECK for memory allocation errors

Test: LE connection
Change-Id: I43c170b40b125345b91e1c91a7993f0d138ac1c5
(cherry picked from commit 1d418ba650480d99cdf10ee814b6224de4ee88ce)

7 years agohci: Update error messages
Myles Watson [Tue, 21 Mar 2017 17:21:15 +0000 (10:21 -0700)]
hci: Update error messages

Test: builds
Change-Id: I33544572122a166523a40dde090f276b102df247
(cherry picked from commit ec728d3136aabcd7675aba4a672d932e0709c509)

7 years agoAdd new internal API: enableOptionalCodecs()/disableOptionalCodecs()
Pavlin Radoslavov [Fri, 24 Feb 2017 18:35:30 +0000 (10:35 -0800)]
Add new internal API: enableOptionalCodecs()/disableOptionalCodecs()

This API can be used to enable the optional codecs, or disable them
and use only the mandatory SBC.
Internally, it is implemented by raising the SBC priority to
highest (so SBC will be used/selected), or reducing the SBC priority
to its default value (lowest).

Test: A2DP streaming and enabling/disabling/selecting optional codecs
Bug: 35873828
Change-Id: Ia1311d790441b7b5471c9fda7aeee8aa3306b16e
(cherry picked from commit 2073c3eb61f69864e645c50005f11c4e8b5e2588)

7 years agoMerge "Add new internal API: enableOptionalCodecs()/disableOptionalCodecs()" am:...
Pavlin Radoslavov [Wed, 29 Mar 2017 23:04:17 +0000 (23:04 +0000)]
Merge "Add new internal API: enableOptionalCodecs()/disableOptionalCodecs()" am: 14bf663fb4 am: bdcd10f073 am: c306e8c04e
am: 041aa47cec

Change-Id: I8968821ceffce1c63bbf619ed0160eca78ad661d

7 years agoMerge "Add new internal API: enableOptionalCodecs()/disableOptionalCodecs()" am:...
Pavlin Radoslavov [Wed, 29 Mar 2017 22:57:46 +0000 (22:57 +0000)]
Merge "Add new internal API: enableOptionalCodecs()/disableOptionalCodecs()" am: 14bf663fb4 am: bdcd10f073
am: c306e8c04e

Change-Id: I029b38b808fce7bbb737e2d0d7a67890c0bc14ad

7 years agoMerge "Add new internal API: enableOptionalCodecs()/disableOptionalCodecs()" am:...
Pavlin Radoslavov [Wed, 29 Mar 2017 22:51:59 +0000 (22:51 +0000)]
Merge "Add new internal API: enableOptionalCodecs()/disableOptionalCodecs()" am: 14bf663fb4
am: bdcd10f073

Change-Id: I5acbf8ab12842149374b41e899bf9623422f0bb7

7 years agoMerge "Add new internal API: enableOptionalCodecs()/disableOptionalCodecs()"
Pavlin Radoslavov [Wed, 29 Mar 2017 22:46:33 +0000 (22:46 +0000)]
Merge "Add new internal API: enableOptionalCodecs()/disableOptionalCodecs()"
am: 14bf663fb4

Change-Id: I030c6950b56373b5eeb9a93eada8b4ea581f2434

7 years agoMerge "Add new internal API: enableOptionalCodecs()/disableOptionalCodecs()"
Treehugger Robot [Wed, 29 Mar 2017 22:41:13 +0000 (22:41 +0000)]
Merge "Add new internal API: enableOptionalCodecs()/disableOptionalCodecs()"

7 years agoMerge "Merge "test-vendor-lib: Enable building for 64 bits" am: 46bd270740 am: 8df7a1...
Jorge E. Moreira [Wed, 29 Mar 2017 20:17:43 +0000 (20:17 +0000)]
Merge "Merge "test-vendor-lib: Enable building for 64 bits" am: 46bd270740 am: 8df7a16dc2 am: 70df5cb86e" into oc-dev-plus-aosp
am: cad1eec0a3

Change-Id: I48221dcbace1c18b1d2dd3306e707c16e84d9995

7 years agoAdd missing dependency on the Sony LDAC ABR library libldacBT_abr.so am: 5b812da734
Pavlin Radoslavov [Wed, 29 Mar 2017 20:17:32 +0000 (20:17 +0000)]
Add missing dependency on the Sony LDAC ABR library libldacBT_abr.so am: 5b812da734
am: cbbeb33b0e

Change-Id: Ia5bda1fd184bec551c0cb9303400ddcca33fbce3

7 years agoMerge "Merge "test-vendor-lib: Enable building for 64 bits" am: 46bd270740 am: 8df7a1...
Android Build Merger (Role) [Wed, 29 Mar 2017 20:15:36 +0000 (20:15 +0000)]
Merge "Merge "test-vendor-lib: Enable building for 64 bits" am: 46bd270740 am: 8df7a16dc2 am: 70df5cb86e" into oc-dev-plus-aosp

7 years agoMerge "test-vendor-lib: Enable building for 64 bits" am: 46bd270740 am: 8df7a16dc2
Jorge E. Moreira [Wed, 29 Mar 2017 20:15:31 +0000 (20:15 +0000)]
Merge "test-vendor-lib: Enable building for 64 bits" am: 46bd270740 am: 8df7a16dc2
am: 70df5cb86e

Change-Id: I132b99dd605857360034143b2ca1ec68f1f912e0

7 years agoAdd missing dependency on the Sony LDAC ABR library libldacBT_abr.so
Pavlin Radoslavov [Wed, 29 Mar 2017 20:15:30 +0000 (20:15 +0000)]
Add missing dependency on the Sony LDAC ABR library libldacBT_abr.so
am: 5b812da734

Change-Id: I96cd251bc5af557f7aaef6e505308f3000d5bab1

7 years agoMerge "test-vendor-lib: Enable building for 64 bits" am: 46bd270740
Jorge E. Moreira [Wed, 29 Mar 2017 20:13:30 +0000 (20:13 +0000)]
Merge "test-vendor-lib: Enable building for 64 bits" am: 46bd270740
am: 8df7a16dc2

Change-Id: Iaeb8695e5066f44aa199aeedeb7e5865d0002799

7 years agoMerge "test-vendor-lib: Enable building for 64 bits"
Jorge E. Moreira [Wed, 29 Mar 2017 20:12:00 +0000 (20:12 +0000)]
Merge "test-vendor-lib: Enable building for 64 bits"
am: 46bd270740

Change-Id: Ifa8b3d8d8201f6df80d6156e536137e93d90bd01

7 years agoMerge "test-vendor-lib: Enable building for 64 bits"
Treehugger Robot [Wed, 29 Mar 2017 20:08:25 +0000 (20:08 +0000)]
Merge "test-vendor-lib: Enable building for 64 bits"

7 years agoAdd new internal API: enableOptionalCodecs()/disableOptionalCodecs()
Pavlin Radoslavov [Fri, 24 Feb 2017 18:35:30 +0000 (10:35 -0800)]
Add new internal API: enableOptionalCodecs()/disableOptionalCodecs()

This API can be used to enable the optional codecs, or disable them
and use only the mandatory SBC.
Internally, it is implemented by raising the SBC priority to
highest (so SBC will be used/selected), or reducing the SBC priority
to its default value (lowest).

Test: A2DP streaming and enabling/disabling/selecting optional codecs
Bug: 35873828
Change-Id: Ia1311d790441b7b5471c9fda7aeee8aa3306b16e

7 years agoAdd missing dependency on the Sony LDAC ABR library libldacBT_abr.so
Pavlin Radoslavov [Wed, 29 Mar 2017 01:40:32 +0000 (18:40 -0700)]
Add missing dependency on the Sony LDAC ABR library libldacBT_abr.so

Test: Code compilation
Bug: 35381097
Change-Id: Ib347319942aef4fef6bfd7edc23a4df004fc19fa
(cherry picked from commit e4f2b615678ccb1fe7e13da4f166c9a45fd16136)

7 years agoAdd missing dependency on the Sony LDAC ABR library libldacBT_abr.so am: e4f2b61567...
Pavlin Radoslavov [Wed, 29 Mar 2017 06:24:52 +0000 (06:24 +0000)]
Add missing dependency on the Sony LDAC ABR library libldacBT_abr.so am: e4f2b61567 am: 71b2798c3c am: 7aad5d859e
am: 8687c71c16

Change-Id: I7ddbd5060fe407f077d16b9863003c318baf6be3

7 years agoAdd missing dependency on the Sony LDAC ABR library libldacBT_abr.so am: e4f2b61567...
Pavlin Radoslavov [Wed, 29 Mar 2017 06:22:41 +0000 (06:22 +0000)]
Add missing dependency on the Sony LDAC ABR library libldacBT_abr.so am: e4f2b61567 am: 71b2798c3c
am: 7aad5d859e

Change-Id: Id1a61bdb6247690dd9001845465a2ca80f606944

7 years agoAdd missing dependency on the Sony LDAC ABR library libldacBT_abr.so am: e4f2b61567
Pavlin Radoslavov [Wed, 29 Mar 2017 06:20:10 +0000 (06:20 +0000)]
Add missing dependency on the Sony LDAC ABR library libldacBT_abr.so am: e4f2b61567
am: 71b2798c3c

Change-Id: I7ead8e433d807763e8a533156f2a9dbd461eda11

7 years agoAdd missing dependency on the Sony LDAC ABR library libldacBT_abr.so
Pavlin Radoslavov [Wed, 29 Mar 2017 06:18:10 +0000 (06:18 +0000)]
Add missing dependency on the Sony LDAC ABR library libldacBT_abr.so
am: e4f2b61567

Change-Id: I5b18f74c9f85d30b207ef41623d4adc2afc3abef

7 years agoAdd missing dependency on the Sony LDAC ABR library libldacBT_abr.so
Pavlin Radoslavov [Wed, 29 Mar 2017 01:40:32 +0000 (18:40 -0700)]
Add missing dependency on the Sony LDAC ABR library libldacBT_abr.so

Test: Code compilation
Bug: 35381097
Change-Id: Ib347319942aef4fef6bfd7edc23a4df004fc19fa

7 years agotest-vendor-lib: Enable building for 64 bits
Jorge E. Moreira [Mon, 27 Mar 2017 22:44:55 +0000 (15:44 -0700)]
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

7 years agoosi: Update error messages am: 1dc4b361dd am: e72ef5363f am: 0db1f62fa3
Myles Watson [Tue, 28 Mar 2017 22:52:11 +0000 (22:52 +0000)]
osi: Update error messages am: 1dc4b361dd am: e72ef5363f am: 0db1f62fa3
am: d4d3a216ea

Change-Id: I77d45fc664f37a2f9d0dc113865cc2ac7da65c56

7 years agoosi: Update error messages am: 1dc4b361dd am: e72ef5363f
Myles Watson [Tue, 28 Mar 2017 22:48:41 +0000 (22:48 +0000)]
osi: Update error messages am: 1dc4b361dd am: e72ef5363f
am: 0db1f62fa3

Change-Id: Ieef5390cdf10cea6f4ad113f026ea4bc58e7e819

7 years agoosi: Update error messages am: 1dc4b361dd
Myles Watson [Tue, 28 Mar 2017 22:43:09 +0000 (22:43 +0000)]
osi: Update error messages am: 1dc4b361dd
am: e72ef5363f

Change-Id: Ifed66cfc7097eb3eb36e3a92982619ba8d14f82e

7 years agoosi: Update error messages
Myles Watson [Tue, 28 Mar 2017 22:39:40 +0000 (22:39 +0000)]
osi: Update error messages
am: 1dc4b361dd

Change-Id: I82f5536a0b088f31d6f922bb671e16fce9f454d7

7 years agoMerge "hci: Update error messages" am: 09329eede8 am: d1021404b0 am: 4fa230ce61
Myles Watson [Tue, 28 Mar 2017 21:02:33 +0000 (21:02 +0000)]
Merge "hci: Update error messages" am: 09329eede8 am: d1021404b0 am: 4fa230ce61
am: 6206dfb9db

Change-Id: I8280a456d07f33f0f949fff08fcd8b21024dacbd

7 years agoMerge "l2cap: Use CHECK for memory allocation errors" am: b8e1fbd04a am: 7a5646f945...
Myles Watson [Tue, 28 Mar 2017 21:02:20 +0000 (21:02 +0000)]
Merge "l2cap: Use CHECK for memory allocation errors" am: b8e1fbd04a am: 7a5646f945 am: 9e73e938f1
am: fe00fc211c

Change-Id: I5f3a80c39b58a90e70699b2960100c50d34273b3

7 years agoMerge "hci: Update error messages" am: 09329eede8 am: d1021404b0
Myles Watson [Tue, 28 Mar 2017 20:51:40 +0000 (20:51 +0000)]
Merge "hci: Update error messages" am: 09329eede8 am: d1021404b0
am: 4fa230ce61

Change-Id: Ib859702c6a1b7f0857e48ba6d218862bac54f146

7 years agoMerge "l2cap: Use CHECK for memory allocation errors" am: b8e1fbd04a am: 7a5646f945
Myles Watson [Tue, 28 Mar 2017 20:51:27 +0000 (20:51 +0000)]
Merge "l2cap: Use CHECK for memory allocation errors" am: b8e1fbd04a am: 7a5646f945
am: 9e73e938f1

Change-Id: I4c699416104d02756c80d55dff70123093455d6b

7 years agoMerge "hci: Update error messages" am: 09329eede8
Myles Watson [Tue, 28 Mar 2017 20:46:52 +0000 (20:46 +0000)]
Merge "hci: Update error messages" am: 09329eede8
am: d1021404b0

Change-Id: I53263a1b0336345a8651a1087fd842b8622047a5

7 years agoMerge "l2cap: Use CHECK for memory allocation errors" am: b8e1fbd04a
Myles Watson [Tue, 28 Mar 2017 20:46:39 +0000 (20:46 +0000)]
Merge "l2cap: Use CHECK for memory allocation errors" am: b8e1fbd04a
am: 7a5646f945

Change-Id: I4eeae5b305e814da9df9e17a658d6b21e4bef463

7 years agoosi: Update error messages
Myles Watson [Tue, 21 Mar 2017 17:28:20 +0000 (10:28 -0700)]
osi: Update error messages

Test: build
Change-Id: I5af34f01c47d8037d56c27e7e3fab3cc2f5fd2bc

7 years agoMerge "hci: Update error messages"
Myles Watson [Tue, 28 Mar 2017 20:41:15 +0000 (20:41 +0000)]
Merge "hci: Update error messages"
am: 09329eede8

Change-Id: I855deb3f27fa270b13ff61c1f5cea83a6767168d

7 years agoMerge "l2cap: Use CHECK for memory allocation errors"
Myles Watson [Tue, 28 Mar 2017 20:41:01 +0000 (20:41 +0000)]
Merge "l2cap: Use CHECK for memory allocation errors"
am: b8e1fbd04a

Change-Id: I7464be3483402908d397eda4220c295cbc165669

7 years agoMerge "hci: Update error messages"
Treehugger Robot [Tue, 28 Mar 2017 20:37:09 +0000 (20:37 +0000)]
Merge "hci: Update error messages"

7 years agoMerge "BTA HF_CLIENT: Always reply to +BCS" am: 04f88ffb6c am: a9b28fbc47 am: 552f1d5c8c
Sanket Agarwal [Tue, 28 Mar 2017 20:30:34 +0000 (20:30 +0000)]
Merge "BTA HF_CLIENT: Always reply to +BCS" am: 04f88ffb6c am: a9b28fbc47 am: 552f1d5c8c
am: dc1c56e48b

Change-Id: I763cb5f6a0113a3bf87d6ab9ee13ecfadd6f6ef9

7 years agoMerge "l2cap: Use CHECK for memory allocation errors"
Treehugger Robot [Tue, 28 Mar 2017 20:29:26 +0000 (20:29 +0000)]
Merge "l2cap: Use CHECK for memory allocation errors"

7 years agoMerge "BTA HF_CLIENT: Always reply to +BCS" am: 04f88ffb6c am: a9b28fbc47
Sanket Agarwal [Tue, 28 Mar 2017 20:25:39 +0000 (20:25 +0000)]
Merge "BTA HF_CLIENT: Always reply to +BCS" am: 04f88ffb6c am: a9b28fbc47
am: 552f1d5c8c

Change-Id: Ia0eb66bed062835b24c86b5fab801b022be4ec52

7 years agoMerge "BTA HF_CLIENT: Always reply to +BCS" am: 04f88ffb6c
Sanket Agarwal [Tue, 28 Mar 2017 20:19:22 +0000 (20:19 +0000)]
Merge "BTA HF_CLIENT: Always reply to +BCS" am: 04f88ffb6c
am: a9b28fbc47

Change-Id: Iccd770fe33afb888269220ce1701404da6d89e97

7 years agoMerge "BTA HF_CLIENT: Always reply to +BCS"
Sanket Agarwal [Tue, 28 Mar 2017 20:14:54 +0000 (20:14 +0000)]
Merge "BTA HF_CLIENT: Always reply to +BCS"
am: 04f88ffb6c

Change-Id: I71a088b4454333f767aa0d6b106320ad2d7a966c

7 years agoMerge "BTA HF_CLIENT: Always reply to +BCS"
Treehugger Robot [Tue, 28 Mar 2017 20:03:52 +0000 (20:03 +0000)]
Merge "BTA HF_CLIENT: Always reply to +BCS"