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

Commit 10d29a70 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Add BufferClient information to dumpsys"

parents 6bdb3cac 7f072e93
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -46,8 +46,14 @@ status_t BufferHubBinderService::dump(int fd, const Vector<String16>& args) {
            "Input arguments are ignored.\n");
  }

  // TODO(b/116526156): output real data in this class once we have it
  fprintf(out, "Binder service:\n");
  // Active buffers
  fprintf(out, "Active BufferClients: %zu\n", client_list_.size());
  // TODO(b/117790952): print buffer information after BufferNode has it
  // TODO(b/116526156): print more information once we have them

  if (pdx_service_) {
    fprintf(out, "\nPDX service:\n");
    // BufferHubService::Dumpstate(size_t) is not actually using the param
    // So just using 0 as the length
    fprintf(out, "%s", pdx_service_->DumpState(0).c_str());