summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
author Arpit Singh <arpitks@google.com> 2025-03-11 17:05:07 +0000
committer Arpit Singh <arpitks@google.com> 2025-03-11 17:20:24 +0000
commit6b512040c25deedfa56702a637ff803f1d45b995 (patch)
tree3f614bbfd9e80302a2926070031cd8ff0fdb59aa /include
parent269580ec3dcd89ed86b4bacfb7871cc2bcb0afbb (diff)
Add display topology to input dump
Add display topology to dump in Dispatcher and Choreographer for debugging. Bug: 245989146 Test: dumpsys input Flag: EXEMPT log only update Change-Id: I8e9eb4d5c3c88e1cb6aeaa35db07006b003aad93
Diffstat (limited to 'include')
-rw-r--r--include/input/DisplayTopologyGraph.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/input/DisplayTopologyGraph.h b/include/input/DisplayTopologyGraph.h
index ce7259e09a..9fc080d6f8 100644
--- a/include/input/DisplayTopologyGraph.h
+++ b/include/input/DisplayTopologyGraph.h
@@ -46,6 +46,8 @@ struct DisplayTopologyAdjacentDisplay {
DisplayTopologyPosition position;
// The offset in DP of the adjacent display, relative to the source display.
float offsetDp;
+
+ std::string dump() const;
};
/**
@@ -57,6 +59,7 @@ struct DisplayTopologyGraph {
std::unordered_map<ui::LogicalDisplayId, int> displaysDensity;
bool isValid() const;
+ std::string dump() const;
};
} // namespace android