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

Commit ad27b14a authored by Rahul Sabnis's avatar Rahul Sabnis Committed by Automerger Merge Worker
Browse files

Merge "leaudio: Add App id to dumpsys" am: 8e163bd8 am: d60e27d5

parents 7db7298c d60e27d5
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -692,7 +692,8 @@ class CsisClientImpl : public CsisClient {
  void Dump(int fd) {
    std::stringstream stream;

    stream << "  Groups\n";
    stream << "  APP ID: " << +gatt_if_ << "\n"
           << "  Groups:\n";
    for (const auto& g : csis_groups_) {
      stream << "    == id: " << g->GetGroupId() << " ==\n"
             << "    uuid: " << g->GetUuid() << "\n"
+1 −0
Original line number Diff line number Diff line
@@ -909,6 +909,7 @@ class HasClientImpl : public HasClient {

  void Dump(int fd) const {
    std::stringstream stream;
    stream << " APP ID: " << +gatt_if_ << " \n";
    if (devices_.size()) {
      stream << "  {\"Known HAS devices\": [";
      for (const auto& device : devices_) {
+9 −8
Original line number Diff line number Diff line
@@ -3478,6 +3478,7 @@ class LeAudioClientImpl : public LeAudioClient {
  }

  void Dump(int fd) {
    dprintf(fd, "  APP ID: %d \n", gatt_if_);
    dprintf(fd, "  Active group: %d\n", active_group_id_);
    dprintf(fd, "  reconnection mode: %s \n",
            (reconnection_mode_ == BTM_BLE_BKG_CONNECT_ALLOW_LIST
+4 −1
Original line number Diff line number Diff line
@@ -621,7 +621,10 @@ class VolumeControlImpl : public VolumeControl {
    instance->OnGattWriteCcc(connection_id, status, handle, len, value, data);
  }

  void Dump(int fd) { volume_control_devices_.DebugDump(fd); }
  void Dump(int fd) {
    dprintf(fd, "APP ID: %d\n", gatt_if_);
    volume_control_devices_.DebugDump(fd);
  }

  void Disconnect(const RawAddress& address) override {
    VolumeControlDevice* device =