Loading system/main/shim/shim.cc +4 −0 Original line number Diff line number Diff line Loading @@ -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(); } system/main/shim/shim.h +7 −0 Original line number Diff line number Diff line Loading @@ -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 Loading
system/main/shim/shim.cc +4 −0 Original line number Diff line number Diff line Loading @@ -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(); }
system/main/shim/shim.h +7 −0 Original line number Diff line number Diff line Loading @@ -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