OSDN Git Service

android-x86/system-bt.git
6 years agoMerge "BNEP: Check received frame type" into nyc-dev am: 3f25ecf630 am: b4cfd05ab3...
Myles Watson [Sat, 13 Jan 2018 01:16:42 +0000 (01:16 +0000)]
Merge "BNEP: Check received frame type" into nyc-dev am: 3f25ecf630 am: b4cfd05ab3 am: 8502e4862d am: 56cd06f031
am: 138fd6babf  -s ours

Change-Id: Iba28c0f20a1221bc2969dd368dac9e7304c422fc

6 years agoPAN: Fix Use-after-free in bta_pan_data_buf_ind_cback am: bcad4b57fa am: 7158d558cf...
Myles Watson [Sat, 13 Jan 2018 01:16:02 +0000 (01:16 +0000)]
PAN: Fix Use-after-free in bta_pan_data_buf_ind_cback am: bcad4b57fa am: 7158d558cf am: 9b46b1e674 am: 22fe062fd8
am: 09cfdf316a  -s ours

Change-Id: I6a219c7c1d61110f09a4dd41156f57103d89479e

6 years agoMerge "BNEP: Check received frame type" into nyc-dev am: 3f25ecf630 am: b4cfd05ab3...
Myles Watson [Sat, 13 Jan 2018 01:09:56 +0000 (01:09 +0000)]
Merge "BNEP: Check received frame type" into nyc-dev am: 3f25ecf630 am: b4cfd05ab3 am: 8502e4862d
am: 56cd06f031

Change-Id: I374d1f6b4cf1ddb945900707c6af8b0c2f996aa8

6 years agoPAN: Fix Use-after-free in bta_pan_data_buf_ind_cback am: bcad4b57fa am: 7158d558cf...
Myles Watson [Sat, 13 Jan 2018 01:09:10 +0000 (01:09 +0000)]
PAN: Fix Use-after-free in bta_pan_data_buf_ind_cback am: bcad4b57fa am: 7158d558cf am: 9b46b1e674
am: 22fe062fd8

Change-Id: Ib462df60f326e1b1260daa137164b56351b56290

6 years agoMerge "BNEP: Check received frame type" into nyc-dev am: 3f25ecf630 am: b4cfd05ab3
Myles Watson [Sat, 13 Jan 2018 01:03:44 +0000 (01:03 +0000)]
Merge "BNEP: Check received frame type" into nyc-dev am: 3f25ecf630 am: b4cfd05ab3
am: 8502e4862d

Change-Id: I32e0ab42d76d45fa33146007c222732ec6ef80c9

6 years agoPAN: Fix Use-after-free in bta_pan_data_buf_ind_cback am: bcad4b57fa am: 7158d558cf
Myles Watson [Sat, 13 Jan 2018 01:03:19 +0000 (01:03 +0000)]
PAN: Fix Use-after-free in bta_pan_data_buf_ind_cback am: bcad4b57fa am: 7158d558cf
am: 9b46b1e674

Change-Id: Ie3bcf1d89d5d9a0aaaff359362653dee32d89008

6 years agoMerge "BNEP: Check received frame type" into nyc-dev am: 3f25ecf630
Myles Watson [Sat, 13 Jan 2018 00:57:15 +0000 (00:57 +0000)]
Merge "BNEP: Check received frame type" into nyc-dev am: 3f25ecf630
am: b4cfd05ab3

Change-Id: Idb9ca3709ac93e4357e941ef08e5387c96a43c82

6 years agoPAN: Fix Use-after-free in bta_pan_data_buf_ind_cback am: bcad4b57fa
Myles Watson [Sat, 13 Jan 2018 00:56:43 +0000 (00:56 +0000)]
PAN: Fix Use-after-free in bta_pan_data_buf_ind_cback am: bcad4b57fa
am: 7158d558cf

Change-Id: I8746aae1cf5ea683988b4605e426b5e29b7c25de

6 years agoMerge "BNEP: Check received frame type" into nyc-dev
Myles Watson [Sat, 13 Jan 2018 00:51:27 +0000 (00:51 +0000)]
Merge "BNEP: Check received frame type" into nyc-dev
am: 3f25ecf630

Change-Id: Icc576479d4390cbb076aba74e90004b521ff4e29

6 years agoPAN: Fix Use-after-free in bta_pan_data_buf_ind_cback
Myles Watson [Sat, 13 Jan 2018 00:51:04 +0000 (00:51 +0000)]
PAN: Fix Use-after-free in bta_pan_data_buf_ind_cback
am: bcad4b57fa

Change-Id: I5e1b04e62aaa25f18e1911fdeeb051abe140f99f

6 years agoMerge "BNEP: Check received frame type" into nyc-dev
Myles Watson [Sat, 13 Jan 2018 00:47:00 +0000 (00:47 +0000)]
Merge "BNEP: Check received frame type" into nyc-dev

6 years agoMerge "Remove memory reference to invalid mem in error log" into oc-dev
TreeHugger Robot [Sat, 13 Jan 2018 00:34:16 +0000 (00:34 +0000)]
Merge "Remove memory reference to invalid mem in error log" into oc-dev

6 years agoBNEP: Check received frame type
Myles Watson [Thu, 11 Jan 2018 22:20:26 +0000 (14:20 -0800)]
BNEP: Check received frame type

Bug: 68818034
Test: build
Change-Id: I2b9f32b92d72f226361e6a80f20f9c7ee77f6019

6 years agoMerge "DO NOT MERGE Remove memory reference to invalid mem in error log" into mnc...
Stanley Tng [Fri, 12 Jan 2018 22:37:32 +0000 (22:37 +0000)]
Merge "DO NOT MERGE Remove memory reference to invalid mem in error log" into mnc-dev am: cc798ea2e5 am: 92268a691f am: 8909982e6f am: 3b485ad0f7  -s ours am: 9efed59da5  -s ours am: 7c7d5fb5f7  -s ours am: dbd120f7ce  -s ours am: fdf25fcb2a  -s ours
am: e3e7a78626  -s ours

Change-Id: I58199b6381de80632cce42cc6d6d4b38cd2f8ce7

6 years agoMerge "DO NOT MERGE Remove memory reference to invalid mem in error log" into mnc...
Stanley Tng [Fri, 12 Jan 2018 22:32:39 +0000 (22:32 +0000)]
Merge "DO NOT MERGE Remove memory reference to invalid mem in error log" into mnc-dev am: cc798ea2e5 am: 92268a691f am: 8909982e6f am: 3b485ad0f7  -s ours am: 9efed59da5  -s ours am: 7c7d5fb5f7  -s ours am: dbd120f7ce  -s ours
am: fdf25fcb2a  -s ours

Change-Id: If3fe2c42ac80d62fae4159045c4a59528f51b999

6 years agoMerge "DO NOT MERGE Remove memory reference to invalid mem in error log" into mnc...
Stanley Tng [Fri, 12 Jan 2018 22:29:24 +0000 (22:29 +0000)]
Merge "DO NOT MERGE Remove memory reference to invalid mem in error log" into mnc-dev am: cc798ea2e5 am: 92268a691f am: 8909982e6f am: 3b485ad0f7  -s ours am: 9efed59da5  -s ours am: 7c7d5fb5f7  -s ours
am: dbd120f7ce  -s ours

Change-Id: I37a46ac9d21f7b4a70647d045860fe979686a1f1

6 years agoMerge "DO NOT MERGE Remove memory reference to invalid mem in error log" into mnc...
Stanley Tng [Fri, 12 Jan 2018 22:23:33 +0000 (22:23 +0000)]
Merge "DO NOT MERGE Remove memory reference to invalid mem in error log" into mnc-dev am: cc798ea2e5 am: 92268a691f am: 8909982e6f am: 3b485ad0f7  -s ours am: 9efed59da5  -s ours
am: 7c7d5fb5f7  -s ours

Change-Id: I8af0cad8ce12ec50cddc7eec34df650643ec9787

6 years agoMerge "DO NOT MERGE Remove memory reference to invalid mem in error log" into mnc...
Stanley Tng [Fri, 12 Jan 2018 22:18:59 +0000 (22:18 +0000)]
Merge "DO NOT MERGE Remove memory reference to invalid mem in error log" into mnc-dev am: cc798ea2e5 am: 92268a691f am: 8909982e6f am: 3b485ad0f7  -s ours
am: 9efed59da5  -s ours

Change-Id: I49c36b6af9bf279319a070a68f2fe91b71b1b525

6 years agoMerge "DO NOT MERGE Remove memory reference to invalid mem in error log" into nyc...
Stanley Tng [Fri, 12 Jan 2018 22:18:25 +0000 (22:18 +0000)]
Merge "DO NOT MERGE Remove memory reference to invalid mem in error log" into nyc-dev am: 70b70baa89 am: 4523d9cff0 am: f7257a97db am: 8df074e657
am: ae8a6708c9  -s ours

Change-Id: I8998167d79d501037d13b9c9a986e9599825f182

6 years agoPAN: Fix Use-after-free in bta_pan_data_buf_ind_cback
Myles Watson [Wed, 10 Jan 2018 17:51:28 +0000 (09:51 -0800)]
PAN: Fix Use-after-free in bta_pan_data_buf_ind_cback

Patch from b/67078939

Test: build
Bug: 67110692
Change-Id: I63b857d031c55d3a0754e4101e330843eb422b2a
Merged-In: I63b857d031c55d3a0754e4101e330843eb422b2a

6 years agoMerge "DO NOT MERGE Remove memory reference to invalid mem in error log" into mnc...
Stanley Tng [Fri, 12 Jan 2018 22:13:54 +0000 (22:13 +0000)]
Merge "DO NOT MERGE Remove memory reference to invalid mem in error log" into mnc-dev am: cc798ea2e5 am: 92268a691f am: 8909982e6f
am: 3b485ad0f7  -s ours

Change-Id: If144e4104654de7d198b2bb641bdb0c5c65af625

6 years agoMerge "DO NOT MERGE Remove memory reference to invalid mem in error log" into nyc...
Stanley Tng [Fri, 12 Jan 2018 22:13:32 +0000 (22:13 +0000)]
Merge "DO NOT MERGE Remove memory reference to invalid mem in error log" into nyc-dev am: 70b70baa89 am: 4523d9cff0 am: f7257a97db
am: 8df074e657

Change-Id: Ifb8b5333e59b79a599aa5a5077a5c69c02182e9f

6 years agoMerge "DO NOT MERGE Remove memory reference to invalid mem in error log" into nyc...
Stanley Tng [Fri, 12 Jan 2018 22:09:30 +0000 (22:09 +0000)]
Merge "DO NOT MERGE Remove memory reference to invalid mem in error log" into nyc-dev am: 70b70baa89 am: 4523d9cff0
am: f7257a97db

Change-Id: Icb9c8ade01d4cee43da88ee8a118d36ed35abbe0

6 years agoMerge "DO NOT MERGE Remove memory reference to invalid mem in error log" into mnc...
Stanley Tng [Fri, 12 Jan 2018 22:09:29 +0000 (22:09 +0000)]
Merge "DO NOT MERGE Remove memory reference to invalid mem in error log" into mnc-dev am: cc798ea2e5 am: 92268a691f
am: 8909982e6f

Change-Id: I3438b832e39d85a4e8d598e8f611e5d8a3ef185b

6 years agoMerge "DO NOT MERGE Remove memory reference to invalid mem in error log" into nyc...
Stanley Tng [Fri, 12 Jan 2018 22:03:57 +0000 (22:03 +0000)]
Merge "DO NOT MERGE Remove memory reference to invalid mem in error log" into nyc-dev am: 70b70baa89
am: 4523d9cff0

Change-Id: I054dd86fb610e0fbb6f1116bd34e17b1ea09e8eb

6 years agoMerge "DO NOT MERGE Remove memory reference to invalid mem in error log" into mnc...
Stanley Tng [Fri, 12 Jan 2018 22:03:56 +0000 (22:03 +0000)]
Merge "DO NOT MERGE Remove memory reference to invalid mem in error log" into mnc-dev am: cc798ea2e5
am: 92268a691f

Change-Id: I540a273548859c9d013092b9d1eaee753f469366

6 years agoMerge "DO NOT MERGE Remove memory reference to invalid mem in error log" into mnc-dev
Stanley Tng [Fri, 12 Jan 2018 22:00:43 +0000 (22:00 +0000)]
Merge "DO NOT MERGE Remove memory reference to invalid mem in error log" into mnc-dev
am: cc798ea2e5

Change-Id: Ic6eda5df4183df713e656d31d8c12d075823a27c

6 years agoMerge "DO NOT MERGE Remove memory reference to invalid mem in error log" into nyc-dev
Stanley Tng [Fri, 12 Jan 2018 21:59:26 +0000 (21:59 +0000)]
Merge "DO NOT MERGE Remove memory reference to invalid mem in error log" into nyc-dev
am: 70b70baa89

Change-Id: I2e130d676996336fe8486f2345a05bea2a13f638

6 years agoMerge "PAN: Fix Use-after-free in bta_pan_data_buf_ind_cback" into oc-dev
TreeHugger Robot [Fri, 12 Jan 2018 21:51:41 +0000 (21:51 +0000)]
Merge "PAN: Fix Use-after-free in bta_pan_data_buf_ind_cback" into oc-dev

6 years agoMerge "DO NOT MERGE Remove memory reference to invalid mem in error log" into mnc-dev
TreeHugger Robot [Fri, 12 Jan 2018 21:51:02 +0000 (21:51 +0000)]
Merge "DO NOT MERGE Remove memory reference to invalid mem in error log" into mnc-dev

6 years agoMerge "DO NOT MERGE Remove memory reference to invalid mem in error log" into nyc-dev
TreeHugger Robot [Fri, 12 Jan 2018 21:50:24 +0000 (21:50 +0000)]
Merge "DO NOT MERGE Remove memory reference to invalid mem in error log" into nyc-dev

6 years agoBNEP: Check received frame type
Myles Watson [Thu, 11 Jan 2018 22:20:26 +0000 (14:20 -0800)]
BNEP: Check received frame type

Bug: 68818034
Test: build
Change-Id: I2b9f32b92d72f226361e6a80f20f9c7ee77f6019
Merged-In: I2b9f32b92d72f226361e6a80f20f9c7ee77f6019

6 years agoMerge "Allocate/free the SDP connection timers only during stack startup/shutdown...
Pavlin Radoslavov [Fri, 12 Jan 2018 21:11:14 +0000 (21:11 +0000)]
Merge "Allocate/free the SDP connection timers only during stack startup/shutdown" into nyc-dev am: 42fe329fea am: 7dd87869f2 am: 03c8d807be am: c0f3c28fac
am: 1541631487  -s ours

Change-Id: I6fb6b8400b599218aebc72026402c4381c5b2dd6

6 years agoMerge "Allocate/free the SDP connection timers only during stack startup/shutdown...
Pavlin Radoslavov [Fri, 12 Jan 2018 21:05:44 +0000 (21:05 +0000)]
Merge "Allocate/free the SDP connection timers only during stack startup/shutdown" into nyc-dev am: 42fe329fea am: 7dd87869f2 am: 03c8d807be
am: c0f3c28fac

Change-Id: I6175cd9009367490a54d41a2eaf4c27a943a3d17

6 years agoMerge "Allocate/free the SDP connection timers only during stack startup/shutdown...
Pavlin Radoslavov [Fri, 12 Jan 2018 21:02:24 +0000 (21:02 +0000)]
Merge "Allocate/free the SDP connection timers only during stack startup/shutdown" into nyc-dev am: 42fe329fea am: 7dd87869f2
am: 03c8d807be

Change-Id: I5886739b7b43393889deceb48b03b267fd82851d

6 years agoMerge "Allocate/free the SDP connection timers only during stack startup/shutdown...
Pavlin Radoslavov [Fri, 12 Jan 2018 20:56:07 +0000 (20:56 +0000)]
Merge "Allocate/free the SDP connection timers only during stack startup/shutdown" into nyc-dev am: 42fe329fea
am: 7dd87869f2

Change-Id: I2699a1d9c4a17de8ad796cfb18c3597d5f653991

6 years agoMerge "Allocate/free the SDP connection timers only during stack startup/shutdown...
Pavlin Radoslavov [Fri, 12 Jan 2018 20:51:07 +0000 (20:51 +0000)]
Merge "Allocate/free the SDP connection timers only during stack startup/shutdown" into nyc-dev
am: 42fe329fea

Change-Id: Ib7da76b8dc02ccd92433e31bb75ec37665e46e44

6 years agoMerge "Allocate/free the SDP connection timers only during stack startup/shutdown...
TreeHugger Robot [Fri, 12 Jan 2018 20:44:45 +0000 (20:44 +0000)]
Merge "Allocate/free the SDP connection timers only during stack startup/shutdown" into nyc-dev

6 years agoMerge "DO NOT MERGE Fix unexpected behavior in reading BNEP packets" into mnc-dev...
Hansong Zhang [Fri, 12 Jan 2018 19:48:55 +0000 (19:48 +0000)]
Merge "DO NOT MERGE Fix unexpected behavior in reading BNEP packets" into mnc-dev am: a8ff361dfd am: 7d1d2cc30e am: f4ebee33e8 am: babe2f806a  -s ours am: 6ad1b26ba3 am: 531aa6ac4b am: 3dc167be47 am: 9194a3708c
am: 4feed25d33  -s ours

Change-Id: Iaa4e7b5c051209eb841d04f0c4eff331d60c9345

6 years agoDO NOT MERGE Fix unexpected behavior in SDP am: ed45f06fbd am: 40f7822e27 am: 98916aa...
Hansong Zhang [Fri, 12 Jan 2018 19:48:44 +0000 (19:48 +0000)]
DO NOT MERGE Fix unexpected behavior in SDP am: ed45f06fbd am: 40f7822e27 am: 98916aaef5 am: 932e2eb358  -s ours am: 7af6f1b8e8  -s ours am: 944510e511  -s ours am: c1faf30a21  -s ours am: 36953b6d59  -s ours
am: b362d4a7c4  -s ours

Change-Id: Ib18630193e0f5c2309864ab6062476f83833ea7a

6 years agoMerge "DO NOT MERGE Fix unexpected behavior in reading BNEP packets" into mnc-dev...
Hansong Zhang [Fri, 12 Jan 2018 19:43:08 +0000 (19:43 +0000)]
Merge "DO NOT MERGE Fix unexpected behavior in reading BNEP packets" into mnc-dev am: a8ff361dfd am: 7d1d2cc30e am: f4ebee33e8 am: babe2f806a  -s ours am: 6ad1b26ba3 am: 531aa6ac4b am: 3dc167be47
am: 9194a3708c

Change-Id: If21fb5608d74acc265e098e96ca3851c4ead08a6

6 years agoDO NOT MERGE Fix unexpected behavior in SDP am: ed45f06fbd am: 40f7822e27 am: 98916aa...
Hansong Zhang [Fri, 12 Jan 2018 19:42:51 +0000 (19:42 +0000)]
DO NOT MERGE Fix unexpected behavior in SDP am: ed45f06fbd am: 40f7822e27 am: 98916aaef5 am: 932e2eb358  -s ours am: 7af6f1b8e8  -s ours am: 944510e511  -s ours am: c1faf30a21  -s ours
am: 36953b6d59  -s ours

Change-Id: I20a0e4275a33d1fee0e78c9c72cfe2147e9e373d

6 years agoMerge "DO NOT MERGE Fix unexpected behavior in reading BNEP packets" into mnc-dev...
Hansong Zhang [Fri, 12 Jan 2018 19:38:30 +0000 (19:38 +0000)]
Merge "DO NOT MERGE Fix unexpected behavior in reading BNEP packets" into mnc-dev am: a8ff361dfd am: 7d1d2cc30e am: f4ebee33e8 am: babe2f806a  -s ours am: 6ad1b26ba3 am: 531aa6ac4b
am: 3dc167be47

Change-Id: Ie3fd1ea95db6f62da6ab8327547b04bf79b56f26

6 years agoDO NOT MERGE Fix unexpected behavior in SDP am: ed45f06fbd am: 40f7822e27 am: 98916aa...
Hansong Zhang [Fri, 12 Jan 2018 19:38:12 +0000 (19:38 +0000)]
DO NOT MERGE Fix unexpected behavior in SDP am: ed45f06fbd am: 40f7822e27 am: 98916aaef5 am: 932e2eb358  -s ours am: 7af6f1b8e8  -s ours am: 944510e511  -s ours
am: c1faf30a21  -s ours

Change-Id: I0fa4e878a8a65889cce25d1c9f866a5e125cb06d

6 years agoMerge "DO NOT MERGE Fix unexpected behavior in reading BNEP packets" into mnc-dev...
Hansong Zhang [Fri, 12 Jan 2018 19:33:01 +0000 (19:33 +0000)]
Merge "DO NOT MERGE Fix unexpected behavior in reading BNEP packets" into mnc-dev am: a8ff361dfd am: 7d1d2cc30e am: f4ebee33e8 am: babe2f806a  -s ours am: 6ad1b26ba3
am: 531aa6ac4b

Change-Id: I91f4898d5a1d33b49abedc99f4d5edefc92401e9

6 years agoDO NOT MERGE Fix unexpected behavior in SDP am: ed45f06fbd am: 40f7822e27 am: 98916aa...
Hansong Zhang [Fri, 12 Jan 2018 19:32:46 +0000 (19:32 +0000)]
DO NOT MERGE Fix unexpected behavior in SDP am: ed45f06fbd am: 40f7822e27 am: 98916aaef5 am: 932e2eb358  -s ours am: 7af6f1b8e8  -s ours
am: 944510e511  -s ours

Change-Id: I28a2b5e6667a6489e0311b589e11f907da769f8b

6 years agoMerge "Fix unexpected behavior in reading BNEP packets" into oc-dev
TreeHugger Robot [Fri, 12 Jan 2018 19:27:09 +0000 (19:27 +0000)]
Merge "Fix unexpected behavior in reading BNEP packets" into oc-dev

6 years agoMerge "DO NOT MERGE Fix unexpected behavior in reading BNEP packets" into mnc-dev...
Hansong Zhang [Fri, 12 Jan 2018 19:26:58 +0000 (19:26 +0000)]
Merge "DO NOT MERGE Fix unexpected behavior in reading BNEP packets" into mnc-dev am: a8ff361dfd am: 7d1d2cc30e am: f4ebee33e8 am: babe2f806a  -s ours
am: 6ad1b26ba3

Change-Id: I181a32e5ca511ec470c1310dd40805a34a45d410

6 years agoMerge "DO NOT MERGE Fix unexpected behavior in reading BNEP packets" into nyc-dev...
Hansong Zhang [Fri, 12 Jan 2018 19:26:52 +0000 (19:26 +0000)]
Merge "DO NOT MERGE Fix unexpected behavior in reading BNEP packets" into nyc-dev am: 6e677aab4a am: bd83a19885 am: 956bb8e1fb am: 552786c50f
am: 4b94d30c60  -s ours

Change-Id: I3ed1c07f9ee15d3ae9127c9463fd587ee33d99ec

6 years agoDO NOT MERGE Fix unexpected behavior in SDP am: ed45f06fbd am: 40f7822e27 am: 98916aa...
Hansong Zhang [Fri, 12 Jan 2018 19:26:43 +0000 (19:26 +0000)]
DO NOT MERGE Fix unexpected behavior in SDP am: ed45f06fbd am: 40f7822e27 am: 98916aaef5 am: 932e2eb358  -s ours
am: 7af6f1b8e8  -s ours

Change-Id: Ifbb6e4f861a9359234200152721770320355949b

6 years agoMerge "DO NOT MERGE Fix unexpected behavior in SDP" into nyc-dev am: 5755f66220 am...
Hansong Zhang [Fri, 12 Jan 2018 19:26:39 +0000 (19:26 +0000)]
Merge "DO NOT MERGE Fix unexpected behavior in SDP" into nyc-dev am: 5755f66220 am: 88312931fd am: 0c8337c1e7 am: 0ebb1d7ac5
am: f89d1d78f9  -s ours

Change-Id: I67a120b806fd7a4951a451248f279fd917dfc6cf

6 years agoMerge "DO NOT MERGE Fix unexpected behavior in reading BNEP packets" into mnc-dev...
Hansong Zhang [Fri, 12 Jan 2018 19:22:18 +0000 (19:22 +0000)]
Merge "DO NOT MERGE Fix unexpected behavior in reading BNEP packets" into mnc-dev am: a8ff361dfd am: 7d1d2cc30e am: f4ebee33e8
am: babe2f806a  -s ours

Change-Id: I20565790a235d9dcabdd109fab65fcde414c06e3

6 years agoMerge "DO NOT MERGE Fix unexpected behavior in reading BNEP packets" into nyc-dev...
Hansong Zhang [Fri, 12 Jan 2018 19:22:09 +0000 (19:22 +0000)]
Merge "DO NOT MERGE Fix unexpected behavior in reading BNEP packets" into nyc-dev am: 6e677aab4a am: bd83a19885 am: 956bb8e1fb
am: 552786c50f

Change-Id: I8741e34d6670e4ee4dcf8d6684a1ff11286d4c09

6 years agoDO NOT MERGE Fix unexpected behavior in SDP am: ed45f06fbd am: 40f7822e27 am: 98916aaef5
Hansong Zhang [Fri, 12 Jan 2018 19:22:07 +0000 (19:22 +0000)]
DO NOT MERGE Fix unexpected behavior in SDP am: ed45f06fbd am: 40f7822e27 am: 98916aaef5
am: 932e2eb358  -s ours

Change-Id: Idfd8f956d46797228420c352c4fd4d7114863cd5

6 years agoMerge "DO NOT MERGE Fix unexpected behavior in SDP" into nyc-dev am: 5755f66220 am...
Hansong Zhang [Fri, 12 Jan 2018 19:21:52 +0000 (19:21 +0000)]
Merge "DO NOT MERGE Fix unexpected behavior in SDP" into nyc-dev am: 5755f66220 am: 88312931fd am: 0c8337c1e7
am: 0ebb1d7ac5

Change-Id: I44c647076510e6396e6141b5b5d94a3f1283fd0d

6 years agoMerge "DO NOT MERGE Fix unexpected behavior in reading BNEP packets" into mnc-dev...
Hansong Zhang [Fri, 12 Jan 2018 19:17:33 +0000 (19:17 +0000)]
Merge "DO NOT MERGE Fix unexpected behavior in reading BNEP packets" into mnc-dev am: a8ff361dfd am: 7d1d2cc30e
am: f4ebee33e8

Change-Id: I7bed5ffc40cb15e7f20b704dcb505d6f5ff52ab4

6 years agoMerge "DO NOT MERGE Fix unexpected behavior in reading BNEP packets" into nyc-dev...
Hansong Zhang [Fri, 12 Jan 2018 19:17:30 +0000 (19:17 +0000)]
Merge "DO NOT MERGE Fix unexpected behavior in reading BNEP packets" into nyc-dev am: 6e677aab4a am: bd83a19885
am: 956bb8e1fb

Change-Id: Iaa957284a29d1e101a7347e5e3c5fded62037e90

6 years agoDO NOT MERGE Fix unexpected behavior in SDP am: ed45f06fbd am: 40f7822e27
Hansong Zhang [Fri, 12 Jan 2018 19:17:14 +0000 (19:17 +0000)]
DO NOT MERGE Fix unexpected behavior in SDP am: ed45f06fbd am: 40f7822e27
am: 98916aaef5

Change-Id: I40da0b8f6c127487fe5680cb8cec937b3725b083

6 years agoMerge "DO NOT MERGE Fix unexpected behavior in SDP" into nyc-dev am: 5755f66220 am...
Hansong Zhang [Fri, 12 Jan 2018 19:17:14 +0000 (19:17 +0000)]
Merge "DO NOT MERGE Fix unexpected behavior in SDP" into nyc-dev am: 5755f66220 am: 88312931fd
am: 0c8337c1e7

Change-Id: Ied3f18ad9151277c0929c291f34d7c192240f265

6 years agoMerge "DO NOT MERGE Fix unexpected behavior in reading BNEP packets" into nyc-dev...
Hansong Zhang [Fri, 12 Jan 2018 19:11:54 +0000 (19:11 +0000)]
Merge "DO NOT MERGE Fix unexpected behavior in reading BNEP packets" into nyc-dev am: 6e677aab4a
am: bd83a19885

Change-Id: Ie010a0be70337bca536e0f34075a4ff571c4f4ad

6 years agoMerge "DO NOT MERGE Fix unexpected behavior in SDP" into nyc-dev am: 5755f66220
Hansong Zhang [Fri, 12 Jan 2018 19:11:40 +0000 (19:11 +0000)]
Merge "DO NOT MERGE Fix unexpected behavior in SDP" into nyc-dev am: 5755f66220
am: 88312931fd

Change-Id: Ie2eaf68551b3d36eefeb0c802317da5ecf430df5

6 years agoMerge "DO NOT MERGE Fix unexpected behavior in reading BNEP packets" into mnc-dev...
Hansong Zhang [Fri, 12 Jan 2018 19:10:54 +0000 (19:10 +0000)]
Merge "DO NOT MERGE Fix unexpected behavior in reading BNEP packets" into mnc-dev am: a8ff361dfd
am: 7d1d2cc30e

Change-Id: I9757d3ee82598276e9fd5b5484435d6699c8c8e3

6 years agoDO NOT MERGE Fix unexpected behavior in SDP am: ed45f06fbd
Hansong Zhang [Fri, 12 Jan 2018 19:10:39 +0000 (19:10 +0000)]
DO NOT MERGE Fix unexpected behavior in SDP am: ed45f06fbd
am: 40f7822e27

Change-Id: I2f6f6d64a86d91bdcd2ae672743be9cdc8d3c2d5

6 years agoMerge "DO NOT MERGE Fix unexpected behavior in reading BNEP packets" into mnc-dev
Hansong Zhang [Fri, 12 Jan 2018 19:06:19 +0000 (19:06 +0000)]
Merge "DO NOT MERGE Fix unexpected behavior in reading BNEP packets" into mnc-dev
am: a8ff361dfd

Change-Id: I35090af42c4d986cbb874f2599f0d34cfadafb43

6 years agoDO NOT MERGE Fix unexpected behavior in SDP
Hansong Zhang [Fri, 12 Jan 2018 19:06:07 +0000 (19:06 +0000)]
DO NOT MERGE Fix unexpected behavior in SDP
am: ed45f06fbd

Change-Id: Ia72f140ecc6f943c2b25a981d8528a00813eb0ff

6 years agoMerge "DO NOT MERGE Fix unexpected behavior in reading BNEP packets" into nyc-dev
Hansong Zhang [Fri, 12 Jan 2018 19:05:30 +0000 (19:05 +0000)]
Merge "DO NOT MERGE Fix unexpected behavior in reading BNEP packets" into nyc-dev
am: 6e677aab4a

Change-Id: I572e0effe9b6a1952378d320b403756486102897

6 years agoMerge "DO NOT MERGE Fix unexpected behavior in SDP" into nyc-dev
Hansong Zhang [Fri, 12 Jan 2018 19:05:11 +0000 (19:05 +0000)]
Merge "DO NOT MERGE Fix unexpected behavior in SDP" into nyc-dev
am: 5755f66220

Change-Id: I509364deeeb49d1c0e78bd5146edc04348cbc4fc

6 years agoMerge "DO NOT MERGE Fix unexpected behavior in reading BNEP packets" into mnc-dev
Hansong Zhang [Fri, 12 Jan 2018 18:59:31 +0000 (18:59 +0000)]
Merge "DO NOT MERGE Fix unexpected behavior in reading BNEP packets" into mnc-dev

6 years agoMerge "DO NOT MERGE Fix unexpected behavior in reading BNEP packets" into nyc-dev
Hansong Zhang [Fri, 12 Jan 2018 18:59:31 +0000 (18:59 +0000)]
Merge "DO NOT MERGE Fix unexpected behavior in reading BNEP packets" into nyc-dev

6 years agoMerge "DO NOT MERGE Fix unexpected behavior in SDP" into nyc-dev
Hansong Zhang [Fri, 12 Jan 2018 18:59:27 +0000 (18:59 +0000)]
Merge "DO NOT MERGE Fix unexpected behavior in SDP" into nyc-dev

6 years agoMerge "Fix unexpected behavior in SDP" into oc-dev
Hansong Zhang [Fri, 12 Jan 2018 18:59:26 +0000 (18:59 +0000)]
Merge "Fix unexpected behavior in SDP" into oc-dev

6 years agoAllocate/free the SDP connection timers only during stack startup/shutdown
Pavlin Radoslavov [Fri, 12 Jan 2018 01:28:16 +0000 (17:28 -0800)]
Allocate/free the SDP connection timers only during stack startup/shutdown

This avoids freeing the sdp_conn_timer within the alarm callback itself.

Bug: 67110137
Test: Manual
Change-Id: I775b4b532cd42cf207258c53c6052a167a124627
Merged-In: I775b4b532cd42cf207258c53c6052a167a124627
(cherry picked from commit ef6a4a0c9d9220a7d909863349d7a0c0b967d54c)

6 years agoAllocate/free the SDP connection timers only during stack startup/shutdown
Pavlin Radoslavov [Fri, 12 Jan 2018 01:28:16 +0000 (17:28 -0800)]
Allocate/free the SDP connection timers only during stack startup/shutdown

This avoids freeing the sdp_conn_timer within the alarm callback itself.

Bug: 67110137
Test: Manual
Change-Id: I775b4b532cd42cf207258c53c6052a167a124627
Merged-In: I775b4b532cd42cf207258c53c6052a167a124627
(cherry picked from commit ef6a4a0c9d9220a7d909863349d7a0c0b967d54c)

6 years agoDO NOT MERGE Fix unexpected behavior in reading BNEP packets
Hansong Zhang [Thu, 11 Jan 2018 00:59:48 +0000 (16:59 -0800)]
DO NOT MERGE Fix unexpected behavior in reading BNEP packets

Bug: 67863755
Bug: 69177251
Bug: 69177292
Bug: 69271284
Test: BNEP still works
Change-Id: I41b8bfe5e123a56b8812124178663735f2bf3372

6 years agoDO NOT MERGE Fix unexpected behavior in reading BNEP packets
Hansong Zhang [Thu, 11 Jan 2018 00:59:48 +0000 (16:59 -0800)]
DO NOT MERGE Fix unexpected behavior in reading BNEP packets

Bug: 67863755
Bug: 69177251
Bug: 69177292
Bug: 69271284
Test: BNEP still works
Change-Id: I41b8bfe5e123a56b8812124178663735f2bf3372

6 years agoFix unexpected behavior in reading BNEP packets
Hansong Zhang [Wed, 10 Jan 2018 21:43:25 +0000 (13:43 -0800)]
Fix unexpected behavior in reading BNEP packets

Bug: 67863755
Bug: 69177251
Bug: 69177292
Bug: 69271284
Test: BNEP still works
Change-Id: I41b8bfe5e123a56b8812124178663735f2bf3372

6 years agoDO NOT MERGE Remove memory reference to invalid mem in error log
Stanley Tng [Wed, 10 Jan 2018 21:13:15 +0000 (13:13 -0800)]
DO NOT MERGE Remove memory reference to invalid mem in error log

Remove the memory reference to an invalid memory inside an error log
message.

Test: Edit code to force the error condition and make sure the new error
log does not crashed.
Bug: 67058064
Merged-In: I55ec6d8b53e5987cd7721e0ae3ffccc11d6638a0
Change-Id: I55ec6d8b53e5987cd7721e0ae3ffccc11d6638a0
(cherry picked from commit 11cd7277a1d0da9013a8381cddbfc096e9adaed6)

6 years agoDO NOT MERGE Remove memory reference to invalid mem in error log
Stanley Tng [Wed, 10 Jan 2018 21:13:15 +0000 (13:13 -0800)]
DO NOT MERGE Remove memory reference to invalid mem in error log

Remove the memory reference to an invalid memory inside an error log
message.

Test: Edit code to force the error condition and make sure the new error
log does not crashed.
Bug: 67058064
Merged-In: I55ec6d8b53e5987cd7721e0ae3ffccc11d6638a0
Change-Id: I55ec6d8b53e5987cd7721e0ae3ffccc11d6638a0
(cherry picked from commit 11cd7277a1d0da9013a8381cddbfc096e9adaed6)

6 years agoRemove memory reference to invalid mem in error log
Stanley Tng [Wed, 10 Jan 2018 21:13:15 +0000 (13:13 -0800)]
Remove memory reference to invalid mem in error log

Remove the memory reference to an invalid memory inside an error log
message.

Test: Edit code to force the error condition and make sure the new error
log does not crashed.
Bug: 67058064
Merged-In: I55ec6d8b53e5987cd7721e0ae3ffccc11d6638a0
Change-Id: I55ec6d8b53e5987cd7721e0ae3ffccc11d6638a0
(cherry picked from commit 11cd7277a1d0da9013a8381cddbfc096e9adaed6)

6 years agoMerge "SDP: Pass the bounds to process_service_*_rsp" into oc-dev
TreeHugger Robot [Thu, 11 Jan 2018 18:23:24 +0000 (18:23 +0000)]
Merge "SDP: Pass the bounds to process_service_*_rsp" into oc-dev

6 years agoPAN: Fix Use-after-free in bta_pan_data_buf_ind_cback
Myles Watson [Wed, 10 Jan 2018 17:51:28 +0000 (09:51 -0800)]
PAN: Fix Use-after-free in bta_pan_data_buf_ind_cback

Patch from b/67078939

Test: build
Bug: 67110692
Change-Id: I63b857d031c55d3a0754e4101e330843eb422b2a

6 years agoRemoved alarm callback execution statistics am: b9ebb4ab26 am: 944a096f7c am: 484a8ff...
Pavlin Radoslavov [Thu, 11 Jan 2018 01:26:46 +0000 (01:26 +0000)]
Removed alarm callback execution statistics am: b9ebb4ab26 am: 944a096f7c am: 484a8ff430 am: dfe7791399
am: bbe82d4017  -s ours

Change-Id: Ice40110fbd607769f53dceaa111b61524c4820b7

6 years agoRemoved alarm callback execution statistics am: b9ebb4ab26 am: 944a096f7c am: 484a8ff430
Pavlin Radoslavov [Thu, 11 Jan 2018 01:23:09 +0000 (01:23 +0000)]
Removed alarm callback execution statistics am: b9ebb4ab26 am: 944a096f7c am: 484a8ff430
am: dfe7791399

Change-Id: I3f8f645bfdbb7c27d44dba115dc321a6ab51fc7a

6 years agoRemoved alarm callback execution statistics am: b9ebb4ab26 am: 944a096f7c
Pavlin Radoslavov [Thu, 11 Jan 2018 01:21:14 +0000 (01:21 +0000)]
Removed alarm callback execution statistics am: b9ebb4ab26 am: 944a096f7c
am: 484a8ff430

Change-Id: I7a2e3f2fd89c4c7df94f3650768c221f986b2c18

6 years agoRemoved alarm callback execution statistics am: b9ebb4ab26
Pavlin Radoslavov [Thu, 11 Jan 2018 01:18:37 +0000 (01:18 +0000)]
Removed alarm callback execution statistics am: b9ebb4ab26
am: 944a096f7c

Change-Id: I69a82dfa9cc6e3201ffed6cf6761a3a6c1f4ff70

6 years agoRemoved alarm callback execution statistics
Pavlin Radoslavov [Thu, 11 Jan 2018 01:16:06 +0000 (01:16 +0000)]
Removed alarm callback execution statistics
am: b9ebb4ab26

Change-Id: I21f70a4a332f9335e609b763f26571c3f74991dd

6 years agoSDP: Pass the bounds to process_service_*_rsp
Myles Watson [Wed, 10 Jan 2018 22:16:15 +0000 (14:16 -0800)]
SDP: Pass the bounds to process_service_*_rsp

Test: build
Bug: 68161546
Change-Id: Icf53d4d05f99b5e0a2b3f4d3735b6fbfd62adaa3

6 years agoFix unexpected behavior in SDP
Hansong Zhang [Wed, 10 Jan 2018 01:16:35 +0000 (17:16 -0800)]
Fix unexpected behavior in SDP

Bug: 68776054
Bug: 68817966
Test: Bluetooth SDP still works
Change-Id: I4eef22679a313b88d7e8ec463b29dbb592c6b5b9

6 years agoDO NOT MERGE Fix unexpected behavior in SDP
Hansong Zhang [Wed, 10 Jan 2018 03:43:20 +0000 (19:43 -0800)]
DO NOT MERGE Fix unexpected behavior in SDP

Bug: 68776054
Bug: 68817966
Test: Bluetooth SDP still works
Change-Id: I4eef22679a313b88d7e8ec463b29dbb592c6b5b9
Merged-In: I4eef22679a313b88d7e8ec463b29dbb592c6b5b9

6 years agoDO NOT MERGE Fix unexpected behavior in SDP
Hansong Zhang [Wed, 10 Jan 2018 03:36:46 +0000 (19:36 -0800)]
DO NOT MERGE Fix unexpected behavior in SDP

Bug: 68776054
Bug: 68817966
Test: Bluetooth SDP still works
Change-Id: I4eef22679a313b88d7e8ec463b29dbb592c6b5b9
Merged-In: I4eef22679a313b88d7e8ec463b29dbb592c6b5b9

6 years agoRemoved alarm callback execution statistics
Pavlin Radoslavov [Mon, 8 Jan 2018 19:37:05 +0000 (11:37 -0800)]
Removed alarm callback execution statistics

Updating the alarm state after the callback returns can be problematic
in case the callback itself deleted the alarm.

Bug: 67110137
Test: Manual
Change-Id: Id4de06eebedb792cadd63d09efb68672e9bddc69
Merged-In: Id4de06eebedb792cadd63d09efb68672e9bddc69
(cherry picked from commit 04574e1cde3b0d46b59b4b6ebab935ac60af9f97)

6 years agoRemoved alarm callback execution statistics
Pavlin Radoslavov [Mon, 8 Jan 2018 19:37:05 +0000 (11:37 -0800)]
Removed alarm callback execution statistics

Updating the alarm state after the callback returns can be problematic
in case the callback itself deleted the alarm.

Bug: 67110137
Test: Manual
Change-Id: Id4de06eebedb792cadd63d09efb68672e9bddc69
Merged-In: Id4de06eebedb792cadd63d09efb68672e9bddc69
(cherry picked from commit 04574e1cde3b0d46b59b4b6ebab935ac60af9f97)

6 years agoDO NOT MERGE ANYWHERE: Disable the use of GATT cache by default. am: b050cd5d9a ...
Jacky Cheung [Fri, 1 Dec 2017 22:51:36 +0000 (22:51 +0000)]
DO NOT MERGE ANYWHERE: Disable the use of GATT cache by default. am: b050cd5d9a  -s ours
am: 148f6d31a0  -s ours

Change-Id: I9393ade6467b657ac813666d9f0e1a1937575024

6 years agoDO NOT MERGE ANYWHERE: Disable the use of GATT cache by default.
Jacky Cheung [Fri, 1 Dec 2017 22:49:36 +0000 (22:49 +0000)]
DO NOT MERGE ANYWHERE: Disable the use of GATT cache by default.
am: b050cd5d9a  -s ours

Change-Id: Iaf10a993829cebefecbf49290dd0db345cd71dde

6 years agoDO NOT MERGE ANYWHERE: Disable the use of GATT cache by default.
Jacky Cheung [Tue, 7 Nov 2017 19:17:38 +0000 (11:17 -0800)]
DO NOT MERGE ANYWHERE: Disable the use of GATT cache by default.

When a set of GATT services of a bonded device is cached locally,
an application needs to call BluetoothGatt.refresh() to clear it out
and to trigger a new service discovery.  By disabling local caching,
a service discovery is performed on every connection and that prevents
an application from getting staled GATT services.

bug: 68954828
Change-Id: I2c07404c3d56a5c8a0ffc86bc65d36480f3c46f2

6 years agoRead the correct amount of attributes am: 4d1470eb54 am: 48e5396b99 am: 57f958e7e3...
Scott Bauer [Thu, 12 Oct 2017 00:20:01 +0000 (00:20 +0000)]
Read the correct amount of attributes am: 4d1470eb54 am: 48e5396b99 am: 57f958e7e3 am: e69e6e0fab
am: 1e67cf4b2e

Change-Id: Ic0858b82dd5c15b824a74e53817e42e1945d1a7d

6 years agoRead the correct amount of attributes am: 636b754cfa am: 5ec93991d7
Scott Bauer [Thu, 12 Oct 2017 00:19:36 +0000 (00:19 +0000)]
Read the correct amount of attributes am: 636b754cfa am: 5ec93991d7
am: 6e7c360c85

Change-Id: Icb1240a22b2cfc7fa32b3ab23652fa1510b3c590

6 years agoRead the correct amount of attributes
Scott Bauer [Thu, 12 Oct 2017 00:18:39 +0000 (00:18 +0000)]
Read the correct amount of attributes
am: 8eb6493ad5  -s ours

Change-Id: I73a8ff63af23863be10d8cdd4da73234fcd25e3d

6 years agoMerge "Read the correct amount of attributes" into oc-dev
TreeHugger Robot [Wed, 11 Oct 2017 23:11:13 +0000 (23:11 +0000)]
Merge "Read the correct amount of attributes" into oc-dev

6 years agoRead the correct amount of attributes am: 4d1470eb54 am: 48e5396b99 am: 57f958e7e3
Scott Bauer [Wed, 11 Oct 2017 22:38:19 +0000 (22:38 +0000)]
Read the correct amount of attributes am: 4d1470eb54 am: 48e5396b99 am: 57f958e7e3
am: e69e6e0fab

Change-Id: I4a4802e3bf181f09d8de652d991cc26686e467e4