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

Commit 2c5e516f authored by Chris Manton's avatar Chris Manton
Browse files

shim: Add entry to query gd dumpsys module

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

Change-Id: I7d31565442129ece0778a377a34961a18e2e3e0a
parent d5912836
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -98,6 +98,10 @@ bool bluetooth::shim::is_gd_stack_started_up() {
  return bluetooth::shim::Stack::GetInstance()->IsRunning();
}

bool bluetooth::shim::is_gd_dumpsys_module_started() {
  return bluetooth::shim::Stack::GetInstance()->IsDumpsysModuleStarted();
}

bool bluetooth::shim::is_gd_btaa_enabled() {
  return bluetooth::common::init_flags::btaa_hci_is_enabled();
}
+7 −0
Original line number Diff line number Diff line
@@ -64,5 +64,12 @@ bool is_any_gd_enabled();
 */
bool is_gd_stack_started_up();

/**
 * Checks if the dumpsys module has been started.
 *
 * @return true if specified module has started, false otherwise.
 */
bool is_gd_dumpsys_module_started();

}  // namespace shim
}  // namespace bluetooth