/cts/tests/tests/app/src/android/app/cts/ |
D | IntentServiceTest.java | 23 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
|
D | AlarmManagerTest.java | 26 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/ |
D | TvInputServiceTest.java | 22 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 …]
|
D | BundledTvInputServiceTest.java | 22 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/ |
D | PollingCheck.java | 23 public abstract class PollingCheck { class 27 public PollingCheck() { in PollingCheck() method in PollingCheck 30 public PollingCheck(long timeout) { in PollingCheck() method in PollingCheck
|
D | EvaluateJsResultPollingCheck.java | 21 public class EvaluateJsResultPollingCheck extends PollingCheck
|
/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/webkit/src/android/webkit/cts/ |
D | GeolocationTest.java | 22 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 …]
|
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 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 …]
|
D | WebViewClientTest.java | 21 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 …]
|
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 | WebBackForwardListTest.java | 20 import android.cts.util.PollingCheck; 86 new PollingCheck(TEST_TIMEOUT) { in checkBackForwardList() 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/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/media/src/android/media/cts/ |
D | MediaBrowserTest.java | 19 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
|
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/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
|
/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 | BaseInputConnectionTest.java | 24 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
|
D | InputMethodManagerTest.java | 23 import android.cts.util.PollingCheck; 70 new PollingCheck(1000) { in testInputMethodManager() 91 new PollingCheck() { in testInputMethodManager() method
|
/cts/tests/app/src/android/app/cts/ |
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()
|