Home
last modified time | relevance | path

Searched refs:waitFor (Results 1 – 25 of 56) sorted by relevance

123

/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
DThreadUtilTest.java118 Object[] data = waitFor("updateItemCount"); in updateItemCount()
127 Object[] data = waitFor("addTile"); in addTile()
135 Object[] data = waitFor("removeTile"); in removeTile()
145 Object[] data = waitFor("refresh"); in refresh()
153 Object[] data = waitFor("updateRange"); in rangeUpdate()
161 Object[] data = waitFor("loadTile"); in loadTile()
170 Object[] data = waitFor("recycleTile"); in recycleTile()
187 private Object[] waitFor(String key) throws InterruptedException { in waitFor() method in ThreadUtilTest
188 return results.get(key).waitFor(); in waitFor()
210 public Object[] waitFor() throws InterruptedException { in waitFor() method in ThreadUtilTest.LockedObject
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/app/
DDetailsSupportFragmentTest.java155 PollingCheck.waitFor(4000, new PollingCheck.PollingCheckCondition() { in parallaxTest()
194 PollingCheck.waitFor(4000, new PollingCheck.PollingCheckCondition() { in parallaxTest()
283 PollingCheck.waitFor(4000, new PollingCheck.PollingCheckCondition() { in navigateBetweenRowsAndVideoUsingRequestFocusInternal()
306 PollingCheck.waitFor(4000, new PollingCheck.PollingCheckCondition() { in navigateBetweenRowsAndVideoUsingRequestFocusInternal()
320 PollingCheck.waitFor(4000, new PollingCheck.PollingCheckCondition() { in navigateBetweenRowsAndVideoUsingRequestFocusInternal()
347 PollingCheck.waitFor(4000, new PollingCheck.PollingCheckCondition() {
366 PollingCheck.waitFor(4000, new PollingCheck.PollingCheckCondition() {
374 PollingCheck.waitFor(8000, new PollingCheck.PollingCheckCondition() {
383 PollingCheck.waitFor(4000, new PollingCheck.PollingCheckCondition() {
418 PollingCheck.waitFor(4000, new PollingCheck.PollingCheckCondition() {
[all …]
DDetailsFragmentTest.java158 PollingCheck.waitFor(4000, new PollingCheck.PollingCheckCondition() { in parallaxTest()
197 PollingCheck.waitFor(4000, new PollingCheck.PollingCheckCondition() { in parallaxTest()
286 PollingCheck.waitFor(4000, new PollingCheck.PollingCheckCondition() { in navigateBetweenRowsAndVideoUsingRequestFocusInternal()
309 PollingCheck.waitFor(4000, new PollingCheck.PollingCheckCondition() { in navigateBetweenRowsAndVideoUsingRequestFocusInternal()
323 PollingCheck.waitFor(4000, new PollingCheck.PollingCheckCondition() { in navigateBetweenRowsAndVideoUsingRequestFocusInternal()
350 PollingCheck.waitFor(4000, new PollingCheck.PollingCheckCondition() {
369 PollingCheck.waitFor(4000, new PollingCheck.PollingCheckCondition() {
377 PollingCheck.waitFor(8000, new PollingCheck.PollingCheckCondition() {
386 PollingCheck.waitFor(4000, new PollingCheck.PollingCheckCondition() {
421 PollingCheck.waitFor(4000, new PollingCheck.PollingCheckCondition() {
[all …]
DProgressBarManagerTest.java63 PollingCheck.waitFor(mWaitShownTimeOutMs, in defaultProgressBarView()
77 PollingCheck.waitFor(mWaitHideTimeOutMs, in defaultProgressBarView()
90 PollingCheck.waitFor(mWaitShownTimeOutMs, in defaultProgressBarView()
112 PollingCheck.waitFor(mWaitShownTimeOutMs, in customProgressBarView()
127 PollingCheck.waitFor(mWaitHideTimeOutMs, in customProgressBarView()
141 PollingCheck.waitFor(mWaitShownTimeOutMs, in customProgressBarView()
DGuidedStepFragmentTest.java105 PollingCheck.waitFor(new EnterTransitionFinish(second)); in nextAndBack()
121 PollingCheck.waitFor(new EnterTransitionFinish(first)); in nextAndBack()
134 PollingCheck.waitFor(new PollingCheck.ActivityDestroy(activity)); in nextAndBack()
176 PollingCheck.waitFor(new EnterTransitionFinish(second)); in restoreFragments()
184 PollingCheck.waitFor(new EnterTransitionFinish(second)); in restoreFragments()
194 PollingCheck.waitFor(new EnterTransitionFinish(first)); in restoreFragments()
238 PollingCheck.waitFor(new PollingCheck.ActivityDestroy(activity)); in finishGuidedStepFragment_finishes_activity()
334 PollingCheck.waitFor(new ExpandTransitionFinish(first)); in subActions()
342 PollingCheck.waitFor(new ExpandTransitionFinish(first)); in subActions()
346 PollingCheck.waitFor(new ExpandTransitionFinish(first)); in subActions()
[all …]
DGuidedStepSupportFragmentTest.java102 PollingCheck.waitFor(new EnterTransitionFinish(second)); in nextAndBack()
118 PollingCheck.waitFor(new EnterTransitionFinish(first)); in nextAndBack()
131 PollingCheck.waitFor(new PollingCheck.ActivityDestroy(activity)); in nextAndBack()
173 PollingCheck.waitFor(new EnterTransitionFinish(second)); in restoreFragments()
181 PollingCheck.waitFor(new EnterTransitionFinish(second)); in restoreFragments()
191 PollingCheck.waitFor(new EnterTransitionFinish(first)); in restoreFragments()
235 PollingCheck.waitFor(new PollingCheck.ActivityDestroy(activity)); in finishGuidedStepSupportFragment_finishes_activity()
331 PollingCheck.waitFor(new ExpandTransitionFinish(first)); in subActions()
339 PollingCheck.waitFor(new ExpandTransitionFinish(first)); in subActions()
343 PollingCheck.waitFor(new ExpandTransitionFinish(first)); in subActions()
[all …]
DVideoFragmentTest.java207 PollingCheck.waitFor(5000, new PollingCheck.PollingCheckCondition() { in mediaPlayerGlueInVideoFragment()
227 PollingCheck.waitFor(5000, new PollingCheck.PollingCheckCondition() { in mediaPlayerGlueInVideoFragment()
245 PollingCheck.waitFor(5000, new PollingCheck.PollingCheckCondition() { in mediaPlayerGlueInVideoFragment()
DVideoSupportFragmentTest.java204 PollingCheck.waitFor(5000, new PollingCheck.PollingCheckCondition() { in mediaPlayerGlueInVideoSupportFragment()
224 PollingCheck.waitFor(5000, new PollingCheck.PollingCheckCondition() { in mediaPlayerGlueInVideoSupportFragment()
242 PollingCheck.waitFor(5000, new PollingCheck.PollingCheckCondition() { in mediaPlayerGlueInVideoSupportFragment()
DBrowseFragmentTest.java89 PollingCheck.waitFor(WAIT_TRANSIITON_TIMEOUT, new PollingCheck.PollingCheckCondition() { in waitForEntranceTransitionFinished()
107 PollingCheck.waitFor(WAIT_TRANSIITON_TIMEOUT, new PollingCheck.ViewStableOnScreen(row)); in waitForHeaderTransitionFinished()
108 PollingCheck.waitFor(WAIT_TRANSIITON_TIMEOUT, new PollingCheck.PollingCheckCondition() { in waitForHeaderTransitionFinished()
313 PollingCheck.waitFor(new PollingCheck.PollingCheckCondition() { in lateLoadingHeaderDisabled()
DBrowseSupportFragmentTest.java86 PollingCheck.waitFor(WAIT_TRANSIITON_TIMEOUT, new PollingCheck.PollingCheckCondition() { in waitForEntranceTransitionFinished()
104 PollingCheck.waitFor(WAIT_TRANSIITON_TIMEOUT, new PollingCheck.ViewStableOnScreen(row)); in waitForHeaderTransitionFinished()
105 PollingCheck.waitFor(WAIT_TRANSIITON_TIMEOUT, new PollingCheck.PollingCheckCondition() { in waitForHeaderTransitionFinished()
310 PollingCheck.waitFor(new PollingCheck.PollingCheckCondition() { in lateLoadingHeaderDisabled()
/frameworks/support/compat/src/androidTest/java/androidx/core/widget/
DContentLoadingProgressBarTest.java58 PollingCheck.waitFor(new PollingCheck.PollingCheckCondition() { in showAndThenLaterHide()
67 PollingCheck.waitFor(new PollingCheck.PollingCheckCondition() { in showAndThenLaterHide()
86 PollingCheck.waitFor(new PollingCheck.PollingCheckCondition() { in showAndImmediatelyHide()
96 PollingCheck.waitFor(new PollingCheck.PollingCheckCondition() { in showAndImmediatelyHide()
/frameworks/support/testutils/src/main/java/androidx/testutils/
DPollingCheck.java75 public static void waitFor(final PollingCheckCondition condition) { in waitFor() method in PollingCheck
89 public static void waitFor(long timeout, final PollingCheckCondition condition) { in waitFor() method in PollingCheck
/frameworks/base/core/tests/coretests/src/android/util/
DPollingCheck.java80 public static void waitFor(final PollingCheckCondition condition) { in waitFor() method in PollingCheck
95 public static void waitFor(long timeout, final PollingCheckCondition condition) { in waitFor() method in PollingCheck
/frameworks/support/media/version-compat-tests/lib/src/main/java/android/support/mediacompat/testlib/util/
DPollingCheck.java76 public static void waitFor(final PollingCheckCondition condition) { in waitFor() method in PollingCheck
90 public static void waitFor(long timeout, final PollingCheckCondition condition) { in waitFor() method in PollingCheck
/frameworks/base/tests/testables/src/android/testing/
DPollingCheck.java76 public static void waitFor(final PollingCheckCondition condition) { in waitFor() method in PollingCheck
85 public static void waitFor(long timeout, final PollingCheckCondition condition) { in waitFor() method in PollingCheck
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/testutils/
DPollingCheck.java72 public static void waitFor(final PollingCheckCondition condition) { in waitFor() method in PollingCheck
86 public static void waitFor(long timeout, final PollingCheckCondition condition) { in waitFor() method in PollingCheck
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java326 waitFor(cv); in testWaitForIdle()
346 waitFor(cv); in verifyThatNotWaitingForIdleCausesRaceConditions()
542 waitFor(validatedCv); in connect()
1014 static private void waitFor(ConditionVariable conditionVariable) { in waitFor() method in ConnectivityServiceTest
1171 waitFor(cv); in testLingering()
1181 waitFor(cv); in testLingering()
1189 waitFor(mCellNetworkAgent.getDisconnectedCV()); in testLingering()
1198 waitFor(cv); in testLingering()
1208 waitFor(cv); in testValidatedCellularOutscoresUnvalidatedWiFi()
1223 waitFor(cv); in testValidatedCellularOutscoresUnvalidatedWiFi()
[all …]
/frameworks/base/core/tests/coretests/src/android/view/menu/
DContextMenuTest.java63 PollingCheck.waitFor( in testMenuPosition()
70 PollingCheck.waitFor( in testMenuPosition()
/frameworks/base/tests/BrowserPowerTest/src/com/android/browserpowertest/
DPowerMeasurement.java73 int exitVal = runsum.waitFor(); in testPageLoadStaticNYTimes()
76 exitVal = removal.waitFor(); in testPageLoadStaticNYTimes()
/frameworks/support/browser/src/androidTest/java/androidx/browser/customtabs/
DPostMessageTest.java126 PollingCheck.waitFor(500, new PollingCheck.PollingCheckCondition() { in testCustomTabsConnection()
135 PollingCheck.waitFor(500, new PollingCheck.PollingCheckCondition() { in testCustomTabsConnection()
DPostMessageServiceConnectionTest.java87 PollingCheck.waitFor(500, new PollingCheck.PollingCheckCondition() { in testNotifyChannelCreationAndSendMessages()
/frameworks/base/tests/JankBench/app/src/main/jni/
DWorkerPool.h36 void waitFor(uint64_t) const;
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
DScreenDecorWindowTests.java258 waitFor(() -> getInsets(activity).getSystemWindowInsetTop() == expected); in assertTopInsetEquals()
268 waitFor(() -> { in assertInsetGreaterOrEqual() method
293 private void waitFor(BooleanSupplier waitCondition) { in waitFor() method in ScreenDecorWindowTests
/frameworks/support/emoji/core/src/androidTest/java/androidx/emoji/text/
DEmojiKeyboardTest.java150 PollingCheck.waitFor(new PollingCheck.PollingCheckCondition() { in testBackDeleteWithHardwareKeyboard()
179 PollingCheck.waitFor(new PollingCheck.PollingCheckCondition() { in testForwardDeleteWithHardwareKeyboard()
/frameworks/support/content/src/androidTest/java/androidx/contentpager/content/
DLoaderQueryRunnerTest.java82 mCallback.waitFor(10); in testRunsQuery()

123