Home
last modified time | relevance | path

Searched refs:PollingCheck (Results 1 – 25 of 46) sorted by relevance

12

/frameworks/support/leanback/src/androidTest/java/androidx/leanback/app/
DDetailsSupportFragmentTest.java45 import androidx.leanback.testutils.PollingCheck;
155 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() {
[all …]
DDetailsFragmentTest.java48 import androidx.leanback.testutils.PollingCheck;
158 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() {
[all …]
DProgressBarManagerTest.java27 import androidx.leanback.testutils.PollingCheck;
63 PollingCheck.waitFor(mWaitShownTimeOutMs, in defaultProgressBarView()
64 new PollingCheck.PollingCheckCondition() { in defaultProgressBarView()
77 PollingCheck.waitFor(mWaitHideTimeOutMs, in defaultProgressBarView()
78 new PollingCheck.PollingCheckCondition() { in defaultProgressBarView()
90 PollingCheck.waitFor(mWaitShownTimeOutMs, in defaultProgressBarView()
91 new PollingCheck.PollingCheckCondition() { in defaultProgressBarView()
112 PollingCheck.waitFor(mWaitShownTimeOutMs, in customProgressBarView()
113 new PollingCheck.PollingCheckCondition() { in customProgressBarView()
127 PollingCheck.waitFor(mWaitHideTimeOutMs, in customProgressBarView()
[all …]
DGuidedStepFragmentTest.java40 import androidx.leanback.testutils.PollingCheck;
105 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()
[all …]
DGuidedStepSupportFragmentTest.java37 import androidx.leanback.testutils.PollingCheck;
102 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()
[all …]
DVideoFragmentTest.java42 import androidx.leanback.testutils.PollingCheck;
207 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.java39 import androidx.leanback.testutils.PollingCheck;
204 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()
DGuidedStepSupportFragmentTestBase.java29 import androidx.leanback.testutils.PollingCheck;
50 public static class ExpandTransitionFinish extends PollingCheck.PollingCheckCondition {
80 public static class EnterTransitionFinish extends PollingCheck.PollingCheckCondition {
81 PollingCheck.ViewScreenPositionDetector mDector =
82 new PollingCheck.ViewScreenPositionDetector();
DGuidedStepFragmentTestBase.java32 import androidx.leanback.testutils.PollingCheck;
53 public static class ExpandTransitionFinish extends PollingCheck.PollingCheckCondition {
83 public static class EnterTransitionFinish extends PollingCheck.PollingCheckCondition {
84 PollingCheck.ViewScreenPositionDetector mDector =
85 new PollingCheck.ViewScreenPositionDetector();
DBrowseFragmentTest.java48 import androidx.leanback.testutils.PollingCheck;
89 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.java45 import androidx.leanback.testutils.PollingCheck;
86 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.java27 import androidx.testutils.PollingCheck;
58 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/base/tests/testables/src/android/testing/
DPollingCheck.java22 public abstract class PollingCheck { class
30 public PollingCheck() { in PollingCheck() method in PollingCheck
33 public PollingCheck(long timeout) { in PollingCheck() method in PollingCheck
77 new PollingCheck() { in waitFor() method
86 new PollingCheck(timeout) { in waitFor() method
/frameworks/support/testutils/src/main/java/androidx/testutils/
DPollingCheck.java24 public abstract class PollingCheck { class
39 public PollingCheck(long timeout) { in PollingCheck() method in PollingCheck
76 new PollingCheck(DEFAULT_TIMEOUT) { in waitFor() method
90 new PollingCheck(timeout) { in waitFor() method
/frameworks/base/core/tests/coretests/src/android/util/
DPollingCheck.java26 public abstract class PollingCheck { class
43 public PollingCheck(long timeout) { in PollingCheck() method in PollingCheck
81 new PollingCheck(DEFAULT_TIMEOUT) { in waitFor() method
96 new PollingCheck(timeout) { in waitFor() method
/frameworks/support/media/version-compat-tests/lib/src/main/java/android/support/mediacompat/testlib/util/
DPollingCheck.java25 public abstract class PollingCheck { class
40 public PollingCheck(long timeout) { in PollingCheck() method in PollingCheck
77 new PollingCheck(DEFAULT_TIMEOUT) { in waitFor() method
91 new PollingCheck(timeout) { in waitFor() method
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/testutils/
DPollingCheck.java23 public abstract class PollingCheck { class
36 public PollingCheck() { in PollingCheck() method in PollingCheck
39 public PollingCheck(long timeout) { in PollingCheck() method in PollingCheck
73 new PollingCheck() { in waitFor() method
87 new PollingCheck(timeout) { in waitFor() method
/frameworks/support/browser/src/androidTest/java/androidx/browser/customtabs/
DPostMessageTest.java33 import androidx.testutils.PollingCheck;
126 PollingCheck.waitFor(500, new PollingCheck.PollingCheckCondition() { in testCustomTabsConnection()
135 PollingCheck.waitFor(500, new PollingCheck.PollingCheckCondition() { in testCustomTabsConnection()
DPostMessageServiceConnectionTest.java30 import androidx.testutils.PollingCheck;
87 PollingCheck.waitFor(500, new PollingCheck.PollingCheckCondition() { in testNotifyChannelCreationAndSendMessages()
/frameworks/base/core/tests/coretests/src/android/view/menu/
DContextMenuTest.java23 import android.util.PollingCheck;
63 PollingCheck.waitFor( in testMenuPosition()
70 PollingCheck.waitFor( in testMenuPosition()
/frameworks/support/emoji/core/src/androidTest/java/androidx/emoji/text/
DEmojiKeyboardTest.java40 import androidx.testutils.PollingCheck;
150 PollingCheck.waitFor(new PollingCheck.PollingCheckCondition() { in testBackDeleteWithHardwareKeyboard()
179 PollingCheck.waitFor(new PollingCheck.PollingCheckCondition() { in testForwardDeleteWithHardwareKeyboard()
/frameworks/support/webkit/src/androidTest/java/androidx/webkit/
DPollingCheck.java29 public abstract class PollingCheck { class
33 public PollingCheck(long timeout) { in PollingCheck() method in PollingCheck
DServiceWorkerClientCompatTest.java161 PollingCheck.check("JS could not register Service Worker", POLLING_TIMEOUT, in testServiceWorkerClientInterceptCallback()
170 PollingCheck.check("Service Worker intercept callbacks not invoked", POLLING_TIMEOUT, in testServiceWorkerClientInterceptCallback()
186 PollingCheck.check("JS could not unregister Service Worker", POLLING_TIMEOUT, in testServiceWorkerClientInterceptCallback()
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/media/
DMediaPlayerGlueTest.java33 import androidx.leanback.testutils.PollingCheck;
82 PollingCheck.waitFor(new PollingCheck.PollingCheckCondition() { in mediaPlayer()
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/
DImageCardViewTest.java37 import androidx.leanback.testutils.PollingCheck;
283 PollingCheck.waitFor(2 * ANIMATION_DURATION, new PollingCheck.PollingCheckCondition() { in testSetMainImageTest3()
493 PollingCheck.waitFor(2 * ANIMATION_DURATION, new PollingCheck.PollingCheckCondition() { in testSetMainImageInTransitionTest3()

12