Loading system/btif/Android.bp +0 −15 Original line number Diff line number Diff line Loading @@ -165,9 +165,6 @@ cc_library_static { "libbtif-core", "libflatbuffers-cpp", ], cflags: [ "-Wno-unused-parameter", ], apex_available: [ "com.android.btservices", ], Loading Loading @@ -391,9 +388,6 @@ cc_test { "libchrome", "libosi", ], cflags: [ "-Wno-unused-parameter", ], shared_libs: [ "libbase", "liblog", Loading Loading @@ -432,9 +426,6 @@ cc_test { "libbase", "liblog", ], cflags: [ "-Wno-unused-parameter", ], } // btif rc unit tests for target Loading Loading @@ -480,9 +471,6 @@ cc_test { shared_libs: ["libstatssocket"], }, }, cflags: [ "-Wno-unused-parameter", ], sanitize: { address: true, cfi: true, Loading Loading @@ -520,9 +508,6 @@ cc_test { "libcom.android.sysprop.bluetooth.wrapped", "libgmock", ], cflags: [ "-Wno-unused-parameter", ], } cc_test { Loading system/btif/avrcp/avrcp_service.cc +1 −1 Original line number Diff line number Diff line Loading @@ -579,7 +579,7 @@ void AvrcpService::SendFolderUpdate(bool available_players, bool addressed_playe } // Send out the track changed info to update the playback state for each device void AvrcpService::SendActiveDeviceChanged(const RawAddress& address) { void AvrcpService::SendActiveDeviceChanged(const RawAddress& /*address*/) { SendMediaUpdate(false, true, false); } Loading system/btif/co/bta_av_co_peer.cc +1 −1 Original line number Diff line number Diff line Loading @@ -98,7 +98,7 @@ void BtaAvCoPeer::setCodecConfig(const uint8_t* new_codec_config) { } void BtaAvCoPeerCache::Init(const std::vector<btav_a2dp_codec_config_t>& codec_priorities, std::vector<btav_a2dp_codec_info_t>* supported_codecs) { std::vector<btav_a2dp_codec_info_t>* /*supported_codecs*/) { std::lock_guard<std::recursive_mutex> lock(codec_lock_); codec_priorities_ = codec_priorities; Loading system/btif/co/bta_hh_co.cc +1 −1 Original line number Diff line number Diff line Loading @@ -1037,7 +1037,7 @@ void bta_hh_co_send_hid_info(btif_hh_device_t* p_dev, const char* dev_name, uint * Returns void. * ******************************************************************************/ void bta_hh_co_set_rpt_rsp(uint8_t dev_handle, uint8_t status) { void bta_hh_co_set_rpt_rsp([[maybe_unused]] uint8_t dev_handle, [[maybe_unused]] uint8_t status) { #if ENABLE_UHID_SET_REPORT log::verbose("dev_handle = {}", dev_handle); Loading system/btif/src/btif_a2dp.cc +1 −1 Original line number Diff line number Diff line Loading @@ -39,7 +39,7 @@ using namespace bluetooth; using bluetooth::audio::a2dp::BluetoothAudioStatus; void btif_a2dp_on_idle(const RawAddress& peer_addr, const A2dpType local_a2dp_type) { void btif_a2dp_on_idle(const RawAddress& /*peer_addr*/, const A2dpType local_a2dp_type) { log::verbose("Peer stream endpoint type:{}", peer_stream_endpoint_text(btif_av_get_peer_sep(local_a2dp_type))); if (btif_av_get_peer_sep(local_a2dp_type) == AVDT_TSEP_SNK) { Loading Loading
system/btif/Android.bp +0 −15 Original line number Diff line number Diff line Loading @@ -165,9 +165,6 @@ cc_library_static { "libbtif-core", "libflatbuffers-cpp", ], cflags: [ "-Wno-unused-parameter", ], apex_available: [ "com.android.btservices", ], Loading Loading @@ -391,9 +388,6 @@ cc_test { "libchrome", "libosi", ], cflags: [ "-Wno-unused-parameter", ], shared_libs: [ "libbase", "liblog", Loading Loading @@ -432,9 +426,6 @@ cc_test { "libbase", "liblog", ], cflags: [ "-Wno-unused-parameter", ], } // btif rc unit tests for target Loading Loading @@ -480,9 +471,6 @@ cc_test { shared_libs: ["libstatssocket"], }, }, cflags: [ "-Wno-unused-parameter", ], sanitize: { address: true, cfi: true, Loading Loading @@ -520,9 +508,6 @@ cc_test { "libcom.android.sysprop.bluetooth.wrapped", "libgmock", ], cflags: [ "-Wno-unused-parameter", ], } cc_test { Loading
system/btif/avrcp/avrcp_service.cc +1 −1 Original line number Diff line number Diff line Loading @@ -579,7 +579,7 @@ void AvrcpService::SendFolderUpdate(bool available_players, bool addressed_playe } // Send out the track changed info to update the playback state for each device void AvrcpService::SendActiveDeviceChanged(const RawAddress& address) { void AvrcpService::SendActiveDeviceChanged(const RawAddress& /*address*/) { SendMediaUpdate(false, true, false); } Loading
system/btif/co/bta_av_co_peer.cc +1 −1 Original line number Diff line number Diff line Loading @@ -98,7 +98,7 @@ void BtaAvCoPeer::setCodecConfig(const uint8_t* new_codec_config) { } void BtaAvCoPeerCache::Init(const std::vector<btav_a2dp_codec_config_t>& codec_priorities, std::vector<btav_a2dp_codec_info_t>* supported_codecs) { std::vector<btav_a2dp_codec_info_t>* /*supported_codecs*/) { std::lock_guard<std::recursive_mutex> lock(codec_lock_); codec_priorities_ = codec_priorities; Loading
system/btif/co/bta_hh_co.cc +1 −1 Original line number Diff line number Diff line Loading @@ -1037,7 +1037,7 @@ void bta_hh_co_send_hid_info(btif_hh_device_t* p_dev, const char* dev_name, uint * Returns void. * ******************************************************************************/ void bta_hh_co_set_rpt_rsp(uint8_t dev_handle, uint8_t status) { void bta_hh_co_set_rpt_rsp([[maybe_unused]] uint8_t dev_handle, [[maybe_unused]] uint8_t status) { #if ENABLE_UHID_SET_REPORT log::verbose("dev_handle = {}", dev_handle); Loading
system/btif/src/btif_a2dp.cc +1 −1 Original line number Diff line number Diff line Loading @@ -39,7 +39,7 @@ using namespace bluetooth; using bluetooth::audio::a2dp::BluetoothAudioStatus; void btif_a2dp_on_idle(const RawAddress& peer_addr, const A2dpType local_a2dp_type) { void btif_a2dp_on_idle(const RawAddress& /*peer_addr*/, const A2dpType local_a2dp_type) { log::verbose("Peer stream endpoint type:{}", peer_stream_endpoint_text(btif_av_get_peer_sep(local_a2dp_type))); if (btif_av_get_peer_sep(local_a2dp_type) == AVDT_TSEP_SNK) { Loading