diff options
author | 2025-03-11 17:05:07 +0000 | |
---|---|---|
committer | 2025-03-11 17:20:24 +0000 | |
commit | 6b512040c25deedfa56702a637ff803f1d45b995 (patch) | |
tree | 3f614bbfd9e80302a2926070031cd8ff0fdb59aa /include | |
parent | 269580ec3dcd89ed86b4bacfb7871cc2bcb0afbb (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.h | 3 |
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 |