Through adb, I'm trying to determine if there is a way to get a hierarchy dump for a user specified display. currently the following can be done through adb
uiautomator dump
which produces an xml dump of the default screen. I'm assuming screen 0. But I don't see any parameters for uiautomator for specifying the display id. For example, the screencap app allows the "-d" parameter to specify the screen other then the default 0.
screencap -d 1
So, how would I get a hierarchy dump for display id 1?