Home
last modified time | relevance | path

Searched refs:wantOn (Results 1 – 2 of 2) sorted by relevance

/cts/tests/framework/base/windowmanager/src/android/server/wm/
DVirtualDisplayHelper.java144 static void waitForDefaultDisplayState(boolean wantOn) { in waitForDefaultDisplayState() argument
145 waitForDisplayState(DEFAULT_DISPLAY /* default */, wantOn); in waitForDefaultDisplayState()
148 private static void waitForDisplayState(int displayId, boolean wantOn) { in waitForDisplayState() argument
149 waitForDisplayCondition(displayId, state -> state != null && state == wantOn, in waitForDisplayState()
152 + (wantOn ? "on" : "off")); in waitForDisplayState()
DMultiDisplayTestBase.java752 private void setPrimaryDisplayState(boolean wantOn) { in setPrimaryDisplayState() argument
753 if (wantOn) { in setPrimaryDisplayState()
758 VirtualDisplayHelper.waitForDefaultDisplayState(wantOn); in setPrimaryDisplayState()