OSDN Git Service

android-x86/system-bt.git
4 years agosmp_generate_stk: reduce log level for key type information am: f00a504ccf am: de4afd...
Automerger Merge Worker [Tue, 18 Feb 2020 23:23:01 +0000 (23:23 +0000)]
smp_generate_stk: reduce log level for key type information am: f00a504ccf am: de4afdcccf am: 7a6eadfa1b

Change-Id: Ia437de17e418deaccfc4294789f734d48da2f6e6

4 years agosmp_generate_stk: reduce log level for key type information am: f00a504ccf am: de4afdcccf
Automerger Merge Worker [Tue, 18 Feb 2020 23:03:44 +0000 (23:03 +0000)]
smp_generate_stk: reduce log level for key type information am: f00a504ccf am: de4afdcccf

Change-Id: I8cbaef9dd934735e312d0532200e198d815b16bd

4 years agoMerge "gd: Unregister events at the hci layer" am: a9b293a12e am: a831144350 am:...
Automerger Merge Worker [Tue, 18 Feb 2020 22:58:22 +0000 (22:58 +0000)]
Merge "gd: Unregister events at the hci layer" am: a9b293a12e am: a831144350 am: b40234d24d

Change-Id: I6c3758b6cd880ff00b814e36eb4afee9608ca226

4 years agoMerge "Save bonding and pairing state to security record" am: 547f0eac23 am: 3d3d40e2...
Automerger Merge Worker [Tue, 18 Feb 2020 22:52:03 +0000 (22:52 +0000)]
Merge "Save bonding and pairing state to security record" am: 547f0eac23 am: 3d3d40e2b9 am: b9cb933078

Change-Id: I440c691ec104393eb55dabbe91a96bfd1f552690

4 years agosmp_generate_stk: reduce log level for key type information am: f00a504ccf
Automerger Merge Worker [Tue, 18 Feb 2020 22:51:52 +0000 (22:51 +0000)]
smp_generate_stk: reduce log level for key type information am: f00a504ccf

Change-Id: Ie946c3e56499acb557ed45ab57559501ba71ec52

4 years agosmp_generate_stk: reduce log level for key type information
Jakub Pawlowski [Tue, 18 Feb 2020 16:20:25 +0000 (17:20 +0100)]
smp_generate_stk: reduce log level for key type information

Change-Id: I7499a3f507914db9cb9c062f4ad9cfccdb51f06b

4 years agoMerge "gd: Unregister events at the hci layer" am: a9b293a12e am: a831144350
Automerger Merge Worker [Tue, 18 Feb 2020 22:29:49 +0000 (22:29 +0000)]
Merge "gd: Unregister events at the hci layer" am: a9b293a12e am: a831144350

Change-Id: Ic1892799b482f745316e0696b4cf8e35342489a1

4 years agoMerge "Save bonding and pairing state to security record" am: 547f0eac23 am: 3d3d40e2b9
Automerger Merge Worker [Tue, 18 Feb 2020 22:29:44 +0000 (22:29 +0000)]
Merge "Save bonding and pairing state to security record" am: 547f0eac23 am: 3d3d40e2b9

Change-Id: I889912c69b2f277203e8b3d4b13db68de34638f4

4 years agoGet rid of Discoverability shim am: a71658fa0f am: e9ee432da8 am: 90cc18564a
Automerger Merge Worker [Tue, 18 Feb 2020 22:18:28 +0000 (22:18 +0000)]
Get rid of Discoverability shim am: a71658fa0f am: e9ee432da8 am: 90cc18564a

Change-Id: Ieade673b5e3e4b9acb06ec17c5f97c50e5680efb

4 years agoMerge "gd: Unregister events at the hci layer" am: a9b293a12e
Automerger Merge Worker [Tue, 18 Feb 2020 22:18:25 +0000 (22:18 +0000)]
Merge "gd: Unregister events at the hci layer" am: a9b293a12e

Change-Id: I1988e7499fb7afb49f817cd5e233cf5f92aa04d7

4 years agoMerge "Save bonding and pairing state to security record" am: 547f0eac23
Automerger Merge Worker [Tue, 18 Feb 2020 22:18:16 +0000 (22:18 +0000)]
Merge "Save bonding and pairing state to security record" am: 547f0eac23

Change-Id: I55a2a59ccd16a1716fa65be8590a0224c9de400e

4 years agoGet rid of the redundant shim interfaces am: c73a895fa2 am: b34f0e0c9f am: 52340f296c
Automerger Merge Worker [Tue, 18 Feb 2020 22:18:03 +0000 (22:18 +0000)]
Get rid of the redundant shim interfaces am: c73a895fa2 am: b34f0e0c9f am: 52340f296c

Change-Id: I51bf97a41d97e0ae5137b9c6f1138869f1189a63

4 years agoMerge "gd: Unregister events at the hci layer"
Treehugger Robot [Tue, 18 Feb 2020 22:17:29 +0000 (22:17 +0000)]
Merge "gd: Unregister events at the hci layer"

4 years agoMerge "Save bonding and pairing state to security record"
Treehugger Robot [Tue, 18 Feb 2020 22:08:18 +0000 (22:08 +0000)]
Merge "Save bonding and pairing state to security record"

4 years agoGet rid of Discoverability shim am: a71658fa0f am: e9ee432da8
Automerger Merge Worker [Tue, 18 Feb 2020 22:05:53 +0000 (22:05 +0000)]
Get rid of Discoverability shim am: a71658fa0f am: e9ee432da8

Change-Id: Ibf2a0d258d1bc2af94b3e8c8b6519c3e7446dbbf

4 years agoGet rid of the redundant shim interfaces am: c73a895fa2 am: b34f0e0c9f
Automerger Merge Worker [Tue, 18 Feb 2020 22:05:29 +0000 (22:05 +0000)]
Get rid of the redundant shim interfaces am: c73a895fa2 am: b34f0e0c9f

Change-Id: I788e8262637a0fbc3d6e5ff73952800bfa3e61a1

4 years agoGet rid of Discoverability shim am: a71658fa0f
Automerger Merge Worker [Tue, 18 Feb 2020 21:48:18 +0000 (21:48 +0000)]
Get rid of Discoverability shim am: a71658fa0f

Change-Id: I30224c9af5eefa1c7b8b8faa36c3a3b049584ee7

4 years agoCanonicalize header include files am: 6a03ea25f6 am: a478dcd645 am: f7d2d19fd2
Automerger Merge Worker [Tue, 18 Feb 2020 21:48:11 +0000 (21:48 +0000)]
Canonicalize header include files am: 6a03ea25f6 am: a478dcd645 am: f7d2d19fd2

Change-Id: I88ac37bc246e1ac104a264141bbc89346ba92945

4 years agoGet rid of the redundant shim interfaces am: c73a895fa2
Automerger Merge Worker [Tue, 18 Feb 2020 21:47:56 +0000 (21:47 +0000)]
Get rid of the redundant shim interfaces am: c73a895fa2

Change-Id: I68abdaf9b3e0601278c0497a581248bc0d85b034

4 years agoGet rid of Discoverability shim
Jakub Pawlowski [Tue, 18 Feb 2020 18:40:52 +0000 (19:40 +0100)]
Get rid of Discoverability shim

Bug: 149757450
Change-Id: Ibe6cccc0971d4a723ba5489332ca7933e7609a34

4 years agoCanonicalize header include files am: 6a03ea25f6 am: a478dcd645
Automerger Merge Worker [Tue, 18 Feb 2020 21:24:02 +0000 (21:24 +0000)]
Canonicalize header include files am: 6a03ea25f6 am: a478dcd645

Change-Id: Ia343ced7c7d3313e2fed29a3d513966198ef2912

4 years agoCanonicalize header include files am: 6a03ea25f6
Chris Manton [Tue, 18 Feb 2020 21:09:55 +0000 (21:09 +0000)]
Canonicalize header include files am: 6a03ea25f6

Change-Id: I858a0ddbc1f44d099d79ef117b82ccdd0cc4ae29

4 years agoGet rid of the redundant shim interfaces
Jakub Pawlowski [Sun, 16 Feb 2020 00:03:04 +0000 (01:03 +0100)]
Get rid of the redundant shim interfaces

It was agred to expose gd types into the system/bt/main folder.
All the interfaces already use pimpl pattern to make them testable.
Thus there is no need for the I* shim interfaces.

Test: updated tests
Bug: 149757450
Change-Id: I9662f9ab48c61b764e4df082da1a73483cb0b2b9

4 years agoSave bonding and pairing state to security record
Chris Manton [Tue, 11 Feb 2020 23:49:14 +0000 (15:49 -0800)]
Save bonding and pairing state to security record

Bug: 142341141
Test: bluetooth_test_gd

Change-Id: I226d9f2f74e12d911fbb8e1f3d5924db7763bdaf

4 years agoCanonicalize header include files
Chris Manton [Tue, 18 Feb 2020 19:20:31 +0000 (11:20 -0800)]
Canonicalize header include files

Bug: 147316415
Test: Compiles and Builds
Change-Id: I00316dba9cce8d727fc718250237e80ff87cdd00

4 years agoMerge "btm: fixing oob write in multi-adv SetData."
Alain Michaud [Tue, 18 Feb 2020 18:56:13 +0000 (18:56 +0000)]
Merge "btm: fixing oob write in multi-adv SetData."

4 years agoDo not redefine logging if already defined am: 183a1b0864 am: 2fdd290a19 am: b92b8dd73d
Jakub Pawlowski [Tue, 18 Feb 2020 17:52:05 +0000 (17:52 +0000)]
Do not redefine logging if already defined am: 183a1b0864 am: 2fdd290a19 am: b92b8dd73d

Change-Id: I254f7a9c6d078fe96f020d542e2a11dff3c96ecd

4 years agoMerge "gd: Add shim access to name db" am: 8962199fe6 am: 48a31f8956 am: 05c628d2f0
Treehugger Robot [Tue, 18 Feb 2020 17:51:31 +0000 (17:51 +0000)]
Merge "gd: Add shim access to name db" am: 8962199fe6 am: 48a31f8956 am: 05c628d2f0

Change-Id: I82f363e859864551a3079c025e6d49fe88cf48ad

4 years agoDo not redefine logging if already defined am: 183a1b0864 am: 2fdd290a19
Jakub Pawlowski [Tue, 18 Feb 2020 17:41:27 +0000 (17:41 +0000)]
Do not redefine logging if already defined am: 183a1b0864 am: 2fdd290a19

Change-Id: Iefadb5743b2144aaf0548cdd79a55b53faf933ab

4 years agoMerge "gd: Add shim access to name db" am: 8962199fe6 am: 48a31f8956
Treehugger Robot [Tue, 18 Feb 2020 17:39:54 +0000 (17:39 +0000)]
Merge "gd: Add shim access to name db" am: 8962199fe6 am: 48a31f8956

Change-Id: I7f8230e372b496147b67ff25f41b065d913e3e6b

4 years agoDo not redefine logging if already defined am: 183a1b0864
Jakub Pawlowski [Tue, 18 Feb 2020 17:30:04 +0000 (17:30 +0000)]
Do not redefine logging if already defined am: 183a1b0864

Change-Id: I6828c8f46b443af245622195c51aff5dfe0da684

4 years agoDo not redefine logging if already defined
Jakub Pawlowski [Sat, 15 Feb 2020 21:41:02 +0000 (22:41 +0100)]
Do not redefine logging if already defined

This patch lets us include gd code in system/bt/main. Currently if we
were to do that, we would get errors about logs being redefined.

Test: compilation
Change-Id: Ifc2c9eb913c311a50763a26f864dd91872c273cc

4 years agoMerge "gd: Add shim access to name db" am: 8962199fe6
Treehugger Robot [Tue, 18 Feb 2020 17:25:26 +0000 (17:25 +0000)]
Merge "gd: Add shim access to name db" am: 8962199fe6

Change-Id: I928f178c55ccebfad626442f7ddfcbb0e3f6f635

4 years agoMerge "gd: Add shim access to name db"
Treehugger Robot [Tue, 18 Feb 2020 17:06:36 +0000 (17:06 +0000)]
Merge "gd: Add shim access to name db"

4 years agoModify service_type constants to not collide with constants in GD am: 17799fd1ec...
Jakub Pawlowski [Tue, 18 Feb 2020 06:14:23 +0000 (06:14 +0000)]
Modify service_type constants to not collide with constants in GD am: 17799fd1ec am: 20727d650b am: 0d304e28ec

Change-Id: I1b88ad7b35cbfd172aaea151c6dbae83041f16f0

4 years agoModify service_type constants to not collide with constants in GD am: 17799fd1ec...
Jakub Pawlowski [Tue, 18 Feb 2020 06:03:32 +0000 (06:03 +0000)]
Modify service_type constants to not collide with constants in GD am: 17799fd1ec am: 20727d650b

Change-Id: Ia845ce4bb336bab335d73b1a557e670a36adad03

4 years agoModify service_type constants to not collide with constants in GD am: 17799fd1ec
Jakub Pawlowski [Tue, 18 Feb 2020 05:45:35 +0000 (05:45 +0000)]
Modify service_type constants to not collide with constants in GD am: 17799fd1ec

Change-Id: I2bb623c33fc622060078e3700cdbe56b8d8ec0c7

4 years agoModify service_type constants to not collide with constants in GD
Jakub Pawlowski [Sat, 15 Feb 2020 17:46:38 +0000 (18:46 +0100)]
Modify service_type constants to not collide with constants in GD

Test: compilation
Change-Id: Ieb9540a3c5ca390a1e04d20ae378d1ab06b33707

4 years agogd: Unregister events at the hci layer
Chris Manton [Sat, 15 Feb 2020 04:32:51 +0000 (20:32 -0800)]
gd: Unregister events at the hci layer

bt_headless with the pairing option fails

Bug:149524116
Test: blueooth_test_gd
Test: bt_headless
Change-Id: I65d9f928c6ff63e5ddde8380cae847d180876fac

4 years agoMerge "PDL: Serialize nested packets in Python" am: ea2f6e05e0 am: 827e7f8d49 am...
Treehugger Robot [Sat, 15 Feb 2020 03:11:11 +0000 (03:11 +0000)]
Merge "PDL: Serialize nested packets in Python" am: ea2f6e05e0 am: 827e7f8d49 am: d165f7a08b

Change-Id: I3ebef7c94be6b7fe31384891b96f46541a3c587a

4 years agoMerge "PDL: Serialize nested packets in Python" am: ea2f6e05e0 am: 827e7f8d49
Treehugger Robot [Sat, 15 Feb 2020 02:51:34 +0000 (02:51 +0000)]
Merge "PDL: Serialize nested packets in Python" am: ea2f6e05e0 am: 827e7f8d49

Change-Id: I1e80263cb24637376131cd5c07b2d272f2c2799c

4 years agoMerge "PDL: Serialize nested packets in Python" am: ea2f6e05e0
Treehugger Robot [Sat, 15 Feb 2020 02:35:23 +0000 (02:35 +0000)]
Merge "PDL: Serialize nested packets in Python" am: ea2f6e05e0

Change-Id: Ifbf92b4233acac09da55a01ce697148d3a957cf0

4 years agoMerge "PDL: Serialize nested packets in Python"
Treehugger Robot [Sat, 15 Feb 2020 02:26:22 +0000 (02:26 +0000)]
Merge "PDL: Serialize nested packets in Python"

4 years agoMerge changes Iea352d4b,Ic0737465 am: 91a57b0601 am: b21d8c14cd am: d8e57a49ee
Treehugger Robot [Fri, 14 Feb 2020 22:29:57 +0000 (22:29 +0000)]
Merge changes Iea352d4b,Ic0737465 am: 91a57b0601 am: b21d8c14cd am: d8e57a49ee

Change-Id: I9acba6fc185466d70205b0f16cce86913eade493

4 years agoMerge changes Iea352d4b,Ic0737465 am: 91a57b0601 am: b21d8c14cd
Treehugger Robot [Fri, 14 Feb 2020 22:06:11 +0000 (22:06 +0000)]
Merge changes Iea352d4b,Ic0737465 am: 91a57b0601 am: b21d8c14cd

Change-Id: I0f828b150545a4f93746938eedb2a544479b5de9

4 years agobtm: fixing oob write in multi-adv SetData.
Alain Michaud [Fri, 14 Feb 2020 21:20:38 +0000 (21:20 +0000)]
btm: fixing oob write in multi-adv SetData.

Fixing size checks when searching to fill in the TX_Power data section.

Bug: b/123292010
Test: ./test/run_unit_tests.sh
Change-Id: If6e7aa40a1a08b098e71ca0ccc8ef66f488571fb

4 years agoMerge changes Iea352d4b,Ic0737465 am: 91a57b0601
Treehugger Robot [Fri, 14 Feb 2020 21:48:47 +0000 (21:48 +0000)]
Merge changes Iea352d4b,Ic0737465 am: 91a57b0601

Change-Id: Ibb4cbc8cea43fbab1219763a5bd73b4970c5071b

4 years agoMerge changes Iea352d4b,Ic0737465
Treehugger Robot [Fri, 14 Feb 2020 21:33:33 +0000 (21:33 +0000)]
Merge changes Iea352d4b,Ic0737465

* changes:
  GRPC: Use server_stream_call.cancelled() instead of hidden API
  RootCanal HAL: Fixed race condition when tearing down rootcanal HAL

4 years agoPDL: Serialize nested packets in Python
Myles Watson [Sat, 4 Jan 2020 00:30:27 +0000 (16:30 -0800)]
PDL: Serialize nested packets in Python

Bug: 148096951
Test: ./cert/run_cert_facade_only.sh
Change-Id: I2c54bb5d35dec9a9b5101165d2d1ccb22b116ef4

4 years agogd: Add shim access to name db
Chris Manton [Fri, 14 Feb 2020 00:19:05 +0000 (16:19 -0800)]
gd: Add shim access to name db

Provides replacement for remote name request db
for legacy shim side.

Bug: 149524116
Test: bluetooth_test_gd

Change-Id: I69c8c65c01935ae371debedcef2d921cea7beb4a

4 years agoMerge "Use mobly.asserts" am: 4cc2f58735 am: 8adba52296 am: 97fd85d1bc
Treehugger Robot [Fri, 14 Feb 2020 07:00:18 +0000 (07:00 +0000)]
Merge "Use mobly.asserts" am: 4cc2f58735 am: 8adba52296 am: 97fd85d1bc

Change-Id: Ic2cd6c8930b57ff067a3c0ba4d48d8e07138f6ab

4 years agoMerge "Use mobly.asserts" am: 4cc2f58735 am: 8adba52296
Treehugger Robot [Fri, 14 Feb 2020 06:49:47 +0000 (06:49 +0000)]
Merge "Use mobly.asserts" am: 4cc2f58735 am: 8adba52296

Change-Id: Idb215d4624f9af1df27577a49f7f8ae80926b705

4 years agoMerge "Use mobly.asserts" am: 4cc2f58735
Treehugger Robot [Fri, 14 Feb 2020 06:38:18 +0000 (06:38 +0000)]
Merge "Use mobly.asserts" am: 4cc2f58735

Change-Id: Ie314bb67a9ba877d0bfbd1fe18182056f2b9214f

4 years agoMerge "GattServer: Check invalid offset"
TreeHugger Robot [Fri, 14 Feb 2020 06:25:36 +0000 (06:25 +0000)]
Merge "GattServer: Check invalid offset"

4 years agoMerge "Use mobly.asserts"
Treehugger Robot [Fri, 14 Feb 2020 06:23:06 +0000 (06:23 +0000)]
Merge "Use mobly.asserts"

4 years agoMerge "gd: Authenticate only if necessary" am: fac9feea44 am: 4c4cabe024 am: 9d1393586c
Treehugger Robot [Fri, 14 Feb 2020 06:15:58 +0000 (06:15 +0000)]
Merge "gd: Authenticate only if necessary" am: fac9feea44 am: 4c4cabe024 am: 9d1393586c

Change-Id: Iab1a13538ccb0b68f78b42d0948af33595a3a149

4 years agoMerge "gd: Authenticate only if necessary" am: fac9feea44 am: 4c4cabe024
Treehugger Robot [Fri, 14 Feb 2020 06:01:13 +0000 (06:01 +0000)]
Merge "gd: Authenticate only if necessary" am: fac9feea44 am: 4c4cabe024

Change-Id: Ib7efc8975fc72ce05e016fa1a99cac16866b5aaa

4 years agoMerge "gd: Add link layer collision hci error code" am: d71a785f4a am: b933f804a7...
Treehugger Robot [Fri, 14 Feb 2020 05:54:59 +0000 (05:54 +0000)]
Merge "gd: Add link layer collision hci error code" am: d71a785f4a am: b933f804a7 am: 1d1ce9c16d

Change-Id: I1b2c08f11cdbb24847bcf74f45e2e132740c6eee

4 years agoMerge "gd: Add a remote name database" am: cf9f932946 am: 25489dd290 am: 78c3c819c3
Treehugger Robot [Fri, 14 Feb 2020 05:54:42 +0000 (05:54 +0000)]
Merge "gd: Add a remote name database" am: cf9f932946 am: 25489dd290 am: 78c3c819c3

Change-Id: Id0b969785908629a68deaf9315d3f385182e5cae

4 years agoMerge "gd: Authenticate only if necessary" am: fac9feea44
Treehugger Robot [Fri, 14 Feb 2020 05:45:15 +0000 (05:45 +0000)]
Merge "gd: Authenticate only if necessary" am: fac9feea44

Change-Id: I594acbaa864f5683f05fc5ab2402a34fbd58839d

4 years agoMerge "gd: Add link layer collision hci error code" am: d71a785f4a am: b933f804a7
Treehugger Robot [Fri, 14 Feb 2020 05:40:38 +0000 (05:40 +0000)]
Merge "gd: Add link layer collision hci error code" am: d71a785f4a am: b933f804a7

Change-Id: I8e4f3b88b45d5ad8ff4393b3fb5083b357f62572

4 years agoMerge "gd: Add a remote name database" am: cf9f932946 am: 25489dd290
Treehugger Robot [Fri, 14 Feb 2020 05:40:31 +0000 (05:40 +0000)]
Merge "gd: Add a remote name database" am: cf9f932946 am: 25489dd290

Change-Id: I48d2b5e107d7b71af6e8c496af9dc7389ef600ab

4 years agoMerge "gd: Authenticate only if necessary"
Treehugger Robot [Fri, 14 Feb 2020 05:35:07 +0000 (05:35 +0000)]
Merge "gd: Authenticate only if necessary"

4 years agoMerge "gd: Add link layer collision hci error code" am: d71a785f4a
Treehugger Robot [Fri, 14 Feb 2020 05:25:18 +0000 (05:25 +0000)]
Merge "gd: Add link layer collision hci error code" am: d71a785f4a

Change-Id: I7c2672abcc823a4fa1d504292f89b48efb7f54e4

4 years agoMerge "gd: Add a remote name database" am: cf9f932946
Treehugger Robot [Fri, 14 Feb 2020 05:25:11 +0000 (05:25 +0000)]
Merge "gd: Add a remote name database" am: cf9f932946

Change-Id: Ifb1d86aed13d9acb1b600f037c6346fd18039a35

4 years agoMerge "gd: Add link layer collision hci error code"
Treehugger Robot [Fri, 14 Feb 2020 05:14:15 +0000 (05:14 +0000)]
Merge "gd: Add link layer collision hci error code"

4 years agoMerge "gd: Add a remote name database"
Treehugger Robot [Fri, 14 Feb 2020 05:06:06 +0000 (05:06 +0000)]
Merge "gd: Add a remote name database"

4 years agoMerge "gd: Ensure all events are handled for new classic pairing manager" am: 9104005...
Treehugger Robot [Fri, 14 Feb 2020 04:31:55 +0000 (04:31 +0000)]
Merge "gd: Ensure all events are handled for new classic pairing manager" am: 91040059cf am: f913259ade am: 3868199f68

Change-Id: I3cbecdd7e75649d5e8cd623ff6da150a0a3e5244

4 years agoMerge "gd: Expand and log more acl events" am: 495ac9fd42 am: 7f1f790ab2 am: 350b095ca9
Treehugger Robot [Fri, 14 Feb 2020 04:31:40 +0000 (04:31 +0000)]
Merge "gd: Expand and log more acl events" am: 495ac9fd42 am: 7f1f790ab2 am: 350b095ca9

Change-Id: I073609112a9ba1783cfef70406c9927ff1f05b1a

4 years agoMerge "gd: Ensure all events are handled for new classic pairing manager" am: 9104005...
Treehugger Robot [Fri, 14 Feb 2020 04:18:24 +0000 (04:18 +0000)]
Merge "gd: Ensure all events are handled for new classic pairing manager" am: 91040059cf am: f913259ade

Change-Id: I41d5799796dc58b5091711f8c24558f30da8ae17

4 years agoMerge "gd: Expand and log more acl events" am: 495ac9fd42 am: 7f1f790ab2
Treehugger Robot [Fri, 14 Feb 2020 04:18:05 +0000 (04:18 +0000)]
Merge "gd: Expand and log more acl events" am: 495ac9fd42 am: 7f1f790ab2

Change-Id: I671263d801ea353ba5cb7a87634d968cebdd1e70

4 years agoMerge "gd: Ensure all events are handled for new classic pairing manager" am: 91040059cf
Treehugger Robot [Fri, 14 Feb 2020 04:03:07 +0000 (04:03 +0000)]
Merge "gd: Ensure all events are handled for new classic pairing manager" am: 91040059cf

Change-Id: I270c2e740bbf613881d2a568d3102bff7208f640

4 years agoMerge "gd: Expand and log more acl events" am: 495ac9fd42
Treehugger Robot [Fri, 14 Feb 2020 04:03:00 +0000 (04:03 +0000)]
Merge "gd: Expand and log more acl events" am: 495ac9fd42

Change-Id: I1efd4a34619580b4bf44d339d4b9375b86c1ffa4

4 years agoMerge "Set proper scan type before first discovery" am: 8a85f88766 am: 52178719b7...
Treehugger Robot [Fri, 14 Feb 2020 03:57:03 +0000 (03:57 +0000)]
Merge "Set proper scan type before first discovery" am: 8a85f88766 am: 52178719b7 am: 1cf53fa6ff

Change-Id: If73902fb6bb050ab58e6da74cdedfb94a488d6b4

4 years agoMerge "gd: Ensure all events are handled for new classic pairing manager"
Treehugger Robot [Fri, 14 Feb 2020 03:23:47 +0000 (03:23 +0000)]
Merge "gd: Ensure all events are handled for new classic pairing manager"

4 years agoMerge "gd: Expand and log more acl events"
Treehugger Robot [Fri, 14 Feb 2020 03:19:37 +0000 (03:19 +0000)]
Merge "gd: Expand and log more acl events"

4 years agoMerge "Set proper scan type before first discovery" am: 8a85f88766 am: 52178719b7
Treehugger Robot [Fri, 14 Feb 2020 02:54:08 +0000 (02:54 +0000)]
Merge "Set proper scan type before first discovery" am: 8a85f88766 am: 52178719b7

Change-Id: I58ddec861bd2f5f967697c8cef85cfbb0d193c6a

4 years agoMerge "Set proper scan type before first discovery" am: 8a85f88766
Treehugger Robot [Fri, 14 Feb 2020 02:34:27 +0000 (02:34 +0000)]
Merge "Set proper scan type before first discovery" am: 8a85f88766

Change-Id: I033711d3dfacea25a514ec4eba748ffc513b8c4b

4 years agoMerge "Set proper scan type before first discovery"
Treehugger Robot [Fri, 14 Feb 2020 02:20:16 +0000 (02:20 +0000)]
Merge "Set proper scan type before first discovery"

4 years agogd: Add a remote name database
Chris Manton [Fri, 14 Feb 2020 00:18:30 +0000 (16:18 -0800)]
gd: Add a remote name database

Simple module to cache remote names.  Used by shim layer.

Bug: 149524116
Test: bluetooth_test_gd

Change-Id: I63e94e0ff1ea04c3ec35d502ac1de001a11f7b98

4 years agogd: Authenticate only if necessary
Chris Manton [Fri, 14 Feb 2020 00:20:14 +0000 (16:20 -0800)]
gd: Authenticate only if necessary

If a device are pairing but not bonding then
authenticate may get called twice, once when
the channel is set up and again when the
pairing manager is launched.

Bug: 149524116
Test: bluetooth_test_gd

Change-Id: Icddecd549030ade41e5679d46580881b56833d9e

4 years agoMerge "Update time stamp when new inq_db" am: 2a2a2ccdfe am: ca21254131 am: db6e3ed6e5
Treehugger Robot [Fri, 14 Feb 2020 01:14:18 +0000 (01:14 +0000)]
Merge "Update time stamp when new inq_db" am: 2a2a2ccdfe am: ca21254131 am: db6e3ed6e5

Change-Id: I2f99bff812443610dd7fdd2862e5224b8a55ebf2

4 years agogd: Expand and log more acl events
Chris Manton [Fri, 14 Feb 2020 00:19:47 +0000 (16:19 -0800)]
gd: Expand and log more acl events

Bug: 146086425
Test: blueooth_test_gd

Change-Id: I8dc506eea0bbcc3a9310d758311f369a31993bfd

4 years agoMerge "Update time stamp when new inq_db" am: 2a2a2ccdfe am: ca21254131
Treehugger Robot [Fri, 14 Feb 2020 00:57:45 +0000 (00:57 +0000)]
Merge "Update time stamp when new inq_db" am: 2a2a2ccdfe am: ca21254131

Change-Id: I64a5af92d5a442fb2c6364c328b6fc7d2f5d3528

4 years agoMerge "Update time stamp when new inq_db" am: 2a2a2ccdfe
Treehugger Robot [Fri, 14 Feb 2020 00:46:37 +0000 (00:46 +0000)]
Merge "Update time stamp when new inq_db" am: 2a2a2ccdfe

Change-Id: Iea78ed7246a5815492040f26470b638a6a92aab9

4 years agogd: Ensure all events are handled for new classic pairing manager
Chris Manton [Wed, 12 Feb 2020 20:10:08 +0000 (12:10 -0800)]
gd: Ensure all events are handled for new classic pairing manager

a new classic pairing manager never processes the initiating event.

Bug: 146086425
Test: bluetooth_test_gd

Change-Id: I3471bc5849315456d7429747e894cf80eda8b8cb

4 years agoMerge "Update time stamp when new inq_db"
Treehugger Robot [Fri, 14 Feb 2020 00:28:34 +0000 (00:28 +0000)]
Merge "Update time stamp when new inq_db"

4 years agoMerge "Remove some unused inquiry code and callback function" am: 0c680506dd am:...
Treehugger Robot [Thu, 13 Feb 2020 23:59:20 +0000 (23:59 +0000)]
Merge "Remove some unused inquiry code and callback function" am: 0c680506dd am: b4829f55ec am: d01f006b33

Change-Id: I979e0989b91b214f6100d8aec533aba6eda6bad5

4 years agoMerge "Remove some unused inquiry code and callback function" am: 0c680506dd am:...
Treehugger Robot [Thu, 13 Feb 2020 23:49:24 +0000 (23:49 +0000)]
Merge "Remove some unused inquiry code and callback function" am: 0c680506dd am: b4829f55ec

Change-Id: I5f08f25cf54f32f2986b3992b2dafe85961f0959

4 years agoMerge "Remove some unused inquiry code and callback function" am: 0c680506dd
Treehugger Robot [Thu, 13 Feb 2020 23:38:08 +0000 (23:38 +0000)]
Merge "Remove some unused inquiry code and callback function" am: 0c680506dd

Change-Id: I731826725d00d797f12aea06c9089aece9349576

4 years agoMerge "Remove some unused inquiry code and callback function"
Treehugger Robot [Thu, 13 Feb 2020 23:20:48 +0000 (23:20 +0000)]
Merge "Remove some unused inquiry code and callback function"

4 years agoUse mobly.asserts
Hansong Zhang [Thu, 13 Feb 2020 23:12:45 +0000 (15:12 -0800)]
Use mobly.asserts

Test: cert/run_cert_facade_only.sh
Change-Id: I3f19bba39953eca9c013aab8813610c3fbfb5f83

4 years agoGattServer: Check invalid offset
Hansong Zhang [Thu, 13 Feb 2020 19:40:44 +0000 (11:40 -0800)]
GattServer: Check invalid offset

Test: manual
Bug: 143231677
Change-Id: I0ca22e7c60292d61c758120c1cd67f6e6edd8ae8

4 years agoGet rid of UI callbacks from SecurityManagerListener am: 780de25b57 am: 5aad124e52...
Jakub Pawlowski [Thu, 13 Feb 2020 22:32:35 +0000 (22:32 +0000)]
Get rid of UI callbacks from SecurityManagerListener am: 780de25b57 am: 5aad124e52 am: 350029a6d8

Change-Id: I1ee4227842cd1756bd6b266f6ff2656b2e6c895c

4 years agoGet rid of UI callbacks from SecurityManagerListener am: 780de25b57 am: 5aad124e52
Jakub Pawlowski [Thu, 13 Feb 2020 22:16:54 +0000 (22:16 +0000)]
Get rid of UI callbacks from SecurityManagerListener am: 780de25b57 am: 5aad124e52

Change-Id: I06df59923c6a812c5486ce9d4afd213fc0ab56bb

4 years agoGet rid of UI callbacks from SecurityManagerListener am: 780de25b57
Jakub Pawlowski [Thu, 13 Feb 2020 22:07:08 +0000 (22:07 +0000)]
Get rid of UI callbacks from SecurityManagerListener am: 780de25b57

Change-Id: I3c825fc22d8ff092267e57d90decffa517be1a57

4 years agoGet rid of UI callbacks from SecurityManagerListener
Jakub Pawlowski [Wed, 12 Feb 2020 23:10:12 +0000 (00:10 +0100)]
Get rid of UI callbacks from SecurityManagerListener

Test: updated unittests
Bug: 142341141
Change-Id: If6b086f74d92e757d02df4174af73edb36d6de3d

4 years agoMerge "HCI: Set default event mask" am: 28b85bf926 am: fb95faf0b6 am: 5080ca5449
Treehugger Robot [Thu, 13 Feb 2020 21:30:07 +0000 (21:30 +0000)]
Merge "HCI: Set default event mask" am: 28b85bf926 am: fb95faf0b6 am: 5080ca5449

Change-Id: If4263df583a9460e2ac59806a0fe48199966fbc2

4 years agoMerge "HCI: Set default event mask" am: 28b85bf926 am: fb95faf0b6
Treehugger Robot [Thu, 13 Feb 2020 21:16:30 +0000 (21:16 +0000)]
Merge "HCI: Set default event mask" am: 28b85bf926 am: fb95faf0b6

Change-Id: Idf70db1084ea5d810298611d10d198078f9bae7c

4 years agoMerge "HCI: Set default event mask" am: 28b85bf926
Treehugger Robot [Thu, 13 Feb 2020 21:02:23 +0000 (21:02 +0000)]
Merge "HCI: Set default event mask" am: 28b85bf926

Change-Id: Ia7a90c55859f1adf226cdd2296dad96940fb0ab1