OSDN Git Service

android-x86/system-bt.git
7 years agoFree p_pending_data from tBNEP_CONN to avoid potential memory leaks am: f8fc7f7d11...
Pavlin Radoslavov [Tue, 18 Jul 2017 19:31:36 +0000 (19:31 +0000)]
Free p_pending_data from tBNEP_CONN to avoid potential memory leaks am: f8fc7f7d11 am: 2b53cd05f2 am: 28d58cb2c8 am: 9fa3d4f2c7 am: 92744bc2ce  -s ours am: 27835e4e3e  -s ours am: 0aa2d9bbb9  -s ours
am: a6bbbccc90  -s ours

Change-Id: Id3ade33b257c9e139d9d73a1ccfc76c1fd18edb7

7 years agoFree p_pending_data from tBNEP_CONN to avoid potential memory leaks am: f8fc7f7d11...
Pavlin Radoslavov [Tue, 18 Jul 2017 19:29:52 +0000 (19:29 +0000)]
Free p_pending_data from tBNEP_CONN to avoid potential memory leaks am: f8fc7f7d11 am: 2b53cd05f2 am: 28d58cb2c8 am: 9fa3d4f2c7 am: 92744bc2ce  -s ours am: 27835e4e3e  -s ours am: bc25939205  -s ours
am: db46ee25da  -s ours

Change-Id: Idbeecb6c571deac834d01abc6acc1e869c4f5f2a

7 years agoFree p_pending_data from tBNEP_CONN to avoid potential memory leaks am: f8fc7f7d11...
Pavlin Radoslavov [Tue, 18 Jul 2017 19:29:39 +0000 (19:29 +0000)]
Free p_pending_data from tBNEP_CONN to avoid potential memory leaks am: f8fc7f7d11 am: 2b53cd05f2 am: 28d58cb2c8 am: 9fa3d4f2c7 am: 92744bc2ce  -s ours am: 27835e4e3e  -s ours
am: 0aa2d9bbb9  -s ours

Change-Id: I6250c41d2e117cd5325ac96a1d770fa12422bf84

7 years agoFree p_pending_data from tBNEP_CONN to avoid potential memory leaks am: f8fc7f7d11...
Pavlin Radoslavov [Tue, 18 Jul 2017 19:22:55 +0000 (19:22 +0000)]
Free p_pending_data from tBNEP_CONN to avoid potential memory leaks am: f8fc7f7d11 am: 2b53cd05f2 am: 28d58cb2c8 am: 9fa3d4f2c7 am: 92744bc2ce  -s ours am: 27835e4e3e  -s ours
am: bc25939205  -s ours

Change-Id: I3bf45660c1b0204d48ad4462c5f4c2adbab80423

7 years agoFree p_pending_data from tBNEP_CONN to avoid potential memory leaks am: f8fc7f7d11...
Pavlin Radoslavov [Tue, 18 Jul 2017 19:20:18 +0000 (19:20 +0000)]
Free p_pending_data from tBNEP_CONN to avoid potential memory leaks am: f8fc7f7d11 am: 2b53cd05f2 am: 28d58cb2c8 am: 9fa3d4f2c7 am: 92744bc2ce  -s ours
am: 27835e4e3e  -s ours

Change-Id: I904f7c891013d2e397a522d11039f2056d75fc4e

7 years agoFree p_pending_data from tBNEP_CONN to avoid potential memory leaks am: f8fc7f7d11...
Pavlin Radoslavov [Tue, 18 Jul 2017 19:20:18 +0000 (19:20 +0000)]
Free p_pending_data from tBNEP_CONN to avoid potential memory leaks am: f8fc7f7d11 am: 2b53cd05f2 am: 28d58cb2c8 am: 9fa3d4f2c7 am: 92744bc2ce  -s ours
am: 27835e4e3e  -s ours

Change-Id: Ic8c4e4d473fb474626073b94c16af93ee1093d70

7 years agoFree p_pending_data from tBNEP_CONN to avoid potential memory leaks am: f8fc7f7d11...
Pavlin Radoslavov [Tue, 18 Jul 2017 19:12:36 +0000 (19:12 +0000)]
Free p_pending_data from tBNEP_CONN to avoid potential memory leaks am: f8fc7f7d11 am: 2b53cd05f2 am: 28d58cb2c8 am: 9fa3d4f2c7
am: 92744bc2ce  -s ours

Change-Id: I2e18a2b625023a318da67b7a5140fac5fb9ee590

7 years agoFree p_pending_data from tBNEP_CONN to avoid potential memory leaks am: f8fc7f7d11...
Pavlin Radoslavov [Tue, 18 Jul 2017 19:05:37 +0000 (19:05 +0000)]
Free p_pending_data from tBNEP_CONN to avoid potential memory leaks am: f8fc7f7d11 am: 2b53cd05f2 am: 28d58cb2c8
am: 9fa3d4f2c7

Change-Id: Ia4b3bc004eb035bc219c168588fd548f57d09ae1

7 years agoMerge "Merge "Add missing extension length check while parsing BNEP control packets...
Pavlin Radoslavov [Tue, 18 Jul 2017 19:01:50 +0000 (19:01 +0000)]
Merge "Merge "Add missing extension length check while parsing BNEP control packets" into oc-dev am: 25fb3d4059 am: db8ee59afe" into oc-dr1-dev-plus-aosp
am: 26aa63b5d0

Change-Id: I9bec4609e17e3acadde6e319e7b5fdf235d61931

7 years agoMerge "Merge "Add missing extension length check while parsing BNEP control packets...
Pavlin Radoslavov [Tue, 18 Jul 2017 19:01:36 +0000 (19:01 +0000)]
Merge "Merge "Add missing extension length check while parsing BNEP control packets" into oc-dev am: 25fb3d4059 am: b71aed3793" into oc-dr1-dev-plus-aosp
am: 962e000065

Change-Id: Ie12e36ab834463e4e21fe2bd5724faf2e876397b

7 years agoMerge "Free p_pending_data from tBNEP_CONN to avoid potential memory leaks am: a65468...
Pavlin Radoslavov [Tue, 18 Jul 2017 19:01:24 +0000 (19:01 +0000)]
Merge "Free p_pending_data from tBNEP_CONN to avoid potential memory leaks am: a654681c55 am: 8525939d54" into oc-dr1-dev-plus-aosp
am: 52924e8864  -s ours

Change-Id: I4498474517e3916f7b210290761569ee311c86ab

7 years agoFree p_pending_data from tBNEP_CONN to avoid potential memory leaks am: f8fc7f7d11...
Pavlin Radoslavov [Tue, 18 Jul 2017 19:01:05 +0000 (19:01 +0000)]
Free p_pending_data from tBNEP_CONN to avoid potential memory leaks am: f8fc7f7d11 am: 2b53cd05f2
am: 28d58cb2c8

Change-Id: I4bcb033225cf04a45b8338d2298e761d58e2cbb2

7 years agoFree p_pending_data from tBNEP_CONN to avoid potential memory leaks am: a654681c55...
Pavlin Radoslavov [Tue, 18 Jul 2017 19:01:05 +0000 (19:01 +0000)]
Free p_pending_data from tBNEP_CONN to avoid potential memory leaks am: a654681c55 am: 201eb44c00
am: e33edcf63f  -s ours

Change-Id: I49839cff7cdf199cea3c92b3877431f89e76db10

7 years agoMerge "Merge "Add missing extension length check while parsing BNEP control packets...
Android Build Merger (Role) [Tue, 18 Jul 2017 18:55:58 +0000 (18:55 +0000)]
Merge "Merge "Add missing extension length check while parsing BNEP control packets" into oc-dev am: 25fb3d4059 am: db8ee59afe" into oc-dr1-dev-plus-aosp

7 years agoMerge "Merge "Add missing extension length check while parsing BNEP control packets...
Android Build Merger (Role) [Tue, 18 Jul 2017 18:55:53 +0000 (18:55 +0000)]
Merge "Merge "Add missing extension length check while parsing BNEP control packets" into oc-dev am: 25fb3d4059 am: b71aed3793" into oc-dr1-dev-plus-aosp

7 years agoMerge "Add missing extension length check while parsing BNEP control packets" into...
Pavlin Radoslavov [Tue, 18 Jul 2017 18:55:50 +0000 (18:55 +0000)]
Merge "Add missing extension length check while parsing BNEP control packets" into oc-dev am: 25fb3d4059
am: db8ee59afe

Change-Id: Ifaa3c04fce8336209bcdaf9aa3b143a6d8f1d2f7

7 years agoMerge "Free p_pending_data from tBNEP_CONN to avoid potential memory leaks am: a65468...
Android Build Merger (Role) [Tue, 18 Jul 2017 18:55:46 +0000 (18:55 +0000)]
Merge "Free p_pending_data from tBNEP_CONN to avoid potential memory leaks am: a654681c55 am: 8525939d54" into oc-dr1-dev-plus-aosp

7 years agoMerge "Add missing extension length check while parsing BNEP control packets" into...
Pavlin Radoslavov [Tue, 18 Jul 2017 18:55:45 +0000 (18:55 +0000)]
Merge "Add missing extension length check while parsing BNEP control packets" into oc-dev am: 25fb3d4059
am: b71aed3793

Change-Id: I869183c5c8d6e74410b4fb27646da355f371a010

7 years agoFree p_pending_data from tBNEP_CONN to avoid potential memory leaks am: f8fc7f7d11
Pavlin Radoslavov [Tue, 18 Jul 2017 18:55:33 +0000 (18:55 +0000)]
Free p_pending_data from tBNEP_CONN to avoid potential memory leaks am: f8fc7f7d11
am: 2b53cd05f2

Change-Id: I7de55b1c83bee83bed75b25c3ab6339a6341402b

7 years agoFree p_pending_data from tBNEP_CONN to avoid potential memory leaks am: a654681c55
Pavlin Radoslavov [Tue, 18 Jul 2017 18:55:33 +0000 (18:55 +0000)]
Free p_pending_data from tBNEP_CONN to avoid potential memory leaks am: a654681c55
am: 201eb44c00

Change-Id: I8378625c5a70086829b18ca7ac9cd8dc3e145f7f

7 years agoFree p_pending_data from tBNEP_CONN to avoid potential memory leaks am: a654681c55
Pavlin Radoslavov [Tue, 18 Jul 2017 18:55:33 +0000 (18:55 +0000)]
Free p_pending_data from tBNEP_CONN to avoid potential memory leaks am: a654681c55
am: 8525939d54

Change-Id: I7f4e33001ddccfe70355988f1e32eb1ba0311d21

7 years agoMerge "Add missing extension length check while parsing BNEP control packets" into...
Pavlin Radoslavov [Tue, 18 Jul 2017 18:51:36 +0000 (18:51 +0000)]
Merge "Add missing extension length check while parsing BNEP control packets" into oc-dev
am: 25fb3d4059

Change-Id: Ic1e730642875799e8b9150479238b0b8f83eb932

7 years agoMerge "Add missing extension length check while parsing BNEP control packets" into...
Pavlin Radoslavov [Tue, 18 Jul 2017 18:51:35 +0000 (18:51 +0000)]
Merge "Add missing extension length check while parsing BNEP control packets" into oc-dev
am: 25fb3d4059

Change-Id: I82e4fa5f58b3d2d336abc35784190c3025aaad15

7 years agoFree p_pending_data from tBNEP_CONN to avoid potential memory leaks
Pavlin Radoslavov [Tue, 18 Jul 2017 18:51:04 +0000 (18:51 +0000)]
Free p_pending_data from tBNEP_CONN to avoid potential memory leaks
am: a654681c55

Change-Id: I5c95895c8b38146adedb88f57c4a095a90aeb0c4

7 years agoFree p_pending_data from tBNEP_CONN to avoid potential memory leaks
Pavlin Radoslavov [Tue, 18 Jul 2017 18:51:03 +0000 (18:51 +0000)]
Free p_pending_data from tBNEP_CONN to avoid potential memory leaks
am: a654681c55

Change-Id: I56b802ed5140df47079be42ac686d8e10d554495

7 years agoFree p_pending_data from tBNEP_CONN to avoid potential memory leaks
Pavlin Radoslavov [Tue, 18 Jul 2017 18:50:36 +0000 (18:50 +0000)]
Free p_pending_data from tBNEP_CONN to avoid potential memory leaks
am: f8fc7f7d11

Change-Id: Ib41c89b0070c24eb22576bc6536a5b63d19406a7

7 years agoMerge "Add missing extension length check while parsing BNEP control packets" into...
TreeHugger Robot [Tue, 18 Jul 2017 18:45:12 +0000 (18:45 +0000)]
Merge "Add missing extension length check while parsing BNEP control packets" into oc-dev

7 years agoMerge "Free p_pending_data from tBNEP_CONN to avoid potential memory leaks"
TreeHugger Robot [Tue, 18 Jul 2017 03:09:22 +0000 (03:09 +0000)]
Merge "Free p_pending_data from tBNEP_CONN to avoid potential memory leaks"

7 years agoMerge "Add missing extension length check while parsing BNEP control packets"
TreeHugger Robot [Tue, 18 Jul 2017 01:10:36 +0000 (01:10 +0000)]
Merge "Add missing extension length check while parsing BNEP control packets"

7 years agoAdd missing extension length check while parsing BNEP control packets
Pavlin Radoslavov [Mon, 17 Jul 2017 23:03:21 +0000 (16:03 -0700)]
Add missing extension length check while parsing BNEP control packets

Bug: 63146237
Test: External script
Change-Id: I4e519cec1c7dffb8bd42add00bd891e0969a3d9f
(cherry picked from commit 9ab89b7dbe5735b796799f65144efa48595d0230)

7 years agoFree p_pending_data from tBNEP_CONN to avoid potential memory leaks
Pavlin Radoslavov [Tue, 18 Jul 2017 00:21:16 +0000 (17:21 -0700)]
Free p_pending_data from tBNEP_CONN to avoid potential memory leaks

Bug: 63146105
Test: External script
Change-Id: I1281779ccf38d1d2dfb1a6dc0e45c0e533cabbca
Merged-In: I1281779ccf38d1d2dfb1a6dc0e45c0e533cabbca
(cherry picked from commit 4982eb5df30cbcbee5c8b8807be95fdc6dfa63c5)
(cherry picked from commit a654681c5558904a8abfa1bbab8eafb651c13231)
(cherry picked from commit 64a12d3b6e71d9161837f28ce18c34d924c2bafc)
(cherry picked from commit 8f18afd26c02ae3d46bf14d6e36017965dee0394)

7 years agoFree p_pending_data from tBNEP_CONN to avoid potential memory leaks
Pavlin Radoslavov [Mon, 17 Jul 2017 22:41:12 +0000 (15:41 -0700)]
Free p_pending_data from tBNEP_CONN to avoid potential memory leaks

Bug: 63146105
Test: External script
Change-Id: I1281779ccf38d1d2dfb1a6dc0e45c0e533cabbca
Merged-In: I1281779ccf38d1d2dfb1a6dc0e45c0e533cabbca
(cherry picked from commit 4982eb5df30cbcbee5c8b8807be95fdc6dfa63c5)

7 years agotest_vendor: Add LOG_DEBUG to L2cap::assemble am: 8d604d6ab0 am: 8fb366ebdc am: b521b...
jruthe [Mon, 17 Jul 2017 23:39:13 +0000 (23:39 +0000)]
test_vendor: Add LOG_DEBUG to L2cap::assemble am: 8d604d6ab0 am: 8fb366ebdc am: b521bff69c
am: 0edb81ada7

Change-Id: I6d699624a71389f699949200136bd5092ae23710

7 years agotest_vendor: Add LOG_DEBUG to L2cap::assemble am: 8d604d6ab0 am: 8fb366ebdc
jruthe [Mon, 17 Jul 2017 23:34:13 +0000 (23:34 +0000)]
test_vendor: Add LOG_DEBUG to L2cap::assemble am: 8d604d6ab0 am: 8fb366ebdc
am: b521bff69c

Change-Id: I8c3fc9ed1b2948710cdd70890f56842e5ef58ee1

7 years agotest_vendor: Add LOG_DEBUG to L2cap::assemble am: 8d604d6ab0
jruthe [Mon, 17 Jul 2017 23:29:49 +0000 (23:29 +0000)]
test_vendor: Add LOG_DEBUG to L2cap::assemble am: 8d604d6ab0
am: 8fb366ebdc

Change-Id: Ifc9cacb3da6cf8f5a45c5e7ead50e01f23d5b774

7 years agotest_vendor: Add LOG_DEBUG to L2cap::assemble
jruthe [Mon, 17 Jul 2017 23:27:18 +0000 (23:27 +0000)]
test_vendor: Add LOG_DEBUG to L2cap::assemble
am: 8d604d6ab0

Change-Id: I2220cab6e3a1348d0bdf640e941b11d3f2600b3c

7 years agoAdd missing extension length check while parsing BNEP control packets
Pavlin Radoslavov [Mon, 17 Jul 2017 23:03:21 +0000 (16:03 -0700)]
Add missing extension length check while parsing BNEP control packets

Bug: 63146237
Test: External script
Change-Id: I4e519cec1c7dffb8bd42add00bd891e0969a3d9f

7 years agoFree p_pending_data from tBNEP_CONN to avoid potential memory leaks
Pavlin Radoslavov [Mon, 17 Jul 2017 22:41:12 +0000 (15:41 -0700)]
Free p_pending_data from tBNEP_CONN to avoid potential memory leaks

Bug: 63146105
Test: External script
Change-Id: I1281779ccf38d1d2dfb1a6dc0e45c0e533cabbca

7 years agoMerge "Make system/bt build with the VNDK."
TreeHugger Robot [Mon, 17 Jul 2017 19:29:35 +0000 (19:29 +0000)]
Merge "Make system/bt build with the VNDK."

7 years agotest_vendor: Add LOG_DEBUG to L2cap::assemble
jruthe [Mon, 17 Jul 2017 18:27:35 +0000 (11:27 -0700)]
test_vendor: Add LOG_DEBUG to L2cap::assemble

Test: compiles
Change-Id: I8753215d00610dfe3ef43a09108362f94402c941

7 years agotest_vendor: Move SDU checks to L2capSdu am: 7d267611a4 am: 19e6b8bb34 am: 45b887fbbb
jruthe [Mon, 17 Jul 2017 17:53:52 +0000 (17:53 +0000)]
test_vendor: Move SDU checks to L2capSdu am: 7d267611a4 am: 19e6b8bb34 am: 45b887fbbb
am: 954ef557de

Change-Id: Ia4a67988b67f987f9646e7703dcd4bf60572f133

7 years agotest_vendor: Move SDU checks to L2capSdu am: 7d267611a4 am: 19e6b8bb34
jruthe [Mon, 17 Jul 2017 17:51:17 +0000 (17:51 +0000)]
test_vendor: Move SDU checks to L2capSdu am: 7d267611a4 am: 19e6b8bb34
am: 45b887fbbb

Change-Id: Icb104895de99eac684b8e286a936cb1c3ebad079

7 years agotest_vendor: Move SDU checks to L2capSdu am: 7d267611a4
jruthe [Mon, 17 Jul 2017 17:49:12 +0000 (17:49 +0000)]
test_vendor: Move SDU checks to L2capSdu am: 7d267611a4
am: 19e6b8bb34

Change-Id: I6518b928bcda7e20a26036b7cc96200140e5cabe

7 years agotest_vendor: Move SDU checks to L2capSdu
jruthe [Mon, 17 Jul 2017 17:46:47 +0000 (17:46 +0000)]
test_vendor: Move SDU checks to L2capSdu
am: 7d267611a4

Change-Id: I71c55861389356e6cf83ac335cfb558d954c0b6a

7 years agoMake system/bt build with the VNDK.
Steven Moreland [Mon, 17 Jul 2017 17:17:59 +0000 (10:17 -0700)]
Make system/bt build with the VNDK.

When the vndk is enabled (BOARD_VNDK_VERSION=current),
vendor libraries must only link against vendor variants
in the build system. This also means that they receive
restricted sets of headers and that automatic global
headers are restricted.

Test: build system/bt with BOARD_VNDK_VERSION=current
Bug: 37342627
Change-Id: Ie1507e9b5bdb626fa0049faadd225c2c1f451661

7 years agotest_vendor: Move SDU checks to L2capSdu
jruthe [Thu, 13 Jul 2017 23:56:25 +0000 (16:56 -0700)]
test_vendor: Move SDU checks to L2capSdu

Move functions that check the Segmentation and Reassembly bits of the
control field of SDU packets into the L2capSdu class from the
L2capPacket class.

Test: compiles
Change-Id: I0afc60fcf30d29b5021ddd9afa1c7320fca64969

7 years agoMerge "Add LEN_UUID_128 type check while build UUID seq" am: 48942c700e am: 0b1297d5e...
liuchao [Mon, 17 Jul 2017 16:57:52 +0000 (16:57 +0000)]
Merge "Add LEN_UUID_128 type check while build UUID seq" am: 48942c700e am: 0b1297d5ed am: 76bb87bca9
am: 2cd6c03131

Change-Id: I5543a3dd4b0ccb219e5e95a77e8e6416f08cd45d

7 years agoMerge "Add LEN_UUID_128 type check while build UUID seq" am: 48942c700e am: 0b1297d5ed
liuchao [Mon, 17 Jul 2017 16:54:58 +0000 (16:54 +0000)]
Merge "Add LEN_UUID_128 type check while build UUID seq" am: 48942c700e am: 0b1297d5ed
am: 76bb87bca9

Change-Id: I44bf1baf255479cf9bdc4bb411d081490b317b98

7 years agoMerge "Add LEN_UUID_128 type check while build UUID seq" am: 48942c700e
liuchao [Mon, 17 Jul 2017 16:47:18 +0000 (16:47 +0000)]
Merge "Add LEN_UUID_128 type check while build UUID seq" am: 48942c700e
am: 0b1297d5ed

Change-Id: I365be81c02a69a4b84b8329a1280f753bc2194ff

7 years agoMerge "Add LEN_UUID_128 type check while build UUID seq"
liuchao [Mon, 17 Jul 2017 16:40:47 +0000 (16:40 +0000)]
Merge "Add LEN_UUID_128 type check while build UUID seq"
am: 48942c700e

Change-Id: I7cc27fba28afadfafe62b726af07eb37ecdba9b4

7 years agoMerge "Add LEN_UUID_128 type check while build UUID seq"
Treehugger Robot [Mon, 17 Jul 2017 16:31:23 +0000 (16:31 +0000)]
Merge "Add LEN_UUID_128 type check while build UUID seq"

7 years agoLinux build fix am: d3988fd73c am: a717c2324a am: c3d505ddf3
Jakub Pawlowski [Sat, 15 Jul 2017 08:02:33 +0000 (08:02 +0000)]
Linux build fix am: d3988fd73c am: a717c2324a am: c3d505ddf3
am: a1221f708f

Change-Id: I3210ffc3ac3b91f0d3b4c30378a4f8dfb1982665

7 years agoLinux build fix am: d3988fd73c am: a717c2324a
Jakub Pawlowski [Sat, 15 Jul 2017 07:58:03 +0000 (07:58 +0000)]
Linux build fix am: d3988fd73c am: a717c2324a
am: c3d505ddf3

Change-Id: I73acc18ea0967aa6176832fd62a857dcd95296c6

7 years agoLinux build fix am: d3988fd73c
Jakub Pawlowski [Sat, 15 Jul 2017 07:53:33 +0000 (07:53 +0000)]
Linux build fix am: d3988fd73c
am: a717c2324a

Change-Id: I1ed33d1dfcc7115bfb943dcfbc83e41b1bcdcd74

7 years agoLinux build fix
Jakub Pawlowski [Sat, 15 Jul 2017 07:48:32 +0000 (07:48 +0000)]
Linux build fix
am: d3988fd73c

Change-Id: I6f284cdecd4a45dc1c23f218b42d2f472865ef66

7 years agotest_vendor: Add L2cap and L2capSdu assemble tests am: 7552c35aec am: 89e5bba5a4...
johnshamoon [Sat, 15 Jul 2017 04:19:26 +0000 (04:19 +0000)]
test_vendor: Add L2cap and L2capSdu assemble tests am: 7552c35aec am: 89e5bba5a4 am: f258c36a32
am: 18b8dacfed

Change-Id: Idfb90a9b9b2e8f62246e1ffe18244de9b7cf72a1

7 years agotest_vendor: Add L2cap and L2capSdu assemble tests am: 7552c35aec am: 89e5bba5a4
johnshamoon [Sat, 15 Jul 2017 04:14:18 +0000 (04:14 +0000)]
test_vendor: Add L2cap and L2capSdu assemble tests am: 7552c35aec am: 89e5bba5a4
am: f258c36a32

Change-Id: I754129277a18748e7e88d2612c2b8a85fac64b4d

7 years agoLinux build fix
Jakub Pawlowski [Sat, 15 Jul 2017 04:08:47 +0000 (21:08 -0700)]
Linux build fix

Test: build on linux using ninja
Change-Id: I3b0102814433ca88611fbc863271fe065d443c68

7 years agotest_vendor: Add L2cap and L2capSdu assemble tests am: 7552c35aec
johnshamoon [Sat, 15 Jul 2017 04:09:48 +0000 (04:09 +0000)]
test_vendor: Add L2cap and L2capSdu assemble tests am: 7552c35aec
am: 89e5bba5a4

Change-Id: Ifa234f1cce0c2a56c89c2d0ea763cc9e9fb267b7

7 years agotest_vendor: Add L2cap and L2capSdu assemble tests
johnshamoon [Sat, 15 Jul 2017 04:05:19 +0000 (04:05 +0000)]
test_vendor: Add L2cap and L2capSdu assemble tests
am: 7552c35aec

Change-Id: Ibc8c535d8f5f366a47307eb2e782671fc8033533

7 years agotest_vendor: Add L2cap and L2capSdu assemble tests
johnshamoon [Tue, 13 Jun 2017 22:33:55 +0000 (15:33 -0700)]
test_vendor: Add L2cap and L2capSdu assemble tests

Test: Run the unit tests:
out/host/linux-x86/nativetest64/test-vendor_test_host/\
test-vendor_test_host --gtest_filter=L2capTest.*
Change-Id: I89ff2e6bbcfb58c53d872bfef007e487c2f4e3ae

7 years agoAdvertise data parser - allow zero padding at end of packet am: efefc0bfc1
Jakub Pawlowski [Sat, 15 Jul 2017 01:12:36 +0000 (01:12 +0000)]
Advertise data parser - allow zero padding at end of packet am: efefc0bfc1
am: 2b965d8940

Change-Id: I3acbd85559ccf5ed068b5bcbf0650522cec64749

7 years agoAdvertise data parser - allow zero padding at end of packet
Jakub Pawlowski [Sat, 15 Jul 2017 01:08:04 +0000 (01:08 +0000)]
Advertise data parser - allow zero padding at end of packet
am: efefc0bfc1

Change-Id: Ie2d324fb7c9fc54cc275e7294f3f715d89c80b71

7 years agoMerge "Advertise data parser - allow zero padding at end of packet" am: c45e5d2dca...
Jakub Pawlowski [Sat, 15 Jul 2017 00:44:05 +0000 (00:44 +0000)]
Merge "Advertise data parser - allow zero padding at end of packet" am: c45e5d2dca am: 6c7c052685 am: 85c4b37312
am: 3d1168782b

Change-Id: If1f78065d8d934c7058aeea78190a2ff0f9b5f1b

7 years agoMerge "Advertise data parser - allow zero padding at end of packet" am: c45e5d2dca...
Jakub Pawlowski [Sat, 15 Jul 2017 00:40:05 +0000 (00:40 +0000)]
Merge "Advertise data parser - allow zero padding at end of packet" am: c45e5d2dca am: 6c7c052685
am: 85c4b37312

Change-Id: Ib6e37726d725d0f13273463b3dfcef73045daa17

7 years agoMerge "Advertise data parser - allow zero padding at end of packet" am: c45e5d2dca
Jakub Pawlowski [Sat, 15 Jul 2017 00:35:34 +0000 (00:35 +0000)]
Merge "Advertise data parser - allow zero padding at end of packet" am: c45e5d2dca
am: 6c7c052685

Change-Id: I348cb08f9ab8bf1bd5935e5a6e8820be45f2068d

7 years agoMerge "Advertise data parser - allow zero padding at end of packet"
Jakub Pawlowski [Sat, 15 Jul 2017 00:31:36 +0000 (00:31 +0000)]
Merge "Advertise data parser - allow zero padding at end of packet"
am: c45e5d2dca

Change-Id: Ibaf9dfc4bc0ef9c8889be008daed9be24eaddf5d

7 years agoMerge "Advertise data parser - allow zero padding at end of packet"
Treehugger Robot [Sat, 15 Jul 2017 00:23:48 +0000 (00:23 +0000)]
Merge "Advertise data parser - allow zero padding at end of packet"

7 years agoAdvertise data parser - allow zero padding at end of packet
Jakub Pawlowski [Fri, 14 Jul 2017 22:37:57 +0000 (15:37 -0700)]
Advertise data parser - allow zero padding at end of packet

Test: AdvertiseDataParserTest
Bug: 63123881
Change-Id: I8be9e693de557951b1048840759b5658331e9b3b
(cherry picked from commit 08b907b58b0fd8334268413f5e383c1a546f9b3a)

7 years agotest_vendor: L2cap Assemble additional error check am: 16995c3a50 am: fe1a007688...
jruthe [Fri, 14 Jul 2017 23:06:43 +0000 (23:06 +0000)]
test_vendor: L2cap Assemble additional error check am: 16995c3a50 am: fe1a007688 am: 7897fef3d8
am: e1366f7ec4

Change-Id: Ie7bf12c7d929e32f4f8412b3711bc9694805c4d5

7 years agotest_vendor: L2cap Assemble additional error check am: 16995c3a50 am: fe1a007688
jruthe [Fri, 14 Jul 2017 23:02:26 +0000 (23:02 +0000)]
test_vendor: L2cap Assemble additional error check am: 16995c3a50 am: fe1a007688
am: 7897fef3d8

Change-Id: Ia674522663dfedf9981a76784fc4eaa3d08d9a06

7 years agotest_vendor: L2cap Assemble additional error check am: 16995c3a50
jruthe [Fri, 14 Jul 2017 22:58:57 +0000 (22:58 +0000)]
test_vendor: L2cap Assemble additional error check am: 16995c3a50
am: fe1a007688

Change-Id: I5cd8b48f3bb0899ad6368a2679414388733f81a7

7 years agotest_vendor: L2cap Assemble additional error check
jruthe [Fri, 14 Jul 2017 22:55:26 +0000 (22:55 +0000)]
test_vendor: L2cap Assemble additional error check
am: 16995c3a50

Change-Id: I7eae4a86ff91426c76c2a51fa3fcdae0cfdfb4b9

7 years agoAdd LEN_UUID_128 type check while build UUID seq
liuchao [Wed, 12 Apr 2017 01:33:21 +0000 (09:33 +0800)]
Add LEN_UUID_128 type check while build UUID seq

Some devices send UUIDs of invalid lengths or the length is corrupted
because of other corruption and we should fail.

Test: mm -j8
Change-Id: I2fb808282b403be7a402228f01da43790997ad65

7 years agoAdvertise data parser - allow zero padding at end of packet
Jakub Pawlowski [Fri, 14 Jul 2017 22:37:57 +0000 (15:37 -0700)]
Advertise data parser - allow zero padding at end of packet

Test: AdvertiseDataParserTest
Bug: 63123881
Change-Id: I8be9e693de557951b1048840759b5658331e9b3b

7 years agotest_vendor: L2cap Assemble additional error check
jruthe [Tue, 11 Jul 2017 21:09:51 +0000 (14:09 -0700)]
test_vendor: L2cap Assemble additional error check

Assemble now properly checks the proposed length of a segmented SDU that
is given in the first packet of any segmented SDU in accordance with
Bluetooth Core Specification Version 4.2 Volume 3 Part A 3.3.2

Test: Passed in test/l2cap_test.cc
Change-Id: Idbbd1c014bac8928affab581118f73a7d9126824

7 years agotest_vendor: Rename L2cap class to L2capPacket am: d930fac3df am: 57e758ef3f am:...
jruthe [Fri, 14 Jul 2017 02:42:13 +0000 (02:42 +0000)]
test_vendor: Rename L2cap class to L2capPacket am: d930fac3df am: 57e758ef3f am: fea6c41f5b
am: 9799104443

Change-Id: Ic0fd90a5b5ee8c53bbd36b3f1895e9a38c79897b

7 years agotest_vendor: Rename L2cap class to L2capPacket am: d930fac3df am: 57e758ef3f
jruthe [Fri, 14 Jul 2017 02:39:13 +0000 (02:39 +0000)]
test_vendor: Rename L2cap class to L2capPacket am: d930fac3df am: 57e758ef3f
am: fea6c41f5b

Change-Id: Ia6128406e967d2a79f24d0737fe06968ae8d858d

7 years agotest_vendor: Rename L2cap class to L2capPacket am: d930fac3df
jruthe [Fri, 14 Jul 2017 02:36:42 +0000 (02:36 +0000)]
test_vendor: Rename L2cap class to L2capPacket am: d930fac3df
am: 57e758ef3f

Change-Id: Ic3bda32e813741dbb87fea0c4faf8be9bac6875a

7 years agotest_vendor: Rename L2cap class to L2capPacket
jruthe [Fri, 14 Jul 2017 02:33:12 +0000 (02:33 +0000)]
test_vendor: Rename L2cap class to L2capPacket
am: d930fac3df

Change-Id: I0be5142270dedcb774a2ba00ca1e670329d222b9

7 years agotest_vendor: Rename L2cap class to L2capPacket
jruthe [Thu, 13 Jul 2017 23:09:59 +0000 (16:09 -0700)]
test_vendor: Rename L2cap class to L2capPacket

Test: Compiles
Change-Id: I851d2af8bfeb906cee754531e72e94a832413194

7 years agoMerge "Add a missing check for PAN buffer size before copying data" into mnc-dev...
Pavlin Radoslavov [Thu, 13 Jul 2017 21:20:21 +0000 (21:20 +0000)]
Merge "Add a missing check for PAN buffer size before copying data" into mnc-dev am: c41ba8a569 am: 494625245f am: 19b22ffe8a am: df16497d1c  -s ours am: 9aad8b3ffe  -s ours am: cc385a427b  -s ours am: 0f5399e25e  -s ours am: 57946b3779  -s ours am: 9c882ece29  -s ours am: afe11be8ab  -s ours am: c651055ed4  -s ours
am: 18190e4c73  -s ours

Change-Id: I01608e3838549e614e12308ab1fea2d16dd7f402

7 years agoMerge "Add a missing check for PAN buffer size before copying data" into nyc-dev...
Pavlin Radoslavov [Thu, 13 Jul 2017 21:19:54 +0000 (21:19 +0000)]
Merge "Add a missing check for PAN buffer size before copying data" into nyc-dev am: db82859274 am: c901f08122 am: 90272aae6f am: a8ea2147b9 am: 450fb2d257  -s ours am: 9f906b88a5  -s ours am: 0608327aba  -s ours
am: 3e5b356564  -s ours

Change-Id: I0a93cb691c67b39ca83f63e5207478d4d5d52bec

7 years agoMerge "Add a missing check for PAN buffer size before copying data" into mnc-dev...
Pavlin Radoslavov [Thu, 13 Jul 2017 21:19:19 +0000 (21:19 +0000)]
Merge "Add a missing check for PAN buffer size before copying data" into mnc-dev am: c41ba8a569 am: 494625245f am: 19b22ffe8a am: df16497d1c  -s ours am: 9aad8b3ffe  -s ours am: cc385a427b  -s ours am: 0f5399e25e  -s ours am: 57946b3779  -s ours am: 9c882ece29  -s ours am: afe11be8ab  -s ours
am: c651055ed4  -s ours

Change-Id: Iaa096ad8c831461d908dc8a73181a958c55d11c1

7 years agoMerge "Add a missing check for PAN buffer size before copying data" into nyc-dev...
Pavlin Radoslavov [Thu, 13 Jul 2017 21:18:36 +0000 (21:18 +0000)]
Merge "Add a missing check for PAN buffer size before copying data" into nyc-dev am: db82859274 am: c901f08122 am: 90272aae6f am: a8ea2147b9 am: 450fb2d257  -s ours am: 9f906b88a5  -s ours
am: 0608327aba  -s ours

Change-Id: If4021ea6c3cde97cff591def04763f3dec3ec68e

7 years agoMerge "Merge "Add a missing check for PAN buffer size before copying data" into mnc...
Pavlin Radoslavov [Thu, 13 Jul 2017 21:18:21 +0000 (21:18 +0000)]
Merge "Merge "Add a missing check for PAN buffer size before copying data" into mnc-dev am: c41ba8a569 am: 494625245f am: 19b22ffe8a am: df16497d1c  -s ours am: 9aad8b3ffe  -s ours am: cc385a427b  -s ours am: 0f5399e25e  -s ours am: 57946b3779  -s ours am: 9c882ece29  -s ours am: afe11be8ab  -s ours am: a036a8380b  -s ours" into oc-dr1-dev-plus-aosp
am: 93c8573eaf  -s ours

Change-Id: I17998cba8453edea64ef362ea480ddb673c46da6

7 years agoMerge "Merge "Add a missing check for PAN buffer size before copying data" into nyc...
Pavlin Radoslavov [Thu, 13 Jul 2017 21:15:25 +0000 (21:15 +0000)]
Merge "Merge "Add a missing check for PAN buffer size before copying data" into nyc-dev am: db82859274 am: c901f08122 am: 90272aae6f am: a8ea2147b9 am: 450fb2d257  -s ours am: 9f906b88a5  -s ours am: 97ce5d6a05  -s ours" into oc-dr1-dev-plus-aosp
am: 46aba517e4  -s ours

Change-Id: Ic8c1a0269d3284f954aff57761eed845f9300fea

7 years agoMerge "Merge "Add missing packet length checks while parsing BNEP control packets...
Pavlin Radoslavov [Thu, 13 Jul 2017 21:13:27 +0000 (21:13 +0000)]
Merge "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: 7fe809d013  -s ours" into oc-dr1-dev-plus-aosp
am: d171646be0  -s ours

Change-Id: Ifa171bc11af8ad0da9843777f66f23e88e775f56

7 years agoMerge "Merge "Add missing packet length checks while parsing BNEP control packets...
Pavlin Radoslavov [Thu, 13 Jul 2017 21:10:22 +0000 (21:10 +0000)]
Merge "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" into oc-dr1-dev-plus-aosp
am: 95251c6205  -s ours

Change-Id: I21884da4b2884b8fe1e801c7fbd183924874ca61

7 years agoMerge "Merge "Add missing continuation offset check for SDP continuation requests...
Pavlin Radoslavov [Thu, 13 Jul 2017 21:10:00 +0000 (21:10 +0000)]
Merge "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: 19f78847d6  -s ours" into oc-dr1-dev-plus-aosp
am: c53645c103  -s ours

Change-Id: Icb9a355cc4c0fbd5e42d2460014eb112eb7fb7d0

7 years agoMerge "Merge "Add missing continuation offset check for SDP continuation requests...
Pavlin Radoslavov [Thu, 13 Jul 2017 21:09:32 +0000 (21:09 +0000)]
Merge "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" into oc-dr1-dev-plus-aosp
am: 63615544a3  -s ours

Change-Id: Iced2bb61aa0c93200a21626658a85f5e318834bf

7 years agoMerge "Merge "Allocate buffers of the right size when BT_HDR is included" into mnc...
Pavlin Radoslavov [Thu, 13 Jul 2017 21:08:29 +0000 (21:08 +0000)]
Merge "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: 287f9b04ba  -s ours" into oc-dr1-dev-plus-aosp
am: df65bdcdce  -s ours

Change-Id: I60a396d5284e7869d143b4f7ce04e7c97faa1e3d

7 years agoMerge "Merge "Allocate buffers of the right size when BT_HDR is included" into mnc...
Pavlin Radoslavov [Thu, 13 Jul 2017 21:08:04 +0000 (21:08 +0000)]
Merge "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" into oc-dr1-dev-plus-aosp
am: c299c64517  -s ours

Change-Id: Idd68c36e1ba01f45b1d417b358ab22df2992478c

7 years agoMerge "Disable PAN Reverse Tethering when connection originated by the Remote am...
Pavlin Radoslavov [Thu, 13 Jul 2017 21:07:21 +0000 (21:07 +0000)]
Merge "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: df18684d5e" into oc-dr1-dev-plus-aosp
am: 9ade4995d7  -s ours

Change-Id: I2fb587e2e0410bf09d54ff3fd80b5ce75d08087f

7 years agoMerge "Disable PAN Reverse Tethering when connection originated by the Remote am...
Pavlin Radoslavov [Thu, 13 Jul 2017 21:07:06 +0000 (21:07 +0000)]
Merge "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" into oc-dr1-dev-plus-aosp
am: 89927d476b  -s ours

Change-Id: I01f2a013ab15380de25e9f3a13470c4f1181a678

7 years agoMerge "Merge "Disable PAN Reverse Tethering when connection originated by the Remote...
Pavlin Radoslavov [Thu, 13 Jul 2017 21:06:48 +0000 (21:06 +0000)]
Merge "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: 088e0e63fd" into oc-dr1-dev-plus-aosp
am: f58f92bf09  -s ours

Change-Id: I6c9411e3063a287d434c3669d9107be2d5098647

7 years agoMerge "Merge "Disable PAN Reverse Tethering when connection originated by the Remote...
Pavlin Radoslavov [Thu, 13 Jul 2017 21:06:33 +0000 (21:06 +0000)]
Merge "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" into oc-dr1-dev-plus-aosp
am: 80e508b040  -s ours

Change-Id: If442602cb04e7323ce78f07a9db2dcf0fdf6a4cd

7 years agoMerge "Allocate buffers of the right size when BT_HDR is included am: 510697a0d7...
Pavlin Radoslavov [Thu, 13 Jul 2017 21:06:16 +0000 (21:06 +0000)]
Merge "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: 71915a09a7  -s ours" into oc-dr1-dev-plus-aosp
am: 815ba18bae  -s ours

Change-Id: I0c29ada3c64665724e3b888272a1a4b1c27feb83

7 years agoMerge "Allocate buffers of the right size when BT_HDR is included am: 510697a0d7...
Pavlin Radoslavov [Thu, 13 Jul 2017 21:06:01 +0000 (21:06 +0000)]
Merge "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" into oc-dr1-dev-plus-aosp
am: aa082c5387  -s ours

Change-Id: Id905f06b9e48de28182c0c61a15748970e9be0cc

7 years agoMerge "Merge "Add missing continuation offset check for SDP continuation requests...
Pavlin Radoslavov [Thu, 13 Jul 2017 21:05:47 +0000 (21:05 +0000)]
Merge "Merge "Add missing continuation offset check for SDP continuation requests" into oc-dev am: 8109294976 am: 74efc1091e" into oc-dr1-dev-plus-aosp
am: d85027b899  -s ours

Change-Id: I9e8335389ba2074bfcf7e30c56cd80699a36dfc6