OSDN Git Service
TreeHugger Robot [Wed, 30 Jan 2019 17:59:41 +0000 (17:59 +0000)]
Merge "Fix OOB in BNEP_Write"
TreeHugger Robot [Wed, 30 Jan 2019 17:58:45 +0000 (17:58 +0000)]
Merge "Fix invalid iterator access in GATTS_StopService"
Chienyuan [Wed, 30 Jan 2019 11:17:03 +0000 (19:17 +0800)]
Fix OOB in BNEP_Write
Bug:
112050583
Test: PoC
Change-Id: I2ad3aceea38950b83f98819ede47538afb053ac0
Jack He [Wed, 30 Jan 2019 10:45:28 +0000 (02:45 -0800)]
Metrics: Add Bluetooth quality report to statsd am:
12724bd83b am:
11d39fbe70
am:
9c6a1bff33
Change-Id: Idc88a9b87e9837e65b50d9946ef952f63796d74d
Jack He [Wed, 30 Jan 2019 10:29:02 +0000 (02:29 -0800)]
Metrics: Add Bluetooth quality report to statsd am:
12724bd83b
am:
11d39fbe70
Change-Id: I671671ed3be110c5b9fa229c75d669d54392d2bb
Jack He [Wed, 30 Jan 2019 10:07:04 +0000 (02:07 -0800)]
Metrics: Add Bluetooth quality report to statsd
am:
12724bd83b
Change-Id: Ibceca50f90ba325db47a03983ebdf693cfaed90e
Chienyuan [Wed, 30 Jan 2019 07:57:19 +0000 (15:57 +0800)]
Fix invalid iterator access in GATTS_StopService
Bug:
113575306
Test: manual
Change-Id: I2360b187ed10617ddd08e61db1689d631a89767d
Jack He [Tue, 29 Jan 2019 22:51:46 +0000 (14:51 -0800)]
Metrics: Add Bluetooth quality report to statsd
Bug:
112969790
Test: make, test drive with statsd
Change-Id: I20232facbd40f7f49bf574f47754ba5222a2aa34
TreeHugger Robot [Wed, 30 Jan 2019 06:33:26 +0000 (06:33 +0000)]
Merge "Check ch_id in UIPC_Read before using it"
Jack He [Wed, 30 Jan 2019 05:44:07 +0000 (21:44 -0800)]
Merge changes I79037ddb,I9bab0078 am:
3fb1b1b89e am:
e7971c55d4
am:
b789e84f6c
Change-Id: I695df5fff692671447ee3bd1701f0a11fe12f533
Jack He [Wed, 30 Jan 2019 05:28:59 +0000 (21:28 -0800)]
Merge changes I79037ddb,I9bab0078 am:
3fb1b1b89e
am:
e7971c55d4
Change-Id: I31ac559037237cc282c27f99b4c781ee54f5e367
Jack He [Wed, 30 Jan 2019 05:15:26 +0000 (21:15 -0800)]
Merge changes I79037ddb,I9bab0078
am:
3fb1b1b89e
Change-Id: I0cbba0d141d93f342ae6e6f1a24a8b3266c8092f
Treehugger Robot [Wed, 30 Jan 2019 04:57:36 +0000 (04:57 +0000)]
Merge changes I79037ddb,I9bab0078
* changes:
Metrics: add remote version info log to statsd
Metrics: Log HCI timeout event over stats log
Chienyuan [Wed, 30 Jan 2019 03:50:01 +0000 (11:50 +0800)]
Check ch_id in UIPC_Read before using it
Bug:
113495295
Test: manual
Change-Id: I4930e476b55f2745cb967cbb44edd80a9ff85b34
Jack He [Tue, 29 Jan 2019 22:49:34 +0000 (14:49 -0800)]
Metrics: add remote version info log to statsd
Bug:
112969790
Test: make, test drive with statsd
Change-Id: I79037ddb6c4af3bf3e5cc8a890c8ee66652b8a81
Jack He [Mon, 21 Jan 2019 07:16:45 +0000 (23:16 -0800)]
Metrics: Log HCI timeout event over stats log
Fixes:
121213292
Bug:
111812273
Test: make, test drive with statsd
Change-Id: I9bab0078a1e45c9811fd63f4c5aef9f4704ac555
Cheney Ni [Wed, 30 Jan 2019 02:16:28 +0000 (18:16 -0800)]
Using std::promise and std::future to block till A2DP device activated am:
f0999d8be8 am:
c7f7d727e2
am:
1f96b80bbd
Change-Id: I4b928d44b6c9b87a1c2a2fe2065a68c2b5f59b07
Cheney Ni [Wed, 30 Jan 2019 01:58:46 +0000 (17:58 -0800)]
Using std::promise and std::future to block till A2DP device activated am:
f0999d8be8
am:
c7f7d727e2
Change-Id: I6fe9507733ed49160853c7cbc1690faf87497092
Cheney Ni [Wed, 30 Jan 2019 01:52:39 +0000 (17:52 -0800)]
Using std::promise and std::future to block till A2DP device activated
am:
f0999d8be8
Change-Id: Ic013217fb07dd1c3aa33623c641ae47c915730bf
Hansong Zhang [Wed, 30 Jan 2019 01:11:25 +0000 (17:11 -0800)]
Merge "btm_ble_multi_adv: Check data length in HCI interface" into oc-dev am:
19460901d8 am:
154230b832 am:
a3a57067d0 am:
f4aa470028
am:
f894cff4fe
Change-Id: Iec2561bf257583349f7c3064647f13d695782a4a
Hansong Zhang [Wed, 30 Jan 2019 01:05:50 +0000 (17:05 -0800)]
Merge "btm_ble_multi_adv: Check data length in HCI interface" into oc-dev am:
19460901d8 am:
154230b832 am:
a3a57067d0
am:
f4aa470028
Change-Id: I20fca0d1bb08a631d03be5ad201d1e61a388f8c2
Hansong Zhang [Wed, 30 Jan 2019 01:02:43 +0000 (17:02 -0800)]
Merge "btm_ble_multi_adv: Check data length in HCI interface" into oc-dev am:
19460901d8 am:
154230b832
am:
a3a57067d0
Change-Id: Ib76648858de768c8b3db411eda84efe7abbd420f
Hansong Zhang [Wed, 30 Jan 2019 00:56:34 +0000 (16:56 -0800)]
Merge "btm_ble_multi_adv: Check data length in HCI interface" into oc-dev am:
19460901d8
am:
154230b832
Change-Id: I69aba9f5350a2b4510e49494839bbff6369c8b4a
Hansong Zhang [Wed, 30 Jan 2019 00:49:16 +0000 (16:49 -0800)]
Merge "btm_ble_multi_adv: Check data length in HCI interface" into oc-dev
am:
19460901d8
Change-Id: If4f3b40817ff57bdae4777ae330854a9119ae0b7
TreeHugger Robot [Wed, 30 Jan 2019 00:25:28 +0000 (00:25 +0000)]
Merge "btm_ble_multi_adv: Check data length in HCI interface" into oc-dev
Cheney Ni [Wed, 19 Dec 2018 10:46:18 +0000 (18:46 +0800)]
Using std::promise and std::future to block till A2DP device activated
There is a new interface to replace UIPC with Blueototh Audio Hal v2 and
synchronization issues between BT Stack and Audio Hal was found when
activating a new A2DP device. Because the API to activate an A2DP device
was non-blocking, it was possilbe that there was a race condition when
BT Stack starting A2DP session and Audio Hal was opening A2DP output.
There was a chance that the output was opened before session started and
causing A2DP to have no sound.
This CL uses std::promise and std::future are able to achieve the
serialize of starting session and opening output for A2DP.
Bug:
111519504
Bug:
122505783
Test: A2DP reconnection and switching
Change-Id: I88c42ea1eb5f8def2345dbfaab26c6d1a91c54cc
TreeHugger Robot [Tue, 29 Jan 2019 10:42:54 +0000 (10:42 +0000)]
Merge "Separate SDP procedure from bonding state (1/2)"
Jakub Pawlowski [Tue, 29 Jan 2019 08:38:23 +0000 (00:38 -0800)]
Add IdGenerator am:
23478f71d0 am:
0bc4579ba3
am:
0452301798
Change-Id: Ide74fa336ab69e7e30500528c60dbca22ab3f351
Jakub Pawlowski [Tue, 29 Jan 2019 07:56:01 +0000 (23:56 -0800)]
Add IdGenerator am:
23478f71d0
am:
0bc4579ba3
Change-Id: I59e5cff32382a1c6cc86aa163ea8baa89a15e07d
Jakub Pawlowski [Tue, 29 Jan 2019 07:51:56 +0000 (23:51 -0800)]
Add IdGenerator
am:
23478f71d0
Change-Id: I974608ed960f88067abfbab07f917de8950f4522
Ugo Yu [Fri, 2 Nov 2018 11:21:39 +0000 (19:21 +0800)]
Separate SDP procedure from bonding state (1/2)
- Do not stay in bonding state if the device is paired but still
discovering service.
- Report BOND_BONDED to Java after authentication is completed.
- Report empty UUID to Java if a classic Bluetooth device SDP
failed while pairing.
- Hold BOND_BONDED intent util SDP is findished.
- Only accept profile connection for the device is at bonded
state. Any attempt to connect while bonding would potentially
lead to an unauthorized connection.
Bug:
79703832
Test: runtest bluetooth, regression test
Change-Id: I023713e07308bfc0e5bb8d67f386bcc50f6a0f85
Jakub Pawlowski [Wed, 8 Aug 2018 14:32:44 +0000 (16:32 +0200)]
Add IdGenerator
Test: added unit test
Bug:
67058417
Change-Id: I41a9200cbf703f5404f312e4cb1199b640e86270
Chienyuan [Mon, 28 Jan 2019 12:42:46 +0000 (20:42 +0800)]
Fix information dislosure in sdp_copy_raw_data
Bug:
112710632
Test: manual
Change-Id: I6a9ea2479509449ff65a19f73e17b5f2a63b6ce4
Jack He [Sat, 26 Jan 2019 02:40:28 +0000 (18:40 -0800)]
BQR: Cleanup BQR header definititon am:
63aca79a30 am:
9187066d98
am:
f372b77c27
Change-Id: I9fe1ecfb4c33f1f5d8c08991323c91752a33ed0e
Jack He [Sat, 26 Jan 2019 02:36:20 +0000 (18:36 -0800)]
BQR: Cleanup BQR header definititon am:
63aca79a30
am:
9187066d98
Change-Id: I246b31e6bbf9e9bbeb27dd3a8339e62f9b81361e
Jack He [Sat, 26 Jan 2019 02:33:12 +0000 (18:33 -0800)]
BQR: Cleanup BQR header definititon
am:
63aca79a30
Change-Id: Ie3780d6f6382ca82f2f809d4359ee20aa84f0cc3
Jack He [Fri, 25 Jan 2019 21:45:16 +0000 (13:45 -0800)]
BQR: Cleanup BQR header definititon
* Rename persist.bluetooth.bqr.eventmask to persist.bluetooth.bqr.event_mask
* Rename persist.bluetooth.bqr.interval to
persist.bluetooth.bqr.min_interval_ms
* Rename all instances of reporting interval to minimum report interval
milliseconds
* Add zero initialization to all event values
* Add comment on the unit of timestamp and piconet clock
Bug:
111384296
Test: make, no functional change
Change-Id: I5174297ec314a862da7591bcf3aefea9b6778f1a
Suren Baghdasaryan [Fri, 25 Jan 2019 17:43:17 +0000 (09:43 -0800)]
[automerger skipped] DO NOT MERGE: Revert "Revert "Add libprocessgroup dependency and fix sched_policy include"" am:
fc27af1a25 -s ours am:
d6fa46a515 -s ours
am:
fb4a6bd2d8 -s ours
am skip reason: subject contains skip directive
Change-Id: I4e0b9d617d2cc6edd36f0628b8bea54f8c932974
Suren Baghdasaryan [Fri, 25 Jan 2019 17:31:02 +0000 (09:31 -0800)]
[automerger skipped] DO NOT MERGE: Revert "Revert "Add libprocessgroup dependency and fix sched_policy include"" am:
fc27af1a25 -s ours
am:
d6fa46a515 -s ours
am skip reason: subject contains skip directive
Change-Id: Ic185d138e9f6fed533a126083743310e197e00a7
Suren Baghdasaryan [Fri, 25 Jan 2019 17:20:42 +0000 (09:20 -0800)]
[automerger skipped] DO NOT MERGE: Revert "Revert "Add libprocessgroup dependency and fix sched_policy include""
am:
fc27af1a25 -s ours
am skip reason: subject contains skip directive
Change-Id: I1586c715e769e192e2d37350279152ec084cbce3
Ray [Fri, 25 Jan 2019 17:09:51 +0000 (09:09 -0800)]
BQR: Add Bluetooth Quality Report feature am:
6e632477a4 am:
5d7470d629
am:
a836100470
Change-Id: Id04e8e4c4f2fbd9518d812f0db0b383f9e2272db
Ray [Fri, 25 Jan 2019 17:04:38 +0000 (09:04 -0800)]
BQR: Add Bluetooth Quality Report feature am:
6e632477a4
am:
5d7470d629
Change-Id: I3ecd5ef0c6474c7368a05176af71785e74a2571e
Ray [Fri, 25 Jan 2019 17:00:23 +0000 (09:00 -0800)]
BQR: Add Bluetooth Quality Report feature
am:
6e632477a4
Change-Id: I7f3684b437ea914eb446bcdafb83f19d870944de
Suren Baghdasaryan [Fri, 25 Jan 2019 05:34:11 +0000 (05:34 +0000)]
DO NOT MERGE: Revert "Revert "Add libprocessgroup dependency and fix sched_policy include""
This reverts commit
e5751caf675fc0bee229f8c427564c2e927184fd.
Reason for revert: AOSP is fixed with new vendor image
Change-Id: I96db6ffe9cce3d5158b96c171026839d62ec3756
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Ray [Thu, 3 Jan 2019 13:19:16 +0000 (21:19 +0800)]
BQR: Add Bluetooth Quality Report feature
Bluetooth disconnects, voice and audio quality issues are sometimes hard
to debug without an OTA (Over The Air) log.
For debugging this kind of issue we would need to identify it belongs to
the host, Bluetooth controller/firmware, environment or the remote
Bluetooth device.
This feature would route the link and firmware/controller stats (ex: TX
power level, RSSI, Unused AFH channel count...) to the host when quality
events happen.
Quality Monitoring Mode:
The controller will periodically send Bluetooth Quality VSE sub-event to
the host.
Approaching LSTO:
Once no packets are received from the connected Bluetooth device for a
duration longer than the half of LSTO (Link Supervision Timeout) value,
the controller will report Approaching LSTO event to the host.
A2DP Audio Choppy:
When audio stall, the controller will report A2DP Audio Choppy event to
the host.
(e)SCO Voice Choppy:
The controller will report (e)SCO Voice Choppy event to the host if the
voice quality might be bad.
Bug:
111384296
Test: - Verified that all functionalites with the Bluetooth controller /
firmware which supports Bluetooth Quality Report VSC
(OpCode: 0xFD5E) and Bluetooth Quality Report (Sub-event code:
0x58) of VSE.
- Verified that this feature could work on both the A2DP HW
offload and non-offload modes.
Change-Id: I3fd3000bace7606855cac3b9b87134499c0ca891
Sasha Smundak [Fri, 25 Jan 2019 08:21:42 +0000 (00:21 -0800)]
Convert Android.mk file to Android.bp am:
aa044495fc am:
dd0a988d8d
am:
0ed3ca728a
Change-Id: I842d6d7e6f02f43bea9acc9ba16208223b819dea
Sasha Smundak [Fri, 25 Jan 2019 08:17:38 +0000 (00:17 -0800)]
Convert Android.mk file to Android.bp am:
aa044495fc
am:
dd0a988d8d
Change-Id: Ic7db6ba149e676faf617e1d76ee1df5cdd227c95
Sasha Smundak [Fri, 25 Jan 2019 08:13:31 +0000 (00:13 -0800)]
Convert Android.mk file to Android.bp
am:
aa044495fc
Change-Id: I8905a9c28b9fc76083655bda05145559b1a15162
Sasha Smundak [Tue, 22 Jan 2019 21:46:37 +0000 (13:46 -0800)]
Convert Android.mk file to Android.bp
See build/soong/README.md for more information.
Change-Id: Ida03ab11c7fa6148fa5711ce1770b6951e831412
Fixes:
122332236
Test: treehugger
Jack He [Fri, 25 Jan 2019 03:57:52 +0000 (19:57 -0800)]
SDP: Remove SDP_DEBUG_RAW flag am:
fa84129932 am:
4b6af7e21a
am:
dd06f56976
Change-Id: I05d1c50d3002042a48574e44777965b68a467952
Jack He [Fri, 25 Jan 2019 03:53:50 +0000 (19:53 -0800)]
SDP: Remove SDP_DEBUG_RAW flag am:
fa84129932
am:
4b6af7e21a
Change-Id: I1d633060429314677684a1bd8eb8b9a0b8aac87e
Jack He [Fri, 25 Jan 2019 03:49:44 +0000 (19:49 -0800)]
SDP: Remove SDP_DEBUG_RAW flag
am:
fa84129932
Change-Id: Id77bdfec4e2a4b91ece3d9264dbbbf327618478b
Jack He [Fri, 25 Jan 2019 00:59:52 +0000 (16:59 -0800)]
SDP: Remove SDP_DEBUG_RAW flag
* This flag is almost always set to false, making blocks of code
unreachable
Test: make
Change-Id: Ie5ceafa7ae02ccbfec537a5d3960e617b746ecdf
TreeHugger Robot [Fri, 25 Jan 2019 00:49:14 +0000 (00:49 +0000)]
Merge "Fix crash in bta_ag_parse_biev_response"
TreeHugger Robot [Fri, 25 Jan 2019 00:37:24 +0000 (00:37 +0000)]
Merge "Fix OOB in reassemble_and_dispatch"
Ugo Yu [Thu, 24 Jan 2019 19:22:21 +0000 (11:22 -0800)]
Merge "Disable AVRCP position change in silence mode" am:
869ae99427 am:
9aa5731e1e
am:
1ac68a5b6a
Change-Id: Ic9deb6ed8d232831dae916089aec1838ca4fc9b5
Ugo Yu [Thu, 24 Jan 2019 18:38:29 +0000 (10:38 -0800)]
Merge "Disable AVRCP position change in silence mode" am:
869ae99427
am:
9aa5731e1e
Change-Id: If487b82a125f9ddfe53d38fe3a5b5174b79299f0
Ugo Yu [Thu, 24 Jan 2019 18:28:38 +0000 (10:28 -0800)]
Merge "Disable AVRCP position change in silence mode"
am:
869ae99427
Change-Id: Ia0c8ae4a17a0153a620a9f9aca3042f737512f71
Treehugger Robot [Thu, 24 Jan 2019 18:08:05 +0000 (18:08 +0000)]
Merge "Disable AVRCP position change in silence mode"
Chienyuan [Thu, 24 Jan 2019 12:14:10 +0000 (20:14 +0800)]
Fix OOB in reassemble_and_dispatch
Bug:
112106425
Test: manual
Change-Id: Iae982473096f8deacf475dfdc9d0bcd6e0c13e6d
Suren Baghdasaryan [Thu, 24 Jan 2019 07:30:03 +0000 (23:30 -0800)]
[automerger skipped] Merge "DO NOT MERGE: Revert "Add libprocessgroup dependency and fix sched_policy include"" am:
69eb5b3551 -s ours am:
6757cf09ce -s ours
am:
b16d887533 -s ours
am skip reason: subject contains skip directive
Change-Id: I1d0361eb546156085112f9164766016a68c1fd39
Suren Baghdasaryan [Thu, 24 Jan 2019 07:17:25 +0000 (23:17 -0800)]
[automerger skipped] Merge "DO NOT MERGE: Revert "Add libprocessgroup dependency and fix sched_policy include"" am:
69eb5b3551 -s ours
am:
6757cf09ce -s ours
am skip reason: subject contains skip directive
Change-Id: I65d4b52f57607c786da0eef75a2b9fbc4a6bef5d
Suren Baghdasaryan [Thu, 24 Jan 2019 07:08:32 +0000 (23:08 -0800)]
[automerger skipped] Merge "DO NOT MERGE: Revert "Add libprocessgroup dependency and fix sched_policy include""
am:
69eb5b3551 -s ours
am skip reason: subject contains skip directive
Change-Id: I8680db89a05f5eaf4b605c66d85dcea7ed43acf3
Chienyuan [Thu, 24 Jan 2019 07:08:03 +0000 (15:08 +0800)]
Fix crash in bta_ag_parse_biev_response
Bug:
109838296
Test: Poc
Change-Id: I5d18ff546388645cbd2d545516467482af6999df
Hansong Zhang [Thu, 24 Jan 2019 07:00:32 +0000 (23:00 -0800)]
Merge "GATT connection_manager: Fix logic to remove white list device" am:
4d834e9d0e am:
48796c80de
am:
9b3f1f41a3
Change-Id: I72adef2f31889d336f06a8aa54d85dfb532a99e8
Suren Baghdasaryan [Thu, 24 Jan 2019 06:57:55 +0000 (06:57 +0000)]
Merge "DO NOT MERGE: Revert "Add libprocessgroup dependency and fix sched_policy include""
Hansong Zhang [Thu, 24 Jan 2019 06:51:32 +0000 (22:51 -0800)]
Merge "GATT connection_manager: Fix logic to remove white list device" am:
4d834e9d0e
am:
48796c80de
Change-Id: Idc7db05fb31b068d386052cb10f8d446dc318416
Hansong Zhang [Thu, 24 Jan 2019 06:38:45 +0000 (22:38 -0800)]
Merge "GATT connection_manager: Fix logic to remove white list device"
am:
4d834e9d0e
Change-Id: Ib17d50227975b604eda1f6fa845ca0c9bda19e95
Treehugger Robot [Thu, 24 Jan 2019 06:26:29 +0000 (06:26 +0000)]
Merge "GATT connection_manager: Fix logic to remove white list device"
Suren Baghdasaryan [Thu, 24 Jan 2019 04:54:50 +0000 (20:54 -0800)]
DO NOT MERGE: Revert "Add libprocessgroup dependency and fix sched_policy include"
This reverts commit
8ef9dc6f3f334b444bbfffae18185a36d6a1f5b5.
Reason for revert: Broke AOSP
Change-Id: If6b0121b5ce60915accf705dbbba268cc4a96203
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Stanley Tng [Thu, 24 Jan 2019 03:02:05 +0000 (19:02 -0800)]
Merge "Add a new isAshaHearingAidSupported method to Bluetooth Manager" am:
aff79b9db4 am:
56a3ac368e
am:
678ff22c36
Change-Id: Ifcd17a925bf73f456ee9b142373625f5c67af398
Stanley Tng [Thu, 24 Jan 2019 02:40:09 +0000 (18:40 -0800)]
Merge "Add a new isAshaHearingAidSupported method to Bluetooth Manager" am:
aff79b9db4
am:
56a3ac368e
Change-Id: I22e8aa8723edb02d16385ab3ef2014f54a8277dd
Stanley Tng [Thu, 24 Jan 2019 02:03:59 +0000 (18:03 -0800)]
Merge "Add a new isAshaHearingAidSupported method to Bluetooth Manager"
am:
aff79b9db4
Change-Id: I073b587aa6d41b551bdd6a3f6e8b17955cfd4130
Treehugger Robot [Thu, 24 Jan 2019 01:34:25 +0000 (01:34 +0000)]
Merge "Add a new isAshaHearingAidSupported method to Bluetooth Manager"
Ugo Yu [Sat, 12 Jan 2019 19:12:30 +0000 (03:12 +0800)]
Disable AVRCP position change in silence mode
* Save the silence mode information in BtifAvPeer send from
JAVA, which helps AVRCP devices to check whether device
silence mode is enabled or not.
* Stop sending AVRCP position change event to remote when
silence mode is enabled.
Bug:
112323989
Test: Manual
Change-Id: I99d88a31caea062790c4ff0dc9199ed82f058067
Hansong Zhang [Wed, 23 Jan 2019 22:03:24 +0000 (14:03 -0800)]
GATT connection_manager: Fix logic to remove white list device
Device in bgconn_dev will be removed when no app is using it. Fix the
logic to prevent from use after free.
Bug:
123297334
Test: Manual
Change-Id: I35a0191ba48fabbcf28525388dfa63b93b20c96d
TreeHugger Robot [Wed, 23 Jan 2019 18:09:11 +0000 (18:09 +0000)]
Merge "Fix integer underflow in rfc_parse_data"
TreeHugger Robot [Wed, 23 Jan 2019 18:07:47 +0000 (18:07 +0000)]
Merge changes I83fef3d9,I71cd2f22,Ibe23668a
* changes:
Fix OOB in avdt_msg_asmbl
Fix OOB in sdp_disc_server_rsp
Fix OOB in btm_ble_vendor_capability_vsc_cmpl_cback
TreeHugger Robot [Wed, 23 Jan 2019 18:04:10 +0000 (18:04 +0000)]
Merge "Fix OOB in avdt_msg_prs_cfg"
TreeHugger Robot [Wed, 23 Jan 2019 18:02:22 +0000 (18:02 +0000)]
Merge "Fix OOB in hidd_l2cif_data_ind"
TreeHugger Robot [Wed, 23 Jan 2019 17:59:55 +0000 (17:59 +0000)]
Merge "initialize msg/cfg in avdt_msg_ind"
TreeHugger Robot [Wed, 23 Jan 2019 17:59:26 +0000 (17:59 +0000)]
Merge "Fix OOB in avct_lcb_msg_asmbl"
TreeHugger Robot [Wed, 23 Jan 2019 17:39:16 +0000 (17:39 +0000)]
Merge "process_l2cap_cmd: Fix OOB"
Ted Wang [Mon, 21 Jan 2019 03:54:16 +0000 (11:54 +0800)]
Fix OOB in avdt_msg_asmbl
Bug:
78287084
Test: manual
Change-Id: I83fef3d9702ddf8aa951509f2bb261dce1cb90de
Ugo Yu [Wed, 23 Jan 2019 08:24:27 +0000 (00:24 -0800)]
Merge "Add binder interfaces for metadata APIs" am:
5ac84e7897 am:
827d9efad2
am:
210a9a5b49
Change-Id: I8b33a0617d2219de972b8aae0b1c5b5ed02ffe67
Ugo Yu [Wed, 23 Jan 2019 08:13:05 +0000 (00:13 -0800)]
Merge "Add binder interfaces for metadata APIs" am:
5ac84e7897
am:
827d9efad2
Change-Id: I26f5457dcf999492b2090705b0efe6450a7d8a8a
Ugo Yu [Wed, 23 Jan 2019 07:50:47 +0000 (23:50 -0800)]
Merge "Add binder interfaces for metadata APIs"
am:
5ac84e7897
Change-Id: Ifaf958504f373f611788235d8b2aa470a99c9d4b
Treehugger Robot [Wed, 23 Jan 2019 07:38:06 +0000 (07:38 +0000)]
Merge "Add binder interfaces for metadata APIs"
Chienyuan [Wed, 23 Jan 2019 07:11:55 +0000 (15:11 +0800)]
Fix OOB in avdt_msg_prs_cfg
Bug:
112272279
Test: PoC
Change-Id: I2748da7dc120f843e7282c8328e6900d2ceb90ff
Ted Wang [Sat, 19 Jan 2019 06:25:23 +0000 (14:25 +0800)]
Fix OOB in sdp_disc_server_rsp
Bug:
79883568
Test: manual
Change-Id: I71cd2f220839018f5b92ad153c1e294b40b07a90
Ted Wang [Sat, 19 Jan 2019 03:08:41 +0000 (11:08 +0800)]
Fix OOB in btm_ble_vendor_capability_vsc_cmpl_cback
Bug:
91544774
Test: maunal
Change-Id: Ibe23668a4079d1cf651c770d6a1129ae2f767c0e
Stanley Tng [Wed, 23 Jan 2019 03:34:30 +0000 (19:34 -0800)]
[automerger skipped] Fix the LE CoC SL4A Test failure due to length check am:
07ff96727c am:
091035cd2a -s ours
am:
e6b5fdfc93 -s ours
am skip reason: change_id I9bbcd58460a02394010f74a18e9ebdbcd546d43d with SHA1
fcb1994de1 is in history
Change-Id: I13ae803112b66d9d55ca2fc7002a09b7c47fdfce
Ted Wang [Sat, 19 Jan 2019 10:02:18 +0000 (18:02 +0800)]
Fix integer underflow in rfc_parse_data
Bug:
120255805
Test: manual
Change-Id: Ic722c7b3c7255549251aa30c910bd3475bb192cd
Stanley Tng [Wed, 23 Jan 2019 02:16:58 +0000 (18:16 -0800)]
[automerger skipped] Fix the LE CoC SL4A Test failure due to length check am:
07ff96727c
am:
091035cd2a -s ours
am skip reason: SHA1
091035cd2a skipped by user stng
Change-Id: I79dd3dff38117cdbcbdc13a4b09b9835c93b4946
Stanley Tng [Wed, 23 Jan 2019 01:07:35 +0000 (17:07 -0800)]
Fix the LE CoC SL4A Test failure due to length check
am:
07ff96727c
Change-Id: I06461df508cd8f0246b2673db2c1810aab3c9322
Stanley Tng [Mon, 14 Jan 2019 00:13:09 +0000 (16:13 -0800)]
Add a new isAshaHearingAidSupported method to Bluetooth Manager
As part of adding isHearingAidsProfileSupported method to
BluetoothAdapter, this new method is added to query the support state.
Test: Manual testing with configuration enabled and disabled.
Bug:
119617521
Change-Id: I97151443c6a5bd459a7c73c61f7fa7d5a386909a
(cherry picked from commit
7d51ff78280a9e03949ffed8f7f61d5226c3a27b)
Ugo Yu [Sat, 12 Jan 2019 00:13:16 +0000 (08:13 +0800)]
Add binder interfaces for metadata APIs
Bug:
121051445
Test: build pass
Change-Id: Icd51b7cc0a4dec5a2bffec4ded67caffeedb126b
Suren Baghdasaryan [Tue, 22 Jan 2019 22:27:21 +0000 (14:27 -0800)]
[automerger skipped] Add libprocessgroup dependency and fix sched_policy include am:
8ef9dc6f3f am:
a5b1ff8f52
am:
8bf8a42e3c -s ours
am skip reason: change_id I4d0dcfad22b30ac249a7874b42a7121e2ffedadb with SHA1
08bea747aa is in history
Change-Id: I9dd2d493d5af2f9d084791f77cea78cbe44b2529
Stanley Tng [Tue, 11 Dec 2018 22:45:13 +0000 (14:45 -0800)]
Fix the LE CoC SL4A Test failure due to length check
Fix a regression from the previous CL that checks the buffer length
before doing a memcpy. The previous check is too strict causing valid
sized buffers to be rejected. The length check is incorrect and off by the header size.
Bug:
117306992
Bug:
112321180
Test: Run the LE CoC SL4A Tests
Change-Id: I9bbcd58460a02394010f74a18e9ebdbcd546d43d
Merged-In: I9bbcd58460a02394010f74a18e9ebdbcd546d43d
(cherry picked from commit
fcb1994de1f6ee34b8dc6804a2b32e20bf138073)
Suren Baghdasaryan [Tue, 22 Jan 2019 21:58:08 +0000 (13:58 -0800)]
Add libprocessgroup dependency and fix sched_policy include am:
8ef9dc6f3f
am:
a5b1ff8f52
Change-Id: I332a3251035d209f454fc5ccd5eca6b6810e03f2