OSDN Git Service

[GD ACL] Add btsnooz support in GD
authorJack He <siyuanh@google.com>
Thu, 18 Feb 2021 07:52:51 +0000 (23:52 -0800)
committerJack He <siyuanh@google.com>
Thu, 18 Feb 2021 09:18:24 +0000 (01:18 -0800)
commitc86135ad0cd8457868a0ad2732ebdd67d2215bf3
treefe5cfb4ee58604bdbb4f3bd6357ec1f1af331eef
parent837bdd0db933b25860ae672ca9772765c8c76483
[GD ACL] Add btsnooz support in GD

* Support in-memory btsnooz log in GD
* It uses maximum of 256KB of memory to store HCI commands, events,
  L2CAP signaling channel data, and first 14 bytes of other ACL
  packet
* The data is dumped to a log file when dumpsys is taken for the
  Bluetooth module and when Bluetooth stack shutsdown so that
  developer can debug Bluetooth issues with it

Bug: 180569201
Test: gd/cert/run
Test: bluetooth_test_gd
Tag: #gd-refactor
Change-Id: Ib334609b0f6667846f458d2967ffa520d3af39e3
gd/cert/devices_config.json
gd/cert/gd_device.py
gd/facade/facade_main.cc
gd/hal/snoop_logger.cc
gd/hal/snoop_logger.h
gd/hal/snoop_logger_test.cc
gd/os/android/parameter_provider.cc
gd/os/host/parameter_provider.cc
gd/os/parameter_provider.h