Home
last modified time | relevance | path

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

123

/cts/tests/tests/app/src/android/app/cts/
DIntentServiceTest.java23 import android.cts.util.PollingCheck;
61 PollingCheck.check("onHandleIntentCalled not called enough", TIMEOUT_MSEC, in testIntents()
69 PollingCheck.check("accumulator not correct", TIMEOUT_MSEC, new Callable<Boolean>() { in testIntents()
76 PollingCheck.check("onDestroyCalled not called", TIMEOUT_MSEC, new Callable<Boolean>() { in testIntents()
87 new PollingCheck(TIMEOUT_MSEC) { in testIntentServiceLifeCycle() method
98 new PollingCheck(TIMEOUT_MSEC) { in testIntentServiceLifeCycle() method
DAlarmManagerTest.java26 import android.cts.util.PollingCheck;
122 new PollingCheck(SNOOZE_DELAY + TIME_DELAY) { in testSetTypes()
134 new PollingCheck(SNOOZE_DELAY + TIME_DELAY) { in testSetTypes()
146 new PollingCheck(SNOOZE_DELAY + TIME_DELAY) { in testSetTypes()
158 new PollingCheck(SNOOZE_DELAY + TIME_DELAY) { in testSetTypes()
174 new PollingCheck(TIME_DELAY) { in testAlarmTriggersImmediatelyIfSetTimeIsNegative() method
196 new PollingCheck(TEST_WINDOW_LENGTH + (windowStart - now) + 500) { in testExactAlarmBatching()
206 new PollingCheck(timeToExact) { in testExactAlarmBatching() method
232 new PollingCheck(TEST_ALARM_FUTURITY + REPEAT_PERIOD) { in testSetRepeating()
242 new PollingCheck(REPEAT_PERIOD*2) { in testSetRepeating()
[all …]
/cts/tests/tests/tv/src/android/media/tv/cts/
DTvInputServiceTest.java22 import android.cts.util.PollingCheck;
225 new PollingCheck(TIME_OUT) { in verifyCommandTune() method
238 new PollingCheck(TIME_OUT) { in verifyCommandSetStreamVolume() method
251 new PollingCheck(TIME_OUT) { in verifyCommandSetCaptionEnabled() method
265 new PollingCheck(TIME_OUT) { in verifyCommandSelectTrack() method
278 new PollingCheck(TIME_OUT) { in verifyCommandDispatchKeyDown() method
291 new PollingCheck(TIME_OUT) { in verifyCommandDispatchKeyMultiple() method
304 new PollingCheck(TIME_OUT) { in verifyCommandDispatchKeyUp() method
321 new PollingCheck(TIME_OUT) { in verifyCommandDispatchTouchEvent() method
338 new PollingCheck(TIME_OUT) { in verifyCommandDispatchTrackballEvent() method
[all …]
DBundledTvInputServiceTest.java22 import android.cts.util.PollingCheck;
144 new PollingCheck(TIME_OUT) { in testTune() method
174 new PollingCheck(TIME_OUT) { in testTuneStress() method
/cts/libs/deviceutil/src/android/cts/util/
DPollingCheck.java23 public abstract class PollingCheck { class
27 public PollingCheck() { in PollingCheck() method in PollingCheck
30 public PollingCheck(long timeout) { in PollingCheck() method in PollingCheck
DEvaluateJsResultPollingCheck.java21 public class EvaluateJsResultPollingCheck extends PollingCheck
/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/webkit/src/android/webkit/cts/
DGeolocationTest.java22 import android.cts.util.PollingCheck;
308 PollingCheck.check("Geolocation prompt not called", POLLING_TIMEOUT, receivedRequest); in testSimpleGeolocationRequestAcceptOnce()
315 PollingCheck.check("JS didn't get position", POLLING_TIMEOUT, receivedLocation); in testSimpleGeolocationRequestAcceptOnce()
319 PollingCheck.check("Geolocation prompt not called", POLLING_TIMEOUT, receivedRequest); in testSimpleGeolocationRequestAcceptOnce()
320 PollingCheck.check("JS didn't get position", POLLING_TIMEOUT, receivedLocation); in testSimpleGeolocationRequestAcceptOnce()
323 private static class OriginCheck extends PollingCheck implements
363 private static class BooleanCheck extends PollingCheck implements
402 PollingCheck.check("Geolocation prompt not called", POLLING_TIMEOUT, receivedRequest); in testSimpleGeolocationRequestAcceptAlways()
409 PollingCheck.check("JS didn't get position", POLLING_TIMEOUT, receivedLocation); in testSimpleGeolocationRequestAcceptAlways()
414 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 testOnJsBeforeUnload() method
243 new PollingCheck(TEST_TIMEOUT) { in testOnJsAlert() method
268 new PollingCheck(TEST_TIMEOUT) { in testOnJsConfirm() method
295 new PollingCheck(TEST_TIMEOUT) { in testOnJsPrompt() method
[all …]
DWebViewClientTest.java21 import android.cts.util.PollingCheck;
60 new PollingCheck(TEST_TIMEOUT) { in setUp() method
142 new PollingCheck(TEST_TIMEOUT) { in testShouldOverrideUrlLoadingOnCreateWindow() method
191 new PollingCheck(TEST_TIMEOUT) { in testLoadPage() method
198 new PollingCheck(TEST_TIMEOUT) { in testLoadPage() method
205 new PollingCheck(TEST_TIMEOUT) { in testLoadPage() method
278 new PollingCheck(TEST_TIMEOUT) { in testOnFormResubmission() method
299 new PollingCheck(TEST_TIMEOUT) { in testDoUpdateVisitedHistory() method
345 new PollingCheck(TEST_TIMEOUT) { in testOnUnhandledKeyEvent() method
365 new PollingCheck(TEST_TIMEOUT) { in testOnScaleChanged() method
[all …]
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 …]
DWebBackForwardListTest.java20 import android.cts.util.PollingCheck;
86 new PollingCheck(TEST_TIMEOUT) { in checkBackForwardList() 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/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/media/src/android/media/cts/
DMediaBrowserTest.java19 import android.cts.util.PollingCheck;
78 new PollingCheck(TIME_OUT_MS) { in testConnectionFailed() method
104 new PollingCheck(TIME_OUT_MS) { in testSubscribe() method
125 new PollingCheck(TIME_OUT_MS) { in testGetItem() method
141 new PollingCheck(TIME_OUT_MS) { in testGetItemFailure() method
163 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/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
/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/
DBaseInputConnectionTest.java24 import android.cts.util.PollingCheck;
59 new PollingCheck() { in setUp() method
158 new PollingCheck() { in testOpTextMethods() method
209 new PollingCheck() { in testFinishComposingText() method
240 new PollingCheck() { in testSendKeyEvent() method
DInputMethodManagerTest.java23 import android.cts.util.PollingCheck;
70 new PollingCheck(1000) { in testInputMethodManager()
91 new PollingCheck() { in testInputMethodManager() method
/cts/tests/app/src/android/app/cts/
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