Searched refs:expectedDisplayCount (Results 1 – 1 of 1) sorted by relevance
781 List<DisplayContent> getDisplayStateAfterChange(int expectedDisplayCount) { in getDisplayStateAfterChange() argument782 return Condition.waitForResult("the correct number of displays=" + expectedDisplayCount, in getDisplayStateAfterChange()787 displays -> areDisplaysValid(displays, expectedDisplayCount))); in getDisplayStateAfterChange()790 private boolean areDisplaysValid(List<DisplayContent> displays, int expectedDisplayCount) { in areDisplaysValid() argument791 if (displays.size() != expectedDisplayCount) { in areDisplaysValid()