OSDN Git Service

android-x86/system-bt.git
5 years ago[automerger skipped] DO NOT MERGE Don't persist bonds using sample LTK am: 292fcf8612...
Jakub Pawlowski [Mon, 8 Apr 2019 13:07:10 +0000 (06:07 -0700)]
[automerger skipped] DO NOT MERGE Don't persist bonds using sample LTK am: 292fcf8612 -s ours am: e8dea68f6a -s ours am: dc17388efd -s ours
am: 6c931823ce -s ours
am skip reason: subject contains skip directive

Change-Id: I5594c2a292a9754900e8c574cc859f51dbc4442c

5 years ago[automerger skipped] DO NOT MERGE Don't persist bonds using sample LTK am: 292fcf8612...
Jakub Pawlowski [Mon, 8 Apr 2019 13:03:09 +0000 (06:03 -0700)]
[automerger skipped] DO NOT MERGE Don't persist bonds using sample LTK am: 292fcf8612 -s ours am: e8dea68f6a -s ours
am: dc17388efd -s ours
am skip reason: subject contains skip directive

Change-Id: I368bf6dcf1599b50fce99a9c55fb25bc896996cb

5 years ago[automerger skipped] DO NOT MERGE Don't persist bonds using sample LTK am: 292fcf8612...
Jakub Pawlowski [Mon, 8 Apr 2019 13:00:22 +0000 (06:00 -0700)]
[automerger skipped] DO NOT MERGE Don't persist bonds using sample LTK am: 292fcf8612 -s ours
am: e8dea68f6a -s ours
am skip reason: change_id I52fd484d42bf87e96dbc9e6456090f231ed48111 with SHA1 c0fb2a25f9 is in history

Change-Id: If68cf83db0a7388146f4e28a8433f8bd4c402e72

5 years ago[automerger skipped] DO NOT MERGE Don't persist bonds using sample LTK
Jakub Pawlowski [Mon, 8 Apr 2019 12:55:18 +0000 (05:55 -0700)]
[automerger skipped] DO NOT MERGE Don't persist bonds using sample LTK
am: 292fcf8612 -s ours
am skip reason: change_id I52fd484d42bf87e96dbc9e6456090f231ed48111 with SHA1 c0fb2a25f9 is in history

Change-Id: I923523630e1e8530f23f3720611582353ffecff4

5 years agoDO NOT MERGE Don't persist bonds using sample LTK
Jakub Pawlowski [Mon, 11 Mar 2019 18:22:01 +0000 (19:22 +0100)]
DO NOT MERGE Don't persist bonds using sample LTK

Test: compilation, manual testing
Bug: 128843052
Merged-In: I52fd484d42bf87e96dbc9e6456090f231ed48111
Change-Id: I52fd484d42bf87e96dbc9e6456090f231ed48111

5 years ago[automerger skipped] [automerger] DO NOT MERGE Don't persist bonds using sample LTK...
Jakub Pawlowski [Sat, 6 Apr 2019 00:30:22 +0000 (17:30 -0700)]
[automerger skipped] [automerger] DO NOT MERGE Don't persist bonds using sample LTK am: c0fb2a25f9 am: c544656a68 am: 0fd5b5de7d am: 1dec8a9f3e skipped: 05e4e07328 am: c07f304de8 am: fc58eb3c8d am: 97e9e1540a -s ours
am: a07ff2d7de -s ours
am skip reason: subject contains skip directive

Change-Id: I2b7882f5c6ac4790c9f32be9640743ee2471e6d4

5 years ago[automerger skipped] DO NOT MERGE Don't persist bonds using sample LTK am: 054dcec1c9...
Jakub Pawlowski [Sat, 6 Apr 2019 00:29:33 +0000 (17:29 -0700)]
[automerger skipped] DO NOT MERGE Don't persist bonds using sample LTK am: 054dcec1c9 -s ours
am: 1091324048 -s ours
am skip reason: subject contains skip directive

Change-Id: I3143af4a96421e245ea8fbe6ba3f887f1740603e

5 years ago[automerger skipped] [automerger] DO NOT MERGE Don't persist bonds using sample LTK...
Jakub Pawlowski [Fri, 5 Apr 2019 23:25:51 +0000 (16:25 -0700)]
[automerger skipped] [automerger] DO NOT MERGE Don't persist bonds using sample LTK am: c0fb2a25f9 am: c544656a68 am: 0fd5b5de7d am: 1dec8a9f3e skipped: 05e4e07328 am: c07f304de8 am: fc58eb3c8d
am: 97e9e1540a -s ours
am skip reason: subject contains skip directive

Change-Id: Ib1c23383e61d4faca8970cad71fa8f24dd2e354c

5 years ago[automerger] DO NOT MERGE Don't persist bonds using sample LTK am: c0fb2a25f9 am...
Jakub Pawlowski [Fri, 5 Apr 2019 23:23:05 +0000 (16:23 -0700)]
[automerger] DO NOT MERGE Don't persist bonds using sample LTK am: c0fb2a25f9 am: c544656a68 am: 0fd5b5de7d am: 1dec8a9f3e skipped: 05e4e07328 am: c07f304de8
am: fc58eb3c8d

Change-Id: I346917706000054f0aee3bc3084f60e15b7a4f57

5 years ago[automerger skipped] DO NOT MERGE Don't persist bonds using sample LTK
Jakub Pawlowski [Fri, 5 Apr 2019 23:03:40 +0000 (16:03 -0700)]
[automerger skipped] DO NOT MERGE Don't persist bonds using sample LTK
am: 054dcec1c9 -s ours
am skip reason: subject contains skip directive

Change-Id: Ib7be32bd6046f7fce608fc0bef9d812ab6341b2a

5 years ago[automerger] DO NOT MERGE Don't persist bonds using sample LTK am: c0fb2a25f9 am...
Jakub Pawlowski [Fri, 5 Apr 2019 21:27:01 +0000 (14:27 -0700)]
[automerger] DO NOT MERGE Don't persist bonds using sample LTK am: c0fb2a25f9 am: c544656a68 am: 0fd5b5de7d am: 1dec8a9f3e skipped: 05e4e07328
am: c07f304de8

Change-Id: I20eed1aeb29a3df15251033d02fd7d5d241a28dd

5 years ago[automerger skipped] DO NOT MERGE Don't persist bonds using sample LTK
Jakub Pawlowski [Fri, 5 Apr 2019 21:15:47 +0000 (14:15 -0700)]
[automerger skipped] DO NOT MERGE Don't persist bonds using sample LTK
am: 250529d6f1 -s ours
am skip reason: subject contains skip directive

Change-Id: I0a7b5b8ff742ca1b31b35247da5b3ea3eb97ab19

5 years agoFix for GATT not returning disconnect callback.
Jakub Pawlowski [Tue, 2 Apr 2019 17:21:14 +0000 (19:21 +0200)]
Fix for GATT not returning disconnect callback.

Before recent refactor GATT was using the L2CAP layer to start LE
connections. Since the refactor, GATT talks directly to added
connection_manager, just like L2CAP.
L2CAP does have it's own timer for direct connections, that was
returning conneciton failure after timeout. After switching to
connection_manager, GATT no longer receives those callbacks.

This patch makes the connection_manager send the on_connection_timed_out
callback, and wire it to same handler that L2CAP layer was using before.

Test: unit tests added
Bug: 125553095
Change-Id: Iaf8be46fe8eed49f78ddbc6a2f3516bc8279e91f

5 years agoMerge "Handle Bluetooth HAL service died" am: fcaed46d9e am: 5e3e0bba7c
Ugo Yu [Wed, 3 Apr 2019 21:11:16 +0000 (14:11 -0700)]
Merge "Handle Bluetooth HAL service died" am: fcaed46d9e am: 5e3e0bba7c
am: f8d4bb86d7

Change-Id: I5fd483628665f5f795e3c712943c6c62e4142e4d

5 years agoMerge "Check GATT notification len"
TreeHugger Robot [Wed, 3 Apr 2019 19:49:20 +0000 (19:49 +0000)]
Merge "Check GATT notification len"

5 years agoMerge "Handle Bluetooth HAL service died" am: fcaed46d9e
Ugo Yu [Wed, 3 Apr 2019 19:07:14 +0000 (12:07 -0700)]
Merge "Handle Bluetooth HAL service died" am: fcaed46d9e
am: 5e3e0bba7c

Change-Id: I55c92c433d7f80e4a0cb21321480d0e7178d64d8

5 years agoMerge "Handle Bluetooth HAL service died"
Ugo Yu [Wed, 3 Apr 2019 18:57:43 +0000 (11:57 -0700)]
Merge "Handle Bluetooth HAL service died"
am: fcaed46d9e

Change-Id: I105aad49177d7987fd0ad97fdad9d22359fd32d6

5 years agoMerge "Handle Bluetooth HAL service died"
Treehugger Robot [Wed, 3 Apr 2019 18:45:12 +0000 (18:45 +0000)]
Merge "Handle Bluetooth HAL service died"

5 years agoHandle Bluetooth HAL service died
Ugo Yu [Tue, 2 Apr 2019 13:55:14 +0000 (21:55 +0800)]
Handle Bluetooth HAL service died

Bug: 129320921
Test: kill Bluetooth HAL
Change-Id: I83c897f5a9def52b2050a3e73d97f99b1b71aa3b

5 years agoMerge "Fix handling of startup_timer_expired"
TreeHugger Robot [Wed, 3 Apr 2019 12:56:11 +0000 (12:56 +0000)]
Merge "Fix handling of startup_timer_expired"

5 years agoFix handling of startup_timer_expired
Sunny Kapdi [Sat, 30 Mar 2019 00:42:38 +0000 (17:42 -0700)]
Fix handling of startup_timer_expired

1. The startup_timer needs to be less than
3 sec to allow the wakelock to be held by
the stack and needs to be less than the
BLE_START_TIMEOUT of framework.
2. On expiry of startup_timer, just abort
as there is no proper recovery steps here.

Bug: 129394377
Change-Id: I1a397bab5c88fe7ef8ccbc369897903ee5d0a36a

5 years agoMerge "RootCanal: Add beacons by default" am: ca152a6705 am: f0aeea3cd3
Myles Watson [Wed, 3 Apr 2019 05:16:40 +0000 (22:16 -0700)]
Merge "RootCanal: Add beacons by default" am: ca152a6705 am: f0aeea3cd3
am: d22e75eae1

Change-Id: I679da68b02f40560efec19ffdaf8f81454a76651

5 years agoMerge "RootCanal: Add beacons by default" am: ca152a6705
Myles Watson [Wed, 3 Apr 2019 04:22:13 +0000 (21:22 -0700)]
Merge "RootCanal: Add beacons by default" am: ca152a6705
am: f0aeea3cd3

Change-Id: I13b3fdf29ad8002f506ce317230a9cfc671a4fce

5 years agoMerge "RootCanal: Add beacons by default"
Myles Watson [Wed, 3 Apr 2019 03:52:15 +0000 (20:52 -0700)]
Merge "RootCanal: Add beacons by default"
am: ca152a6705

Change-Id: I5dc0e3cceb7ae1cb4e4a4cb4d5e31c52a6ee6343

5 years agoMerge "RootCanal: Add beacons by default"
Treehugger Robot [Wed, 3 Apr 2019 03:40:38 +0000 (03:40 +0000)]
Merge "RootCanal: Add beacons by default"

5 years agoMerge "Merge "packet: Add Packet classes and tests" am: a275910a49 am: 257ed53ca9...
Android Build Merger (Role) [Wed, 3 Apr 2019 02:51:38 +0000 (02:51 +0000)]
Merge "Merge "packet: Add Packet classes and tests" am: a275910a49 am: 257ed53ca9 am: 995361568d"

5 years agoMerge "packet: Add Packet classes and tests" am: a275910a49 am: 257ed53ca9
Myles Watson [Wed, 3 Apr 2019 02:51:27 +0000 (19:51 -0700)]
Merge "packet: Add Packet classes and tests" am: a275910a49 am: 257ed53ca9
am: 995361568d

Change-Id: I9f2f7b7b8bc14b80f7306ad2eb6cc5907d39c440

5 years agoMerge "packet: Add Packet classes and tests" am: a275910a49 am: 257ed53ca9
Myles Watson [Wed, 3 Apr 2019 02:51:19 +0000 (19:51 -0700)]
Merge "packet: Add Packet classes and tests" am: a275910a49 am: 257ed53ca9
am: 995361568d

Change-Id: Iad797e8182c3c824cf483249ca5f09be06d7b9c9

5 years agoMerge "Add service change handle for Hearing Aids am: c410c2e7f1 am: 003b2e01fc am...
Android Build Merger (Role) [Wed, 3 Apr 2019 02:44:21 +0000 (02:44 +0000)]
Merge "Add service change handle for Hearing Aids am: c410c2e7f1 am: 003b2e01fc am: d66e625934"

5 years agoAdd service change handle for Hearing Aids am: c410c2e7f1 am: 003b2e01fc
weichinweng [Wed, 3 Apr 2019 02:44:10 +0000 (19:44 -0700)]
Add service change handle for Hearing Aids am: c410c2e7f1 am: 003b2e01fc
am: d66e625934

Change-Id: I9fccba58581984864331051972bc3227b031a953

5 years agoAdd service change handle for Hearing Aids am: c410c2e7f1 am: 003b2e01fc
weichinweng [Wed, 3 Apr 2019 02:43:45 +0000 (19:43 -0700)]
Add service change handle for Hearing Aids am: c410c2e7f1 am: 003b2e01fc
am: d66e625934

Change-Id: I2fb8650abfdeb14a5df075ed1bd822897f24dc72

5 years agoMerge "packet: Add Packet classes and tests" am: a275910a49
Myles Watson [Wed, 3 Apr 2019 02:08:37 +0000 (19:08 -0700)]
Merge "packet: Add Packet classes and tests" am: a275910a49
am: 257ed53ca9

Change-Id: I42f2095652377e9ac744b6ae31723ce34d78be1a

5 years agoAdd service change handle for Hearing Aids am: c410c2e7f1
weichinweng [Wed, 3 Apr 2019 02:06:01 +0000 (19:06 -0700)]
Add service change handle for Hearing Aids am: c410c2e7f1
am: 003b2e01fc

Change-Id: I68a3874f4bb68eb0019da29934e5966fedcb52c0

5 years agoMerge "packet: Add Packet classes and tests"
Myles Watson [Wed, 3 Apr 2019 01:37:51 +0000 (18:37 -0700)]
Merge "packet: Add Packet classes and tests"
am: a275910a49

Change-Id: I930470fa3921157afe771cab7f427168c89f6a95

5 years agoAdd service change handle for Hearing Aids
weichinweng [Wed, 3 Apr 2019 01:36:31 +0000 (18:36 -0700)]
Add service change handle for Hearing Aids
am: c410c2e7f1

Change-Id: I77c2bec2821d939fe8323d64ab051260bf9d57ee

5 years agoMerge "packet: Add Packet classes and tests"
Treehugger Robot [Wed, 3 Apr 2019 01:01:06 +0000 (01:01 +0000)]
Merge "packet: Add Packet classes and tests"

5 years agoFix for GATT not returning disconnect callback. am: 8edcc90e45 am: 5530bf16c2
Jakub Pawlowski [Tue, 2 Apr 2019 22:39:28 +0000 (15:39 -0700)]
Fix for GATT not returning disconnect callback. am: 8edcc90e45 am: 5530bf16c2
am: cb474ec98d

Change-Id: Ia30985ef1ce0a0b55b617b1ea9a116411e4bec74

5 years agoMerge "Common: remove GD related stuff from common" am: 98695adc1c am: a946a72a12
Jack He [Tue, 2 Apr 2019 22:38:08 +0000 (15:38 -0700)]
Merge "Common: remove GD related stuff from common" am: 98695adc1c am: a946a72a12
am: ea973a4cb5

Change-Id: I8b365c79176e0c09e83dd2345ec199e49c61a327

5 years agopacket: Add Packet classes and tests
Myles Watson [Mon, 1 Apr 2019 20:21:25 +0000 (13:21 -0700)]
packet: Add Packet classes and tests

Test: atest bluetooth_test_gd
Change-Id: I8e124d5123cff3354f5c451b3806904a2d60b38d

5 years agoAdd service change handle for Hearing Aids
weichinweng [Wed, 20 Mar 2019 10:53:11 +0000 (18:53 +0800)]
Add service change handle for Hearing Aids

When receive service changed indication from Hearing Aid (which indicates
Hearing Aid service changed), it will refresh the hearing aid attribute
handle to ensure the attribute handle is correct.

Bug: 122008481
Test: 1.run unit test
2.After Pair old version FW HearingAid, Disconnect/Reconnect new version
FW HearingAId, then check whether HearingAid is working fine.
3.After Pair old version FW HearingAid, Bluetooth off/on to reconnect
new version FW HearingAId, then check whether HearingAid is working
fine.
Change-Id: I48eae10a3016429f35f4f904752be93bb419d515

5 years agoFix for GATT not returning disconnect callback. am: 8edcc90e45
Jakub Pawlowski [Tue, 2 Apr 2019 21:57:32 +0000 (14:57 -0700)]
Fix for GATT not returning disconnect callback. am: 8edcc90e45
am: 5530bf16c2

Change-Id: I021a4efbc9aa82cee53f710236f4ff273f744626

5 years agoMerge "Common: remove GD related stuff from common" am: 98695adc1c
Jack He [Tue, 2 Apr 2019 21:56:28 +0000 (14:56 -0700)]
Merge "Common: remove GD related stuff from common" am: 98695adc1c
am: a946a72a12

Change-Id: I29ece637f8b9e2baa9a9e04270655dd0e3c91de0

5 years agoMerge "Check HCI_ACL header length"
TreeHugger Robot [Tue, 2 Apr 2019 21:34:08 +0000 (21:34 +0000)]
Merge "Check HCI_ACL header length"

5 years agoFix for GATT not returning disconnect callback.
Jakub Pawlowski [Tue, 2 Apr 2019 21:22:59 +0000 (14:22 -0700)]
Fix for GATT not returning disconnect callback.
am: 8edcc90e45

Change-Id: Ib0e1bf8b76c163eafbd909d81f0137dc9a247d25

5 years agoFix for GATT not returning disconnect callback.
Jakub Pawlowski [Tue, 2 Apr 2019 17:21:14 +0000 (19:21 +0200)]
Fix for GATT not returning disconnect callback.

Before recent refactor GATT was using the L2CAP layer to start LE
connections. Since the refactor, GATT talks directly to added
connection_manager, just like L2CAP.
L2CAP does have it's own timer for direct connections, that was
returning conneciton failure after timeout. After switching to
connection_manager, GATT no longer receives those callbacks.

This patch makes the connection_manager send the on_connection_timed_out
callback, and wire it to same handler that L2CAP layer was using before.

Test: unit tests added
Bug: 125553095
Change-Id: Iaf8be46fe8eed49f78ddbc6a2f3516bc8279e91f

5 years agoRootCanal: Add beacons by default
Myles Watson [Tue, 2 Apr 2019 20:57:46 +0000 (13:57 -0700)]
RootCanal: Add beacons by default

Bug: 129546852
Test: Scan for devices using RootCanal as the Bluetooth chip
Change-Id: Ia17535bffbcdde28db5120f99aad45a915f1a7ca

5 years agoMerge "Common: remove GD related stuff from common"
Jack He [Tue, 2 Apr 2019 20:57:49 +0000 (13:57 -0700)]
Merge "Common: remove GD related stuff from common"
am: 98695adc1c

Change-Id: I13d8f4c471ad366b52740f2d39faf78600e9f9a1

5 years agoMerge "Common: remove GD related stuff from common"
Treehugger Robot [Tue, 2 Apr 2019 20:07:54 +0000 (20:07 +0000)]
Merge "Common: remove GD related stuff from common"

5 years agoCommon: remove GD related stuff from common
Jack He [Mon, 1 Apr 2019 23:20:14 +0000 (16:20 -0700)]
Common: remove GD related stuff from common

* Remove reactor, thread, handler, alarm, repeating alarm from common/
  since they are already copied into gd/os
* Extract thread and alarm benchmarks into gd:bluetooth_benchmark_gd
* Enable host side unit tests for system/bt in TEST_MAPPING

Bug: 129537494
Test: run benchmark, run unit tests
Change-Id: Id5d7592067bab3275976dfc710e4d751c43b9df8

5 years agoAvoid using erase()d iterator am: 120f377694 am: d91ef79ae7
Greg Kaiser [Tue, 2 Apr 2019 18:08:05 +0000 (11:08 -0700)]
Avoid using erase()d iterator am: 120f377694 am: d91ef79ae7
am: abd9d89f40

Change-Id: I42cb18d11c30a061f16ee13c781b21fc86956a32

5 years agobtif_storage: Avoid extra std::string copies am: 709a29f9e9 am: f6dc9ad977
Greg Kaiser [Tue, 2 Apr 2019 18:07:43 +0000 (11:07 -0700)]
btif_storage: Avoid extra std::string copies am: 709a29f9e9 am: f6dc9ad977
am: cc87e84c65

Change-Id: Ic5d4f9e69d2f4b2fa3b0a849b655a5f345c9818e

5 years agoAvoid using erase()d iterator am: 120f377694
Greg Kaiser [Tue, 2 Apr 2019 17:35:52 +0000 (10:35 -0700)]
Avoid using erase()d iterator am: 120f377694
am: d91ef79ae7

Change-Id: I695790afdba58fc51cb12370b2632ece77d4b436

5 years agobtif_storage: Avoid extra std::string copies am: 709a29f9e9
Greg Kaiser [Tue, 2 Apr 2019 17:35:23 +0000 (10:35 -0700)]
btif_storage: Avoid extra std::string copies am: 709a29f9e9
am: f6dc9ad977

Change-Id: I1acf598e920d70da086aa20dcbd95cc2fa485f49

5 years agoAvoid using erase()d iterator
Greg Kaiser [Tue, 2 Apr 2019 17:02:47 +0000 (10:02 -0700)]
Avoid using erase()d iterator
am: 120f377694

Change-Id: I5039b59eae6da98daa35581a51ed9112d9cb1d73

5 years agobtif_storage: Avoid extra std::string copies
Greg Kaiser [Tue, 2 Apr 2019 17:02:34 +0000 (10:02 -0700)]
btif_storage: Avoid extra std::string copies
am: 709a29f9e9

Change-Id: I5867967366a9e17af8529153d7ea37f7bd78e72d

5 years agoAvoid using erase()d iterator
Greg Kaiser [Mon, 1 Apr 2019 13:47:23 +0000 (06:47 -0700)]
Avoid using erase()d iterator

After calling erase(it), 'it' is no longer valid and should not be
used as it was in the 'it++' of the 'for' loop.  We change to
update 'it' to the result of erase(), and only perform 'it++' if
we're not erasing it.

Test: TreeHugger
Change-Id: If7889fdca76a6883aeb4341be1a6fff466585e29

5 years agobtif_storage: Avoid extra std::string copies
Greg Kaiser [Tue, 26 Mar 2019 16:09:28 +0000 (09:09 -0700)]
btif_storage: Avoid extra std::string copies

When a function takes a const std::string reference for an
argument, it's inefficient to pass in std::string::c_str().

Test: TreeHugger
Change-Id: Ibd00c10a08ab853875fd16739bce5851f6b42639

5 years agoMerge "Fix use of uninitialised variable" am: 52b5f32e07 am: 0c80cbcda5
Yi Kong [Tue, 2 Apr 2019 08:42:13 +0000 (01:42 -0700)]
Merge "Fix use of uninitialised variable" am: 52b5f32e07 am: 0c80cbcda5
am: be18e1cc64

Change-Id: If4857a8f3ab8d024e0e2358f377e104437b61757

5 years agoMerge "Fix use of uninitialised variable" am: 52b5f32e07
Yi Kong [Tue, 2 Apr 2019 08:24:19 +0000 (01:24 -0700)]
Merge "Fix use of uninitialised variable" am: 52b5f32e07
am: 0c80cbcda5

Change-Id: I283c56324359e9cdb5399860498392a4fb4294d7

5 years agoMerge "Fix use of uninitialised variable"
Yi Kong [Tue, 2 Apr 2019 08:16:31 +0000 (01:16 -0700)]
Merge "Fix use of uninitialised variable"
am: 52b5f32e07

Change-Id: I315935b706a7386547caac06c8e8f981e71e7431

5 years agoMerge "Fix use of uninitialised variable"
Yi Kong [Tue, 2 Apr 2019 08:04:02 +0000 (08:04 +0000)]
Merge "Fix use of uninitialised variable"

5 years agoMerge "Disable Link layer socket device test in rootcanal" am: 460d035101 am: 38383e6aac
Hansong Zhang [Tue, 2 Apr 2019 04:32:04 +0000 (21:32 -0700)]
Merge "Disable Link layer socket device test in rootcanal" am: 460d035101 am: 38383e6aac
am: 946b86e232

Change-Id: Iee48bb4f3146effba2760a84055e70967c096a80

5 years agoMerge "Disable Link layer socket device test in rootcanal" am: 460d035101
Hansong Zhang [Tue, 2 Apr 2019 04:28:49 +0000 (21:28 -0700)]
Merge "Disable Link layer socket device test in rootcanal" am: 460d035101
am: 38383e6aac

Change-Id: If5cec54274c84543ee09e3b0a4eeba2509372bdc

5 years agoMerge "Disable Link layer socket device test in rootcanal"
Hansong Zhang [Tue, 2 Apr 2019 04:23:36 +0000 (21:23 -0700)]
Merge "Disable Link layer socket device test in rootcanal"
am: 460d035101

Change-Id: Id72df7c7f5336a337575c4bc29c5f0cee15b4d53

5 years agoMerge "Disable Link layer socket device test in rootcanal"
Treehugger Robot [Tue, 2 Apr 2019 04:14:33 +0000 (04:14 +0000)]
Merge "Disable Link layer socket device test in rootcanal"

5 years ago[automerger skipped] Merge "Revert "DO NOT MERGE Hearing Aid: Add JNI API for add...
Weichin Weng [Tue, 2 Apr 2019 02:53:04 +0000 (19:53 -0700)]
[automerger skipped] Merge "Revert "DO NOT MERGE Hearing Aid: Add JNI API for add/remove whitelist"" am: 864fe7ad39 -s ours am: 7421a10f21 -s ours
am: 87bdbf8264 -s ours
am skip reason: subject contains skip directive

Change-Id: I8e789d0d62cc2c8082892905030f778146a8705c

5 years ago[automerger skipped] Merge "Revert "DO NOT MERGE Hearing Aid: Add JNI API for add...
Weichin Weng [Tue, 2 Apr 2019 02:31:23 +0000 (19:31 -0700)]
[automerger skipped] Merge "Revert "DO NOT MERGE Hearing Aid: Add JNI API for add/remove whitelist"" am: 864fe7ad39 -s ours
am: 7421a10f21 -s ours
am skip reason: subject contains skip directive

Change-Id: I3a08d4f7b73e6aae0d1856b573b3a29079bf1beb

5 years ago[automerger skipped] Merge "Revert "DO NOT MERGE Hearing Aid: Add JNI API for add...
Weichin Weng [Tue, 2 Apr 2019 02:14:04 +0000 (19:14 -0700)]
[automerger skipped] Merge "Revert "DO NOT MERGE Hearing Aid: Add JNI API for add/remove whitelist""
am: 864fe7ad39 -s ours
am skip reason: subject contains skip directive

Change-Id: I5c1ff1bbe0f3c7fc665e6f89d4eabebecd26a961

5 years agoMerge "Revert "DO NOT MERGE Hearing Aid: Add JNI API for add/remove whitelist""
Weichin Weng [Tue, 2 Apr 2019 01:48:09 +0000 (01:48 +0000)]
Merge "Revert "DO NOT MERGE Hearing Aid: Add JNI API for add/remove whitelist""

5 years agoDisable Link layer socket device test in rootcanal
Hansong Zhang [Mon, 1 Apr 2019 23:33:52 +0000 (16:33 -0700)]
Disable Link layer socket device test in rootcanal

Test: presubmit
Bug: 129537494
Change-Id: I852da314ab65052a0e1a794f5faa9f21e1249efe

5 years agoMerge "Fix assert macro logical inversion" am: c5b38fae53 am: 4bcfcf5bb9
Zach Johnson [Mon, 1 Apr 2019 21:55:28 +0000 (14:55 -0700)]
Merge "Fix assert macro logical inversion" am: c5b38fae53 am: 4bcfcf5bb9
am: 0d1725218f

Change-Id: Ie6cf044bc8ef733ba079cd99d75798d18ba20b9f

5 years agoMerge "Fix assert macro logical inversion" am: c5b38fae53
Zach Johnson [Mon, 1 Apr 2019 21:37:18 +0000 (14:37 -0700)]
Merge "Fix assert macro logical inversion" am: c5b38fae53
am: 4bcfcf5bb9

Change-Id: I6a5a16e155a021cfbd3d631dc3421f694d37f9e0

5 years agoMerge "Fix assert macro logical inversion"
Zach Johnson [Mon, 1 Apr 2019 21:15:17 +0000 (14:15 -0700)]
Merge "Fix assert macro logical inversion"
am: c5b38fae53

Change-Id: I1651a93c09137f8a5d159cf056d3ea3d0c115831

5 years agoMerge "Fix assert macro logical inversion"
Zach Johnson [Mon, 1 Apr 2019 20:12:03 +0000 (20:12 +0000)]
Merge "Fix assert macro logical inversion"

5 years agoFix assert macro logical inversion
Zach Johnson [Fri, 29 Mar 2019 19:45:50 +0000 (12:45 -0700)]
Fix assert macro logical inversion

Rename FATAL_WHEN to ASSERT and LOG_FATAL_WHEN to ASSERT_LOG

Test: atest
Change-Id: I0e6e15ce7cfbb89e76910181f164e8ff32abc033

5 years ago[automerger] DO NOT MERGE Don't persist bonds using sample LTK am: c0fb2a25f9 am...
Android Build Merger (Role) [Mon, 1 Apr 2019 18:14:30 +0000 (18:14 +0000)]
[automerger] DO NOT MERGE Don't persist bonds using sample LTK am: c0fb2a25f9 am: c544656a68 am: 0fd5b5de7d am: 1dec8a9f3e skipped: 05e4e07328

Change-Id: Ia5e85f456ba202b1562b8f6fc2f3481f7a999691

5 years ago[automerger] DO NOT MERGE Don't persist bonds using sample LTK am: c0fb2a25f9 am...
Android Build Merger (Role) [Mon, 1 Apr 2019 18:14:23 +0000 (18:14 +0000)]
[automerger] DO NOT MERGE Don't persist bonds using sample LTK am: c0fb2a25f9 am: c544656a68 am: 0fd5b5de7d am: 1dec8a9f3e

Change-Id: I6d433ec513e6f04b8e117a08a9ce5bebdd42d8d4

5 years ago[automerger] DO NOT MERGE Don't persist bonds using sample LTK am: c0fb2a25f9 am...
Android Build Merger (Role) [Mon, 1 Apr 2019 18:14:19 +0000 (18:14 +0000)]
[automerger] DO NOT MERGE Don't persist bonds using sample LTK am: c0fb2a25f9 am: c544656a68 am: 0fd5b5de7d

Change-Id: Idf19ab0fdf1da993701a6b24d47fccc982f3e2ff

5 years ago[automerger] DO NOT MERGE Don't persist bonds using sample LTK am: c0fb2a25f9 am...
Android Build Merger (Role) [Mon, 1 Apr 2019 18:14:16 +0000 (18:14 +0000)]
[automerger] DO NOT MERGE Don't persist bonds using sample LTK am: c0fb2a25f9 am: c544656a68

Change-Id: I21c8af012049cbf87adc90f1e3e46f47baddbca5

5 years ago[automerger] DO NOT MERGE Don't persist bonds using sample LTK am: c0fb2a25f9
Android Build Merger (Role) [Mon, 1 Apr 2019 18:14:13 +0000 (18:14 +0000)]
[automerger] DO NOT MERGE Don't persist bonds using sample LTK am: c0fb2a25f9

Change-Id: I2a44d852ccb88db0bf360ae094d240ca64e50a94

5 years agoDO NOT MERGE Don't persist bonds using sample LTK
Jakub Pawlowski [Mon, 11 Mar 2019 18:22:01 +0000 (19:22 +0100)]
DO NOT MERGE Don't persist bonds using sample LTK

Test: compilation, manual testing
Bug: 128843052
Change-Id: I52fd484d42bf87e96dbc9e6456090f231ed48111

5 years agoDO NOT MERGE Don't persist bonds using sample LTK
Jakub Pawlowski [Mon, 11 Mar 2019 18:22:01 +0000 (19:22 +0100)]
DO NOT MERGE Don't persist bonds using sample LTK

Test: compilation, manual testing
Bug: 128843052
Change-Id: I52fd484d42bf87e96dbc9e6456090f231ed48111

5 years agoDO NOT MERGE Don't persist bonds using sample LTK
Jakub Pawlowski [Mon, 11 Mar 2019 18:22:01 +0000 (19:22 +0100)]
DO NOT MERGE Don't persist bonds using sample LTK

Test: compilation, manual testing
Bug: 128843052
Change-Id: I52fd484d42bf87e96dbc9e6456090f231ed48111

5 years agoRevert "DO NOT MERGE Hearing Aid: Add JNI API for add/remove whitelist"
weichinweng [Fri, 29 Mar 2019 06:07:52 +0000 (14:07 +0800)]
Revert "DO NOT MERGE Hearing Aid: Add JNI API for add/remove whitelist"

This reverts commit d65f697c011cc6e5eaad767de3ec726cfd25b27f.
This CL is merge into AOSP in error due to the block copy from
pi-dev-plus-aosp

Test: run unit test
Change-Id: I9e206465e832d263084895b7c7b808df4573f986
Merged-In: Iab11567fa326b6837a621c1edc93e0eceb04ec43

5 years agoFix use of uninitialised variable
Yi Kong [Fri, 29 Mar 2019 23:15:50 +0000 (16:15 -0700)]
Fix use of uninitialised variable

The fallthrough code path on L264 does not initialise the type variable
but it is used on L270.

Test: m checkbuild
Bug: 129566813
Change-Id: I18eb3b9be1712bac844aeb804ab76b218580c4b6

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