Home
last modified time | relevance | path

Searched refs:displays (Results 1 – 4 of 4) sorted by relevance

/cts/tests/framework/base/windowmanager/src/android/server/wm/
DMultiDisplayTestBase.java134 DisplayContent getDisplayState(List<DisplayContent> displays, int displayId) { in getDisplayState() argument
135 for (DisplayContent display : displays) { in getDisplayState()
144 DisplayContent getDisplayState(List<DisplayContent> displays, int width, int height, in getDisplayState() argument
146 for (DisplayContent display : displays) { in getDisplayState()
790 displays -> areDisplaysValid(displays, expectedDisplayCount))); in getDisplayStateAfterChange()
793 private boolean areDisplaysValid(List<DisplayContent> displays, int expectedDisplayCount) { in areDisplaysValid() argument
794 if (displays.size() != expectedDisplayCount) { in areDisplaysValid()
797 for (DisplayContent display : displays) { in areDisplaysValid()
/cts/tests/tests/display/src/android/display/cts/
DVirtualDisplayTest.java398 private Display findDisplay(Display[] displays, String name) { in findDisplay() argument
399 for (int i = 0; i < displays.length; i++) { in findDisplay()
400 if (displays[i].getName().equals(name)) { in findDisplay()
401 return displays[i]; in findDisplay()
DDisplayTest.java269 private Display getSecondaryDisplay(Display[] displays) { in getSecondaryDisplay() argument
270 for (Display display : displays) { in getSecondaryDisplay()
283 Display[] displays = mDisplayManager.getDisplays(); in testGetDisplays() local
284 assertNotNull(displays); in testGetDisplays()
285 assertTrue(2 <= displays.length); in testGetDisplays()
288 for (Display display : displays) { in testGetDisplays()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DActivityManagerTestBase.java1786 final String displays = runCommandAndPrintOutput("dumpsys display displays").trim();
1790 Matcher matcher = pattern.matcher(displays);