OSDN Git Service

Fix for hid disconnect with unknown channel
authorChris Manton <cmanton@google.com>
Wed, 28 Apr 2021 19:15:51 +0000 (12:15 -0700)
committerChris Manton <cmanton@google.com>
Wed, 28 Apr 2021 20:28:08 +0000 (13:28 -0700)
commitd6c80b565b48aebb10bcf32e7e4226f8474c2ba3
tree0e86b37071f26cb339f59945e37a345024cf71c2
parent828bb060baced3f22ab52bd403edaa06e6ff6dde
Fix for hid disconnect with unknown channel

Also introduce net_test_stack_hid
And update mocks to allow functional replacement

Bug: 181199209
Test: gd/cert/run
Tag: #refactor
BYPASS_LONG_LINES_REASON: Bluetooth likes 120 lines

Change-Id: Iab4ac55477d2d98d52d7b77aee19b4172c63e4eb
stack/Android.bp
stack/hid/hidh_conn.cc
stack/test/hid/stack_hid_test.cc [new file with mode: 0644]
test/Android.bp
test/mock/mock_l2cap_l2c_api.cc [deleted file]
test/mock/mock_stack_l2cap_api.cc
test/mock/mock_stack_l2cap_api.h [new file with mode: 0644]