OSDN Git Service

android-x86/system-bt.git
5 years agoMerge "Fix potential null point dereference" am: 6bb3296e5e am: 772792cc92
Hansong Zhang [Fri, 29 Mar 2019 16:34:15 +0000 (09:34 -0700)]
Merge "Fix potential null point dereference" am: 6bb3296e5e am: 772792cc92
am: a57394dea3

Change-Id: Icd2f1f27ec5ce69e6cea4253669154112d03897f

5 years agoMerge "Fix potential null point dereference" am: 6bb3296e5e
Hansong Zhang [Fri, 29 Mar 2019 16:27:35 +0000 (09:27 -0700)]
Merge "Fix potential null point dereference" am: 6bb3296e5e
am: 772792cc92

Change-Id: Ifbca848708d71ee96f2779428019eed2e7812df5

5 years agoMerge "Fix potential null point dereference"
Hansong Zhang [Fri, 29 Mar 2019 16:20:02 +0000 (09:20 -0700)]
Merge "Fix potential null point dereference"
am: 6bb3296e5e

Change-Id: I92ba1186cf0517023faafc1251b34bc513522000

5 years agoMerge "Fix potential null point dereference"
Hansong Zhang [Fri, 29 Mar 2019 15:55:25 +0000 (15:55 +0000)]
Merge "Fix potential null point dereference"

5 years agoFix potential null point dereference
Ted Wang [Fri, 29 Mar 2019 08:20:27 +0000 (16:20 +0800)]
Fix potential null point dereference

Use find() to check element in map to avoid unknow element been insert
into map causing null point dereference.

Bug: 121310341
Test: Manual connect/disconnect headset
Change-Id: If127086ec4beb9b735ef3c72456e8e2209826b57

5 years agoMerge changes Ice4cee21,I6e579811,Ieae0cb21 am: 7c12a1727d am: 3bd346c073
Zach Johnson [Fri, 29 Mar 2019 01:33:05 +0000 (18:33 -0700)]
Merge changes Ice4cee21,I6e579811,Ieae0cb21 am: 7c12a1727d am: 3bd346c073
am: 80d14e9cc0

Change-Id: I6fec501b4cb128c76f8a963e408f415fe35cffc3

5 years agoMerge changes Ice4cee21,I6e579811,Ieae0cb21 am: 7c12a1727d
Zach Johnson [Fri, 29 Mar 2019 01:24:17 +0000 (18:24 -0700)]
Merge changes Ice4cee21,I6e579811,Ieae0cb21 am: 7c12a1727d
am: 3bd346c073

Change-Id: Iec7d3c6ae247218b18c7ce23c574979e41115292

5 years agoMerge changes Ice4cee21,I6e579811,Ieae0cb21
Zach Johnson [Fri, 29 Mar 2019 01:20:26 +0000 (18:20 -0700)]
Merge changes Ice4cee21,I6e579811,Ieae0cb21
am: 7c12a1727d

Change-Id: Ie2fd9170d55c4ef2cf2a7b7864489e37dac17e6a

5 years agoMerge changes Ice4cee21,I6e579811,Ieae0cb21
Zach Johnson [Fri, 29 Mar 2019 01:15:40 +0000 (01:15 +0000)]
Merge changes Ice4cee21,I6e579811,Ieae0cb21

* changes:
  RootCanal: Add more scripts
  RootCanal: Desktop simulation envrionment
  RootCanal: New Directory Structure

5 years agoMerge "Get gd os tests running on host" am: d4e4cc2f51 am: 8acdb3bf05
Zach Johnson [Fri, 29 Mar 2019 01:06:27 +0000 (18:06 -0700)]
Merge "Get gd os tests running on host" am: d4e4cc2f51 am: 8acdb3bf05
am: 20cebc5acf

Change-Id: I4617e97e377386d014ab742944c03c3d5538afc8

5 years agoMerge "Get gd os tests running on host" am: d4e4cc2f51
Zach Johnson [Fri, 29 Mar 2019 00:57:11 +0000 (17:57 -0700)]
Merge "Get gd os tests running on host" am: d4e4cc2f51
am: 8acdb3bf05

Change-Id: I88a93a21cc6a160db59131113a4871112545d476

5 years agoMerge "Get gd os tests running on host"
Zach Johnson [Fri, 29 Mar 2019 00:50:06 +0000 (17:50 -0700)]
Merge "Get gd os tests running on host"
am: d4e4cc2f51

Change-Id: Icc5eb98cf87d1311b35a5730b5497a290cdace2d

5 years agoMerge "Get gd os tests running on host"
Zach Johnson [Fri, 29 Mar 2019 00:37:33 +0000 (00:37 +0000)]
Merge "Get gd os tests running on host"

5 years agoMerge "Run code coverage only on host target" am: 36277fcc67 am: 97545bb393
Hansong Zhang [Thu, 28 Mar 2019 22:18:07 +0000 (15:18 -0700)]
Merge "Run code coverage only on host target" am: 36277fcc67 am: 97545bb393
am: b7396b73fc

Change-Id: If387668d04a037223ac6b44372d2c4a40ff7fcdc

5 years agoMerge "Run code coverage only on host target" am: 36277fcc67
Hansong Zhang [Thu, 28 Mar 2019 22:09:05 +0000 (15:09 -0700)]
Merge "Run code coverage only on host target" am: 36277fcc67
am: 97545bb393

Change-Id: I4765a1209e247ccf9d1a19f17cc7a7a9b6a8c26e

5 years agoMerge "Run code coverage only on host target"
Hansong Zhang [Thu, 28 Mar 2019 22:02:52 +0000 (15:02 -0700)]
Merge "Run code coverage only on host target"
am: 36277fcc67

Change-Id: I8dabacad4bc7c30001a55827c8f976704a89d549

5 years agoRootCanal: Add more scripts
Myles Watson [Thu, 7 Feb 2019 23:21:25 +0000 (15:21 -0800)]
RootCanal: Add more scripts

Test: Connect to HCI sockets and LinkLayer sockets
Change-Id: Ice4cee21f295bbb3a3fe35cfe44073028e65d811

5 years agoRootCanal: Desktop simulation envrionment
Myles Watson [Wed, 13 Feb 2019 20:36:32 +0000 (12:36 -0800)]
RootCanal: Desktop simulation envrionment

Test: nativetest64/root-canal/root-canal [TEST_PORT] [HCI_PORT] [LINK_PORT]
      python scripts/test_channel.py

Change-Id: I6e57981182c392366d7d97249d837694b49dfa4e

5 years agoRootCanal: New Directory Structure
Myles Watson [Fri, 18 Jan 2019 19:42:33 +0000 (11:42 -0800)]
RootCanal: New Directory Structure

model/controller/ contains the simulated chip
model/devices/ contains simulated devices
model/setup/ contains the test model
packets/link_layer/ contains the fake LMP packets

Test: cts-verifier Insecure RFCOMM test
      LinkLayerPacketBuilderTest
      rootcanal-packets_test_host
Change-Id: Ieae0cb21f7d57c03797f800797cedae59dd70e49

5 years agoGet gd os tests running on host
Zach Johnson [Thu, 28 Mar 2019 02:15:38 +0000 (19:15 -0700)]
Get gd os tests running on host

* Run os tests on host
* Fix flaky hander clear test
* Move to linux_generic
* Remove dependency on libchrome
* Allow alarms to run on linux host where we can't get CAP_WAKE_ALARM

Test: atest bluetooth_gd_test_os
Change-Id: Ia95ce39169ac8c963052e3252e7b39ef32bd5bb1

5 years agoMerge "Run code coverage only on host target"
Treehugger Robot [Thu, 28 Mar 2019 21:42:33 +0000 (21:42 +0000)]
Merge "Run code coverage only on host target"

5 years agoRun code coverage only on host target
Hansong Zhang [Wed, 27 Mar 2019 22:49:13 +0000 (15:49 -0700)]
Run code coverage only on host target

Bug: 129421924
Test: run code coverage
Change-Id: I1dc681c72d8af29e43ccb1441ffd218059b8056c

5 years ago[automerger skipped] Merge "Log encryption key size" into pi-dev-plus-aosp
Jack He [Thu, 28 Mar 2019 17:35:59 +0000 (10:35 -0700)]
[automerger skipped] Merge "Log encryption key size" into pi-dev-plus-aosp
am: c4bab44041 -s ours
am skip reason: change_id I6274f244a6f03d2a0054e985d7daf8104c8cdfe7 with SHA1 250d581700 is in history

Change-Id: I65df95725cc356a782c2533151e6f8d1c9945edf

5 years agoMerge "Log encryption key size" into pi-dev-plus-aosp
TreeHugger Robot [Thu, 28 Mar 2019 17:30:37 +0000 (17:30 +0000)]
Merge "Log encryption key size" into pi-dev-plus-aosp

5 years agoMerge "BQR: Fix for the issue that Bluetooth keeps on crashing if the controller...
Ray Kuo [Thu, 28 Mar 2019 16:56:27 +0000 (09:56 -0700)]
Merge "BQR: Fix for the issue that Bluetooth keeps on crashing if the controller firmware does not support the BQR feature." am: c19e159920 am: 555329a4ae
am: 4ad7677034

Change-Id: I380637fe7bbbd6b3b58fb7c05db929978ae08bc7

5 years agoMerge "BQR: Fix for the issue that Bluetooth keeps on crashing if the controller...
Ray Kuo [Thu, 28 Mar 2019 16:52:32 +0000 (09:52 -0700)]
Merge "BQR: Fix for the issue that Bluetooth keeps on crashing if the controller firmware does not support the BQR feature." am: c19e159920
am: 555329a4ae

Change-Id: I594738be1148f77e55e62deba96b2503b3caaad8

5 years agoMerge "BQR: Fix for the issue that Bluetooth keeps on crashing if the controller...
Ray Kuo [Thu, 28 Mar 2019 16:48:48 +0000 (09:48 -0700)]
Merge "BQR: Fix for the issue that Bluetooth keeps on crashing if the controller firmware does not support the BQR feature."
am: c19e159920

Change-Id: Ieb9dfdb35d8740114c2a94e0453de6762ef4ecc9

5 years agoMerge "BQR: Fix for the issue that Bluetooth keeps on crashing if the controller...
Treehugger Robot [Thu, 28 Mar 2019 16:37:55 +0000 (16:37 +0000)]
Merge "BQR: Fix for the issue that Bluetooth keeps on crashing if the controller firmware does not support the BQR feature."

5 years agoMerge "Only use the new format in gd/" am: 8b3df83108 am: 56365bdb6a
Zach Johnson [Thu, 28 Mar 2019 03:27:14 +0000 (20:27 -0700)]
Merge "Only use the new format in gd/" am: 8b3df83108 am: 56365bdb6a
am: 218fc52e5b

Change-Id: Ie5ce7acd736a974c019f9fd684b98f2f889353db

5 years agoMerge "Only use the new format in gd/" am: 8b3df83108
Zach Johnson [Thu, 28 Mar 2019 03:24:09 +0000 (20:24 -0700)]
Merge "Only use the new format in gd/" am: 8b3df83108
am: 56365bdb6a

Change-Id: I65214b102aaa19c0a17d6de53a1daae5c26f0dd2

5 years agoMerge "Only use the new format in gd/"
Zach Johnson [Thu, 28 Mar 2019 03:19:58 +0000 (20:19 -0700)]
Merge "Only use the new format in gd/"
am: 8b3df83108

Change-Id: I4129cc39765902b3aec64180c814e8105ef95693

5 years agoMerge "Only use the new format in gd/"
Zach Johnson [Thu, 28 Mar 2019 03:09:39 +0000 (03:09 +0000)]
Merge "Only use the new format in gd/"

5 years agoLog encryption key size
Jack He [Wed, 20 Mar 2019 20:31:58 +0000 (13:31 -0700)]
Log encryption key size

* Log result from HCI_READ_ENCR_KEY_SIZE command

Bug: 124301137
Test: test drive with statsd
Change-Id: Ifa195887284a22225a1b71d5a78a25cb8776647e
Merged-In: I6274f244a6f03d2a0054e985d7daf8104c8cdfe7
(cherry picked from commit 250d58170014667f5fca44ee8e73f4bf85165e56)

5 years agoMerge "Copy reactor classes to new directory" am: 10a6432c6a am: 696ed422c7
Hansong Zhang [Wed, 27 Mar 2019 22:54:36 +0000 (15:54 -0700)]
Merge "Copy reactor classes to new directory" am: 10a6432c6a am: 696ed422c7
am: 5d2965062c

Change-Id: I880995baa70364433fa4e217bde96056b981d092

5 years agoMerge "Copy reactor classes to new directory" am: 10a6432c6a
Hansong Zhang [Wed, 27 Mar 2019 22:46:11 +0000 (15:46 -0700)]
Merge "Copy reactor classes to new directory" am: 10a6432c6a
am: 696ed422c7

Change-Id: I6346249cc180fb85ec0514f43c248478d381752c

5 years agoMerge "Copy reactor classes to new directory"
Hansong Zhang [Wed, 27 Mar 2019 22:41:57 +0000 (15:41 -0700)]
Merge "Copy reactor classes to new directory"
am: 10a6432c6a

Change-Id: If973570cbc40c3110cb9a0caa63ad2c461523aa6

5 years agoMerge "Copy reactor classes to new directory"
Treehugger Robot [Wed, 27 Mar 2019 22:32:09 +0000 (22:32 +0000)]
Merge "Copy reactor classes to new directory"

5 years agoOnly use the new format in gd/
Myles Watson [Wed, 27 Mar 2019 22:26:49 +0000 (15:26 -0700)]
Only use the new format in gd/

Test: Upload a change with long lines
Change-Id: Iba4a08f9556219bfada9a13272463acbf7ddbdce

5 years agoMerge "A2DP: Initialize the UIPC HAL only when those binderized HALs are not enabled...
Cheney Ni [Wed, 27 Mar 2019 22:08:51 +0000 (15:08 -0700)]
Merge "A2DP: Initialize the UIPC HAL only when those binderized HALs are not enabled" am: 2ef65b9065 am: f9979befa5
am: 3b0c8a5412

Change-Id: I9449e0016cd7c66fab0c3dfb97bbc46d139833ea

5 years agoMerge "A2DP: Initialize the UIPC HAL only when those binderized HALs are not enabled...
Cheney Ni [Wed, 27 Mar 2019 21:50:04 +0000 (14:50 -0700)]
Merge "A2DP: Initialize the UIPC HAL only when those binderized HALs are not enabled" am: 2ef65b9065
am: f9979befa5

Change-Id: I8d1674fb2ecbac4b06fc6c6ed95e7c26c72a58d4

5 years agoMerge "A2DP: Initialize the UIPC HAL only when those binderized HALs are not enabled"
Cheney Ni [Wed, 27 Mar 2019 21:34:30 +0000 (14:34 -0700)]
Merge "A2DP: Initialize the UIPC HAL only when those binderized HALs are not enabled"
am: 2ef65b9065

Change-Id: Ic82f8948428d14e4761892ad53334b2bacdd00d3

5 years agoMerge "A2DP: Initialize the UIPC HAL only when those binderized HALs are not enabled"
Treehugger Robot [Wed, 27 Mar 2019 21:07:29 +0000 (21:07 +0000)]
Merge "A2DP: Initialize the UIPC HAL only when those binderized HALs are not enabled"

5 years agoCopy reactor classes to new directory
Hansong Zhang [Tue, 19 Mar 2019 23:17:42 +0000 (16:17 -0700)]
Copy reactor classes to new directory

Test: compile and run unit test
Change-Id: Ie704bf6b80f24bcae86d557ca351a893dcf8bdfa

5 years agoMerge "Hearing aid: use new common/Timer" am: 39eba7165c am: ffb36c2132
Hansong Zhang [Wed, 27 Mar 2019 17:53:10 +0000 (10:53 -0700)]
Merge "Hearing aid: use new common/Timer" am: 39eba7165c am: ffb36c2132
am: 59fee7d56d

Change-Id: If9b8a3ec1eaf0018a2b1ef4fd5afa46741014bb2

5 years agoMerge "Hearing aid: use new common/Timer" am: 39eba7165c
Hansong Zhang [Wed, 27 Mar 2019 17:49:04 +0000 (10:49 -0700)]
Merge "Hearing aid: use new common/Timer" am: 39eba7165c
am: ffb36c2132

Change-Id: Icd5b8b69c752238295f60d8adbc6df21b0cbe85f

5 years agoMerge "Hearing aid: use new common/Timer"
Hansong Zhang [Wed, 27 Mar 2019 17:44:20 +0000 (10:44 -0700)]
Merge "Hearing aid: use new common/Timer"
am: 39eba7165c

Change-Id: I31592f1e4ea83cb41e94b50ce76c1e578dffa35c

5 years agoMerge "Hearing aid: use new common/Timer"
Treehugger Robot [Wed, 27 Mar 2019 17:26:06 +0000 (17:26 +0000)]
Merge "Hearing aid: use new common/Timer"

5 years agoA2DP: Initialize the UIPC HAL only when those binderized HALs are not enabled
Cheney Ni [Wed, 27 Mar 2019 12:58:49 +0000 (20:58 +0800)]
A2DP: Initialize the UIPC HAL only when those binderized HALs are not enabled

When using BluetoothA2dp / BluetoothAudio HAL, the UIPC won't be used,
and is no need to do the initialization. If it is up, there will be an
uipc-main thread running, and we have to release by the UIPC_Close API
before the A2DP source restarting. If we are acquiring a new one before
released, some of its resource will be leaked, and causes the stack
abnormal.

Bug: 128256722
Test: Check uipc-main is running when using the legacy HAL only
Change-Id: Icc8ea102d29c92b58c77099979d17e85e5cb9a83

5 years ago[automerger skipped] Revert "DO NOT MERGE Log encryption key size"
Martin Stjernholm [Wed, 27 Mar 2019 13:51:41 +0000 (06:51 -0700)]
[automerger skipped] Revert "DO NOT MERGE Log encryption key size"
am: 1a050237b7 -s ours
am skip reason: subject contains skip directive

Change-Id: I00d57d2b52fcac841851f1c391a9d476f3bfdc4d

5 years agoRevert "DO NOT MERGE Log encryption key size"
Martin Stjernholm [Wed, 27 Mar 2019 12:38:34 +0000 (12:38 +0000)]
Revert "DO NOT MERGE Log encryption key size"

This reverts commit fecbda5ef469c46391430ffa7aa604f5e947c258.

Reason for revert: Breaks aosp_*-userdebug targets

Bug: 129387219
Change-Id: I90934b68a1ddabb5666820fbae87aeb647a5c36c

5 years ago[automerger skipped] DO NOT MERGE Log encryption key size
Jack He [Wed, 27 Mar 2019 10:54:09 +0000 (03:54 -0700)]
[automerger skipped] DO NOT MERGE Log encryption key size
am: fecbda5ef4 -s ours
am skip reason: subject contains skip directive

Change-Id: If306e99e1afd0ac97436a16f4f2722918ee03530

5 years ago[automerger skipped] DO NOT MERGE Drop Bluetooth connection with weak encryption key
Jakub Pawlowski [Wed, 27 Mar 2019 10:54:00 +0000 (03:54 -0700)]
[automerger skipped] DO NOT MERGE Drop Bluetooth connection with weak encryption key
am: 2dae274ab9 -s ours
am skip reason: subject contains skip directive

Change-Id: Ic3ea842e8268d67b6463c58557117ac42efdc9d9

5 years agoDO NOT MERGE Log encryption key size
Jack He [Thu, 21 Mar 2019 00:51:09 +0000 (17:51 -0700)]
DO NOT MERGE Log encryption key size

* Log result from HCI_READ_ENCR_KEY_SIZE command

Bug: 124301137
Test: test drive with statsd
Change-Id: Ib846bf06ebcddeaa85f6eae9d63144aae4a5faa7
(cherry picked from commit 7e8dbcd40b97c731d797c8967a6d44db856bca15)

5 years agoDO NOT MERGE Drop Bluetooth connection with weak encryption key
Jakub Pawlowski [Thu, 14 Feb 2019 11:44:06 +0000 (12:44 +0100)]
DO NOT MERGE Drop Bluetooth connection with weak encryption key

This patch requires Bluetooth chip to support HCI Read Encryption Key Size
command and will cause Bluetooth to crash if this command is not supported
on a device. Such device should not take this patch and should look for
alternative solution to drop Bluetooth connection with weak encryption key.

Bug: 124301137
Test: make
Change-Id: I28f83628bc5eeda4e0632dc594770d040386b5fc
(cherry picked from commit 398473b74ebab9a47bf6f0615460f3c44ca09269)

5 years ago[automerger skipped] Merge "DO NOT MERGE Log encryption key size" into pi-dev am...
Jack He [Wed, 27 Mar 2019 10:35:10 +0000 (03:35 -0700)]
[automerger skipped] Merge "DO NOT MERGE Log encryption key size" into pi-dev am: 9515d91c6f -s ours
am: a360163739 -s ours
am skip reason: subject contains skip directive

Change-Id: I7edb09c9359c52fd0a57e3d2258fd92d2de05767

5 years ago[automerger skipped] Merge "DO NOT MERGE Log encryption key size" into pi-dev
Jack He [Wed, 27 Mar 2019 10:29:31 +0000 (03:29 -0700)]
[automerger skipped] Merge "DO NOT MERGE Log encryption key size" into pi-dev
am: 9515d91c6f -s ours
am skip reason: SHA1 9515d91c6f skipped by user siyuanh

Change-Id: I1a316d221cef64768e1a2ed1a5cb4b50cf3b78a5

5 years ago[automerger skipped] DO NOT MERGE Drop Bluetooth connection with weak encryption...
Jakub Pawlowski [Wed, 27 Mar 2019 08:20:19 +0000 (01:20 -0700)]
[automerger skipped] DO NOT MERGE Drop Bluetooth connection with weak encryption key am: 049bf4ec4e -s ours am: 5237f6add3 -s ours am: 6caf0b031f -s ours am: 45342e5ca8
am: 3e3aa5eb04 -s ours
am skip reason: subject contains skip directive

Change-Id: Icdb1e3eaf5877c32bc975ec4074c87a175965085

5 years ago[automerger skipped] [automerger] DO NOT MERGE Drop Bluetooth connection with weak...
Jakub Pawlowski [Wed, 27 Mar 2019 08:20:02 +0000 (01:20 -0700)]
[automerger skipped] [automerger] DO NOT MERGE Drop Bluetooth connection with weak encryption key am: 027532b367 am: 5f48bc8a86 am: b788f8394e am: a46c2b03a2 skipped: f0213c3937 am: 1ecc29885a am: 262bb16a7e am: 633bf7e310 -s ours am: 90f6b713f2
am: 17ad1dae93 -s ours
am skip reason: subject contains skip directive

Change-Id: Ib8f5bda17e658def2718ed8009664fad5ca51885

5 years ago[automerger skipped] DO NOT MERGE Drop Bluetooth connection with weak encryption...
Jakub Pawlowski [Wed, 27 Mar 2019 08:19:46 +0000 (01:19 -0700)]
[automerger skipped] DO NOT MERGE Drop Bluetooth connection with weak encryption key am: e32d4aa7a4 -s ours am: 8818d4bb55
am: 09670a8916 -s ours
am skip reason: subject contains skip directive

Change-Id: I40bf09500901a97be780d46a554da1c392a01835

5 years ago[automerger skipped] DO NOT MERGE Drop Bluetooth connection with weak encryption...
Jakub Pawlowski [Wed, 27 Mar 2019 08:18:45 +0000 (01:18 -0700)]
[automerger skipped] DO NOT MERGE Drop Bluetooth connection with weak encryption key am: 398473b74e -s ours
am: 52542eadd7 -s ours
am skip reason: subject contains skip directive

Change-Id: Idfc2774fdd0a942514ddadcc86406f77b6d484cb

5 years ago[automerger skipped] DO NOT MERGE Drop Bluetooth connection with weak encryption...
Jakub Pawlowski [Wed, 27 Mar 2019 07:59:23 +0000 (00:59 -0700)]
[automerger skipped] DO NOT MERGE Drop Bluetooth connection with weak encryption key am: 049bf4ec4e -s ours am: 5237f6add3 -s ours am: 6caf0b031f -s ours
am: 45342e5ca8

Change-Id: I0c3df4ebff4c00a6d13006725eb0ccf7149dd920

5 years ago[automerger skipped] [automerger] DO NOT MERGE Drop Bluetooth connection with weak...
Jakub Pawlowski [Wed, 27 Mar 2019 07:58:47 +0000 (00:58 -0700)]
[automerger skipped] [automerger] DO NOT MERGE Drop Bluetooth connection with weak encryption key am: 027532b367 am: 5f48bc8a86 am: b788f8394e am: a46c2b03a2 skipped: f0213c3937 am: 1ecc29885a am: 262bb16a7e am: 633bf7e310 -s ours
am: 90f6b713f2

Change-Id: I236fd162455f4f0636d07e4bca8eb70c7308b54c

5 years ago[automerger skipped] DO NOT MERGE Drop Bluetooth connection with weak encryption...
Jakub Pawlowski [Wed, 27 Mar 2019 07:58:09 +0000 (00:58 -0700)]
[automerger skipped] DO NOT MERGE Drop Bluetooth connection with weak encryption key am: e32d4aa7a4 -s ours
am: 8818d4bb55

Change-Id: I4d40a32f2d65f9d99863b08af4829d42c28f3076

5 years ago[automerger skipped] DO NOT MERGE Drop Bluetooth connection with weak encryption key
Jakub Pawlowski [Wed, 27 Mar 2019 07:57:41 +0000 (00:57 -0700)]
[automerger skipped] DO NOT MERGE Drop Bluetooth connection with weak encryption key
am: 398473b74e -s ours
am skip reason: SHA1 398473b74e skipped by user jpawlowski

Change-Id: I26d7ed0972ead1a5f79d63cf932d0b25b94c86b9

5 years agoMerge "DO NOT MERGE Log encryption key size" into pi-dev
TreeHugger Robot [Wed, 27 Mar 2019 05:09:25 +0000 (05:09 +0000)]
Merge "DO NOT MERGE Log encryption key size" into pi-dev

5 years ago[automerger skipped] DO NOT MERGE Drop Bluetooth connection with weak encryption...
Jakub Pawlowski [Tue, 26 Mar 2019 23:20:56 +0000 (16:20 -0700)]
[automerger skipped] DO NOT MERGE Drop Bluetooth connection with weak encryption key am: 049bf4ec4e -s ours am: 5237f6add3 -s ours
am: 6caf0b031f -s ours
am skip reason: subject contains skip directive

Change-Id: I2a7fe904c4d72a88fa0db1f3d9e55753f8f5aa01

5 years ago[automerger skipped] [automerger] DO NOT MERGE Drop Bluetooth connection with weak...
Jakub Pawlowski [Tue, 26 Mar 2019 23:14:53 +0000 (16:14 -0700)]
[automerger skipped] [automerger] DO NOT MERGE Drop Bluetooth connection with weak encryption key am: 027532b367 am: 5f48bc8a86 am: b788f8394e am: a46c2b03a2 skipped: f0213c3937 am: 1ecc29885a am: 262bb16a7e
am: 633bf7e310 -s ours
am skip reason: subject contains skip directive

Change-Id: I4cf14b1e4d53a53e553dfa31afc0a11b2e31dee1

5 years ago[automerger skipped] DO NOT MERGE Drop Bluetooth connection with weak encryption...
Jakub Pawlowski [Tue, 26 Mar 2019 23:14:42 +0000 (16:14 -0700)]
[automerger skipped] DO NOT MERGE Drop Bluetooth connection with weak encryption key am: 049bf4ec4e -s ours
am: 5237f6add3 -s ours
am skip reason: change_id Id4b6b4e765628397a79e6806f45c2cd27acebd5b with SHA1 027532b367 is in history

Change-Id: I56780086be9ba71ee573956d0991824db7ebba0f

5 years ago[automerger] DO NOT MERGE Drop Bluetooth connection with weak encryption key am:...
Jakub Pawlowski [Tue, 26 Mar 2019 23:14:08 +0000 (16:14 -0700)]
[automerger] DO NOT MERGE Drop Bluetooth connection with weak encryption key am: 027532b367 am: 5f48bc8a86 am: b788f8394e am: a46c2b03a2 skipped: f0213c3937 am: 1ecc29885a
am: 262bb16a7e

Change-Id: Iebb2f610252f8cec64ea7003fd1955d30b7fcf79

5 years ago[automerger skipped] DO NOT MERGE Drop Bluetooth connection with weak encryption key
Jakub Pawlowski [Tue, 26 Mar 2019 23:02:58 +0000 (16:02 -0700)]
[automerger skipped] DO NOT MERGE Drop Bluetooth connection with weak encryption key
am: 049bf4ec4e -s ours
am skip reason: change_id Id4b6b4e765628397a79e6806f45c2cd27acebd5b with SHA1 027532b367 is in history

Change-Id: I9f7f56c8620a99ce5f2a4bf0e33eb94cdac829a5

5 years ago[automerger skipped] DO NOT MERGE Drop Bluetooth connection with weak encryption key
Jakub Pawlowski [Tue, 26 Mar 2019 22:26:23 +0000 (15:26 -0700)]
[automerger skipped] DO NOT MERGE Drop Bluetooth connection with weak encryption key
am: e32d4aa7a4 -s ours
am skip reason: subject contains skip directive

Change-Id: Ica0e4d762e9b9e50847c0403a1fd70724f9be020

5 years ago[automerger] DO NOT MERGE Drop Bluetooth connection with weak encryption key am:...
Jakub Pawlowski [Tue, 26 Mar 2019 22:10:24 +0000 (15:10 -0700)]
[automerger] DO NOT MERGE Drop Bluetooth connection with weak encryption key am: 027532b367 am: 5f48bc8a86 am: b788f8394e am: a46c2b03a2 skipped: f0213c3937
am: 1ecc29885a

Change-Id: I43f7d01e376f8260e1120d3a403c41f45eca5950

5 years agoDO NOT MERGE Drop Bluetooth connection with weak encryption key
Jakub Pawlowski [Thu, 14 Feb 2019 11:44:06 +0000 (12:44 +0100)]
DO NOT MERGE Drop Bluetooth connection with weak encryption key

This patch requires Bluetooth chip to support HCI Read Encryption Key Size
command and will cause Bluetooth to crash if this command is not supported
on a device. Such device should not take this patch and should look for
alternative solution to drop Bluetooth connection with weak encryption key.

Bug: 124301137
Merged-In: Id4b6b4e765628397a79e6806f45c2cd27acebd5b
Change-Id: Id4b6b4e765628397a79e6806f45c2cd27acebd5b

5 years agoLog encryption key size
Jack He [Wed, 20 Mar 2019 20:31:58 +0000 (13:31 -0700)]
Log encryption key size

* Log result from HCI_READ_ENCR_KEY_SIZE command

Bug: 124301137
Test: test drive with statsd
Change-Id: I6274f244a6f03d2a0054e985d7daf8104c8cdfe7

5 years agoDO NOT MERGE Log encryption key size
Jack He [Thu, 21 Mar 2019 00:51:09 +0000 (17:51 -0700)]
DO NOT MERGE Log encryption key size

* Log result from HCI_READ_ENCR_KEY_SIZE command

Bug: 124301137
Test: test drive with statsd
Change-Id: I776a3c357fcd75623fba241f150d1afb58aa23fb

5 years agoDrop Bluetooth connection with weak encryption key
Jakub Pawlowski [Thu, 14 Feb 2019 11:44:06 +0000 (12:44 +0100)]
Drop Bluetooth connection with weak encryption key

This patch requires Bluetooth chip to support HCI Read Encryption Key Size
command and will cause Bluetooth to crash if this command is not supported
on a device. Such device should not take this patch and should look for
alternative solution to drop Bluetooth connection with weak encryption key.

Bug: 124301137
Change-Id: Id4b6b4e765628397a79e6806f45c2cd27acebd5b

5 years agoAdd test about post/clear task from callback for handler am: 13369ff8d1 am: 55ef162693
Chienyuan [Mon, 25 Mar 2019 16:48:01 +0000 (09:48 -0700)]
Add test about post/clear task from callback for handler am: 13369ff8d1 am: 55ef162693
am: 41e00a4f7b

Change-Id: Id564c2b0347ec87c65d224a53c36b5b88b81b8ae

5 years agoAdd test about post/clear task from callback for handler am: 13369ff8d1
Chienyuan [Mon, 25 Mar 2019 16:43:34 +0000 (09:43 -0700)]
Add test about post/clear task from callback for handler am: 13369ff8d1
am: 55ef162693

Change-Id: I514486c83fa84c6f45e3be771b24fa78fd676ed1

5 years agoAdd test about post/clear task from callback for handler
Chienyuan [Mon, 25 Mar 2019 16:39:33 +0000 (09:39 -0700)]
Add test about post/clear task from callback for handler
am: 13369ff8d1

Change-Id: Iafc38c79a208bd37c3c9872d3e0db1f43ca21cd6

5 years agoAdd test about post/clear task from callback for handler
Chienyuan [Sat, 23 Mar 2019 00:12:52 +0000 (17:12 -0700)]
Add test about post/clear task from callback for handler

Test: sudo ./bluetooth_test_common
Change-Id: Ibbf8622a705d3523638ef6cc9e6a62130b877637

5 years ago[automerger skipped] [DO NOT MERGE] btif/osi: move I/O to OSI layer. disable for...
Martin Brabham [Fri, 22 Mar 2019 21:46:37 +0000 (14:46 -0700)]
[automerger skipped] [DO NOT MERGE] btif/osi: move I/O to OSI layer. disable for multi-user. am: e689266be5
am: ebfdba0384 -s ours
am skip reason: subject contains skip directive

Change-Id: I2f8278ed30dfa11047993edc9861de1a799ae640

5 years ago[automerger skipped] [DO NOT MERGE] Handle edge cases where input or hash/data could...
Martin Brabham [Fri, 22 Mar 2019 21:46:29 +0000 (14:46 -0700)]
[automerger skipped] [DO NOT MERGE] Handle edge cases where input or hash/data could be null. am: 8fce4bca61 -s ours
am: 513cb0c4c5 -s ours
am skip reason: subject contains skip directive

Change-Id: I31ed2f0451b8bdfe9718345592c51ee49f805914

5 years ago[automerger skipped] [DO NOT MERGE] btif: Avoid resource leak in error case am: 1c981...
Greg Kaiser [Fri, 22 Mar 2019 21:46:21 +0000 (14:46 -0700)]
[automerger skipped] [DO NOT MERGE] btif: Avoid resource leak in error case am: 1c981598b8 -s ours
am: 7e5b450a17 -s ours
am skip reason: subject contains skip directive

Change-Id: I4a0dd1d7fa041a70b03c217c1c5d30edf1a3f181

5 years ago[automerger skipped] [DO NOT MERGE] btif: Avoid a couple string copies am: f7e12c2ea6...
Greg Kaiser [Fri, 22 Mar 2019 21:46:13 +0000 (14:46 -0700)]
[automerger skipped] [DO NOT MERGE] btif: Avoid a couple string copies am: f7e12c2ea6 -s ours
am: 0beb7dda3b -s ours
am skip reason: subject contains skip directive

Change-Id: I8bfc6c0283c45b0fcd326e12b79eac8d12d36d25

5 years ago[automerger skipped] [DO NOT MERGE] btif: Lighter weight file existence check am...
Greg Kaiser [Fri, 22 Mar 2019 21:46:04 +0000 (14:46 -0700)]
[automerger skipped] [DO NOT MERGE] btif: Lighter weight file existence check am: 169ddca90e -s ours
am: 4d775f29f7 -s ours
am skip reason: subject contains skip directive

Change-Id: Icdae2a6f6b1ada7b61162b2cf13f18b97022c346

5 years ago[automerger skipped] [DO NOT MERGE] Implement key attestation using AndroidKeystore...
Martin Brabham [Fri, 22 Mar 2019 21:45:56 +0000 (14:45 -0700)]
[automerger skipped] [DO NOT MERGE] Implement key attestation using AndroidKeystore. am: e0f1e9a32c -s ours
am: db9e241d85 -s ours
am skip reason: subject contains skip directive

Change-Id: Ie90fc17e9248b2b917e8b2d6a9a04b415df5415b

5 years ago[DO NOT MERGE] btif/osi: move I/O to OSI layer. disable for multi-user.
Martin Brabham [Fri, 22 Mar 2019 21:43:24 +0000 (14:43 -0700)]
[DO NOT MERGE] btif/osi: move I/O to OSI layer. disable for multi-user.
am: e689266be5

Change-Id: I29d03a2bd2b43ca4f120444c42f3f836de8f727f

5 years ago[automerger skipped] [DO NOT MERGE] Handle edge cases where input or hash/data could...
Martin Brabham [Fri, 22 Mar 2019 21:43:08 +0000 (14:43 -0700)]
[automerger skipped] [DO NOT MERGE] Handle edge cases where input or hash/data could be null.
am: 8fce4bca61 -s ours
am skip reason: change_id Ia91ea822ee2147b2a2d14bea250a708e8c10bae4 with SHA1 2288446205 is in history

Change-Id: Id9b2eaf4160eca3ef239a99c3374b57f7ac41e31

5 years ago[automerger skipped] [DO NOT MERGE] btif: Avoid resource leak in error case
Greg Kaiser [Fri, 22 Mar 2019 21:42:52 +0000 (14:42 -0700)]
[automerger skipped] [DO NOT MERGE] btif: Avoid resource leak in error case
am: 1c981598b8 -s ours
am skip reason: SHA1 1c981598b8 skipped by user optedoblivion

Change-Id: Ic84f9cf44a828c931478e985ee6b648ba892fe85

5 years ago[automerger skipped] [DO NOT MERGE] btif: Avoid a couple string copies
Greg Kaiser [Fri, 22 Mar 2019 21:42:37 +0000 (14:42 -0700)]
[automerger skipped] [DO NOT MERGE] btif: Avoid a couple string copies
am: f7e12c2ea6 -s ours
am skip reason: SHA1 f7e12c2ea6 skipped by user optedoblivion

Change-Id: I8939b4f90a5220c814a421acc9ff508c1dc4f673

5 years ago[automerger skipped] [DO NOT MERGE] btif: Lighter weight file existence check
Greg Kaiser [Fri, 22 Mar 2019 21:42:21 +0000 (14:42 -0700)]
[automerger skipped] [DO NOT MERGE] btif: Lighter weight file existence check
am: 169ddca90e -s ours
am skip reason: change_id Ib47b24e9d96803b7822535f9f566aa7818b38953 with SHA1 ff7b436378 is in history

Change-Id: If7af752323d5275478bf6d606fd9ebbf1a788442

5 years ago[automerger skipped] [DO NOT MERGE] Implement key attestation using AndroidKeystore.
Martin Brabham [Fri, 22 Mar 2019 21:42:04 +0000 (14:42 -0700)]
[automerger skipped] [DO NOT MERGE] Implement key attestation using AndroidKeystore.
am: e0f1e9a32c -s ours
am skip reason: change_id I26de9ea05f515d6643a83d11628490fb49e10743 with SHA1 5f67e5ff1c is in history

Change-Id: Ib043f2b93d95cb939c1cd2d853e00abfb284e09f

5 years ago[automerger] DO NOT MERGE Drop Bluetooth connection with weak encryption key am:...
Android Build Merger (Role) [Fri, 22 Mar 2019 18:30:05 +0000 (18:30 +0000)]
[automerger] DO NOT MERGE Drop Bluetooth connection with weak encryption key am: 027532b367 am: 5f48bc8a86 am: b788f8394e am: a46c2b03a2 skipped: f0213c3937

Change-Id: I028d493ce2aae117a28422b68df67dd424b28148

5 years ago[automerger] DO NOT MERGE Drop Bluetooth connection with weak encryption key am:...
Android Build Merger (Role) [Fri, 22 Mar 2019 18:30:03 +0000 (18:30 +0000)]
[automerger] DO NOT MERGE Drop Bluetooth connection with weak encryption key am: 027532b367 am: 5f48bc8a86 am: b788f8394e am: a46c2b03a2

Change-Id: I203993fecd15608d036b79ae9f1bcf1e6e5536b1

5 years ago[automerger] DO NOT MERGE Drop Bluetooth connection with weak encryption key am:...
Android Build Merger (Role) [Fri, 22 Mar 2019 18:30:01 +0000 (18:30 +0000)]
[automerger] DO NOT MERGE Drop Bluetooth connection with weak encryption key am: 027532b367 am: 5f48bc8a86 am: b788f8394e

Change-Id: Iebe131904b01492285eaaeaf6408b76037b2643e

5 years ago[automerger] DO NOT MERGE Drop Bluetooth connection with weak encryption key am:...
Android Build Merger (Role) [Fri, 22 Mar 2019 18:29:58 +0000 (18:29 +0000)]
[automerger] DO NOT MERGE Drop Bluetooth connection with weak encryption key am: 027532b367 am: 5f48bc8a86

Change-Id: Ia0fb7cb6c331f4f30b4a2320fa52b66be425c74f

5 years ago[automerger] DO NOT MERGE Drop Bluetooth connection with weak encryption key am:...
Android Build Merger (Role) [Fri, 22 Mar 2019 18:29:56 +0000 (18:29 +0000)]
[automerger] DO NOT MERGE Drop Bluetooth connection with weak encryption key am: 027532b367

Change-Id: I4fb660ac5ca288993e6f0643929eb1b1def1040c

5 years agoDO NOT MERGE Drop Bluetooth connection with weak encryption key
Jakub Pawlowski [Thu, 14 Feb 2019 11:44:06 +0000 (12:44 +0100)]
DO NOT MERGE Drop Bluetooth connection with weak encryption key

This patch requires Bluetooth chip to support HCI Read Encryption Key Size
command and will cause Bluetooth to crash if this command is not supported
on a device. Such device should not take this patch and should look for
alternative solution to drop Bluetooth connection with weak encryption key.

Bug: 124301137
Change-Id: Id4b6b4e765628397a79e6806f45c2cd27acebd5b

5 years agoDO NOT MERGE Drop Bluetooth connection with weak encryption key
Jakub Pawlowski [Thu, 14 Feb 2019 11:44:06 +0000 (12:44 +0100)]
DO NOT MERGE Drop Bluetooth connection with weak encryption key

This patch requires Bluetooth chip to support HCI Read Encryption Key Size
command and will cause Bluetooth to crash if this command is not supported
on a device. Such device should not take this patch and should look for
alternative solution to drop Bluetooth connection with weak encryption key.

Bug: 124301137
Change-Id: Id4b6b4e765628397a79e6806f45c2cd27acebd5b

5 years agoDO NOT MERGE Drop Bluetooth connection with weak encryption key
Jakub Pawlowski [Thu, 14 Feb 2019 11:44:06 +0000 (12:44 +0100)]
DO NOT MERGE Drop Bluetooth connection with weak encryption key

This patch requires Bluetooth chip to support HCI Read Encryption Key Size
command and will cause Bluetooth to crash if this command is not supported
on a device. Such device should not take this patch and should look for
alternative solution to drop Bluetooth connection with weak encryption key.

Bug: 124301137
Change-Id: Id4b6b4e765628397a79e6806f45c2cd27acebd5b