Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6037e038 authored by Jakub Pawlowski's avatar Jakub Pawlowski
Browse files

Dump gatt::connection_manager state into bugreport

Knowing what's in the white list is useful for debugging.

Bug: 112827989
Test: adb bugreport, verify content.
Change-Id: I195d1ee2fe277f0f0ef534c73f7a964c5f5e61b6
parent d80f0dab
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -69,6 +69,7 @@
#include "osi/include/log.h"
#include "osi/include/osi.h"
#include "osi/include/wakelock.h"
#include "stack/gatt/connection_manager.h"
#include "stack_manager.h"

/* Test interface includes */
@@ -323,6 +324,7 @@ static void dump(int fd, const char** arguments) {
  osi_allocator_debug_dump(fd);
  alarm_debug_dump(fd);
  HearingAid::DebugDump(fd);
  gatt::connection_manager::dump(fd);
#if (BTSNOOP_MEM == TRUE)
  btif_debug_btsnoop_dump(fd);
#endif
+4.71 KiB (8.73 KiB)

File changed.

No diff preview for this file type.

+2 −0
Original line number Diff line number Diff line
@@ -38,5 +38,7 @@ extern void reset(bool after_reset);
extern void on_app_deregistered(tGATT_IF gatt_if);

extern std::set<tGATT_IF> get_apps_connecting_to(const RawAddress& remote_bda);

extern void dump(int fd);
}  // namespace connection_manager
}  // namespace gatt