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

Commit 6803e4c9 authored by Chris Manton's avatar Chris Manton Committed by Automerger Merge Worker
Browse files

Merge "shim: Add entry to query gd dumpsys module" am: cd30b100

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1682669

Change-Id: I92eda25ada2f38b396d29b3445f9dfafa6d2dcb3
parents 9cbcb58a cd30b100
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