Searched refs:wantOn (Results 1 – 2 of 2) sorted by relevance
144 static void waitForDefaultDisplayState(boolean wantOn) { in waitForDefaultDisplayState() argument145 waitForDisplayState(DEFAULT_DISPLAY /* default */, wantOn); in waitForDefaultDisplayState()148 private static void waitForDisplayState(int displayId, boolean wantOn) { in waitForDisplayState() argument149 waitForDisplayCondition(displayId, state -> state != null && state == wantOn, in waitForDisplayState()152 + (wantOn ? "on" : "off")); in waitForDisplayState()
752 private void setPrimaryDisplayState(boolean wantOn) { in setPrimaryDisplayState() argument753 if (wantOn) { in setPrimaryDisplayState()758 VirtualDisplayHelper.waitForDefaultDisplayState(wantOn); in setPrimaryDisplayState()