Home
last modified time | relevance | path

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

12

/frameworks/support/v7/recyclerview/tests/src/android/support/v7/util/
DThreadUtilTest.java119 Object[] data = waitFor("updateItemCount"); in updateItemCount()
128 Object[] data = waitFor("addTile"); in addTile()
136 Object[] data = waitFor("removeTile"); in removeTile()
146 Object[] data = waitFor("refresh"); in refresh()
154 Object[] data = waitFor("updateRange"); in rangeUpdate()
162 Object[] data = waitFor("loadTile"); in loadTile()
171 Object[] data = waitFor("recycleTile"); in recycleTile()
188 private Object[] waitFor(String key) throws InterruptedException { in waitFor() method in ThreadUtilTest
189 return results.get(key).waitFor(); in waitFor()
211 public Object[] waitFor() throws InterruptedException { in waitFor() method in ThreadUtilTest.LockedObject
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/app/
DDetailsFragmentTest.java153 PollingCheck.waitFor(4000, new PollingCheck.PollingCheckCondition() { in parallaxTest()
192 PollingCheck.waitFor(4000, new PollingCheck.PollingCheckCondition() { in parallaxTest()
281 PollingCheck.waitFor(4000, new PollingCheck.PollingCheckCondition() { in navigateBetweenRowsAndVideoUsingRequestFocusInternal()
304 PollingCheck.waitFor(4000, new PollingCheck.PollingCheckCondition() { in navigateBetweenRowsAndVideoUsingRequestFocusInternal()
318 PollingCheck.waitFor(4000, new PollingCheck.PollingCheckCondition() { in navigateBetweenRowsAndVideoUsingRequestFocusInternal()
345 PollingCheck.waitFor(4000, new PollingCheck.PollingCheckCondition() {
364 PollingCheck.waitFor(4000, new PollingCheck.PollingCheckCondition() {
372 PollingCheck.waitFor(8000, new PollingCheck.PollingCheckCondition() {
381 PollingCheck.waitFor(4000, new PollingCheck.PollingCheckCondition() {
416 PollingCheck.waitFor(4000, new PollingCheck.PollingCheckCondition() {
[all …]
DDetailsSupportFragmentTest.java156 PollingCheck.waitFor(4000, new PollingCheck.PollingCheckCondition() { in parallaxTest()
195 PollingCheck.waitFor(4000, new PollingCheck.PollingCheckCondition() { in parallaxTest()
284 PollingCheck.waitFor(4000, new PollingCheck.PollingCheckCondition() { in navigateBetweenRowsAndVideoUsingRequestFocusInternal()
307 PollingCheck.waitFor(4000, new PollingCheck.PollingCheckCondition() { in navigateBetweenRowsAndVideoUsingRequestFocusInternal()
321 PollingCheck.waitFor(4000, new PollingCheck.PollingCheckCondition() { in navigateBetweenRowsAndVideoUsingRequestFocusInternal()
348 PollingCheck.waitFor(4000, new PollingCheck.PollingCheckCondition() {
367 PollingCheck.waitFor(4000, new PollingCheck.PollingCheckCondition() {
375 PollingCheck.waitFor(8000, new PollingCheck.PollingCheckCondition() {
384 PollingCheck.waitFor(4000, new PollingCheck.PollingCheckCondition() {
419 PollingCheck.waitFor(4000, new PollingCheck.PollingCheckCondition() {
[all …]
DProgressBarManagerTest.java62 PollingCheck.waitFor(mWaitShownTimeOutMs, in defaultProgressBarView()
76 PollingCheck.waitFor(mWaitHideTimeOutMs, in defaultProgressBarView()
89 PollingCheck.waitFor(mWaitShownTimeOutMs, in defaultProgressBarView()
111 PollingCheck.waitFor(mWaitShownTimeOutMs, in customProgressBarView()
126 PollingCheck.waitFor(mWaitHideTimeOutMs, in customProgressBarView()
140 PollingCheck.waitFor(mWaitShownTimeOutMs, in customProgressBarView()
DGuidedStepSupportFragmentTest.java99 PollingCheck.waitFor(new EnterTransitionFinish(second)); in nextAndBack()
115 PollingCheck.waitFor(new EnterTransitionFinish(first)); in nextAndBack()
128 PollingCheck.waitFor(new PollingCheck.ActivityDestroy(activity)); in nextAndBack()
170 PollingCheck.waitFor(new EnterTransitionFinish(second)); in restoreFragments()
178 PollingCheck.waitFor(new EnterTransitionFinish(second)); in restoreFragments()
188 PollingCheck.waitFor(new EnterTransitionFinish(first)); in restoreFragments()
232 PollingCheck.waitFor(new PollingCheck.ActivityDestroy(activity)); in finishGuidedStepSupportFragment_finishes_activity()
328 PollingCheck.waitFor(new ExpandTransitionFinish(first)); in subActions()
336 PollingCheck.waitFor(new ExpandTransitionFinish(first)); in subActions()
340 PollingCheck.waitFor(new ExpandTransitionFinish(first)); in subActions()
[all …]
DGuidedStepFragmentTest.java96 PollingCheck.waitFor(new EnterTransitionFinish(second)); in nextAndBack()
112 PollingCheck.waitFor(new EnterTransitionFinish(first)); in nextAndBack()
125 PollingCheck.waitFor(new PollingCheck.ActivityDestroy(activity)); in nextAndBack()
167 PollingCheck.waitFor(new EnterTransitionFinish(second)); in restoreFragments()
175 PollingCheck.waitFor(new EnterTransitionFinish(second)); in restoreFragments()
185 PollingCheck.waitFor(new EnterTransitionFinish(first)); in restoreFragments()
229 PollingCheck.waitFor(new PollingCheck.ActivityDestroy(activity)); in finishGuidedStepFragment_finishes_activity()
325 PollingCheck.waitFor(new ExpandTransitionFinish(first)); in subActions()
333 PollingCheck.waitFor(new ExpandTransitionFinish(first)); in subActions()
337 PollingCheck.waitFor(new ExpandTransitionFinish(first)); in subActions()
[all …]
DVideoSupportFragmentTest.java208 PollingCheck.waitFor(5000, new PollingCheck.PollingCheckCondition() { in mediaPlayerGlueInVideoSupportFragment()
228 PollingCheck.waitFor(5000, new PollingCheck.PollingCheckCondition() { in mediaPlayerGlueInVideoSupportFragment()
246 PollingCheck.waitFor(5000, new PollingCheck.PollingCheckCondition() { in mediaPlayerGlueInVideoSupportFragment()
DVideoFragmentTest.java205 PollingCheck.waitFor(5000, new PollingCheck.PollingCheckCondition() { in mediaPlayerGlueInVideoFragment()
225 PollingCheck.waitFor(5000, new PollingCheck.PollingCheckCondition() { in mediaPlayerGlueInVideoFragment()
243 PollingCheck.waitFor(5000, new PollingCheck.PollingCheckCondition() { in mediaPlayerGlueInVideoFragment()
DBrowseSupportFragmentTest.java74 PollingCheck.waitFor(WAIT_TRANSIITON_TIMEOUT, new PollingCheck.PollingCheckCondition() { in waitForEntranceTransitionFinished()
92 PollingCheck.waitFor(WAIT_TRANSIITON_TIMEOUT, new PollingCheck.ViewStableOnScreen(row)); in waitForHeaderTransitionFinished()
209 PollingCheck.waitFor(new PollingCheck.PollingCheckCondition() { in lateLoadingHeaderDisabled()
DBrowseFragmentTest.java71 PollingCheck.waitFor(WAIT_TRANSIITON_TIMEOUT, new PollingCheck.PollingCheckCondition() { in waitForEntranceTransitionFinished()
89 PollingCheck.waitFor(WAIT_TRANSIITON_TIMEOUT, new PollingCheck.ViewStableOnScreen(row)); in waitForHeaderTransitionFinished()
206 PollingCheck.waitFor(new PollingCheck.PollingCheckCondition() { in lateLoadingHeaderDisabled()
DBackgroundManagerTest.java56 PollingCheck.waitFor(5000/* timeout */, new PollingCheck.PollingCheckCondition() { in waitForActivityStop()
72 PollingCheck.waitFor(5000/* timeout */, new PollingCheck.PollingCheckCondition() { in waitForBackgroundAnimationFinish()
164 PollingCheck.waitFor(5000/*timeout*/, new PollingCheck.PollingCheckCondition() { in launchActivity()
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java239 waitFor(cv); in testWaitForIdle()
258 waitFor(cv); in verifyThatNotWaitingForIdleCausesRaceConditions()
422 waitFor(validatedCv); in connect()
769 static private void waitFor(ConditionVariable conditionVariable) { in waitFor() method in ConnectivityServiceTest
893 waitFor(cv); in testLingering()
903 waitFor(cv); in testLingering()
911 waitFor(mCellNetworkAgent.getDisconnectedCV()); in testLingering()
920 waitFor(cv); in testLingering()
930 waitFor(cv); in testValidatedCellularOutscoresUnvalidatedWiFi()
945 waitFor(cv); in testValidatedCellularOutscoresUnvalidatedWiFi()
[all …]
/frameworks/support/testutils/src/main/java/android/support/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/support/v17/leanback/tests/java/android/support/v17/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/BrowserPowerTest/src/com/android/browserpowertest/
DPowerMeasurement.java73 int exitVal = runsum.waitFor(); in testPageLoadStaticNYTimes()
76 exitVal = removal.waitFor(); in testPageLoadStaticNYTimes()
/frameworks/support/design/tests/src/android/support/design/widget/
DAppBarWithCollapsingToolbarStateRestoreTest.java57 PollingCheck.waitFor(new PollingCheck.PollingCheckCondition() { in tearDown()
84 PollingCheck.waitFor(new PollingCheck.PollingCheckCondition() { in testRotateAndRestore()
DAppBarWithCollapsingToolbarTest.java391 PollingCheck.waitFor(new PollingCheck.PollingCheckCondition() { in testPinnedToolbarAndAnchoredFab()
412 PollingCheck.waitFor(new PollingCheck.PollingCheckCondition() { in testPinnedToolbarAndAnchoredFab()
/frameworks/support/customtabs/tests/src/android/support/customtabs/
DPostMessageTest.java129 PollingCheck.waitFor(500, new PollingCheck.PollingCheckCondition() { in testCustomTabsConnection()
138 PollingCheck.waitFor(500, new PollingCheck.PollingCheckCondition() { in testCustomTabsConnection()
DPostMessageServiceConnectionTest.java86 PollingCheck.waitFor(500, new PollingCheck.PollingCheckCondition() { in testNotifyChannelCreationAndSendMessages()
/frameworks/support/emoji/core/tests/java/android/support/text/emoji/
DEmojiKeyboardTest.java149 PollingCheck.waitFor(new PollingCheck.PollingCheckCondition() { in testBackDeleteWithHardwareKeyboard()
178 PollingCheck.waitFor(new PollingCheck.PollingCheckCondition() { in testForwardDeleteWithHardwareKeyboard()
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/media/
DMediaPlayerGlueTest.java80 PollingCheck.waitFor(new PollingCheck.PollingCheckCondition() { in mediaPlayer()
/frameworks/support/v7/appcompat/tests/src/android/support/v7/widget/
DSearchView_CursorTest.java217 PollingCheck.waitFor(new PollingCheck.PollingCheckCondition() { in testSuggestionSelection()
/frameworks/support/core-ui/tests/java/android/support/v4/widget/
DSwipeRefreshLayoutTest.java91 PollingCheck.waitFor(TIMEOUT, new PollingCheck.PollingCheckCondition() { in testStartAndStopRefreshing()
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/
DGridWidgetTest.java3903 PollingCheck.waitFor(timeout, new PollingCheck.PollingCheckCondition() {
3938 PollingCheck.waitFor(new PollingCheck.PollingCheckCondition() {
3951 PollingCheck.waitFor(new PollingCheck.PollingCheckCondition() {
3991 PollingCheck.waitFor(new PollingCheck.PollingCheckCondition() { in testAnimateOutBlockSmoothScrolling()
4004 PollingCheck.waitFor(10000, new PollingCheck.PollingCheckCondition() { in testAnimateOutBlockSmoothScrolling()
4045 PollingCheck.waitFor(new PollingCheck.PollingCheckCondition() { in testAnimateOutBlockLongScrollTo()
4058 PollingCheck.waitFor(10000, new PollingCheck.PollingCheckCondition() { in testAnimateOutBlockLongScrollTo()
4099 PollingCheck.waitFor(new PollingCheck.PollingCheckCondition() { in testAnimateOutBlockLayout()
4112 PollingCheck.waitFor(new PollingCheck.PollingCheckCondition() { in testAnimateOutBlockLayout()
4127 PollingCheck.waitFor(1000, new PollingCheck.PollingCheckCondition() { in testAnimateOutBlockLayout()
[all …]
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/helper/
DItemTouchHelperTest.java149 PollingCheck.waitFor(1000, new PollingCheck.PollingCheckCondition() { in basicSwipeTest()

12