Home
last modified time | relevance | path

Searched refs:await (Results 1 – 25 of 66) sorted by relevance

123

/frameworks/base/core/tests/coretests/src/android/transition/
DFadeTransitionTest.java51 assertTrue(latch.startLatch.await(200, TimeUnit.MILLISECONDS)); in testFadeOutAndIn()
55 assertTrue(latch.endLatch.await(400, TimeUnit.MILLISECONDS)); in testFadeOutAndIn()
61 assertTrue(latch.startLatch.await(200, TimeUnit.MILLISECONDS)); in testFadeOutAndIn()
67 assertTrue(latch.endLatch.await(400, TimeUnit.MILLISECONDS)); in testFadeOutAndIn()
79 assertTrue(outLatch.startLatch.await(200, TimeUnit.MILLISECONDS)); in testFadeOutInterrupt()
86 assertTrue(inLatch.startLatch.await(200, TimeUnit.MILLISECONDS)); in testFadeOutInterrupt()
94 assertTrue(inLatch.endLatch.await(400, TimeUnit.MILLISECONDS)); in testFadeOutInterrupt()
112 assertTrue(inLatch.startLatch.await(200, TimeUnit.MILLISECONDS)); in testFadeInInterrupt()
119 assertTrue(outLatch.startLatch.await(200, TimeUnit.MILLISECONDS)); in testFadeInInterrupt()
127 assertTrue(outLatch.endLatch.await(400, TimeUnit.MILLISECONDS)); in testFadeInInterrupt()
DSlideTransitionTest.java59 assertTrue(latch.startLatch.await(200, TimeUnit.MILLISECONDS)); in testShortSlide()
65 assertTrue(latch.endLatch.await(400, TimeUnit.MILLISECONDS)); in testShortSlide()
76 assertTrue(latch.startLatch.await(200, TimeUnit.MILLISECONDS)); in testShortSlide()
82 assertTrue(latch.endLatch.await(400, TimeUnit.MILLISECONDS)); in testShortSlide()
/frameworks/support/v4/tests/java/android/support/v4/view/
DViewPropertyAnimatorCompatTest.java66 assertTrue(latch1.await(300, TimeUnit.MILLISECONDS)); in testWithEndAction()
84 assertTrue(latch2.await(200, TimeUnit.MILLISECONDS)); in testWithEndAction()
102 assertTrue(latch1.await(100, TimeUnit.MILLISECONDS)); in testWithStartAction()
120 assertTrue(latch2.await(200, TimeUnit.MILLISECONDS)); in testWithStartAction()
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/services/
DTestContentResolver.java65 if (!mNotificationSignal.await(timeOut, TimeUnit.MILLISECONDS)) { in waitForChanges()
74 mReadySignal.await(); in notifyChange()
DTestJobListener.java112 latch.await(500, TimeUnit.MILLISECONDS); in waitForFinished()
/frameworks/support/v4/tests/java/android/support/v4/app/
DNestedFragmentTest.java55 assertTrue(latch.await(1, TimeUnit.SECONDS)); in setUp()
87 assertTrue(latch.await(1, TimeUnit.SECONDS)); in testNestedFragmentStartActivityForResult()
DNestedFragmentRestoreTest.java87 assertTrue("timeout waiting for recreate", latch.await(10, TimeUnit.SECONDS)); in recreateActivity()
/frameworks/base/core/java/android/speech/tts/
DSynthesisPlaybackQueueItem.java183 mNotFull.await(); in put()
209 mReadReady.await(); in take()
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DAsyncListUtilLayoutTest.java219 return mTilesLatch.await(timeoutInSeconds, TimeUnit.SECONDS); in waitForTiles()
304 return mItemsLatch.await(timeoutInSeconds, TimeUnit.SECONDS); in waitForItems()
321 mLayoutLatch.await(seconds * (DEBUG ? 100 : 1), SECONDS); in waitForLayout()
DBaseRecyclerViewInstrumentationTest.java282 latch.await(seconds, TimeUnit.SECONDS)); in waitForAnimations()
306 assertTrue("should go idle in 10 seconds", latch.await(10, TimeUnit.SECONDS)); in waitForIdleScroll()
472 viewAdded.await(10, TimeUnit.SECONDS), in smoothScrollToPosition()
542 layoutLatch.await(seconds * (mDebug ? 1000 : 1), SECONDS); in waitForLayout()
568 layoutLatch.await(timeout, TimeUnit.SECONDS); in assertLayoutCount()
573 layoutLatch.await(timeout, TimeUnit.SECONDS); in assertNoLayout()
DTestActivity.java68 if (!done.await(5, TimeUnit.SECONDS)) { in resetContent()
DBaseLinearLayoutManagerTest.java356 layoutLatch.await(seconds * (DEBUG ? 100 : 1), SECONDS); in waitForLayout()
447 latch.await(timeoutInSeconds, TimeUnit.SECONDS); in waitForAnimationsToEnd()
DLoggingItemAnimator.java137 mWaitForPendingAnimations.await(seconds, TimeUnit.SECONDS); in waitForPendingAnimationsCall()
DBaseGridLayoutManagerTest.java201 mLayoutLatch.await(seconds * (DEBUG ? 1000 : 1), SECONDS); in waitForLayout()
DRecyclerViewLayoutTest.java688 assertTrue(focusLatch.await(2, TimeUnit.SECONDS)); in testFocusSearchFailFrozen()
1547 assertTrue(animationsLatch.await(2, TimeUnit.SECONDS)); in avoidLeakingRecyclerViewIfViewIsNotRecycled()
1582 assertTrue(animationsLatch.await(2, TimeUnit.SECONDS)); in avoidLeakingRecyclerViewViaViewHolder()
1819 latch.await(5, TimeUnit.SECONDS); in scrollStateForSmoothScroll()
1850 latch.await(5, TimeUnit.SECONDS); in scrollStateForSmoothScrollWithStop()
1891 latch.await(5, TimeUnit.SECONDS); in scrollStateForFling()
1925 latch.await(5, TimeUnit.SECONDS); in scrollStateForFlingWithStop()
2169 assertTrue("on start should be called very soon", calledOnStart.await(2, TimeUnit.SECONDS)); in smoothScrollTest()
2192 targetCheck.await(10, TimeUnit.SECONDS)); in smoothScrollTest()
2194 assertTrue("on stop should be called", calledOnStop.await(30, TimeUnit.SECONDS)); in smoothScrollTest()
[all …]
/frameworks/support/v4/tests/java/android/support/v4/app/test/
DFragmentTestActivity.java149 return l.startLatch.await(500,TimeUnit.MILLISECONDS); in waitForStart()
155 return l.endLatch.await(500,TimeUnit.MILLISECONDS); in waitForEnd()
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/util/
DAsyncListUtilTest.java63 new CountDownLatch(1).await(500, TimeUnit.MILLISECONDS); in tearDown()
147 assertTrue("timed out waiting for " + context, latch.await(1, TimeUnit.SECONDS)); in waitForLatch()
/frameworks/base/packages/DocumentsUI/app-perf-tests/src/com/android/documentsui/
DFilesAppPerfTest.java78 LauncherActivity.testCaseLatch.await(); in runFilesStartPerformanceTest()
/frameworks/base/packages/DocumentsUI/perf-tests/src/com/android/documentsui/
DFilesActivityPerfTest.java119 signal.await(); in testFilesListedPerformance()
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
DRootScanner.java188 mStopped.await(pollingCount > SHORT_POLLING_TIMES ? in run()
/frameworks/support/documents-archive/tests/src/android/support/provider/
DIntegrationTest.java109 changeSignal.await(); in testQueryForDocument_ArchiveDescendant()
/frameworks/base/core/java/android/app/
DSharedPreferencesImpl.java366 mcr.writtenToDiskLatch.await(); in apply()
461 mcr.writtenToDiskLatch.await(); in commit()
/frameworks/base/core/java/android/content/
DAsyncTaskLoader.java120 mDone.await(); in waitForLoader()
/frameworks/support/v4/java/android/support/v4/content/
DAsyncTaskLoader.java105 mDone.await(); in waitForLoader()
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/
DDocumentLoaderTest.java221 latch.await(); in getObjectInfo()

123