OSDN Git Service

android-x86/system-bt.git
7 years agoMerge "Add missing packet length checks while parsing BNEP control packets" into...
Pavlin Radoslavov [Thu, 13 Jul 2017 21:04:21 +0000 (21:04 +0000)]
Merge "Add missing packet length checks while parsing BNEP control packets" into mnc-dev am: 64d3ed3c9d am: 6fca688b42 am: 7a30f0c78a am: 9dc57eff7a am: 9a7909fefe am: a51ce5e8f9 am: fd92240684 am: c9c96268fc am: fb40df875d  -s ours am: 4dc9c853a2  -s ours
am: 1a5653ed7a  -s ours

Change-Id: Ib0c4db0ee8155136681796988b9fd0070cf47d97

7 years agoMerge "Add missing continuation offset check for SDP continuation requests" into...
Pavlin Radoslavov [Thu, 13 Jul 2017 21:04:06 +0000 (21:04 +0000)]
Merge "Add missing continuation offset check for SDP continuation requests" into mnc-dev am: b5cb6103b9 am: 70ef60cac0 am: da8e592089 am: 634fc84bbd am: f4cca28ce7 am: c18777c2e6 am: e562fc49d3 am: becc43ca60 am: 9148341c11  -s ours am: 343ebf47be
am: 36c30dcac6  -s ours

Change-Id: I48973a95659efbc33ffab56a6ce6c6b7138331c5

7 years agoMerge "Allocate buffers of the right size when BT_HDR is included" into mnc-dev am...
Pavlin Radoslavov [Thu, 13 Jul 2017 21:03:42 +0000 (21:03 +0000)]
Merge "Allocate buffers of the right size when BT_HDR is included" into mnc-dev am: d2a3649d6e am: 27db9becc7 am: 84714e10d8 am: 8ec036d751  -s ours am: a6996df21f  -s ours am: 2fcebaa235  -s ours am: 4115bbb8f5  -s ours am: 014e50f138  -s ours am: 8512c504ab  -s ours am: 1c6f842334  -s ours
am: 0cba741f81  -s ours

Change-Id: Idd80e366a82d33af3fcb3bf95dbefca15ae76530

7 years agoDisable PAN Reverse Tethering when connection originated by the Remote am: f7a7f7a948...
Pavlin Radoslavov [Thu, 13 Jul 2017 21:03:20 +0000 (21:03 +0000)]
Disable PAN Reverse Tethering when connection originated by the Remote am: f7a7f7a948 am: b4cf6c5aa7 am: 5d9bbfe453 am: c80b2fc096  -s ours am: f79aebe2b9  -s ours am: 9005269de3  -s ours am: c464bfcd50  -s ours am: f728c0d6cd  -s ours am: 37a0953a2f  -s ours am: 091d2acaf8
am: 4c2b7fb76f

Change-Id: I1b5868986eefa0f261b8a33c30ffe9467d98015b

7 years agoMerge "Disable PAN Reverse Tethering when connection originated by the Remote" into...
Pavlin Radoslavov [Thu, 13 Jul 2017 21:03:03 +0000 (21:03 +0000)]
Merge "Disable PAN Reverse Tethering when connection originated by the Remote" into nyc-dev am: ee18c2bdd9 am: cf3547d9a2 am: 0141629f97 am: d79fd6108c am: acb2d613e8  -s ours am: 92633956fe
am: 21272f347e

Change-Id: Ibaa0003f082169895e34c1c21d94477a58444720

7 years agoAllocate buffers of the right size when BT_HDR is included am: 510697a0d7 am: 5da7401...
Pavlin Radoslavov [Thu, 13 Jul 2017 21:02:46 +0000 (21:02 +0000)]
Allocate buffers of the right size when BT_HDR is included am: 510697a0d7 am: 5da7401f62 am: 6a44d1821b am: 4e8db0e0b4 am: 8a6b2b86ba  -s ours am: b3639fc6d3  -s ours
am: 46fa78ebf4  -s ours

Change-Id: Ib15037aaf5efc1bdcc581a933dd1f7e738656f81

7 years agoMerge "Add missing continuation offset check for SDP continuation requests" into...
Pavlin Radoslavov [Thu, 13 Jul 2017 21:02:32 +0000 (21:02 +0000)]
Merge "Add missing continuation offset check for SDP continuation requests" into oc-dev am: 8109294976
am: 7ec12a4131

Change-Id: I98d90b733e4bd35642217a4dc3fd189af94edb36

7 years agoMerge "Disable PAN Reverse Tethering when connection originated by the Remote" into...
Pavlin Radoslavov [Thu, 13 Jul 2017 21:02:19 +0000 (21:02 +0000)]
Merge "Disable PAN Reverse Tethering when connection originated by the Remote" into oc-dev am: 5dbe611a15
am: e123e29253

Change-Id: Ie655edfde2f90a98f2b71cce52b92eade47ddabe

7 years agoMerge "Add missing packet length checks while parsing BNEP control packets" into...
Pavlin Radoslavov [Thu, 13 Jul 2017 20:57:55 +0000 (20:57 +0000)]
Merge "Add missing packet length checks while parsing BNEP control packets" into mnc-dev am: 64d3ed3c9d am: 6fca688b42 am: 7a30f0c78a am: 9dc57eff7a am: 9a7909fefe am: a51ce5e8f9 am: fd92240684 am: c9c96268fc am: fb40df875d  -s ours
am: 4dc9c853a2  -s ours

Change-Id: Ia49c68e44daae154eb08c9663f729ddeb0961295

7 years agoMerge "Add missing continuation offset check for SDP continuation requests" into...
Pavlin Radoslavov [Thu, 13 Jul 2017 20:57:31 +0000 (20:57 +0000)]
Merge "Add missing continuation offset check for SDP continuation requests" into mnc-dev am: b5cb6103b9 am: 70ef60cac0 am: da8e592089 am: 634fc84bbd am: f4cca28ce7 am: c18777c2e6 am: e562fc49d3 am: becc43ca60 am: 9148341c11  -s ours
am: 343ebf47be

Change-Id: I563ba24324fe60e71c935d7cf530f4632e9aee97

7 years agoMerge "Allocate buffers of the right size when BT_HDR is included" into mnc-dev am...
Pavlin Radoslavov [Thu, 13 Jul 2017 20:57:16 +0000 (20:57 +0000)]
Merge "Allocate buffers of the right size when BT_HDR is included" into mnc-dev am: d2a3649d6e am: 27db9becc7 am: 84714e10d8 am: 8ec036d751  -s ours am: a6996df21f  -s ours am: 2fcebaa235  -s ours am: 4115bbb8f5  -s ours am: 014e50f138  -s ours am: 8512c504ab  -s ours
am: 1c6f842334  -s ours

Change-Id: I2498e8d8fdc4117562adfabba78c1502f2197795

7 years agoDisable PAN Reverse Tethering when connection originated by the Remote am: f7a7f7a948...
Pavlin Radoslavov [Thu, 13 Jul 2017 20:56:55 +0000 (20:56 +0000)]
Disable PAN Reverse Tethering when connection originated by the Remote am: f7a7f7a948 am: b4cf6c5aa7 am: 5d9bbfe453 am: c80b2fc096  -s ours am: f79aebe2b9  -s ours am: 9005269de3  -s ours am: c464bfcd50  -s ours am: f728c0d6cd  -s ours am: 37a0953a2f  -s ours
am: 091d2acaf8

Change-Id: Icd6e985912868e7f7222522fd069900510abf855

7 years agoMerge "Disable PAN Reverse Tethering when connection originated by the Remote" into...
Pavlin Radoslavov [Thu, 13 Jul 2017 20:56:11 +0000 (20:56 +0000)]
Merge "Disable PAN Reverse Tethering when connection originated by the Remote" into nyc-dev am: ee18c2bdd9 am: cf3547d9a2 am: 0141629f97 am: d79fd6108c am: acb2d613e8  -s ours
am: 92633956fe

Change-Id: I2907656b79e4761fa29ac58bef80d63237d128ee

7 years agoAllocate buffers of the right size when BT_HDR is included am: 510697a0d7 am: 5da7401...
Pavlin Radoslavov [Thu, 13 Jul 2017 20:55:51 +0000 (20:55 +0000)]
Allocate buffers of the right size when BT_HDR is included am: 510697a0d7 am: 5da7401f62 am: 6a44d1821b am: 4e8db0e0b4 am: 8a6b2b86ba  -s ours
am: b3639fc6d3  -s ours

Change-Id: If9f15e6bc6f2d3bdca6af21cf7087130a35a0471

7 years agoMerge "Add missing continuation offset check for SDP continuation requests" into...
Pavlin Radoslavov [Thu, 13 Jul 2017 20:55:28 +0000 (20:55 +0000)]
Merge "Add missing continuation offset check for SDP continuation requests" into oc-dev
am: 8109294976

Change-Id: Id5ad35b2411c48c65bb78634515a4aa8b611b7c8

7 years agoMerge "Merge "resolve merge conflicts of 7d0ad232f to oc-dr1-dev" into oc-dr1-dev...
Android Build Merger (Role) [Thu, 13 Jul 2017 20:55:11 +0000 (20:55 +0000)]
Merge "Merge "resolve merge conflicts of 7d0ad232f to oc-dr1-dev" into oc-dr1-dev am: 79bc6a57df" into oc-dr1-dev-plus-aosp

7 years agoMerge "Disable PAN Reverse Tethering when connection originated by the Remote" into...
Pavlin Radoslavov [Thu, 13 Jul 2017 20:54:59 +0000 (20:54 +0000)]
Merge "Disable PAN Reverse Tethering when connection originated by the Remote" into oc-dev
am: 5dbe611a15

Change-Id: I8b07362df027405279f0f37f7f207609fc5ac292

7 years agoMerge "resolve merge conflicts of 7d0ad232f to oc-dr1-dev" into oc-dr1-dev
Pavlin Radoslavov [Thu, 13 Jul 2017 20:54:59 +0000 (20:54 +0000)]
Merge "resolve merge conflicts of 7d0ad232f to oc-dr1-dev" into oc-dr1-dev
am: 79bc6a57df

Change-Id: I5b8023cb9647735fdeda288f4543450e26a640e1

7 years agoresolve merge conflicts of 7d0ad232f to oc-dev-plus-aosp
Pavlin Radoslavov [Thu, 13 Jul 2017 20:54:51 +0000 (20:54 +0000)]
resolve merge conflicts of 7d0ad232f to oc-dev-plus-aosp
am: aa7f7079f7

Change-Id: Ica0e8327a1eb5ffcd5a60aa3cdd842943f508d15

7 years agoMerge "resolve merge conflicts of 7d0ad232f to oc-dr1-dev" into oc-dr1-dev
TreeHugger Robot [Thu, 13 Jul 2017 20:51:10 +0000 (20:51 +0000)]
Merge "resolve merge conflicts of 7d0ad232f to oc-dr1-dev" into oc-dr1-dev

7 years agobt: fix sdp service name by removing NULL char
Timm Korte [Thu, 13 Jul 2017 19:34:40 +0000 (19:34 +0000)]
bt: fix sdp service name by removing NULL char
am: 557d20fd26

Change-Id: I908826e02207f13affe62a33ea17093c50578d56

7 years agoresolve merge conflicts of 7d0ad232f to oc-dev-plus-aosp
Pavlin Radoslavov [Thu, 13 Jul 2017 18:48:43 +0000 (11:48 -0700)]
resolve merge conflicts of 7d0ad232f to oc-dev-plus-aosp

Test: Code inspection.
Change-Id: I13a192920f58d8cea622a6acb2fb46fd07fdd195

7 years agobt: fix sdp service name by removing NULL char
Timm Korte [Mon, 15 May 2017 06:30:00 +0000 (08:30 +0200)]
bt: fix sdp service name by removing NULL char

The Bluedroid stack uses a C string with terminating NULL char as a
service name. Since in BT, strings are TLV encoded (type, length,
value), this doesn't make sense.

Simple fix is to copy the string without the trailing NULL by
removing the "+1" after the strlen call when passing the string as
uint8_t array to the lower level functions.
The current behaviour keeps some older devices from being able to
connect to an Android providing a Serial Port profile due to having
the wrong service name (that is, including a NULL at the end instead
of the correct string).

Test: Checked against Linux BlueZ, which does not include this extra
null character.

Bug: 63665003
Change-Id: I6a43024ff89ac09e4b2d2e5cfb407b6e9323f0bd
Signed-off-by: Timm Korte <timm.korte@gmail.com>
(cherry picked from commit 625f798c696229b0cc58e5f85409fd029f987473)

7 years agoresolve merge conflicts of 7d0ad232f to oc-dr1-dev
Pavlin Radoslavov [Thu, 13 Jul 2017 18:37:19 +0000 (11:37 -0700)]
resolve merge conflicts of 7d0ad232f to oc-dr1-dev

Test: Code inspection.
Change-Id: I5406558028da5a52647dec7f4f691c6c68a5591e

7 years agoMerge "Add missing packet length checks while parsing BNEP control packets" into...
Pavlin Radoslavov [Thu, 13 Jul 2017 18:35:30 +0000 (18:35 +0000)]
Merge "Add missing packet length checks while parsing BNEP control packets" into mnc-dev am: 64d3ed3c9d am: 6fca688b42 am: 7a30f0c78a am: 9dc57eff7a am: 9a7909fefe am: a51ce5e8f9 am: fd92240684 am: c9c96268fc
am: fb40df875d  -s ours

Change-Id: I204c2eafb5b7d65bda4abcfb1cc8326548b1c507

7 years agoMerge "Add missing continuation offset check for SDP continuation requests" into...
Pavlin Radoslavov [Thu, 13 Jul 2017 18:35:14 +0000 (18:35 +0000)]
Merge "Add missing continuation offset check for SDP continuation requests" into mnc-dev am: b5cb6103b9 am: 70ef60cac0 am: da8e592089 am: 634fc84bbd am: f4cca28ce7 am: c18777c2e6 am: e562fc49d3 am: becc43ca60
am: 9148341c11  -s ours

Change-Id: I041ec096fd9419783bfbaf52998250f1a6b86b39

7 years agoMerge "Allocate buffers of the right size when BT_HDR is included" into mnc-dev am...
Pavlin Radoslavov [Thu, 13 Jul 2017 18:34:59 +0000 (18:34 +0000)]
Merge "Allocate buffers of the right size when BT_HDR is included" into mnc-dev am: d2a3649d6e am: 27db9becc7 am: 84714e10d8 am: 8ec036d751  -s ours am: a6996df21f  -s ours am: 2fcebaa235  -s ours am: 4115bbb8f5  -s ours am: 014e50f138  -s ours
am: 8512c504ab  -s ours

Change-Id: I0c15e25f71a3a24f9a652b5ccfd0b9c5a454a4e8

7 years agoDisable PAN Reverse Tethering when connection originated by the Remote am: f7a7f7a948...
Pavlin Radoslavov [Thu, 13 Jul 2017 18:34:40 +0000 (18:34 +0000)]
Disable PAN Reverse Tethering when connection originated by the Remote am: f7a7f7a948 am: b4cf6c5aa7 am: 5d9bbfe453 am: c80b2fc096  -s ours am: f79aebe2b9  -s ours am: 9005269de3  -s ours am: c464bfcd50  -s ours am: f728c0d6cd  -s ours
am: 37a0953a2f  -s ours

Change-Id: Ia591d50d3e2bfd54a5d1f574f883e9db99369c4b

7 years agoMerge "Add missing packet length checks while parsing BNEP control packets" into...
Pavlin Radoslavov [Thu, 13 Jul 2017 18:33:01 +0000 (18:33 +0000)]
Merge "Add missing packet length checks while parsing BNEP control packets" into mnc-dev am: 64d3ed3c9d am: 6fca688b42 am: 7a30f0c78a am: 9dc57eff7a am: 9a7909fefe am: a51ce5e8f9 am: fd92240684
am: c9c96268fc

Change-Id: Icdfb4c0ff269f4ea378170f7be4a22d3921b18be

7 years agoMerge "Add missing continuation offset check for SDP continuation requests" into...
Pavlin Radoslavov [Thu, 13 Jul 2017 18:32:47 +0000 (18:32 +0000)]
Merge "Add missing continuation offset check for SDP continuation requests" into mnc-dev am: b5cb6103b9 am: 70ef60cac0 am: da8e592089 am: 634fc84bbd am: f4cca28ce7 am: c18777c2e6 am: e562fc49d3
am: becc43ca60

Change-Id: I8eabf2bc2931ca674678fbbf3d65b9da9ca7e6bd

7 years agoMerge "Allocate buffers of the right size when BT_HDR is included" into mnc-dev am...
Pavlin Radoslavov [Thu, 13 Jul 2017 18:32:28 +0000 (18:32 +0000)]
Merge "Allocate buffers of the right size when BT_HDR is included" into mnc-dev am: d2a3649d6e am: 27db9becc7 am: 84714e10d8 am: 8ec036d751  -s ours am: a6996df21f  -s ours am: 2fcebaa235  -s ours am: 4115bbb8f5  -s ours
am: 014e50f138  -s ours

Change-Id: Idebb4a822e6978ea91fc47833f05677fba92a37d

7 years agoDisable PAN Reverse Tethering when connection originated by the Remote am: f7a7f7a948...
Pavlin Radoslavov [Thu, 13 Jul 2017 18:32:10 +0000 (18:32 +0000)]
Disable PAN Reverse Tethering when connection originated by the Remote am: f7a7f7a948 am: b4cf6c5aa7 am: 5d9bbfe453 am: c80b2fc096  -s ours am: f79aebe2b9  -s ours am: 9005269de3  -s ours am: c464bfcd50  -s ours
am: f728c0d6cd  -s ours

Change-Id: I1a85ce7d1cf860bb251d6899dbdf2b05bd2bcb6e

7 years agoMerge "Add missing packet length checks while parsing BNEP control packets" into...
Pavlin Radoslavov [Thu, 13 Jul 2017 18:30:31 +0000 (18:30 +0000)]
Merge "Add missing packet length checks while parsing BNEP control packets" into mnc-dev am: 64d3ed3c9d am: 6fca688b42 am: 7a30f0c78a am: 9dc57eff7a am: 9a7909fefe am: a51ce5e8f9
am: fd92240684

Change-Id: I250289a3e98e5ae0131276cfb2a7bc5f07aea1b7

7 years agoMerge "Add missing continuation offset check for SDP continuation requests" into...
Pavlin Radoslavov [Thu, 13 Jul 2017 18:30:14 +0000 (18:30 +0000)]
Merge "Add missing continuation offset check for SDP continuation requests" into mnc-dev am: b5cb6103b9 am: 70ef60cac0 am: da8e592089 am: 634fc84bbd am: f4cca28ce7 am: c18777c2e6
am: e562fc49d3

Change-Id: I35d5a9719f2f554d4211b597cd776ec66824f062

7 years agoMerge "Allocate buffers of the right size when BT_HDR is included" into mnc-dev am...
Pavlin Radoslavov [Thu, 13 Jul 2017 18:29:57 +0000 (18:29 +0000)]
Merge "Allocate buffers of the right size when BT_HDR is included" into mnc-dev am: d2a3649d6e am: 27db9becc7 am: 84714e10d8 am: 8ec036d751  -s ours am: a6996df21f  -s ours am: 2fcebaa235  -s ours
am: 4115bbb8f5  -s ours

Change-Id: Idb37536609bac94fa1dfb001c5e63d765ad0e9ee

7 years agoDisable PAN Reverse Tethering when connection originated by the Remote am: f7a7f7a948...
Pavlin Radoslavov [Thu, 13 Jul 2017 18:29:39 +0000 (18:29 +0000)]
Disable PAN Reverse Tethering when connection originated by the Remote am: f7a7f7a948 am: b4cf6c5aa7 am: 5d9bbfe453 am: c80b2fc096  -s ours am: f79aebe2b9  -s ours am: 9005269de3  -s ours
am: c464bfcd50  -s ours

Change-Id: I97811392efb8e88411006d43d4d499599392f682

7 years agoMerge "Add missing packet length checks while parsing BNEP control packets" into...
Pavlin Radoslavov [Thu, 13 Jul 2017 18:27:29 +0000 (18:27 +0000)]
Merge "Add missing packet length checks while parsing BNEP control packets" into mnc-dev am: 64d3ed3c9d am: 6fca688b42 am: 7a30f0c78a am: 9dc57eff7a am: 9a7909fefe
am: a51ce5e8f9

Change-Id: I07ab0843b58d95cfd0261cd54dc65cd40a184bef

7 years agoMerge "Add missing continuation offset check for SDP continuation requests" into...
Pavlin Radoslavov [Thu, 13 Jul 2017 18:27:14 +0000 (18:27 +0000)]
Merge "Add missing continuation offset check for SDP continuation requests" into mnc-dev am: b5cb6103b9 am: 70ef60cac0 am: da8e592089 am: 634fc84bbd am: f4cca28ce7
am: c18777c2e6

Change-Id: I8e30d779ab33a28a6e11f8671a490e92b55fe2da

7 years agoMerge "Allocate buffers of the right size when BT_HDR is included" into mnc-dev am...
Pavlin Radoslavov [Thu, 13 Jul 2017 18:26:57 +0000 (18:26 +0000)]
Merge "Allocate buffers of the right size when BT_HDR is included" into mnc-dev am: d2a3649d6e am: 27db9becc7 am: 84714e10d8 am: 8ec036d751  -s ours am: a6996df21f  -s ours
am: 2fcebaa235  -s ours

Change-Id: I8c0a6e3e8fdafb24739a9f267b944507b287db91

7 years agoDisable PAN Reverse Tethering when connection originated by the Remote am: f7a7f7a948...
Pavlin Radoslavov [Thu, 13 Jul 2017 18:26:40 +0000 (18:26 +0000)]
Disable PAN Reverse Tethering when connection originated by the Remote am: f7a7f7a948 am: b4cf6c5aa7 am: 5d9bbfe453 am: c80b2fc096  -s ours am: f79aebe2b9  -s ours
am: 9005269de3  -s ours

Change-Id: Ia2e716810d7a667becfe79b5ce5995225ed57648

7 years agoMerge "Add missing packet length checks while parsing BNEP control packets" into...
Pavlin Radoslavov [Thu, 13 Jul 2017 18:24:37 +0000 (18:24 +0000)]
Merge "Add missing packet length checks while parsing BNEP control packets" into mnc-dev am: 64d3ed3c9d am: 6fca688b42 am: 7a30f0c78a am: 9dc57eff7a
am: 9a7909fefe

Change-Id: I9734ec3d308ab8fb98a5923241fbab91ad81af28

7 years agoMerge "Add missing continuation offset check for SDP continuation requests" into...
Pavlin Radoslavov [Thu, 13 Jul 2017 18:24:21 +0000 (18:24 +0000)]
Merge "Add missing continuation offset check for SDP continuation requests" into mnc-dev am: b5cb6103b9 am: 70ef60cac0 am: da8e592089 am: 634fc84bbd
am: f4cca28ce7

Change-Id: I634762cc7468a03ca94702153dc638ac5506d20a

7 years agoMerge "Allocate buffers of the right size when BT_HDR is included" into mnc-dev am...
Pavlin Radoslavov [Thu, 13 Jul 2017 18:24:04 +0000 (18:24 +0000)]
Merge "Allocate buffers of the right size when BT_HDR is included" into mnc-dev am: d2a3649d6e am: 27db9becc7 am: 84714e10d8 am: 8ec036d751  -s ours
am: a6996df21f  -s ours

Change-Id: Icef81edd5fec2d5edee0af3c02f4b85ea75a9d0f

7 years agoDisable PAN Reverse Tethering when connection originated by the Remote am: f7a7f7a948...
Pavlin Radoslavov [Thu, 13 Jul 2017 18:23:39 +0000 (18:23 +0000)]
Disable PAN Reverse Tethering when connection originated by the Remote am: f7a7f7a948 am: b4cf6c5aa7 am: 5d9bbfe453 am: c80b2fc096  -s ours
am: f79aebe2b9  -s ours

Change-Id: I98be6f0d6399502bbf523e3531865a608111c076

7 years agoMerge "Add missing packet length checks while parsing BNEP control packets" into...
Pavlin Radoslavov [Thu, 13 Jul 2017 18:21:35 +0000 (18:21 +0000)]
Merge "Add missing packet length checks while parsing BNEP control packets" into mnc-dev am: 64d3ed3c9d am: 6fca688b42 am: 7a30f0c78a
am: 9dc57eff7a

Change-Id: Iefe422511cd90f86d95b7d5c576161aae80055e9

7 years agoMerge "Add missing continuation offset check for SDP continuation requests" into...
Pavlin Radoslavov [Thu, 13 Jul 2017 18:21:15 +0000 (18:21 +0000)]
Merge "Add missing continuation offset check for SDP continuation requests" into mnc-dev am: b5cb6103b9 am: 70ef60cac0 am: da8e592089
am: 634fc84bbd

Change-Id: I35386fe81935831e344265a879e8ee2bc05e4dc7

7 years agoMerge "Allocate buffers of the right size when BT_HDR is included" into mnc-dev am...
Pavlin Radoslavov [Thu, 13 Jul 2017 18:20:57 +0000 (18:20 +0000)]
Merge "Allocate buffers of the right size when BT_HDR is included" into mnc-dev am: d2a3649d6e am: 27db9becc7 am: 84714e10d8
am: 8ec036d751  -s ours

Change-Id: I3735cfa1430daf543d5cbfdb1609176443feba86

7 years agoDisable PAN Reverse Tethering when connection originated by the Remote am: f7a7f7a948...
Pavlin Radoslavov [Thu, 13 Jul 2017 18:20:40 +0000 (18:20 +0000)]
Disable PAN Reverse Tethering when connection originated by the Remote am: f7a7f7a948 am: b4cf6c5aa7 am: 5d9bbfe453
am: c80b2fc096  -s ours

Change-Id: I143dcc7f5db0b852b596eeb62ac78f1beda40b3c

7 years agoMerge "Add missing packet length checks while parsing BNEP control packets" into...
Pavlin Radoslavov [Thu, 13 Jul 2017 18:19:03 +0000 (18:19 +0000)]
Merge "Add missing packet length checks while parsing BNEP control packets" into mnc-dev am: 64d3ed3c9d am: 6fca688b42
am: 7a30f0c78a

Change-Id: I77d2ac1b4e2e271d42cf555f66951217db7c7f05

7 years agoMerge "Add missing continuation offset check for SDP continuation requests" into...
Pavlin Radoslavov [Thu, 13 Jul 2017 18:18:49 +0000 (18:18 +0000)]
Merge "Add missing continuation offset check for SDP continuation requests" into mnc-dev am: b5cb6103b9 am: 70ef60cac0
am: da8e592089

Change-Id: Ibc97e933ab9dbcb262753946ca0bad8ed3fe716d

7 years agoMerge "Allocate buffers of the right size when BT_HDR is included" into mnc-dev am...
Pavlin Radoslavov [Thu, 13 Jul 2017 18:18:33 +0000 (18:18 +0000)]
Merge "Allocate buffers of the right size when BT_HDR is included" into mnc-dev am: d2a3649d6e am: 27db9becc7
am: 84714e10d8

Change-Id: I1a88047cdf70026aaa57f747e4ce614b1d496df0

7 years agoDisable PAN Reverse Tethering when connection originated by the Remote am: f7a7f7a948...
Pavlin Radoslavov [Thu, 13 Jul 2017 18:18:09 +0000 (18:18 +0000)]
Disable PAN Reverse Tethering when connection originated by the Remote am: f7a7f7a948 am: b4cf6c5aa7
am: 5d9bbfe453

Change-Id: I0d39c39b4b573b7df297ed1d93191aff18712fec

7 years agoMerge "Add missing packet length checks while parsing BNEP control packets" into...
Pavlin Radoslavov [Thu, 13 Jul 2017 18:16:48 +0000 (18:16 +0000)]
Merge "Add missing packet length checks while parsing BNEP control packets" into mnc-dev am: 64d3ed3c9d
am: 6fca688b42

Change-Id: I2f4b155188edb226c208350addc1d342ef90a55a

7 years agoMerge "Add missing continuation offset check for SDP continuation requests" into...
Pavlin Radoslavov [Thu, 13 Jul 2017 18:16:35 +0000 (18:16 +0000)]
Merge "Add missing continuation offset check for SDP continuation requests" into mnc-dev am: b5cb6103b9
am: 70ef60cac0

Change-Id: I17a95052722739e6329e9759fafe1c0a7acfa067

7 years agoMerge "Disable PAN Reverse Tethering when connection originated by the Remote" into...
Pavlin Radoslavov [Thu, 13 Jul 2017 18:16:23 +0000 (18:16 +0000)]
Merge "Disable PAN Reverse Tethering when connection originated by the Remote" into nyc-dev am: ee18c2bdd9 am: cf3547d9a2 am: 0141629f97 am: d79fd6108c
am: acb2d613e8  -s ours

Change-Id: Iadd78e80ac0f6d6b198a2edd7d97492eb2f692cb

7 years agoMerge "Allocate buffers of the right size when BT_HDR is included" into mnc-dev am...
Pavlin Radoslavov [Thu, 13 Jul 2017 18:16:22 +0000 (18:16 +0000)]
Merge "Allocate buffers of the right size when BT_HDR is included" into mnc-dev am: d2a3649d6e
am: 27db9becc7

Change-Id: I5a5ea407d003fc297ee89837ff22fcc0d946c735

7 years agoDisable PAN Reverse Tethering when connection originated by the Remote am: f7a7f7a948
Pavlin Radoslavov [Thu, 13 Jul 2017 18:16:08 +0000 (18:16 +0000)]
Disable PAN Reverse Tethering when connection originated by the Remote am: f7a7f7a948
am: b4cf6c5aa7

Change-Id: I915ceaf816dc806ba91da7791aa1b43460615935

7 years agoAllocate buffers of the right size when BT_HDR is included am: 510697a0d7 am: 5da7401...
Pavlin Radoslavov [Thu, 13 Jul 2017 18:16:07 +0000 (18:16 +0000)]
Allocate buffers of the right size when BT_HDR is included am: 510697a0d7 am: 5da7401f62 am: 6a44d1821b am: 4e8db0e0b4
am: 8a6b2b86ba  -s ours

Change-Id: I15e24d3ee6db3a03facf05df6a4b59c0bbd10e0f

7 years agoMerge "Add missing packet length checks while parsing BNEP control packets" into...
Pavlin Radoslavov [Thu, 13 Jul 2017 18:14:31 +0000 (18:14 +0000)]
Merge "Add missing packet length checks while parsing BNEP control packets" into mnc-dev
am: 64d3ed3c9d

Change-Id: I2ec8b4f3b50082036ce1f335d36fd728cb9c3665

7 years agoMerge "Add missing continuation offset check for SDP continuation requests" into...
Pavlin Radoslavov [Thu, 13 Jul 2017 18:14:11 +0000 (18:14 +0000)]
Merge "Add missing continuation offset check for SDP continuation requests" into mnc-dev
am: b5cb6103b9

Change-Id: I12c131aa3543e524f669f038153de2dbcd6ca63a

7 years agoMerge "Allocate buffers of the right size when BT_HDR is included" into mnc-dev
Pavlin Radoslavov [Thu, 13 Jul 2017 18:13:55 +0000 (18:13 +0000)]
Merge "Allocate buffers of the right size when BT_HDR is included" into mnc-dev
am: d2a3649d6e

Change-Id: I781ce0eb5e6ea5b8b8fb029afe6caf81bd9ca9fb

7 years agoMerge "Disable PAN Reverse Tethering when connection originated by the Remote" into...
Pavlin Radoslavov [Thu, 13 Jul 2017 18:13:52 +0000 (18:13 +0000)]
Merge "Disable PAN Reverse Tethering when connection originated by the Remote" into nyc-dev am: ee18c2bdd9 am: cf3547d9a2 am: 0141629f97
am: d79fd6108c

Change-Id: Ibc5fee1b8c7f9b3a73a66ead8485b5b35418f1b6

7 years agoDisable PAN Reverse Tethering when connection originated by the Remote
Pavlin Radoslavov [Thu, 13 Jul 2017 18:13:38 +0000 (18:13 +0000)]
Disable PAN Reverse Tethering when connection originated by the Remote
am: f7a7f7a948

Change-Id: I5d1c8050de38dde922f9891e70574205422ee7be

7 years agoAllocate buffers of the right size when BT_HDR is included am: 510697a0d7 am: 5da7401...
Pavlin Radoslavov [Thu, 13 Jul 2017 18:13:38 +0000 (18:13 +0000)]
Allocate buffers of the right size when BT_HDR is included am: 510697a0d7 am: 5da7401f62 am: 6a44d1821b
am: 4e8db0e0b4

Change-Id: I4b45cfe89d4460520eca795858309a83886e6c70

7 years agoMerge "Disable PAN Reverse Tethering when connection originated by the Remote" into...
Pavlin Radoslavov [Thu, 13 Jul 2017 18:11:26 +0000 (18:11 +0000)]
Merge "Disable PAN Reverse Tethering when connection originated by the Remote" into nyc-dev am: ee18c2bdd9 am: cf3547d9a2
am: 0141629f97

Change-Id: I8635a23f75175bcde855ddf925ce2da0efd7de2b

7 years agoAllocate buffers of the right size when BT_HDR is included am: 510697a0d7 am: 5da7401f62
Pavlin Radoslavov [Thu, 13 Jul 2017 18:11:07 +0000 (18:11 +0000)]
Allocate buffers of the right size when BT_HDR is included am: 510697a0d7 am: 5da7401f62
am: 6a44d1821b

Change-Id: Idfaeec3e29c40905e50e69df944134e403d41a1b

7 years agoMerge "Disable PAN Reverse Tethering when connection originated by the Remote" into...
Pavlin Radoslavov [Thu, 13 Jul 2017 18:08:51 +0000 (18:08 +0000)]
Merge "Disable PAN Reverse Tethering when connection originated by the Remote" into nyc-dev am: ee18c2bdd9
am: cf3547d9a2

Change-Id: Ia5a9015eb954fd331c2a06120456b98baafc0f17

7 years agoAllocate buffers of the right size when BT_HDR is included am: 510697a0d7
Pavlin Radoslavov [Thu, 13 Jul 2017 18:08:37 +0000 (18:08 +0000)]
Allocate buffers of the right size when BT_HDR is included am: 510697a0d7
am: 5da7401f62

Change-Id: I551622b60e882a85a9c739ec22d08a5af55cb1c9

7 years agoMerge "Disable PAN Reverse Tethering when connection originated by the Remote" into...
Pavlin Radoslavov [Thu, 13 Jul 2017 18:06:58 +0000 (18:06 +0000)]
Merge "Disable PAN Reverse Tethering when connection originated by the Remote" into nyc-dev
am: ee18c2bdd9

Change-Id: I077fed75c11c360dd38d4988f08dca4dd8ddf604

7 years agoAllocate buffers of the right size when BT_HDR is included
Pavlin Radoslavov [Thu, 13 Jul 2017 18:06:36 +0000 (18:06 +0000)]
Allocate buffers of the right size when BT_HDR is included
am: 510697a0d7

Change-Id: I5ca796fc392413dbf7f89332d1172904f980fab5

7 years agoMerge "Add missing packet length checks while parsing BNEP control packets" into...
TreeHugger Robot [Thu, 13 Jul 2017 18:05:30 +0000 (18:05 +0000)]
Merge "Add missing packet length checks while parsing BNEP control packets" into mnc-dev

7 years agoMerge "Add missing continuation offset check for SDP continuation requests" into...
TreeHugger Robot [Thu, 13 Jul 2017 18:05:09 +0000 (18:05 +0000)]
Merge "Add missing continuation offset check for SDP continuation requests" into mnc-dev

7 years agoMerge "Allocate buffers of the right size when BT_HDR is included" into mnc-dev
TreeHugger Robot [Thu, 13 Jul 2017 18:04:48 +0000 (18:04 +0000)]
Merge "Allocate buffers of the right size when BT_HDR is included" into mnc-dev

7 years agoMerge "Disable PAN Reverse Tethering when connection originated by the Remote" into...
TreeHugger Robot [Thu, 13 Jul 2017 18:02:23 +0000 (18:02 +0000)]
Merge "Disable PAN Reverse Tethering when connection originated by the Remote" into nyc-dev

7 years agoMerge "Add missing continuation offset check for SDP continuation requests" into...
TreeHugger Robot [Thu, 13 Jul 2017 17:53:39 +0000 (17:53 +0000)]
Merge "Add missing continuation offset check for SDP continuation requests" into oc-dev

7 years agoMerge "Disable PAN Reverse Tethering when connection originated by the Remote" into...
TreeHugger Robot [Thu, 13 Jul 2017 17:52:13 +0000 (17:52 +0000)]
Merge "Disable PAN Reverse Tethering when connection originated by the Remote" into oc-dev

7 years agoMerge "Merge "Add a missing check for PAN buffer size before copying data" into oc...
Android Build Merger (Role) [Thu, 13 Jul 2017 17:31:48 +0000 (17:31 +0000)]
Merge "Merge "Add a missing check for PAN buffer size before copying data" into oc-dev am: ff7bd36bb7 am: c1265822c8" into oc-dr1-dev-plus-aosp

7 years agoMerge "Add a missing check for PAN buffer size before copying data" into oc-dev am...
Pavlin Radoslavov [Thu, 13 Jul 2017 17:31:38 +0000 (17:31 +0000)]
Merge "Add a missing check for PAN buffer size before copying data" into oc-dev am: ff7bd36bb7
am: c1265822c8

Change-Id: Id9bbe63658f8697f130ab59e0fd8c03a7c0f6a9c

7 years agoMerge "Add a missing check for PAN buffer size before copying data" into oc-dev am...
Pavlin Radoslavov [Thu, 13 Jul 2017 17:31:37 +0000 (17:31 +0000)]
Merge "Add a missing check for PAN buffer size before copying data" into oc-dev am: ff7bd36bb7
am: 1a55b43f5c

Change-Id: Id3ca741665434246e0bf667949d65b576ff9fdc6

7 years agoMerge "Add a missing check for PAN buffer size before copying data" into oc-dev
Pavlin Radoslavov [Thu, 13 Jul 2017 17:29:07 +0000 (17:29 +0000)]
Merge "Add a missing check for PAN buffer size before copying data" into oc-dev
am: ff7bd36bb7

Change-Id: I8da8cfc4703923afd2bb8311a95250c39447f9bd

7 years agoMerge "Add a missing check for PAN buffer size before copying data" into oc-dev
Pavlin Radoslavov [Thu, 13 Jul 2017 17:29:05 +0000 (17:29 +0000)]
Merge "Add a missing check for PAN buffer size before copying data" into oc-dev
am: ff7bd36bb7

Change-Id: I1f4eda1132635ad3ee7016f7ad423cea20e293c9

7 years agoMerge "Add missing packet length checks while parsing BNEP control packets" into...
TreeHugger Robot [Thu, 13 Jul 2017 17:25:27 +0000 (17:25 +0000)]
Merge "Add missing packet length checks while parsing BNEP control packets" into oc-dev

7 years agoMerge "Add a missing check for PAN buffer size before copying data" into oc-dev
TreeHugger Robot [Thu, 13 Jul 2017 17:24:30 +0000 (17:24 +0000)]
Merge "Add a missing check for PAN buffer size before copying data" into oc-dev

7 years agoAllocate buffers of the right size when BT_HDR is included am: 8810ffba99
Pavlin Radoslavov [Thu, 13 Jul 2017 17:24:18 +0000 (17:24 +0000)]
Allocate buffers of the right size when BT_HDR is included am: 8810ffba99
am: 0e590923e4  -s ours

Change-Id: I9b8d1a55ce8933d8e7d3c9e8f7aee595878f1f00

7 years agoAllocate buffers of the right size when BT_HDR is included am: 8810ffba99
Pavlin Radoslavov [Thu, 13 Jul 2017 17:22:04 +0000 (17:22 +0000)]
Allocate buffers of the right size when BT_HDR is included am: 8810ffba99
am: c4d897fae0

Change-Id: I7d1d3df1901886b58fda82667ad9a34e86a12dee

7 years agoAllocate buffers of the right size when BT_HDR is included
Pavlin Radoslavov [Thu, 13 Jul 2017 17:19:10 +0000 (17:19 +0000)]
Allocate buffers of the right size when BT_HDR is included
am: 8810ffba99

Change-Id: I963e06b87ad133b661482df6e1b0fa8b8b15cbc4

7 years agoAllocate buffers of the right size when BT_HDR is included
Pavlin Radoslavov [Thu, 13 Jul 2017 17:19:07 +0000 (17:19 +0000)]
Allocate buffers of the right size when BT_HDR is included
am: 8810ffba99

Change-Id: Iba43743c47ce1e0dc0221177b0d168692fa44bdf

7 years agoDisable PAN Reverse Tethering when connection originated by the Remote
Pavlin Radoslavov [Thu, 13 Jul 2017 01:39:31 +0000 (18:39 -0700)]
Disable PAN Reverse Tethering when connection originated by the Remote

* Check for valid interactions between the three PAN profile roles per
  Table 1 in PAN Profile v1.0 spec.
* Explicitly disable connections to the local PANU if the remote is
  not PANU.

Bug: 63145701
Test: External script
Change-Id: I29a7e404ba7e4453b6a7c59148a2b3eb7395303a
Merged-In: I29a7e404ba7e4453b6a7c59148a2b3eb7395303a
(cherry picked from commit 9aea2c2f92dd5245f6b35d564ce8e471fec2b4ec)
(cherry picked from commit 3f2ee5b546b65b5b021779588316249276ed3827)
(cherry picked from commit 40c7cefb12ac1a70bf7b1c770c1ab21a5b3f229e)
(cherry picked from commit f7a7f7a948e38195e8ca897785ac5d489082f0cc)

7 years agoAllocate buffers of the right size when BT_HDR is included
Pavlin Radoslavov [Thu, 6 Jul 2017 20:39:02 +0000 (13:39 -0700)]
Allocate buffers of the right size when BT_HDR is included

Bug: 63146105
Test: External script
Change-Id: I1f2c871e3fcf57aabdad9d07905e6dae643bd496
Merged-In: I1f2c871e3fcf57aabdad9d07905e6dae643bd496
(cherry picked from commit d88838a7237cd672d87b6b9cc8d56fff625fd1d5)
(cherry picked from commit b648c7dfe45c57842d58576f558fdf8edff10bec)
(cherry picked from commit 338e0485940ab278e6a2dc12285ba0798b79cfa4)

7 years agoAdd missing packet length checks while parsing BNEP control packets
Pavlin Radoslavov [Thu, 13 Jul 2017 02:10:12 +0000 (19:10 -0700)]
Add missing packet length checks while parsing BNEP control packets

Bug: 63146237
Test: External script
Change-Id: Ie778f3c99df81c85ed988f3af89b4edbcc2eeb99
Merged-In: Ie778f3c99df81c85ed988f3af89b4edbcc2eeb99
(cherry picked from commit 7feaeb006941a1494d7cdc0a2ffc4bb1004b38b4)
(cherry picked from commit 6d415839da570b94b0763f6ab444f0dd1321fc33)
(cherry picked from commit c68554feb3ddfd31cdec6d81a4b73a959c1b2a09)
(cherry picked from commit 3775b3c49e5d62349fd1f3dfb743fabadb43ea75)

7 years agoAdd missing continuation offset check for SDP continuation requests
Pavlin Radoslavov [Thu, 13 Jul 2017 01:56:03 +0000 (18:56 -0700)]
Add missing continuation offset check for SDP continuation requests

Bug: 63146698
Test: External script
Change-Id: Iea52f1689dc12bfe0d4b57996f17db4bc3bd5983
Merged-In: Iea52f1689dc12bfe0d4b57996f17db4bc3bd5983
(cherry picked from commit e776c834768bedd043ace7e5714390b61c96a248)
(cherry picked from commit 10ce685cb025f6854be4ecc5329f2f684fd9ea5d)

7 years agoDisable PAN Reverse Tethering when connection originated by the Remote
Pavlin Radoslavov [Thu, 13 Jul 2017 01:39:31 +0000 (18:39 -0700)]
Disable PAN Reverse Tethering when connection originated by the Remote

* Check for valid interactions between the three PAN profile roles per
  Table 1 in PAN Profile v1.0 spec.
* Explicitly disable connections to the local PANU if the remote is
  not PANU.

Bug: 63145701
Test: External script
Change-Id: I29a7e404ba7e4453b6a7c59148a2b3eb7395303a
Merged-In: I29a7e404ba7e4453b6a7c59148a2b3eb7395303a
(cherry picked from commit 9aea2c2f92dd5245f6b35d564ce8e471fec2b4ec)
(cherry picked from commit 3f2ee5b546b65b5b021779588316249276ed3827)
(cherry picked from commit 40c7cefb12ac1a70bf7b1c770c1ab21a5b3f229e)

7 years agoAllocate buffers of the right size when BT_HDR is included
Pavlin Radoslavov [Thu, 6 Jul 2017 20:39:02 +0000 (13:39 -0700)]
Allocate buffers of the right size when BT_HDR is included

Bug: 63146105
Test: External script
Change-Id: I1f2c871e3fcf57aabdad9d07905e6dae643bd496
Merged-In: I1f2c871e3fcf57aabdad9d07905e6dae643bd496
(cherry picked from commit d88838a7237cd672d87b6b9cc8d56fff625fd1d5)
(cherry picked from commit b648c7dfe45c57842d58576f558fdf8edff10bec)

7 years agoAllow collection of Bluetooth firmware dumps in bugreports (3/3)
Ajay Panicker [Thu, 13 Jul 2017 00:21:43 +0000 (00:21 +0000)]
Allow collection of Bluetooth firmware dumps in bugreports (3/3)
am: 0580dd639c

Change-Id: I0ee8952683ef818d0b67d8fc5127f499bf9360fb

7 years agoMerge "bt: fix sdp service name by removing NULL char" am: 2766da83df am: 8eff94efb9
Timm Korte [Thu, 13 Jul 2017 00:19:33 +0000 (00:19 +0000)]
Merge "bt: fix sdp service name by removing NULL char" am: 2766da83df am: 8eff94efb9
am: a54843d018

Change-Id: Ie541597466ef3e2e7b92c3dcd283bae5eea3649e

7 years agoMerge "bt: fix sdp service name by removing NULL char" am: 2766da83df
Timm Korte [Thu, 13 Jul 2017 00:17:34 +0000 (00:17 +0000)]
Merge "bt: fix sdp service name by removing NULL char" am: 2766da83df
am: 8eff94efb9

Change-Id: I13ea9e2e243efd14d6a3b43b9428996f24586e7e

7 years agoMerge "bt: fix sdp service name by removing NULL char"
Timm Korte [Thu, 13 Jul 2017 00:15:03 +0000 (00:15 +0000)]
Merge "bt: fix sdp service name by removing NULL char"
am: 2766da83df

Change-Id: I57de21a3a368cfc0312cce5498bb0beb70ae5cc2

7 years agoMerge "bt: fix sdp service name by removing NULL char"
Treehugger Robot [Thu, 13 Jul 2017 00:09:27 +0000 (00:09 +0000)]
Merge "bt: fix sdp service name by removing NULL char"

7 years agoAdd missing packet length checks while parsing BNEP control packets
Pavlin Radoslavov [Thu, 6 Jul 2017 23:51:35 +0000 (16:51 -0700)]
Add missing packet length checks while parsing BNEP control packets

Bug: 63146237
Test: External script
Change-Id: Ie778f3c99df81c85ed988f3af89b4edbcc2eeb99
Merged-In: Ie778f3c99df81c85ed988f3af89b4edbcc2eeb99
(cherry picked from commit 7feaeb006941a1494d7cdc0a2ffc4bb1004b38b4)

7 years agoMake GATT server code more readable am: b4e4799154 am: dd80e5f674
Jakub Pawlowski [Wed, 12 Jul 2017 22:59:27 +0000 (22:59 +0000)]
Make GATT server code more readable am: b4e4799154 am: dd80e5f674
am: 3688cf9d05

Change-Id: I443b22384d9ed6093c082ac199026233cb09bffa