Home
last modified time | relevance | path

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

123

/cts/libs/deviceutil/src/android/cts/util/
DPollingCheck.java23 public abstract class PollingCheck { class
31 public PollingCheck() { in PollingCheck() method in PollingCheck
34 public PollingCheck(long timeout) { in PollingCheck() method in PollingCheck
78 new PollingCheck() { in waitFor() method
/cts/tests/app/src/android/app/cts/
DIntentServiceTest.java25 import android.cts.util.PollingCheck;
62 PollingCheck.check("onHandleIntentCalled not called enough", TIMEOUT_MSEC, in testIntents()
70 PollingCheck.check("accumulator not correct", TIMEOUT_MSEC, new Callable<Boolean>() { in testIntents()
77 PollingCheck.check("onDestroyCalled not called", TIMEOUT_MSEC, new Callable<Boolean>() { in testIntents()
88 new PollingCheck(TIMEOUT_MSEC) { in testIntentServiceLifeCycle() method
99 new PollingCheck(TIMEOUT_MSEC) { in testIntentServiceLifeCycle() method
DAlarmManagerTest.java27 import android.cts.util.PollingCheck;
123 new PollingCheck(SNOOZE_DELAY + TIME_DELAY) { in testSetTypes()
135 new PollingCheck(SNOOZE_DELAY + TIME_DELAY) { in testSetTypes()
147 new PollingCheck(SNOOZE_DELAY + TIME_DELAY) { in testSetTypes()
159 new PollingCheck(SNOOZE_DELAY + TIME_DELAY) { in testSetTypes()
175 new PollingCheck(TIME_DELAY) { in testAlarmTriggersImmediatelyIfSetTimeIsNegative() method
197 new PollingCheck(TEST_WINDOW_LENGTH + (windowStart - now) + 500) { in testExactAlarmBatching()
207 new PollingCheck(timeToExact) { in testExactAlarmBatching() method
233 new PollingCheck(TEST_ALARM_FUTURITY + REPEAT_PERIOD) { in testSetRepeating()
243 new PollingCheck(REPEAT_PERIOD*2) { in testSetRepeating()
[all …]
/cts/tests/tests/webkit/src/android/webkit/cts/
DGeolocationTest.java22 import android.cts.util.PollingCheck;
341 PollingCheck.check("Geolocation prompt not called", POLLING_TIMEOUT, receivedRequest); in testSimpleGeolocationRequestAcceptOnce()
348 PollingCheck.check("JS didn't get position", POLLING_TIMEOUT, receivedLocation); in testSimpleGeolocationRequestAcceptOnce()
352 PollingCheck.check("Geolocation prompt not called", POLLING_TIMEOUT, receivedRequest); in testSimpleGeolocationRequestAcceptOnce()
353 PollingCheck.check("JS didn't get position", POLLING_TIMEOUT, receivedLocation); in testSimpleGeolocationRequestAcceptOnce()
356 private static class OriginCheck extends PollingCheck implements
396 private static class BooleanCheck extends PollingCheck implements
435 PollingCheck.check("Geolocation prompt not called", POLLING_TIMEOUT, receivedRequest); in testSimpleGeolocationRequestAcceptAlways()
442 PollingCheck.check("JS didn't get position", POLLING_TIMEOUT, receivedLocation); in testSimpleGeolocationRequestAcceptAlways()
447 PollingCheck.check("JS didn't get position", POLLING_TIMEOUT, receivedLocation); in testSimpleGeolocationRequestAcceptAlways()
[all …]
DWebChromeClientTest.java20 import android.cts.util.PollingCheck;
81 new PollingCheck(TEST_TIMEOUT) { in testOnProgressChanged() method
100 new PollingCheck(TEST_TIMEOUT) { in testOnReceivedTitle() method
135 new PollingCheck(TEST_TIMEOUT) { in testOnReceivedIcon() method
160 new PollingCheck(TEST_TIMEOUT) { in runWindowTest() method
168 new PollingCheck(TEST_TIMEOUT) { in runWindowTest() method
218 new PollingCheck(TEST_TIMEOUT) { in testOnJsBeforeUnloadIsCalled() method
242 new PollingCheck(TEST_TIMEOUT) { in testOnJsAlert() method
267 new PollingCheck(TEST_TIMEOUT) { in testOnJsConfirm() method
294 new PollingCheck(TEST_TIMEOUT) { in testOnJsPrompt() method
[all …]
DWebViewClientTest.java21 import android.cts.util.PollingCheck;
63 new PollingCheck(TEST_TIMEOUT) { in setUp() method
149 new PollingCheck(TEST_TIMEOUT) { in testShouldOverrideUrlLoadingOnCreateWindow() method
198 new PollingCheck(TEST_TIMEOUT) { in testLoadPage() method
205 new PollingCheck(TEST_TIMEOUT) { in testLoadPage() method
212 new PollingCheck(TEST_TIMEOUT) { in testLoadPage() method
241 new PollingCheck(TEST_TIMEOUT) { in testOnReceivedLoginRequest() method
319 new PollingCheck(TEST_TIMEOUT) { in testOnFormResubmission() method
340 new PollingCheck(TEST_TIMEOUT) { in testDoUpdateVisitedHistory() method
386 new PollingCheck(TEST_TIMEOUT) { in testOnUnhandledKeyEvent() method
[all …]
DServiceWorkerClientTest.java19 import android.cts.util.PollingCheck;
152 PollingCheck.check("JS could not register Service Worker", POLLING_TIMEOUT, in testServiceWorkerClientInterceptCallback()
161 PollingCheck.check("Service Worker intercept callbacks not invoked", POLLING_TIMEOUT, in testServiceWorkerClientInterceptCallback()
DWebSettingsTest.java20 import android.cts.util.PollingCheck;
228 new PollingCheck(WEBVIEW_TIMEOUT) { in testAccessCacheMode() method
237 new PollingCheck(WEBVIEW_TIMEOUT) { in testAccessCacheMode() method
249 new PollingCheck(WEBVIEW_TIMEOUT) { in testAccessCacheMode() method
258 new PollingCheck(WEBVIEW_TIMEOUT) { in testAccessCacheMode() method
272 new PollingCheck(WEBVIEW_TIMEOUT) { in testAccessCacheMode()
409 new PollingCheck(WEBVIEW_TIMEOUT) {
419 new PollingCheck(WEBVIEW_TIMEOUT) {
434 new PollingCheck(WEBVIEW_TIMEOUT) {
444 new PollingCheck(WEBVIEW_TIMEOUT) {
[all …]
DWebViewTest.java24 import android.cts.util.PollingCheck;
146 new PollingCheck() { in setUp() method
1043 new PollingCheck(TEST_TIMEOUT) {
1087 new PollingCheck(TEST_TIMEOUT) {
1149 new PollingCheck(TEST_TIMEOUT) {
1161 new PollingCheck(TEST_TIMEOUT) {
1182 new PollingCheck(TEST_TIMEOUT) {
1192 new PollingCheck(TEST_TIMEOUT) {
1604 new PollingCheck() {
1614 class ScrollDiffPollingCheck extends PollingCheck {
[all …]
/cts/tests/tests/tv/src/android/media/tv/cts/
DTvInputServiceTest.java22 import android.cts.util.PollingCheck;
292 new PollingCheck(TIME_OUT) { in verifyCommandTuneForRecording() method
307 new PollingCheck(TIME_OUT) { in verifyCommandTuneForRecordingWithBundle() method
323 new PollingCheck(TIME_OUT) { in verifyCommandRelease() method
337 new PollingCheck(TIME_OUT) { in verifyCommandStartRecording() method
351 new PollingCheck(TIME_OUT) { in verifyCommandStopRecording() method
365 new PollingCheck(TIME_OUT) { in verifyCommandSendAppPrivateCommandForRecording() method
384 new PollingCheck(TIME_OUT) { in verifyCallbackTuned() method
400 new PollingCheck(TIME_OUT) { in verifyCallbackError() method
416 new PollingCheck(TIME_OUT) { in verifyCallbackRecordingStopped() method
[all …]
DTvInputManagerTest.java22 import android.cts.util.PollingCheck;
172 new PollingCheck(TIME_OUT_MS) { in testInputAddedAndRemoved() method
185 new PollingCheck(TIME_OUT_MS) { in testInputAddedAndRemoved() method
221 new PollingCheck(TIME_OUT_MS) { in testTvInputInfoUpdated() method
230 new PollingCheck(TIME_OUT_MS) { in testTvInputInfoUpdated() method
/cts/tests/tests/widget/src/android/widget/cts/
DFilterTest.java20 import android.cts.util.PollingCheck;
69 new PollingCheck(TIME_OUT) { in testFilter1() method
77 new PollingCheck(TIME_OUT) { in testFilter1() method
97 new PollingCheck(TIME_OUT) { in testFilter2() method
105 new PollingCheck(TIME_OUT) { in testFilter2() method
114 new PollingCheck(TIME_OUT) { in testFilter2() method
DVideoViewTest.java25 import android.cts.util.PollingCheck;
203 new PollingCheck(TIME_OUT) { in testPlayVideo1() method
217 new PollingCheck(mVideoView.getDuration() + TIME_OUT) { in testPlayVideo1()
239 new PollingCheck(TIME_OUT) { in testSetOnErrorListener() method
265 new PollingCheck(TIME_OUT) { in testGetBufferPercentage() method
DExpandableListViewWithHeadersTest.java20 import android.cts.util.PollingCheck;
42 new PollingCheck() { in setUp() method
DSlidingDrawerTest.java27 import android.cts.util.PollingCheck;
130 new PollingCheck() { in testAnimateOpenAndClose() method
148 new PollingCheck() { in testAnimateOpenAndClose() method
174 new PollingCheck() { in testAnimateToggle() method
192 new PollingCheck() { in testAnimateToggle() method
203 new PollingCheck() { in assertOpened() method
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DPollingCheck.java23 public abstract class PollingCheck { class
28 public PollingCheck() { in PollingCheck() method in PollingCheck
31 public PollingCheck(long timeoutMs) { in PollingCheck() method in PollingCheck
/cts/tests/tests/media/src/android/media/cts/
DMediaBrowserTest.java19 import android.cts.util.PollingCheck;
79 new PollingCheck(TIME_OUT_MS) { in testConnectionFailed() method
105 new PollingCheck(TIME_OUT_MS) { in testSubscribe() method
133 new PollingCheck(TIME_OUT_MS) { in testSubscribeWithOptions() method
160 new PollingCheck(TIME_OUT_MS) { in testSubscribeInvalidItem() method
182 new PollingCheck(TIME_OUT_MS) { in testSubscribeInvalidItemWithOptions() method
200 new PollingCheck(TIME_OUT_MS) { in testGetItem() method
216 new PollingCheck(TIME_OUT_MS) { in testGetItemFailure() method
238 new PollingCheck(TIME_OUT_MS) { in connectMediaBrowserService() method
DMediaScannerConnectionTest.java25 import android.cts.util.PollingCheck;
101 new PollingCheck(TIME_OUT) { in checkMediaScannerConnection() method
106 new PollingCheck(TIME_OUT) { in checkMediaScannerConnection() method
114 new PollingCheck(TIME_OUT) { in checkConnectionState() method
/cts/tests/tests/view/src/android/view/animation/cts/
DAnimationTestUtils.java20 import android.cts.util.PollingCheck;
70 new PollingCheck() { in assertRunAnimation() method
78 new PollingCheck(duration + TIMEOUT_DELTA) { in assertRunAnimation()
/cts/tests/tests/view/src/android/view/cts/
DViewTreeObserverTest.java23 import android.cts.util.PollingCheck;
48 new PollingCheck() { in setUp() method
96 new PollingCheck() { in testAddOnGlobalFocusChangeListener() method
148 new PollingCheck() { in testAddOnTouchModeChangeListener() method
225 new PollingCheck() { in testRemoveOnGlobalFocusChangeListener() method
243 new PollingCheck() { in testRemoveOnGlobalFocusChangeListener() method
286 new PollingCheck() { in testRemoveOnTouchModeChangeListener() method
303 new PollingCheck() { in testRemoveOnTouchModeChangeListener() method
328 new PollingCheck() { in testAccessOnScrollChangedListener() method
DFrameMetricsListenerTest.java23 import android.cts.util.PollingCheck;
101 new PollingCheck() { in testReceiveData() method
177 new PollingCheck() { in testMultipleListeners() method
233 new PollingCheck() { in testDropCount() method
/cts/tests/tests/content/src/android/content/cts/
DClipboardManagerListenerTest.java21 import android.cts.util.PollingCheck;
60 new PollingCheck() { in assertClipChangedCount() method
/cts/tests/tests/view/src/android/view/inputmethod/cts/
DInputMethodManagerTest.java23 import android.cts.util.PollingCheck;
70 new PollingCheck(1000) { in testInputMethodManager()
91 new PollingCheck() { in testInputMethodManager() method
/cts/tests/app/app/src/android/app/stubs/
DIntentServiceStub.java21 import android.cts.util.PollingCheck;
53 new PollingCheck(timeout) { in waitToFinish() method
/cts/tests/tests/net/src/android/net/wifi/cts/
DWifiInfoTest.java24 import android.cts.util.PollingCheck;
140 PollingCheck.check("getNetworkId not -1", 20000, new Callable<Boolean>() { in testWifiInfoProperties()
148 PollingCheck.check("getWifiState not disabled", 20000, new Callable<Boolean>() { in testWifiInfoProperties()

123