Loading system/stack/Android.bp +0 −1 Original line number Diff line number Diff line Loading @@ -1661,7 +1661,6 @@ cc_test { }, }, header_libs: ["libbluetooth_headers"], cflags: ["-Wno-unused-parameter"], } cc_test { Loading system/stack/acl/ble_acl.cc +2 −2 Original line number Diff line number Diff line Loading @@ -80,7 +80,7 @@ static bool acl_ble_common_connection( void acl_ble_enhanced_connection_complete( const tBLE_BD_ADDR& address_with_type, uint16_t handle, tHCI_ROLE role, bool match, uint16_t conn_interval, uint16_t conn_latency, uint16_t conn_timeout, const RawAddress& local_rpa, uint16_t conn_timeout, const RawAddress& /* local_rpa */, const RawAddress& peer_rpa, tBLE_ADDR_TYPE peer_addr_type, bool can_read_discoverable_characteristics) { if (!acl_ble_common_connection(address_with_type, handle, role, match, Loading Loading @@ -133,7 +133,7 @@ void acl_ble_enhanced_connection_complete_from_shim( } void acl_ble_connection_fail(const tBLE_BD_ADDR& address_with_type, uint16_t handle, bool enhanced, uint16_t /* handle */, bool /* enhanced */, tHCI_STATUS status) { acl_set_locally_initiated( true); // LE connection failures are always locally initiated Loading system/stack/acl/btm_acl.cc +6 −6 Original line number Diff line number Diff line Loading @@ -642,7 +642,7 @@ tBTM_STATUS BTM_SwitchRoleToCentral(const RawAddress& remote_bd_addr) { * Returns void * ******************************************************************************/ void btm_acl_encrypt_change(uint16_t handle, uint8_t status, void btm_acl_encrypt_change(uint16_t handle, uint8_t /* status */, uint8_t encr_enable) { tACL_CONN* p = internal_.acl_get_connection_from_handle(handle); if (p == nullptr) { Loading Loading @@ -813,7 +813,7 @@ extern void bta_gattc_continue_discovery_if_needed(const RawAddress& bd_addr, * ******************************************************************************/ static void maybe_chain_more_commands_after_read_remote_version_complete( uint8_t status, uint16_t handle) { uint8_t /* status */, uint16_t handle) { tACL_CONN* p_acl_cb = internal_.acl_get_connection_from_handle(handle); if (p_acl_cb == nullptr) { log::warn("Received remote version complete for unknown device"); Loading Loading @@ -2524,8 +2524,8 @@ void btm_acl_disconnected(tHCI_STATUS status, uint16_t handle, } void acl_create_classic_connection(const RawAddress& bd_addr, bool there_are_high_priority_channels, bool is_bonding) { bool /* there_are_high_priority_channels */, bool /* is_bonding */) { return bluetooth::shim::ACL_CreateClassicConnection(bd_addr); } Loading Loading @@ -2771,11 +2771,11 @@ void acl_process_extended_features(uint16_t handle, uint8_t current_page_number, } } void ACL_RegisterClient(struct acl_client_callback_s* callbacks) { void ACL_RegisterClient(struct acl_client_callback_s* /* callbacks */) { log::debug("UNIMPLEMENTED"); } void ACL_UnregisterClient(struct acl_client_callback_s* callbacks) { void ACL_UnregisterClient(struct acl_client_callback_s* /* callbacks */) { log::debug("UNIMPLEMENTED"); } Loading system/stack/acl/btm_pm.cc +2 −2 Original line number Diff line number Diff line Loading @@ -803,8 +803,8 @@ void process_ssr_event(tHCI_STATUS status, uint16_t handle, void btm_pm_on_sniff_subrating(tHCI_STATUS status, uint16_t handle, uint16_t maximum_transmit_latency, uint16_t maximum_receive_latency, uint16_t minimum_remote_timeout, uint16_t minimum_local_timeout) { uint16_t /* minimum_remote_timeout */, uint16_t /* minimum_local_timeout */) { process_ssr_event(status, handle, maximum_transmit_latency, maximum_receive_latency); } Loading system/stack/btm/btm_ble.cc +1 −1 Original line number Diff line number Diff line Loading @@ -191,7 +191,7 @@ void BTM_BleReadPhy( base::Bind(&read_phy_cb, std::move(cb))); } void doNothing(uint8_t* data, uint16_t len) {} void doNothing(uint8_t* /* data */, uint16_t /* len */) {} void BTM_BleSetPhy(const RawAddress& bd_addr, uint8_t tx_phys, uint8_t rx_phys, uint16_t phy_options) { Loading Loading
system/stack/Android.bp +0 −1 Original line number Diff line number Diff line Loading @@ -1661,7 +1661,6 @@ cc_test { }, }, header_libs: ["libbluetooth_headers"], cflags: ["-Wno-unused-parameter"], } cc_test { Loading
system/stack/acl/ble_acl.cc +2 −2 Original line number Diff line number Diff line Loading @@ -80,7 +80,7 @@ static bool acl_ble_common_connection( void acl_ble_enhanced_connection_complete( const tBLE_BD_ADDR& address_with_type, uint16_t handle, tHCI_ROLE role, bool match, uint16_t conn_interval, uint16_t conn_latency, uint16_t conn_timeout, const RawAddress& local_rpa, uint16_t conn_timeout, const RawAddress& /* local_rpa */, const RawAddress& peer_rpa, tBLE_ADDR_TYPE peer_addr_type, bool can_read_discoverable_characteristics) { if (!acl_ble_common_connection(address_with_type, handle, role, match, Loading Loading @@ -133,7 +133,7 @@ void acl_ble_enhanced_connection_complete_from_shim( } void acl_ble_connection_fail(const tBLE_BD_ADDR& address_with_type, uint16_t handle, bool enhanced, uint16_t /* handle */, bool /* enhanced */, tHCI_STATUS status) { acl_set_locally_initiated( true); // LE connection failures are always locally initiated Loading
system/stack/acl/btm_acl.cc +6 −6 Original line number Diff line number Diff line Loading @@ -642,7 +642,7 @@ tBTM_STATUS BTM_SwitchRoleToCentral(const RawAddress& remote_bd_addr) { * Returns void * ******************************************************************************/ void btm_acl_encrypt_change(uint16_t handle, uint8_t status, void btm_acl_encrypt_change(uint16_t handle, uint8_t /* status */, uint8_t encr_enable) { tACL_CONN* p = internal_.acl_get_connection_from_handle(handle); if (p == nullptr) { Loading Loading @@ -813,7 +813,7 @@ extern void bta_gattc_continue_discovery_if_needed(const RawAddress& bd_addr, * ******************************************************************************/ static void maybe_chain_more_commands_after_read_remote_version_complete( uint8_t status, uint16_t handle) { uint8_t /* status */, uint16_t handle) { tACL_CONN* p_acl_cb = internal_.acl_get_connection_from_handle(handle); if (p_acl_cb == nullptr) { log::warn("Received remote version complete for unknown device"); Loading Loading @@ -2524,8 +2524,8 @@ void btm_acl_disconnected(tHCI_STATUS status, uint16_t handle, } void acl_create_classic_connection(const RawAddress& bd_addr, bool there_are_high_priority_channels, bool is_bonding) { bool /* there_are_high_priority_channels */, bool /* is_bonding */) { return bluetooth::shim::ACL_CreateClassicConnection(bd_addr); } Loading Loading @@ -2771,11 +2771,11 @@ void acl_process_extended_features(uint16_t handle, uint8_t current_page_number, } } void ACL_RegisterClient(struct acl_client_callback_s* callbacks) { void ACL_RegisterClient(struct acl_client_callback_s* /* callbacks */) { log::debug("UNIMPLEMENTED"); } void ACL_UnregisterClient(struct acl_client_callback_s* callbacks) { void ACL_UnregisterClient(struct acl_client_callback_s* /* callbacks */) { log::debug("UNIMPLEMENTED"); } Loading
system/stack/acl/btm_pm.cc +2 −2 Original line number Diff line number Diff line Loading @@ -803,8 +803,8 @@ void process_ssr_event(tHCI_STATUS status, uint16_t handle, void btm_pm_on_sniff_subrating(tHCI_STATUS status, uint16_t handle, uint16_t maximum_transmit_latency, uint16_t maximum_receive_latency, uint16_t minimum_remote_timeout, uint16_t minimum_local_timeout) { uint16_t /* minimum_remote_timeout */, uint16_t /* minimum_local_timeout */) { process_ssr_event(status, handle, maximum_transmit_latency, maximum_receive_latency); } Loading
system/stack/btm/btm_ble.cc +1 −1 Original line number Diff line number Diff line Loading @@ -191,7 +191,7 @@ void BTM_BleReadPhy( base::Bind(&read_phy_cb, std::move(cb))); } void doNothing(uint8_t* data, uint16_t len) {} void doNothing(uint8_t* /* data */, uint16_t /* len */) {} void BTM_BleSetPhy(const RawAddress& bd_addr, uint8_t tx_phys, uint8_t rx_phys, uint16_t phy_options) { Loading