/cts/libs/deviceutil/src/android/cts/util/ |
D | PollingCheck.java | 23 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/ |
D | IntentServiceTest.java | 25 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
|
D | AlarmManagerTest.java | 27 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/ |
D | GeolocationTest.java | 22 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 …]
|
D | WebChromeClientTest.java | 20 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 …]
|
D | WebViewClientTest.java | 21 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 …]
|
D | ServiceWorkerClientTest.java | 19 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()
|
D | WebSettingsTest.java | 20 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 …]
|
D | WebViewTest.java | 24 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/ |
D | TvInputServiceTest.java | 22 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 …]
|
D | TvInputManagerTest.java | 22 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/ |
D | FilterTest.java | 20 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
|
D | VideoViewTest.java | 25 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
|
D | ExpandableListViewWithHeadersTest.java | 20 import android.cts.util.PollingCheck; 42 new PollingCheck() { in setUp() method
|
D | SlidingDrawerTest.java | 27 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/ |
D | PollingCheck.java | 23 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/ |
D | MediaBrowserTest.java | 19 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
|
D | MediaScannerConnectionTest.java | 25 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/ |
D | AnimationTestUtils.java | 20 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/ |
D | ViewTreeObserverTest.java | 23 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
|
D | FrameMetricsListenerTest.java | 23 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/ |
D | ClipboardManagerListenerTest.java | 21 import android.cts.util.PollingCheck; 60 new PollingCheck() { in assertClipChangedCount() method
|
/cts/tests/tests/view/src/android/view/inputmethod/cts/ |
D | InputMethodManagerTest.java | 23 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/ |
D | IntentServiceStub.java | 21 import android.cts.util.PollingCheck; 53 new PollingCheck(timeout) { in waitToFinish() method
|
/cts/tests/tests/net/src/android/net/wifi/cts/ |
D | WifiInfoTest.java | 24 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()
|