Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit df76cc1e authored by Myles Watson's avatar Myles Watson Committed by Jakub Pawlowski
Browse files

RootCanal: Silence unused using warnings

Tag: #feature
Test: cert/run LeIsoTest
Bug: 177907117
Change-Id: Ic0737634e3d5ebe3db102453eac792c890195d00
parent 74c018f3
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -30,7 +30,6 @@ namespace bluetooth {
namespace root_canal {

using test_vendor_lib::AsyncTaskId;
using test_vendor_lib::DualModeController;
using test_vendor_lib::TaskCallback;

void TestEnvironment::initialize(std::promise<void> barrier) {
+3 −5
Original line number Diff line number Diff line
@@ -21,8 +21,6 @@
#include "hci/address.h"
#include "os/log.h"

using std::shared_ptr;

namespace test_vendor_lib {

using ::bluetooth::hci::Address;
@@ -216,11 +214,11 @@ AclConnectionHandler::SetCigParameters(
    auto handle = GetUnusedHandle();
    StreamParameters a{.group_id = group_parameters.id,
                       .stream_id = streams[i].cis_id_,
                       .max_sdu_s_to_m = streams[i].max_sdu_s_to_m_,
                       .max_sdu_m_to_s = streams[i].max_sdu_m_to_s_,
                       .handle = handle,
                       .max_sdu_s_to_m = streams[i].max_sdu_s_to_m_,
                       .rtn_m_to_s = streams[i].rtn_m_to_s_,
                       .rtn_s_to_m = streams[i].rtn_s_to_m_};
                       .rtn_s_to_m = streams[i].rtn_s_to_m_,
                       .handle = handle};
    handles.push_back(handle);
    stream_parameters.push_back(std::move(a));
  }
+2 −0
Original line number Diff line number Diff line
@@ -24,6 +24,8 @@ using std::vector;
namespace test_vendor_lib {

bool CarKit::registered_ = DeviceBoutique::Register("car_kit", &CarKit::Create);
const std::string kCarKitPropertiesFile =
    "/etc/bluetooth/car_kit_controller_properties.json";

CarKit::CarKit() : Device(kCarKitPropertiesFile) {
  advertising_interval_ms_ = std::chrono::milliseconds(0);
+0 −4
Original line number Diff line number Diff line
@@ -23,10 +23,6 @@
#include "hci/hci_packets.h"
#include "model/controller/link_layer_controller.h"

namespace {
const std::string kCarKitPropertiesFile = "/etc/bluetooth/car_kit_controller_properties.json";
}  // namespace

namespace test_vendor_lib {

class CarKit : public Device {
+0 −2
Original line number Diff line number Diff line
@@ -18,8 +18,6 @@

#include "device.h"

using std::vector;

namespace test_vendor_lib {

std::string Device::ToString() const {
Loading