Loading system/bta/hd/bta_hd_api.cc +0 −6 Original line number Diff line number Diff line Loading @@ -32,7 +32,6 @@ #include <bluetooth/log.h> #include "bta/hd/bta_hd_int.h" #include "common/init_flags.h" #include "os/log.h" #include "osi/include/allocator.h" #include "osi/include/compat.h" Loading Loading @@ -84,11 +83,6 @@ void BTA_HdEnable(tBTA_HD_CBACK* p_cback) { void BTA_HdDisable(void) { log::verbose(""); if (!bluetooth::common::init_flags:: delay_hidh_cleanup_until_hidh_ready_start_is_enabled()) { bta_sys_deregister(BTA_ID_HD); } BT_HDR_RIGID* p_buf = (BT_HDR_RIGID*)osi_malloc(sizeof(BT_HDR_RIGID)); p_buf->event = BTA_HD_API_DISABLE_EVT; bta_sys_sendmsg(p_buf); Loading system/btif/src/btif_hd.cc +0 −5 Original line number Diff line number Diff line Loading @@ -39,7 +39,6 @@ #include "btif/include/btif_common.h" #include "btif/include/btif_profile_storage.h" #include "btif/include/btif_util.h" #include "common/init_flags.h" #include "include/hardware/bt_hd.h" #include "internal_include/bt_target.h" #include "osi/include/allocator.h" Loading Loading @@ -200,10 +199,6 @@ static void btif_hd_upstreams_evt(uint16_t event, char* p_param) { BTHD_APP_STATE_NOT_REGISTERED); if (btif_hd_cb.service_dereg_active) { log::warn("disabling hid device service now"); if (!bluetooth::common::init_flags:: delay_hidh_cleanup_until_hidh_ready_start_is_enabled()) { btif_hd_free_buf(); } BTA_HdDisable(); } break; Loading system/gd/rust/common/src/init_flags.rs +0 −1 Original line number Diff line number Diff line Loading @@ -231,7 +231,6 @@ init_flags!( btm_dm_flush_discovery_queue_on_search_cancel, bta_dm_stop_discovery_on_search_cancel, classic_discovery_only, delay_hidh_cleanup_until_hidh_ready_start = true, device_iot_config_logging, dynamic_avrcp_version_enhancement = true, gatt_robust_caching_client = true, Loading system/gd/rust/shim/src/init_flags.rs +0 −1 Original line number Diff line number Diff line Loading @@ -15,7 +15,6 @@ mod ffi { fn always_send_services_if_gatt_disc_done_is_enabled() -> bool; fn always_use_private_gatt_for_debugging_is_enabled() -> bool; fn bluetooth_power_telemetry_is_enabled() -> bool; fn delay_hidh_cleanup_until_hidh_ready_start_is_enabled() -> bool; fn btm_dm_flush_discovery_queue_on_search_cancel_is_enabled() -> bool; fn bta_dm_stop_discovery_on_search_cancel_is_enabled() -> bool; fn classic_discovery_only_is_enabled() -> bool; Loading Loading
system/bta/hd/bta_hd_api.cc +0 −6 Original line number Diff line number Diff line Loading @@ -32,7 +32,6 @@ #include <bluetooth/log.h> #include "bta/hd/bta_hd_int.h" #include "common/init_flags.h" #include "os/log.h" #include "osi/include/allocator.h" #include "osi/include/compat.h" Loading Loading @@ -84,11 +83,6 @@ void BTA_HdEnable(tBTA_HD_CBACK* p_cback) { void BTA_HdDisable(void) { log::verbose(""); if (!bluetooth::common::init_flags:: delay_hidh_cleanup_until_hidh_ready_start_is_enabled()) { bta_sys_deregister(BTA_ID_HD); } BT_HDR_RIGID* p_buf = (BT_HDR_RIGID*)osi_malloc(sizeof(BT_HDR_RIGID)); p_buf->event = BTA_HD_API_DISABLE_EVT; bta_sys_sendmsg(p_buf); Loading
system/btif/src/btif_hd.cc +0 −5 Original line number Diff line number Diff line Loading @@ -39,7 +39,6 @@ #include "btif/include/btif_common.h" #include "btif/include/btif_profile_storage.h" #include "btif/include/btif_util.h" #include "common/init_flags.h" #include "include/hardware/bt_hd.h" #include "internal_include/bt_target.h" #include "osi/include/allocator.h" Loading Loading @@ -200,10 +199,6 @@ static void btif_hd_upstreams_evt(uint16_t event, char* p_param) { BTHD_APP_STATE_NOT_REGISTERED); if (btif_hd_cb.service_dereg_active) { log::warn("disabling hid device service now"); if (!bluetooth::common::init_flags:: delay_hidh_cleanup_until_hidh_ready_start_is_enabled()) { btif_hd_free_buf(); } BTA_HdDisable(); } break; Loading
system/gd/rust/common/src/init_flags.rs +0 −1 Original line number Diff line number Diff line Loading @@ -231,7 +231,6 @@ init_flags!( btm_dm_flush_discovery_queue_on_search_cancel, bta_dm_stop_discovery_on_search_cancel, classic_discovery_only, delay_hidh_cleanup_until_hidh_ready_start = true, device_iot_config_logging, dynamic_avrcp_version_enhancement = true, gatt_robust_caching_client = true, Loading
system/gd/rust/shim/src/init_flags.rs +0 −1 Original line number Diff line number Diff line Loading @@ -15,7 +15,6 @@ mod ffi { fn always_send_services_if_gatt_disc_done_is_enabled() -> bool; fn always_use_private_gatt_for_debugging_is_enabled() -> bool; fn bluetooth_power_telemetry_is_enabled() -> bool; fn delay_hidh_cleanup_until_hidh_ready_start_is_enabled() -> bool; fn btm_dm_flush_discovery_queue_on_search_cancel_is_enabled() -> bool; fn bta_dm_stop_discovery_on_search_cancel_is_enabled() -> bool; fn classic_discovery_only_is_enabled() -> bool; Loading