Home
last modified time | relevance | path

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

/cts/tests/tests/display/src/android/display/cts/
DDisplayTest.java147 private Display getSecondaryDisplay(Display[] displays) { in getSecondaryDisplay() argument
148 for (Display display : displays) { in getSecondaryDisplay()
161 Display[] displays = mDisplayManager.getDisplays(); in testGetDisplays() local
162 assertNotNull(displays); in testGetDisplays()
163 assertTrue(2 <= displays.length); in testGetDisplays()
166 for (Display display : displays) { in testGetDisplays()
DVirtualDisplayTest.java281 private Display findDisplay(Display[] displays, String name) { in findDisplay() argument
282 for (int i = 0; i < displays.length; i++) { in findDisplay()
283 if (displays[i].getName().equals(name)) { in findDisplay()
284 return displays[i]; in findDisplay()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DMultiDisplayTestBase.java104 ActivityDisplay getDisplayState(List<ActivityDisplay> displays, int displayId) { in getDisplayState() argument
105 for (ActivityDisplay display : displays) { in getDisplayState()
114 ActivityDisplay getDisplayState(List<ActivityDisplay> displays, int width, int height, in getDisplayState() argument
116 for (ActivityDisplay display : displays) { in getDisplayState()
623 private boolean areDisplaysValid(List<ActivityDisplay> displays, int expectedDisplayCount) { in areDisplaysValid() argument
624 if (displays.size() != expectedDisplayCount) { in areDisplaysValid()
627 for (ActivityDisplay display : displays) { in areDisplaysValid()
/cts/tests/tests/keystore/src/android/server/am/
DActivityManagerState.java148 for (int i = 0; i < state.displays.length; i++) { in parseSysDumpProto()
149 ActivityDisplayProto activityDisplay = state.displays[i]; in parseSysDumpProto()
DWindowManagerState.java151 for (int i = 0; i < state.rootWindowContainer.displays.length; i++) { in parseSysDumpProto()
152 DisplayContentProto displayProto = state.rootWindowContainer.displays[i]; in parseSysDumpProto()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DActivityManagerState.java161 for (int i = 0; i < state.displays.length; i++) { in parseSysDumpProto()
162 ActivityDisplayProto activityDisplay = state.displays[i]; in parseSysDumpProto()
DWindowManagerState.java196 for (int i = 0; i < state.rootWindowContainer.displays.length; i++) { in parseSysDumpProto()
197 DisplayContentProto displayProto = state.rootWindowContainer.displays[i]; in parseSysDumpProto()
DActivityManagerTestBase.java1275 final String displays = runCommandAndPrintOutput("dumpsys display displays").trim();
1279 Matcher matcher = pattern.matcher(displays);