OSDN Git Service
Chih-Hung Hsieh [Mon, 17 Sep 2018 19:53:30 +0000 (12:53 -0700)]
Suppress implicit-fallthrough warnings. am:
d464658a77 am:
e60632db7a
am:
a8aab757bd
Change-Id: I6f8551933d2ce249dc46b9cf6210509a6c73ec0b
Chih-Hung Hsieh [Mon, 17 Sep 2018 19:44:25 +0000 (12:44 -0700)]
Suppress implicit-fallthrough warnings. am:
d464658a77
am:
e60632db7a
Change-Id: I006e1889251c8a5b0fc81d376169879009b3c731
Chih-Hung Hsieh [Mon, 17 Sep 2018 19:40:21 +0000 (12:40 -0700)]
Suppress implicit-fallthrough warnings.
am:
d464658a77
Change-Id: I98938affe622af4a82422cfe550cd8ef38afb8cb
Chih-Hung Hsieh [Wed, 12 Sep 2018 22:20:43 +0000 (15:20 -0700)]
Suppress implicit-fallthrough warnings.
Add FALLTHROUGH_INTENDED for clang compiler.
Bug:
112564944
Test: build with global -Wimplicit-fallthrough.
Change-Id: Iedf7e46445101a5e3358473e1200212d67cf58d1
Joseph Pirozzo [Sat, 15 Sep 2018 01:06:11 +0000 (18:06 -0700)]
Merge "AVRCP Controller media session queue" am:
ad6183c330 am:
8f413cbb9d
am:
6ac66aced8
Change-Id: I9edc0a8d626fb847c5d4c4e0ee20174754d9adef
Joseph Pirozzo [Sat, 15 Sep 2018 00:38:06 +0000 (17:38 -0700)]
Merge "AVRCP Controller media session queue" am:
ad6183c330
am:
8f413cbb9d
Change-Id: Ic3e315278b1f777373a6299367f45b3ca6404f24
Joseph Pirozzo [Sat, 15 Sep 2018 00:18:53 +0000 (17:18 -0700)]
Merge "AVRCP Controller media session queue"
am:
ad6183c330
Change-Id: I8ecc2b8214fa174ab7eec531965a8edb57323a4a
Joseph Pirozzo [Fri, 14 Sep 2018 22:48:55 +0000 (22:48 +0000)]
Merge "AVRCP Controller media session queue"
Hansong Zhang [Fri, 14 Sep 2018 18:26:19 +0000 (11:26 -0700)]
Add Timer as an alternative to osi alarm am:
438b08c27d am:
59f0c33051
am:
076937cb80
Change-Id: Ib2cf5dfaa50eaf355d2de6168a175cc184f3834a
Hansong Zhang [Fri, 14 Sep 2018 18:19:38 +0000 (11:19 -0700)]
Add Timer as an alternative to osi alarm am:
438b08c27d
am:
59f0c33051
Change-Id: I15f47b50641c51603285fdc8320ea04c327658e9
Hansong Zhang [Fri, 14 Sep 2018 18:08:31 +0000 (11:08 -0700)]
Add Timer as an alternative to osi alarm
am:
438b08c27d
Change-Id: I63c59ba8d40104220d0d8762ef41722e8f1d219f
Hansong Zhang [Tue, 14 Aug 2018 21:29:23 +0000 (14:29 -0700)]
Add Timer as an alternative to osi alarm
* Add a private method MessageLoopThread.DoInThreadDelayed to post a
delayed task in message loop, as an alternative approach to osi alarm
clock
* Add a unit test for MessageLoopThread to check ShutDown() waits until
current task finishes
* Add Timer using MessageLoopThread.DoInThreadDelayed
* Timer provides similar API as osi alarm, and uses same OS clock (boot
timer) as alarm
* Add benchmark and unit tests to ensure the performance is comparable
to the existing osi alarm
Test: Run unit test and benchmark test
./test/run_unit_tests.sh bluetooth_test_common
./test/run_benchmarks.sh bluetooth_benchmark_timer_performance
--benchmark_repetitions=10 --benchmark_report_aggregates_only=true
Bug:
110303473
Change-Id: I6f2e7ae2f80f9889fc5fe3c8cd6b9b2670938b46
Chisato Kenmochi [Thu, 13 Sep 2018 03:16:12 +0000 (20:16 -0700)]
Merge "Add support for A2DP LDAC Sink function" am:
58eac77949 am:
a6586cc4d0
am:
e2f0140b13
Change-Id: I03f579e5ab1db70d4cb13101647bd3647a246d4f
Chisato Kenmochi [Thu, 13 Sep 2018 02:51:17 +0000 (19:51 -0700)]
Merge "Add support for A2DP LDAC Sink function" am:
58eac77949
am:
a6586cc4d0
Change-Id: I570ae016c40ec9c15a4e7de603107ae2bb3ec23e
Chisato Kenmochi [Thu, 13 Sep 2018 02:33:47 +0000 (19:33 -0700)]
Merge "Add support for A2DP LDAC Sink function"
am:
58eac77949
Change-Id: Ic25017f7eb5186af86262d9215c9aab7f6b15eae
Treehugger Robot [Thu, 13 Sep 2018 01:30:08 +0000 (01:30 +0000)]
Merge "Add support for A2DP LDAC Sink function"
Ajay Panicker [Wed, 12 Sep 2018 23:51:42 +0000 (16:51 -0700)]
Merge "Add extractBE to the Bluetooth Packets Iterators" am:
7314f08016 am:
0557ce7e71
am:
d9d5d49478
Change-Id: I11142c21e37d7a271cd256bb42c94fd643ed15fb
Pavlin Radoslavov [Wed, 12 Sep 2018 23:32:33 +0000 (16:32 -0700)]
Add a check whether an A2DP codec is supported before including it am:
7240fe907d am:
543791d858
am:
f98ef1e131
Change-Id: Ia4a3c5894c561c5139921229ef533ef95f474de2
Ajay Panicker [Wed, 12 Sep 2018 23:25:45 +0000 (16:25 -0700)]
Merge "Add extractBE to the Bluetooth Packets Iterators" am:
7314f08016
am:
0557ce7e71
Change-Id: I8baa21a2b69607c31aac756df7f069821092186a
Ajay Panicker [Wed, 12 Sep 2018 23:04:49 +0000 (16:04 -0700)]
Merge "Add extractBE to the Bluetooth Packets Iterators"
am:
7314f08016
Change-Id: Ib385dd3b0dd39f09f455d40e6ecbf195006954ff
Ajay Panicker [Wed, 12 Sep 2018 22:27:42 +0000 (22:27 +0000)]
Merge "Add extractBE to the Bluetooth Packets Iterators"
Pavlin Radoslavov [Wed, 12 Sep 2018 22:17:48 +0000 (15:17 -0700)]
Add a check whether an A2DP codec is supported before including it am:
7240fe907d
am:
543791d858
Change-Id: Id1ace154ecbc7e8fc5ba080a360dddbcd8eda141
Pavlin Radoslavov [Wed, 12 Sep 2018 20:47:47 +0000 (13:47 -0700)]
Add a check whether an A2DP codec is supported before including it
am:
7240fe907d
Change-Id: Iea19097028e8d0e39ec36f069c201b556780986c
Chisato Kenmochi [Fri, 10 Aug 2018 11:44:05 +0000 (20:44 +0900)]
Add support for A2DP LDAC Sink function
Note: The LDAC decoder source code is needed to run with this patch.
Bug:
112839060
Test: Manual
Change-Id: Idce0070dcce4d6b83cfd08213b846d957d694d26
Signed-off-by: Chisato Kenmochi <Chisato.Kenmochi@sony.com>
Pavlin Radoslavov [Tue, 11 Sep 2018 23:47:47 +0000 (16:47 -0700)]
Add a check whether an A2DP codec is supported before including it
Some of the A2DP SRC or SNK codecs might not be supported if the
corresponding shared library is not included.
Don't include such codecs when configuring and registering
the stream end points on the local device.
Bug:
112839060
Test: Manual - remove A2DP codec shared libraries and check the
returned AVDTP Capabilities
Change-Id: Ia8fbdac915b208f9950ef7c9f50e3e0dc87e9111
Ajay Panicker [Mon, 10 Sep 2018 19:01:50 +0000 (12:01 -0700)]
Add extractBE to the Bluetooth Packets Iterators
ExtractBE allows data to be extracted from Bluetooth packets in a big
endian format.
Bug:
114751344
Test: run net_test_btpackets
Change-Id: Ib01d726893e106d34c11048acc09fee201d81c09
Hansong Zhang [Tue, 11 Sep 2018 00:15:36 +0000 (17:15 -0700)]
Merge "Fix spacing in hearing aid dumpsys" am:
3ffd7b89f4 am:
b0958b1406
am:
a3139e7823
Change-Id: I7ecde0aa253ae50e2b4273445c1295320d718394
Hansong Zhang [Mon, 10 Sep 2018 23:58:28 +0000 (16:58 -0700)]
Merge "Fix spacing in hearing aid dumpsys" am:
3ffd7b89f4
am:
b0958b1406
Change-Id: I5745b12c0570cab764627f30260840886d771319
Hansong Zhang [Mon, 10 Sep 2018 23:53:05 +0000 (16:53 -0700)]
Merge "Fix spacing in hearing aid dumpsys"
am:
3ffd7b89f4
Change-Id: I191efc21cc16fdca30bf8801a58ab42bd53607a9
Treehugger Robot [Mon, 10 Sep 2018 23:40:29 +0000 (23:40 +0000)]
Merge "Fix spacing in hearing aid dumpsys"
Pavlin Radoslavov [Mon, 10 Sep 2018 18:46:08 +0000 (11:46 -0700)]
Disable absolute volume control for deepblue2 speaker am:
a81834c826 am:
ab839b3bb7
am:
1ed275a2d6
Change-Id: Iddb88f07d4d089cabd90d64d72b9d4addb0b8d0a
Pavlin Radoslavov [Mon, 10 Sep 2018 18:42:05 +0000 (11:42 -0700)]
Disable absolute volume control for deepblue2 speaker am:
a81834c826
am:
ab839b3bb7
Change-Id: I7675fd1a45a54552135a3a8c79024eb411df1b0f
Pavlin Radoslavov [Mon, 10 Sep 2018 18:36:58 +0000 (11:36 -0700)]
Disable absolute volume control for deepblue2 speaker
am:
a81834c826
Change-Id: Ibfa7c7315559eb333965cbefc537a948d2f8352a
Pavlin Radoslavov [Sun, 9 Sep 2018 18:06:21 +0000 (11:06 -0700)]
Disable absolute volume control for deepblue2 speaker
The speaker does not accept the volume levels from the Phone.
It responds back with rounded down volume levels.
Bug: b/
37834035
Test: Manual
Change-Id: Ie5575233c3cf31c087addd3cef1c12ad36b820b0
Pavlin Radoslavov [Fri, 7 Sep 2018 17:17:37 +0000 (10:17 -0700)]
Merge "Check data length when parsing AVRCP vendor specific command responses" into oc-dev am:
03e6de3be8 am:
36e56d4b33 am:
e03c093530 am:
80207d727b
am:
0e34c85f29
Change-Id: I42f40211bd98fe373304a57dbda5e1e7bc1e6f8b
Pavlin Radoslavov [Fri, 7 Sep 2018 17:02:42 +0000 (10:02 -0700)]
Merge changes from topic "bt-security-avrc_pars_vendor_rsp-length-check-nyc-dev" into oc-dev am:
a57a887b16 am:
0c13a140c9 am:
8dd01ede32 am:
d217ea4fe5
am:
b3b8c0bd64
Change-Id: I3fdfbbb9f33579d349db82e0dadd137dd17d49b6
Pavlin Radoslavov [Fri, 7 Sep 2018 16:57:54 +0000 (09:57 -0700)]
Merge changes from topic "bt-security-avrc_ctrl_pars_vendor_rsp-length-check-nyc-dev" into oc-dev am:
5e20d5088c am:
afc8839cea am:
9b86fdb58e am:
c5fec613ad
am:
b4909e5123
Change-Id: Ie049ad4fb31c7824d6b3713edfc4fd37b3633064
Pavlin Radoslavov [Fri, 7 Sep 2018 16:57:11 +0000 (09:57 -0700)]
[automerger skipped] DO NOT MERGE - Check AVRCP data length when parsing inside avrc_ctrl_pars_vendor_rsp() am:
2692408d05 am:
90d9589f1e am:
746df692f0 -s ours am:
d3dfe42b4c
am:
112bb6eb91 -s ours
Change-Id: I6720eba97b0a0e42c290c762da8dcbcf01e4a0d5
Pavlin Radoslavov [Fri, 7 Sep 2018 16:56:55 +0000 (09:56 -0700)]
Check AVRCP data length when parsing inside avrc_ctrl_pars_vendor_rsp() am:
f779ebe368
am:
6b7b210b0f
Change-Id: Ie863ceaeae0f326626d2a5dfc323bda846332f1d
Hansong Zhang [Fri, 7 Sep 2018 16:39:22 +0000 (09:39 -0700)]
Fix spacing in hearing aid dumpsys
Bug:
114242876
Test: See dumpsys output for bluetooth_manager
Change-Id: Ifb0884ba4e90e2b925bafc52a15d3375c9aec288
Pavlin Radoslavov [Fri, 7 Sep 2018 16:39:21 +0000 (09:39 -0700)]
Merge "Check data length when parsing AVRCP vendor specific command responses" into oc-dev am:
03e6de3be8 am:
36e56d4b33 am:
e03c093530
am:
80207d727b
Change-Id: Iaca49963c9981f6ee966818483126247be906afe
Pavlin Radoslavov [Fri, 7 Sep 2018 16:38:47 +0000 (09:38 -0700)]
Merge changes from topic "bt-security-avrc_pars_vendor_rsp-length-check-nyc-dev" into oc-dev am:
a57a887b16 am:
0c13a140c9 am:
8dd01ede32
am:
d217ea4fe5
Change-Id: I46926aee204eafe4b93471b7265756e3fbdb0daf
Pavlin Radoslavov [Fri, 7 Sep 2018 16:35:18 +0000 (09:35 -0700)]
Merge changes from topic "bt-security-avrc_ctrl_pars_vendor_rsp-length-check-nyc-dev" into oc-dev am:
5e20d5088c am:
afc8839cea am:
9b86fdb58e
am:
c5fec613ad
Change-Id: Ib22ebfe396f9eda7071557ddd4ca07159283897b
Pavlin Radoslavov [Fri, 7 Sep 2018 16:34:53 +0000 (09:34 -0700)]
Merge "Check data length when parsing AVRCP vendor specific command responses" into oc-dev am:
03e6de3be8 am:
36e56d4b33
am:
e03c093530
Change-Id: I1667ad997ed993e8de3985d0f001e75ac80cb30f
Pavlin Radoslavov [Fri, 7 Sep 2018 16:34:46 +0000 (09:34 -0700)]
[automerger skipped] DO NOT MERGE - Check AVRCP data length when parsing inside avrc_ctrl_pars_vendor_rsp() am:
2692408d05 am:
90d9589f1e am:
746df692f0 -s ours
am:
d3dfe42b4c
Change-Id: I179cf05b99dee0bb34fb30fc4732413c297c7523
Pavlin Radoslavov [Fri, 7 Sep 2018 16:34:29 +0000 (09:34 -0700)]
Merge changes from topic "bt-security-avrc_pars_vendor_rsp-length-check-nyc-dev" into oc-dev am:
a57a887b16 am:
0c13a140c9
am:
8dd01ede32
Change-Id: Id45560be71798fcb6b7a0b77987cf12e1f06d46c
Pavlin Radoslavov [Fri, 7 Sep 2018 16:34:13 +0000 (09:34 -0700)]
Check AVRCP data length when parsing inside avrc_ctrl_pars_vendor_rsp()
am:
f779ebe368
Change-Id: Ib07b842d6f4c485a400ef451f81e00b1b331510c
Pavlin Radoslavov [Fri, 7 Sep 2018 16:33:50 +0000 (09:33 -0700)]
Merge changes from topic "bt-security-avrc_ctrl_pars_vendor_rsp-length-check-nyc-dev" into oc-dev am:
5e20d5088c am:
afc8839cea
am:
9b86fdb58e
Change-Id: Iec2d44e67ab7dbac045199fe0ffa5d5051e7528b
Pavlin Radoslavov [Fri, 7 Sep 2018 16:33:18 +0000 (09:33 -0700)]
[automerger skipped] DO NOT MERGE - Check AVRCP data length when parsing inside avrc_ctrl_pars_vendor_rsp() am:
2692408d05 am:
90d9589f1e
am:
746df692f0 -s ours
Change-Id: Iaf0899a8521801655b7e1f6e675d9e809739af06
Pavlin Radoslavov [Fri, 7 Sep 2018 16:29:33 +0000 (09:29 -0700)]
Merge "Check data length when parsing AVRCP vendor specific command responses" into oc-dev am:
03e6de3be8
am:
36e56d4b33
Change-Id: I307f9c5197f80086593eb6dad1bdf55ec9100bab
Pavlin Radoslavov [Fri, 7 Sep 2018 16:29:13 +0000 (09:29 -0700)]
Merge changes from topic "bt-security-avrc_pars_vendor_rsp-length-check-nyc-dev" into oc-dev am:
a57a887b16
am:
0c13a140c9
Change-Id: I8a8547ae34543d7055024e6c1719feaf70bab891
Pavlin Radoslavov [Fri, 7 Sep 2018 16:28:48 +0000 (09:28 -0700)]
Merge changes from topic "bt-security-avrc_ctrl_pars_vendor_rsp-length-check-nyc-dev" into oc-dev am:
5e20d5088c
am:
afc8839cea
Change-Id: I4e91709896dcb3dd45f0565048a8c51e37e75b9b
Pavlin Radoslavov [Fri, 7 Sep 2018 16:28:22 +0000 (09:28 -0700)]
DO NOT MERGE - Check AVRCP data length when parsing inside avrc_ctrl_pars_vendor_rsp() am:
2692408d05
am:
90d9589f1e
Change-Id: I22b0622f5496f5ee8e3de7d95734e0112ba6913f
Pavlin Radoslavov [Fri, 7 Sep 2018 16:26:52 +0000 (09:26 -0700)]
Merge "Check data length when parsing AVRCP vendor specific command responses" into oc-dev
am:
03e6de3be8
Change-Id: I7de02b38797b24f1daf834be934c727d442dfbe0
Pavlin Radoslavov [Fri, 7 Sep 2018 16:26:33 +0000 (09:26 -0700)]
Merge changes from topic "bt-security-avrc_pars_vendor_rsp-length-check-nyc-dev" into oc-dev
am:
a57a887b16
Change-Id: I256e6f92404d6abcb3747728f119936750303ea6
Pavlin Radoslavov [Fri, 7 Sep 2018 16:25:50 +0000 (09:25 -0700)]
Merge changes from topic "bt-security-avrc_ctrl_pars_vendor_rsp-length-check-nyc-dev" into oc-dev
am:
5e20d5088c
Change-Id: Idfef0788a3a29602adbbe0e6cedf07868794e561
Pavlin Radoslavov [Fri, 7 Sep 2018 16:25:17 +0000 (09:25 -0700)]
DO NOT MERGE - Check AVRCP data length when parsing inside avrc_ctrl_pars_vendor_rsp()
am:
2692408d05
Change-Id: I8c19a5d6eb81e758430707f203c1d75e46f8d064
TreeHugger Robot [Fri, 7 Sep 2018 16:16:26 +0000 (16:16 +0000)]
Merge "Check data length when parsing AVRCP vendor specific command responses" into oc-dev
TreeHugger Robot [Fri, 7 Sep 2018 16:16:19 +0000 (16:16 +0000)]
Merge changes from topic "bt-security-avrc_pars_vendor_rsp-length-check-nyc-dev" into oc-dev
* changes:
[automerger] DO NOT MERGE - Check data length when parsing AVRCP vendor specific command responses am:
8148397ca2 am:
1f7ced7d2f am:
33b88d2e2f am:
81bfd4b649 skipped:
06c4724c91
[automerger] DO NOT MERGE - Check data length when parsing AVRCP vendor specific command responses am:
8148397ca2 am:
1f7ced7d2f am:
33b88d2e2f am:
81bfd4b649
[automerger] DO NOT MERGE - Check data length when parsing AVRCP vendor specific command responses am:
8148397ca2 am:
1f7ced7d2f am:
33b88d2e2f
[automerger] DO NOT MERGE - Check data length when parsing AVRCP vendor specific command responses am:
8148397ca2 am:
1f7ced7d2f
[automerger] DO NOT MERGE - Check data length when parsing AVRCP vendor specific command responses am:
8148397ca2
DO NOT MERGE - Check data length when parsing AVRCP vendor specific command responses
TreeHugger Robot [Fri, 7 Sep 2018 16:15:19 +0000 (16:15 +0000)]
Merge changes from topic "bt-security-avrc_ctrl_pars_vendor_rsp-length-check-nyc-dev" into oc-dev
* changes:
[automerger] DO NOT MERGE - Check AVRCP data length when parsing inside avrc_ctrl_pars_vendor_rsp() am:
b4cf8416bf am:
c0e2026eb1 am:
eb2615a683 am:
38a6087b6a skipped:
df71e4a376
[automerger] DO NOT MERGE - Check AVRCP data length when parsing inside avrc_ctrl_pars_vendor_rsp() am:
b4cf8416bf am:
c0e2026eb1 am:
eb2615a683 am:
38a6087b6a
[automerger] DO NOT MERGE - Check AVRCP data length when parsing inside avrc_ctrl_pars_vendor_rsp() am:
b4cf8416bf am:
c0e2026eb1 am:
eb2615a683
[automerger] DO NOT MERGE - Check AVRCP data length when parsing inside avrc_ctrl_pars_vendor_rsp() am:
b4cf8416bf am:
c0e2026eb1
[automerger] DO NOT MERGE - Check AVRCP data length when parsing inside avrc_ctrl_pars_vendor_rsp() am:
b4cf8416bf
DO NOT MERGE - Check AVRCP data length when parsing inside avrc_ctrl_pars_vendor_rsp()
Chienyuan [Fri, 7 Sep 2018 05:13:26 +0000 (22:13 -0700)]
Allocate lcb when connection complete if can't find one am:
d53036302e am:
d1ce1d55d5
am:
d3c386d265
Change-Id: I5adfeb0c2101391d570fd54963488b72b2c17710
Android Build Merger (Role) [Fri, 7 Sep 2018 04:59:55 +0000 (04:59 +0000)]
[automerger] DO NOT MERGE - Check AVRCP data length when parsing inside avrc_ctrl_pars_vendor_rsp() am:
b4cf8416bf am:
c0e2026eb1 am:
eb2615a683 am:
38a6087b6a skipped:
df71e4a376
Change-Id: Ibe7f4bec37e68cf06ba39d0c8cce02ec7ba6fb18
Android Build Merger (Role) [Fri, 7 Sep 2018 04:59:53 +0000 (04:59 +0000)]
[automerger] DO NOT MERGE - Check AVRCP data length when parsing inside avrc_ctrl_pars_vendor_rsp() am:
b4cf8416bf am:
c0e2026eb1 am:
eb2615a683 am:
38a6087b6a
Change-Id: I4663734017282372f8d93cb498b80098de609c72
Android Build Merger (Role) [Fri, 7 Sep 2018 04:59:51 +0000 (04:59 +0000)]
[automerger] DO NOT MERGE - Check AVRCP data length when parsing inside avrc_ctrl_pars_vendor_rsp() am:
b4cf8416bf am:
c0e2026eb1 am:
eb2615a683
Change-Id: I99e38ee8048be6b98e0732fb32bffba78a81ae32
Android Build Merger (Role) [Fri, 7 Sep 2018 04:59:49 +0000 (04:59 +0000)]
[automerger] DO NOT MERGE - Check AVRCP data length when parsing inside avrc_ctrl_pars_vendor_rsp() am:
b4cf8416bf am:
c0e2026eb1
Change-Id: I06ca49edef4db3a930150ba7a6b875d6727ae50d
Android Build Merger (Role) [Fri, 7 Sep 2018 04:59:47 +0000 (04:59 +0000)]
[automerger] DO NOT MERGE - Check AVRCP data length when parsing inside avrc_ctrl_pars_vendor_rsp() am:
b4cf8416bf
Change-Id: I74cd9a6ffa3096d58b11092095b82f69fc94a3b7
Pavlin Radoslavov [Thu, 6 Sep 2018 22:41:27 +0000 (15:41 -0700)]
DO NOT MERGE - Check AVRCP data length when parsing inside avrc_ctrl_pars_vendor_rsp()
Bug:
111450417
Test: PoC test program
Change-Id: Idd619e52dc7a2944d0d08af824505580e299c163
(cherry picked from commit
2692408d05bf16738284b61833649cee5d2a2233)
Chienyuan [Fri, 7 Sep 2018 04:48:15 +0000 (21:48 -0700)]
Allocate lcb when connection complete if can't find one am:
d53036302e
am:
d1ce1d55d5
Change-Id: I7aa070e7ad029b485abe5a600cb7759cd6aa6b44
Chienyuan [Fri, 7 Sep 2018 04:43:11 +0000 (21:43 -0700)]
Allocate lcb when connection complete if can't find one
am:
d53036302e
Change-Id: Ic79e372fd5f24ae9b82707b1ffe487047d51bdd0
Hansong Zhang [Fri, 7 Sep 2018 00:48:58 +0000 (17:48 -0700)]
Merge "HID Device: Fix OOB in register_app" into pi-dev am:
01792e7a0e
am:
c8398c6710
Change-Id: I09ff007f5eec5c6cd2fd452b255608d6e25e78a4
Android Build Merger (Role) [Fri, 7 Sep 2018 00:42:38 +0000 (00:42 +0000)]
[automerger] DO NOT MERGE - Check data length when parsing AVRCP vendor specific command responses am:
8148397ca2 am:
1f7ced7d2f am:
33b88d2e2f am:
81bfd4b649 skipped:
06c4724c91
Change-Id: I4d5ede0ba21700c7d2cfe7e35131bf3932d42ca9
Android Build Merger (Role) [Fri, 7 Sep 2018 00:42:36 +0000 (00:42 +0000)]
[automerger] DO NOT MERGE - Check data length when parsing AVRCP vendor specific command responses am:
8148397ca2 am:
1f7ced7d2f am:
33b88d2e2f am:
81bfd4b649
Change-Id: I1fd09d0eefdffd0670f217aaf2a674abc7bc829a
Android Build Merger (Role) [Fri, 7 Sep 2018 00:42:34 +0000 (00:42 +0000)]
[automerger] DO NOT MERGE - Check data length when parsing AVRCP vendor specific command responses am:
8148397ca2 am:
1f7ced7d2f am:
33b88d2e2f
Change-Id: I5848daa571ae75f229b02b4856bd9c0ae8bc809a
Android Build Merger (Role) [Fri, 7 Sep 2018 00:42:32 +0000 (00:42 +0000)]
[automerger] DO NOT MERGE - Check data length when parsing AVRCP vendor specific command responses am:
8148397ca2 am:
1f7ced7d2f
Change-Id: Ia57b0cdffd9d0db790e002679342611c036b5788
Android Build Merger (Role) [Fri, 7 Sep 2018 00:42:31 +0000 (00:42 +0000)]
[automerger] DO NOT MERGE - Check data length when parsing AVRCP vendor specific command responses am:
8148397ca2
Change-Id: I986e2bb8acf0330ef5e8caa37180a5884725c2e6
Pavlin Radoslavov [Thu, 6 Sep 2018 01:21:31 +0000 (18:21 -0700)]
DO NOT MERGE - Check data length when parsing AVRCP vendor specific command responses
Bug:
111450531
Bug:
111896861
Test: PoC test program
Change-Id: I564bee8f05efabc29383659a75e695b4da76c6aa
(cherry picked from commit
7439ea940354f65a147c4ecfce3bada49c688047)
Pavlin Radoslavov [Thu, 6 Sep 2018 22:41:27 +0000 (15:41 -0700)]
DO NOT MERGE - Check AVRCP data length when parsing inside avrc_ctrl_pars_vendor_rsp()
Bug:
111450417
Test: PoC test program
Change-Id: Idd619e52dc7a2944d0d08af824505580e299c163
Hansong Zhang [Fri, 7 Sep 2018 00:14:46 +0000 (17:14 -0700)]
Merge "HID Device: Fix OOB in register_app" into pi-dev
am:
01792e7a0e
Change-Id: I03bb0a1f7168278a76529108752fd559451af030
Pavlin Radoslavov [Thu, 6 Sep 2018 22:41:27 +0000 (15:41 -0700)]
Check AVRCP data length when parsing inside avrc_ctrl_pars_vendor_rsp()
Bug:
111450417
Test: PoC test program
Change-Id: Idd619e52dc7a2944d0d08af824505580e299c163
(cherry picked from commit
1c14e10cac53d5a5724dcf34c5679ad8819f9442)
TreeHugger Robot [Thu, 6 Sep 2018 23:22:29 +0000 (23:22 +0000)]
Merge "HID Device: Fix OOB in register_app" into pi-dev
Hansong Zhang [Wed, 5 Sep 2018 23:39:16 +0000 (16:39 -0700)]
HID Device: Fix OOB in register_app
Bug:
113037220
Bug:
113111784
Test: manual
Change-Id: I91bcd5032959458b926c479160c7e391b8de313b
Chienyuan [Wed, 29 Aug 2018 05:38:19 +0000 (13:38 +0800)]
Allocate lcb when connection complete if can't find one
When BT stack sends create connection command and receive connection
request at the same time, connection request will reuse the link control
block created by create connection command. But the link control block
will be released before connection complete due to controller busy.
Bug:
112818458
Test: manual - turn on BT and turn on Headset within little time gap
Change-Id: Ie30c655b933250f1709ba10c578ea5f30ea13139
Pavlin Radoslavov [Thu, 6 Sep 2018 01:21:31 +0000 (18:21 -0700)]
Check data length when parsing AVRCP vendor specific command responses
Bug:
111450531
Bug:
111896861
Test: PoC test program
Change-Id: I564bee8f05efabc29383659a75e695b4da76c6aa
Bailey Forrest [Wed, 29 Aug 2018 23:43:08 +0000 (16:43 -0700)]
Implement A2DP source and AVRCP target binder servers am:
780e29c219 am:
5521ed18fe
am:
3f9705665d
Change-Id: I81cd9690059b38b75d26c52a4a210a3d4ff7ecdd
Bailey Forrest [Wed, 29 Aug 2018 23:33:42 +0000 (16:33 -0700)]
Implement A2DP source and AVRCP target binder servers am:
780e29c219
am:
5521ed18fe
Change-Id: I4b77b2a4f4f09b3766e03a4c031828e429cb4839
Bailey Forrest [Wed, 29 Aug 2018 23:29:33 +0000 (16:29 -0700)]
Implement A2DP source and AVRCP target binder servers
am:
780e29c219
Change-Id: I9cbeafd80df6fb0a2502418e51bb080b0595b946
Bailey Forrest [Wed, 22 Aug 2018 00:20:29 +0000 (17:20 -0700)]
Implement A2DP source and AVRCP target binder servers
Bug:
64231556
Test: On device.
Change-Id: I57136d5550e8e52626a1e7eb26b7d8c02cd94eb5
TreeHugger Robot [Wed, 29 Aug 2018 01:28:21 +0000 (01:28 +0000)]
Merge "Upload hook that guides people towards AOSP"
Bailey Forrest [Wed, 29 Aug 2018 00:51:39 +0000 (17:51 -0700)]
Merge "[bluetoothtb] Fix bug processing BT_PROPERTY_UUIDS" am:
91de25f4a5 am:
a414c157c0
am:
5efa7117a5
Change-Id: Ic620a14302f1d5badd4e853aead31bc81d84f9a7
Yamei Du [Wed, 29 Aug 2018 00:42:50 +0000 (17:42 -0700)]
Fix out-of-bounds reading in btm_ble_vendor_capability_vsc_cmpl_cback am:
224eff1163 am:
f99e2dba25
am:
219a3d8271
Change-Id: I009ea9ce51d5f53ff3d83a7310f8d1ecfe3216fd
Bailey Forrest [Wed, 29 Aug 2018 00:41:00 +0000 (17:41 -0700)]
Merge "[bluetoothtb] Fix bug processing BT_PROPERTY_UUIDS" am:
91de25f4a5
am:
a414c157c0
Change-Id: Ie9cb0e27d035e4c7d7f51b4dc420aa9690a90ed5
Bailey Forrest [Wed, 29 Aug 2018 00:36:55 +0000 (17:36 -0700)]
Merge "[bluetoothtb] Fix bug processing BT_PROPERTY_UUIDS"
am:
91de25f4a5
Change-Id: Ied8af7dd57085e9fef09ee9850619f1b689018f2
Yamei Du [Wed, 29 Aug 2018 00:36:55 +0000 (17:36 -0700)]
Fix out-of-bounds reading in btm_ble_vendor_capability_vsc_cmpl_cback am:
224eff1163
am:
f99e2dba25
Change-Id: I425e5a8da376585a0df70ca4bc94d726bbb77e2e
Yamei Du [Wed, 29 Aug 2018 00:32:51 +0000 (17:32 -0700)]
Fix out-of-bounds reading in btm_ble_vendor_capability_vsc_cmpl_cback
am:
224eff1163
Change-Id: I43eb49485b08bc55eab808221b3915cc0df7da11
Treehugger Robot [Wed, 29 Aug 2018 00:32:15 +0000 (00:32 +0000)]
Merge "[bluetoothtb] Fix bug processing BT_PROPERTY_UUIDS"
Joseph Pirozzo [Tue, 28 Aug 2018 22:33:47 +0000 (15:33 -0700)]
AVRCP Controller media session queue
Add support for the Now Playing Content available through AVRCP to
receive proper notifications when it changes and expose it via media
session rather than a node in the browse tree.
Bug:
78598689
Test: Stream Music, change songs and playlist, verify media session
queue.
Change-Id: I46c32d05c5a674388c9e59830ec0596432cd78ef
Yamei Du [Mon, 11 Sep 2017 11:10:47 +0000 (19:10 +0800)]
Fix out-of-bounds reading in btm_ble_vendor_capability_vsc_cmpl_cback
8 bits parameters get 16 bits from buffer in btm_ble_vendor_
capability_vsc_cmpl_cback, which would cause out-of-bounds reading.
Correct STREAM_TO_UINT16 to STREAM_TO_UINT8
Test: manual
Bug:
112167084
Change-Id: Id2b71a8f74eee5d93f287d4705aadab449c55fce
Jack He [Tue, 28 Aug 2018 21:36:46 +0000 (14:36 -0700)]
Upload hook that guides people towards AOSP
The canonical location of certain parts of the source tree live in
AOSP, and should not be changed internally to avoid merge conflicts.
WARNING only: The PREUPLOAD script warns developer if the change is
not uploaded on AOSP.
Test: create a CL in master and upload
Change-Id: I9a100d86d31ef35d1f4617c75d523724acf8ae60
Ajay Panicker [Tue, 28 Aug 2018 20:52:32 +0000 (13:52 -0700)]
Don't add items to a response if a previous item fails to be added am:
7f29cc5ce2 am:
a6ac1493e7
am:
1074e5d3e2
Change-Id: I5c7cc270f7eec0db9113c9e0a553717efc80ed0b
Ajay Panicker [Tue, 28 Aug 2018 20:50:40 +0000 (13:50 -0700)]
Merge "Set the AVRCP Browsing MTU for a device after browse open" am:
6002df2ff2 am:
16d6ebc7d3
am:
4cbf7cd88f
Change-Id: I9190e34e891c25029053bf58cc670e5294d08d5d