OSDN Git Service
Android Build Merger (Role) [Fri, 7 Apr 2017 23:57:29 +0000 (23:57 +0000)]
Merge "Create unit test framework for audio_a2dp_hw am:
304ceeb520 am:
26c22ec870" into nyc-mr2-dev-plus-aosp
Pavlin Radoslavov [Fri, 7 Apr 2017 23:57:21 +0000 (23:57 +0000)]
Create unit test framework for audio_a2dp_hw am:
304ceeb520
am:
26c22ec870
Change-Id: Idc9d71789698025e3a5a9eb75d2595d99240c716
Jacky Cheung [Fri, 7 Apr 2017 23:57:19 +0000 (23:57 +0000)]
DO NOT MERGE ANYWHERE Mark AutoConnParamUpdateAddr on first auto connection param update am:
dd467f108f -s ours
am:
1386ae5d92 -s ours
Change-Id: I029185f7f73eb115041e191853b1cb847e9f0557
Pavlin Radoslavov [Fri, 7 Apr 2017 23:53:51 +0000 (23:53 +0000)]
Create unit test framework for audio_a2dp_hw
am:
304ceeb520
Change-Id: Id806117eda5e93f723c0ad3cc450c315f2ed21ce
Jacky Cheung [Fri, 7 Apr 2017 23:53:48 +0000 (23:53 +0000)]
DO NOT MERGE ANYWHERE Mark AutoConnParamUpdateAddr on first auto connection param update
am:
dd467f108f -s ours
Change-Id: Iae88352c83d7f3b1430c02e2af3a683bebae3bb2
Pavlin Radoslavov [Wed, 5 Apr 2017 23:18:26 +0000 (16:18 -0700)]
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
Jakub Pawlowski [Thu, 6 Apr 2017 17:23:19 +0000 (17:23 +0000)]
Fix "LE Read Maximum Advertising Data Length" response parsing am:
16899e9d1e
am:
d869d9c378
Change-Id: I5628a758442aa0e1c29959d8141e46053ae7780c
Jakub Pawlowski [Thu, 6 Apr 2017 17:20:29 +0000 (17:20 +0000)]
Fix "LE Read Maximum Advertising Data Length" response parsing
am:
16899e9d1e
Change-Id: Ifd695a52b4d65b784935f58f476c4b29e91834fc
Jakub Pawlowski [Thu, 6 Apr 2017 13:59:20 +0000 (06:59 -0700)]
Fix "LE Read Maximum Advertising Data Length" response parsing
The value is uint16_t, not uint8_t
Bug:
30622771
Test: manual
Change-Id: I93e8687fa74cb0f5877f9921a860b2ba83106691
Ajay Panicker [Wed, 5 Apr 2017 23:45:10 +0000 (23:45 +0000)]
Merge "Add default AVRCP version to prevent confusing log message" am:
6f1f3379c5
am:
31c945806f
Change-Id: Iadc63069357826f2485c9ce974b4782ffe0c8181
Ajay Panicker [Wed, 5 Apr 2017 23:42:09 +0000 (23:42 +0000)]
Merge "Add default AVRCP version to prevent confusing log message"
am:
6f1f3379c5
Change-Id: I06dca69bf293436434bf95acb193c5a60a07e3bc
Treehugger Robot [Wed, 5 Apr 2017 23:36:40 +0000 (23:36 +0000)]
Merge "Add default AVRCP version to prevent confusing log message"
Dan Shi [Wed, 5 Apr 2017 16:36:50 +0000 (16:36 +0000)]
Merge "Add test config to net_test_hci" am:
2986b2b949
am:
90322eff6e
Change-Id: I03f4af64bb7d85331e7c24a594c3cfe8a1b8d909
Dan Shi [Wed, 5 Apr 2017 16:36:39 +0000 (16:36 +0000)]
Merge "Add test config to net_test_device" am:
84054a8942
am:
305cd4c7bd
Change-Id: Icd2fab4a1170232f8b94d7ef354576b3e09f3eb1
Dan Shi [Wed, 5 Apr 2017 16:33:49 +0000 (16:33 +0000)]
Merge "Add test config to net_test_hci"
am:
2986b2b949
Change-Id: I1bd384f3c0f10d2daeba4d4976cdcb81ec4a526f
Dan Shi [Wed, 5 Apr 2017 16:33:38 +0000 (16:33 +0000)]
Merge "Add test config to net_test_device"
am:
84054a8942
Change-Id: I7cf4ee88e44d5238be1f841e691469fc0dcd6a03
Dan Shi [Wed, 5 Apr 2017 16:29:14 +0000 (16:29 +0000)]
Merge "Add test config to net_test_hci"
Dan Shi [Wed, 5 Apr 2017 16:28:39 +0000 (16:28 +0000)]
Merge "Add test config to net_test_device"
Dan Shi [Wed, 5 Apr 2017 08:21:08 +0000 (08:21 +0000)]
Merge "Add test config to net_test_btcore" am:
686bcbb817
am:
7e2aa70dc2
Change-Id: I79042e0fc49d6f32331eb4deedcd60076563de90
Dan Shi [Wed, 5 Apr 2017 08:19:08 +0000 (08:19 +0000)]
Merge "Add test config to net_test_btcore"
am:
686bcbb817
Change-Id: I6c5700d3e5c0fb71ed6f6149bc27a8945d55f7c5
Treehugger Robot [Wed, 5 Apr 2017 08:14:16 +0000 (08:14 +0000)]
Merge "Add test config to net_test_btcore"
Dan Shi [Sat, 1 Apr 2017 00:12:46 +0000 (17:12 -0700)]
Add test config to net_test_hci
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_hci
Change-Id: Ifbac48ad8b425f43e6c919696cc72d5997e614db
Pavlin Radoslavov [Wed, 5 Apr 2017 02:38:17 +0000 (02:38 +0000)]
Merge "Compute the audio data buffer size based on stream characteristics" am:
1fbbc39d0c
am:
409c280468
Change-Id: Id2be07e2205ec2b257ee742b2c264b5b5b418c2b
Pavlin Radoslavov [Wed, 5 Apr 2017 02:36:16 +0000 (02:36 +0000)]
Merge "Compute the audio data buffer size based on stream characteristics"
am:
1fbbc39d0c
Change-Id: Idf1c06635f32e5ecc94ee52d274a0fb08cc52337
Treehugger Robot [Wed, 5 Apr 2017 02:30:35 +0000 (02:30 +0000)]
Merge "Compute the audio data buffer size based on stream characteristics"
Dan Shi [Wed, 5 Apr 2017 02:13:15 +0000 (02:13 +0000)]
Merge "Add test config to net_test_bluetooth" am:
ee8965eb9b
am:
c4ecd95a22
Change-Id: I9f28b892c30395b0c2dfd3f9986d4ae39b74111c
Dan Shi [Wed, 5 Apr 2017 02:11:14 +0000 (02:11 +0000)]
Merge "Add test config to net_test_bluetooth"
am:
ee8965eb9b
Change-Id: I0d1d12ecec9d325eb860ff44bddddc40a5252b5a
Treehugger Robot [Wed, 5 Apr 2017 02:07:44 +0000 (02:07 +0000)]
Merge "Add test config to net_test_bluetooth"
Pavlin Radoslavov [Tue, 4 Apr 2017 18:31:29 +0000 (11:31 -0700)]
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
Myles Watson [Wed, 5 Apr 2017 00:18:11 +0000 (00:18 +0000)]
Finish conversion to Android.bp am:
e59cbd20e1
am:
1bc478b57a
Change-Id: Id1dba01c9a1b15d3bbb6fed99b4aa4b6c1569f56
Myles Watson [Wed, 5 Apr 2017 00:18:07 +0000 (00:18 +0000)]
test: Add a simulated Bluetooth HAL implementation am:
73ad031083
am:
8b2852a243
Change-Id: Ie7bb48e20cae7b341cb0ce8280c71588a4d578f7
Myles Watson [Wed, 5 Apr 2017 00:15:40 +0000 (00:15 +0000)]
Finish conversion to Android.bp
am:
e59cbd20e1
Change-Id: I5cbe1ad7636d5ba8ce6af4f2ff98ed704b08dc4e
Myles Watson [Wed, 5 Apr 2017 00:15:36 +0000 (00:15 +0000)]
test: Add a simulated Bluetooth HAL implementation
am:
73ad031083
Change-Id: I896613c1ef6a756b807ab21f541f5dc9ca4e0bd2
Dan Shi [Thu, 30 Mar 2017 20:41:12 +0000 (13:41 -0700)]
Add test config to net_test_bluetooth
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
Change-Id: I45100b2be22906f2b631d3377749b86f8f1b6ecd
Myles Watson [Tue, 7 Mar 2017 13:00:04 +0000 (05:00 -0800)]
Finish conversion to Android.bp
Bug:
35651902,
35672576,
36810308
Test: build, Android Cloud Bluetooth net_test_bluetooth
Change-Id: Ie99966d610ea35ab8caf8a084d92c43618e90b94
Myles Watson [Tue, 7 Mar 2017 12:28:51 +0000 (04:28 -0800)]
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
Andy Hung [Mon, 3 Apr 2017 18:58:30 +0000 (18:58 +0000)]
audio_a2dp_hw: add device lock am:
2328b5754d
am:
db5123ef19
Change-Id: I60942da4c1cd6f4c031aeae8052518c2f0577a5e
Andy Hung [Mon, 3 Apr 2017 18:55:30 +0000 (18:55 +0000)]
audio_a2dp_hw: add device lock
am:
2328b5754d
Change-Id: Ia27886aed87b2e7076d92f68b303d34cfd22df66
Andy Hung [Thu, 30 Mar 2017 23:28:46 +0000 (16:28 -0700)]
audio_a2dp_hw: add device lock
Prevent conflict between closing a stream (adev_close_output_stream)
and setting parameters (adev_set_parameters).
Test: Manual - Bluetooth A2DP streaming and changing codec parameters
Bug:
36723276
Change-Id: Id8b9fcdf594e3d5fde139719d324420468c4c0aa
(cherry picked from commit
b1a900fcc9903f0988b6f8c1a470b9c718aedf1f)
Dan Shi [Sun, 2 Apr 2017 05:55:55 +0000 (05:55 +0000)]
Merge "Add test config to bluetoothtbd_test" am:
615b7cdd98
am:
68b9d94a70
Change-Id: I66f7d68b0200fe8931ee51a59137dd3e34c1e51b
Dan Shi [Sun, 2 Apr 2017 05:52:24 +0000 (05:52 +0000)]
Merge "Add test config to bluetoothtbd_test"
am:
615b7cdd98
Change-Id: If1f5c7a9aee317a14d26d2f3d384d0336aee6b97
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
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
Treehugger Robot [Sun, 2 Apr 2017 05:48:36 +0000 (05:48 +0000)]
Merge "Add test config to bluetoothtbd_test"
Treehugger Robot [Sun, 2 Apr 2017 05:46:57 +0000 (05:46 +0000)]
Merge "Add test config to net_test_osi"
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
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
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
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
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
Dan Shi [Sat, 1 Apr 2017 00:13:12 +0000 (17:13 -0700)]
Add test config to bluetoothtbd_test
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=bluetoothtbd_test
Change-Id: I6a243fc0245e4c3aa0fc51f3ded40c63492e31e8
Dan Shi [Sat, 1 Apr 2017 00:12:55 +0000 (17:12 -0700)]
Add test config to net_test_btcore
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_btcore
Change-Id: I336af9f5360540cec5fb406d38c90706891af5be
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
Dan Shi [Sat, 1 Apr 2017 00:12:28 +0000 (17:12 -0700)]
Add test config to net_test_device
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_device
Change-Id: Ie3e287aba9cd38cbfceef36885c863ba2d34b31a
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
Ajay Panicker [Fri, 31 Mar 2017 16:53:12 +0000 (09:53 -0700)]
Add default AVRCP version to prevent confusing log message
Test: Log message shows more info
Change-Id: Ic042d1cf1489e391fe6e9cc3d6239acb79917b01
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
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
Treehugger Robot [Thu, 30 Mar 2017 20:53:10 +0000 (20:53 +0000)]
Merge "Include flags in all connectable packets"
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
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
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
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
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
Jakub Pawlowski [Thu, 30 Mar 2017 03:30:10 +0000 (03:30 +0000)]
Bluetooth 5 periodic scan (2/3)
am:
f685bfb7b1
Change-Id: I36365df844aa015b9481c0f1fbfb6e8b5450e321
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
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
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
Treehugger Robot [Wed, 29 Mar 2017 22:41:13 +0000 (22:41 +0000)]
Merge "Add new internal API: enableOptionalCodecs()/disableOptionalCodecs()"
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
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
Treehugger Robot [Wed, 29 Mar 2017 20:08:25 +0000 (20:08 +0000)]
Merge "test-vendor-lib: Enable building for 64 bits"
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
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
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
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
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
Myles Watson [Tue, 28 Mar 2017 22:43:09 +0000 (22:43 +0000)]
osi: Update error messages am:
1dc4b361dd
am:
e72ef5363f
Change-Id: Ifed66cfc7097eb3eb36e3a92982619ba8d14f82e
Myles Watson [Tue, 28 Mar 2017 22:39:40 +0000 (22:39 +0000)]
osi: Update error messages
am:
1dc4b361dd
Change-Id: I82f5536a0b088f31d6f922bb671e16fce9f454d7
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
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
Myles Watson [Tue, 21 Mar 2017 17:28:20 +0000 (10:28 -0700)]
osi: Update error messages
Test: build
Change-Id: I5af34f01c47d8037d56c27e7e3fab3cc2f5fd2bc
Myles Watson [Tue, 28 Mar 2017 20:41:15 +0000 (20:41 +0000)]
Merge "hci: Update error messages"
am:
09329eede8
Change-Id: I855deb3f27fa270b13ff61c1f5cea83a6767168d
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
Treehugger Robot [Tue, 28 Mar 2017 20:37:09 +0000 (20:37 +0000)]
Merge "hci: Update error messages"
Treehugger Robot [Tue, 28 Mar 2017 20:29:26 +0000 (20:29 +0000)]
Merge "l2cap: Use CHECK for memory allocation errors"
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
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
Treehugger Robot [Tue, 28 Mar 2017 20:03:52 +0000 (20:03 +0000)]
Merge "BTA HF_CLIENT: Always reply to +BCS"
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
Sanket Agarwal [Wed, 22 Feb 2017 19:55:34 +0000 (11:55 -0800)]
BTA HF_CLIENT: Always reply to +BCS
Phones don't like when we don't reply to +BCS codec-negotiation. We were
having this behavior because not always do we want to accept a
connection request over SCO. Instead of not replying to +BCS (which is
essentially a codec negotiation) we rather refuse the SCO request when
it comes in. This creates other issues such as some phones trying to
connect SCO in an infinite loop but it still keeps interoperability with
other devices such as iPhones and Microsoft phones intact
Bug: b/
35469963
Bug: b/
35431871
Bug: b/
35419773
Test: SCO (Phone Audio) test with iPhone, Microsoft and Nexus phones
Change-Id: I5319edcb4da9d66c6d6b3a49742248c90dee98e6
Myles Watson [Tue, 21 Mar 2017 17:21:15 +0000 (10:21 -0700)]
hci: Update error messages
Test: builds
Change-Id: I33544572122a166523a40dde090f276b102df247
fen wang [Tue, 28 Mar 2017 05:11:49 +0000 (05:11 +0000)]
Integration of LDAC Adaptive Bit Rate mechanism am:
dfc02a91a1
am:
2bbd84b0e3
Change-Id: Iae3bb76449af74af89a37be6ef4445fc828996f7
fen wang [Tue, 28 Mar 2017 05:03:51 +0000 (05:03 +0000)]
Integration of LDAC Adaptive Bit Rate mechanism
am:
dfc02a91a1
Change-Id: I5a82550e3f70768063f811c64b7d68e4a85e7ce6
fen wang [Wed, 15 Mar 2017 05:52:52 +0000 (14:52 +0900)]
Integration of LDAC Adaptive Bit Rate mechanism
LDAC ABR controls LDAC encoder bit rate based on A2DP transmit queue
length.
It can be used if the LDAC ABR library is installed on the device:
libldacBT_abr.so
Test: manual
Bug:
35381097
Change-Id: Idcc2fabe86acaf441f5a71f5d2bb66ad29252cdb
Jakub Pawlowski [Mon, 27 Mar 2017 20:51:21 +0000 (20:51 +0000)]
Add option to specify initial LE connection PHY (1/3) am:
96fb273d92
am:
f0b97cad96
Change-Id: I16eee0c1c46b93e9e0773e906782f17a9c432900
Jakub Pawlowski [Mon, 27 Mar 2017 20:48:19 +0000 (20:48 +0000)]
Add option to specify initial LE connection PHY (1/3)
am:
96fb273d92
Change-Id: I083e1ef7f4fe6d958fb2f3d4d3faaffd02c2d3be
Jakub Pawlowski [Sat, 25 Mar 2017 00:52:02 +0000 (17:52 -0700)]
Add option to specify initial LE connection PHY (1/3)
For whitelist connections we always use all possible PHYs, for direct
connection use PHY specified by client.
Test: manual
Bug:
30622771
Change-Id: I720f134e2800dc3d282135bb7ffbe3882117c680
Zach Johnson [Fri, 24 Mar 2017 21:24:03 +0000 (21:24 +0000)]
Merge "btm_sec: p_name fails matching security records" am:
e9082e66c2
am:
73071a04b1
Change-Id: Ic2036538f8eb950c01de850411d4017732d80c0d
Zach Johnson [Fri, 24 Mar 2017 21:22:08 +0000 (21:22 +0000)]
Merge "btm_sec: p_name fails matching security records"
am:
e9082e66c2
Change-Id: Ia2c574d1a36f840045110d55a6d34fb89776890e