Searched refs:condition (Results 1 – 3 of 3) sorted by relevance
/platform_testing/utils/dpad/src/android/platform/test/utils/ |
D | DPadUtil.java | 161 public <R> R pressKeyCodeAndWait(int keyCode, EventCondition<R> condition, boolean longpress, in pressKeyCodeAndWait() argument 163 return mDevice.performActionAndWait(new KeyEventRunnable(keyCode, longpress), condition, in pressKeyCodeAndWait() 167 public <R> R pressKeyCodeAndWait(int keyCode, EventCondition<R> condition, long timeout) { in pressKeyCodeAndWait() argument 168 return pressKeyCodeAndWait(keyCode, condition, false, timeout); in pressKeyCodeAndWait() 171 public <R> R pressDPadCenterAndWait(EventCondition<R> condition, long timeout) { in pressDPadCenterAndWait() argument 173 condition, timeout); in pressDPadCenterAndWait() 176 public <R> R pressEnterAndWait(EventCondition<R> condition, long timeout) { in pressEnterAndWait() argument 178 condition, timeout); in pressEnterAndWait()
|
/platform_testing/libraries/app-helpers/interfaces/tv/src/android/platform/helpers/ |
D | AbstractLeanbackAppHelper.java | 227 public UiObject2 select(SelectCondition condition, UiObject2 container, Direction direction) { in select() argument 229 while (!condition.apply(focus)) { in select() 261 public UiObject2 selectBidirect(SelectCondition condition, UiObject2 container, 263 UiObject2 object = select(condition, container, direction); 265 object = select(condition, container, Direction.reverse(direction));
|
/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper/ |
D | TvLauncherStrategy.java | 836 public UiObject2 select(UiCondition condition, Direction direction, long timeoutMs) { 838 while (!condition.apply(focus)) { 871 public UiObject2 selectBidirect(UiCondition condition, Direction direction) { 872 UiObject2 object = select(condition, direction, UI_WAIT_TIME_MS); 874 object = select(condition, Direction.reverse(direction), UI_WAIT_TIME_MS);
|