Home
last modified time | relevance | path

Searched refs:atMost (Results 1 – 7 of 7) sorted by relevance

/packages/apps/ThemePicker/robolectric_tests/src/com/android/customization/testutils/
DWait.java30 public static void atMost(String message, Condition condition, long timeout) { in atMost() method in Wait
31 atMost(message, condition, timeout, DEFAULT_SLEEP_MS); in atMost()
34 public static void atMost(String message, Condition condition, long timeout, long sleepMillis) { in atMost() method in Wait
/packages/apps/Launcher3/tests/src/com/android/launcher3/util/
DWait.java14 public static void atMost(String message, Condition condition, long timeout) { in atMost() method in Wait
15 atMost(message, condition, timeout, DEFAULT_SLEEP_MS); in atMost()
18 public static void atMost(String message, Condition condition, long timeout, long sleepMillis) { in atMost() method in Wait
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/widget/
DAddConfigWidgetTest.java109 Wait.atMost(null, Condition.minChildCount(widgetContainer, 2), DEFAULT_UI_TIMEOUT); in runTest()
131 Wait.atMost(null, new WidgetSearchCondition(), DEFAULT_ACTIVITY_TIMEOUT); in runTest()
135 Wait.atMost(null, () -> mAppWidgetManager.getAppWidgetInfo(mWidgetId) == null, in runTest()
DAddWidgetTest.java74 Wait.atMost(null, Condition.minChildCount(widgetContainer, 2), DEFAULT_UI_TIMEOUT); in performTest()
DRequestPinItemTest.java174 Wait.atMost(null, new ItemSearchCondition(itemMatcher), DEFAULT_ACTIVITY_TIMEOUT); in runTest()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DIncomingCallFilterTest.java45 import static org.mockito.Mockito.atMost;
284 verify(mResultCallback, atMost(1)).onCallFilteringComplete(any(Call.class), in testFilterTimeout()
298 verify(mResultCallback, atMost(1)).onCallFilteringComplete(any(Call.class), in testFilterTimeoutDoesntTrip()
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/
DAbstractLauncherUiTest.java281 Wait.atMost(message, () -> getFromLauncher(condition), timeout); in waitForLauncherCondition()
291 Wait.atMost(message, () -> { in waitForLauncherCondition()