Skip to content

Commit feec2ce

Browse files
committed
RootCanal: Inline gd_defaults and fluoride_common_options in Android.bp
Bug: 256013143 Test: m root-canal Change-Id: Idb61bd5a96b75859f9471cecbdde009cf8dd969f
1 parent 1e9da6d commit feec2ce

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

model/controller/dual_mode_controller.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2949,7 +2949,7 @@ void DualModeController::CsrReadVarid(CsrVarid varid,
29492949
}
29502950

29512951
void DualModeController::CsrWriteVarid(
2952-
CsrVarid varid, std::vector<uint8_t> const& value) const {
2952+
CsrVarid varid, std::vector<uint8_t> const& /*value*/) const {
29532953
INFO(id_, "Unsupported write of CSR varid 0x{:04x}", varid);
29542954
}
29552955

model/controller/le_advertiser.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1594,7 +1594,7 @@ ErrorCode LinkLayerController::LeSetPeriodicAdvertisingEnable(
15941594
}
15951595

15961596
uint16_t ExtendedAdvertiser::GetMaxPeriodicAdvertisingDataLength(
1597-
slots periodic_advertising_interval) {
1597+
slots /*periodic_advertising_interval*/) {
15981598
// TODO: evaluate the maximum length of the advertising PDU that can
15991599
// be physically sent in the advertising interval.
16001600
return max_extended_advertising_pdu_size;

model/devices/device.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ class Device {
5353
virtual void Close();
5454

5555
virtual void ReceiveLinkLayerPacket(
56-
model::packets::LinkLayerPacketView packet, Phy::Type type,
57-
int8_t rssi){};
56+
model::packets::LinkLayerPacketView /*packet*/, Phy::Type /*type*/,
57+
int8_t /*rssi*/){};
5858

5959
void SendLinkLayerPacket(
6060
std::shared_ptr<model::packets::LinkLayerPacketBuilder> packet,

model/hci/hci_sniffer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class HciSniffer : public HciTransport {
4444
static std::shared_ptr<HciTransport> Create(
4545
std::shared_ptr<HciTransport> transport,
4646
std::shared_ptr<std::ostream> outputStream = nullptr,
47-
std::shared_ptr<PcapFilter> filter = nullptr) {
47+
std::shared_ptr<PcapFilter> /*filter*/ = nullptr) {
4848
return std::make_shared<HciSniffer>(transport, outputStream);
4949
}
5050

model/setup/phy_layer.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ void PhyLayer::UnregisterAll() {
4444
phy_devices_.clear();
4545
}
4646

47-
int8_t PhyLayer::ComputeRssi(PhyDevice::Identifier sender_id,
48-
PhyDevice::Identifier receiver_id,
49-
int8_t tx_power) {
47+
int8_t PhyLayer::ComputeRssi(PhyDevice::Identifier /*sender_id*/,
48+
PhyDevice::Identifier /*receiver_id*/,
49+
int8_t /*tx_power*/) {
5050
// Perform no RSSI computation by default.
5151
// Clients overriding this function should use the TX power and
5252
// positional information to derive correct device-to-device RSSI.

0 commit comments

Comments
 (0)