Loading system/btif/src/stack_manager.cc +0 −2 Original line number Diff line number Diff line Loading @@ -196,8 +196,6 @@ static void event_start_up_stack(UNUSED_ATTR void* context) { module_start_up(get_module(HCI_MODULE)); } BTU_StartUp(); btm_init(); l2c_init(); sdp_init(); Loading system/stack/btm/btm_devctl.cc +0 −2 Original line number Diff line number Diff line Loading @@ -47,8 +47,6 @@ #include "main/shim/controller.h" #include "main/shim/shim.h" extern bluetooth::common::MessageLoopThread bt_startup_thread; /******************************************************************************/ /* L O C A L D A T A D E F I N I T I O N S */ /******************************************************************************/ Loading system/stack/btu/btu_init.cc +0 −27 Original line number Diff line number Diff line Loading @@ -29,10 +29,6 @@ #include "l2c_api.h" #include "sdpint.h" using bluetooth::common::MessageLoopThread; MessageLoopThread bt_startup_thread("bt_startup_thread"); void btu_task_shut_down(); /***************************************************************************** Loading @@ -56,29 +52,6 @@ void btu_free_core() { btm_free(); } /***************************************************************************** * * Function BTU_StartUp * * Description Initializes the BTU control block. * * NOTE: Must be called before creating any tasks * (RPC, BTU, HCIT, APPL, etc.) * * Returns void * *****************************************************************************/ void BTU_StartUp() { bt_startup_thread.StartUp(); if (!bt_startup_thread.EnableRealTimeScheduling()) { LOG(ERROR) << __func__ << ": Unable to set real time scheduling policy for " << bt_startup_thread; BTU_ShutDown(); return; } } void BTU_ShutDown() { btu_task_shut_down(); bt_startup_thread.ShutDown(); } system/stack/include/btu.h +0 −1 Original line number Diff line number Diff line Loading @@ -65,7 +65,6 @@ bt_status_t do_in_main_thread_delayed(const base::Location& from_here, base::OnceClosure task, const base::TimeDelta& delay); void BTU_StartUp(void); void BTU_ShutDown(void); #endif Loading
system/btif/src/stack_manager.cc +0 −2 Original line number Diff line number Diff line Loading @@ -196,8 +196,6 @@ static void event_start_up_stack(UNUSED_ATTR void* context) { module_start_up(get_module(HCI_MODULE)); } BTU_StartUp(); btm_init(); l2c_init(); sdp_init(); Loading
system/stack/btm/btm_devctl.cc +0 −2 Original line number Diff line number Diff line Loading @@ -47,8 +47,6 @@ #include "main/shim/controller.h" #include "main/shim/shim.h" extern bluetooth::common::MessageLoopThread bt_startup_thread; /******************************************************************************/ /* L O C A L D A T A D E F I N I T I O N S */ /******************************************************************************/ Loading
system/stack/btu/btu_init.cc +0 −27 Original line number Diff line number Diff line Loading @@ -29,10 +29,6 @@ #include "l2c_api.h" #include "sdpint.h" using bluetooth::common::MessageLoopThread; MessageLoopThread bt_startup_thread("bt_startup_thread"); void btu_task_shut_down(); /***************************************************************************** Loading @@ -56,29 +52,6 @@ void btu_free_core() { btm_free(); } /***************************************************************************** * * Function BTU_StartUp * * Description Initializes the BTU control block. * * NOTE: Must be called before creating any tasks * (RPC, BTU, HCIT, APPL, etc.) * * Returns void * *****************************************************************************/ void BTU_StartUp() { bt_startup_thread.StartUp(); if (!bt_startup_thread.EnableRealTimeScheduling()) { LOG(ERROR) << __func__ << ": Unable to set real time scheduling policy for " << bt_startup_thread; BTU_ShutDown(); return; } } void BTU_ShutDown() { btu_task_shut_down(); bt_startup_thread.ShutDown(); }
system/stack/include/btu.h +0 −1 Original line number Diff line number Diff line Loading @@ -65,7 +65,6 @@ bt_status_t do_in_main_thread_delayed(const base::Location& from_here, base::OnceClosure task, const base::TimeDelta& delay); void BTU_StartUp(void); void BTU_ShutDown(void); #endif