Home
last modified time | relevance | path

Searched refs:TEST_TIMEOUT_MS (Results 1 – 25 of 39) sorted by relevance

12

/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/
DTestImsSmsImpl.java114 complete = mSmsAckLatch.await(ImsUtils.TEST_TIMEOUT_MS, TimeUnit.MILLISECONDS); in receiveSmsWaitForAcknowledgeMemoryFull()
130 complete = mSmsAckLatch.await(ImsUtils.TEST_TIMEOUT_MS, TimeUnit.MILLISECONDS); in receiveSmsWaitForAcknowledge()
146 complete = mAckDeliveryLatch.await(ImsUtils.TEST_TIMEOUT_MS, TimeUnit.MILLISECONDS); in sendReportWaitForAcknowledgeSmsReportR()
162 complete = mAckDeliveryLatch.await(ImsUtils.TEST_TIMEOUT_MS, TimeUnit.MILLISECONDS); in sendReportWaitForAcknowledgeSmsReportPQ()
175 complete = mSentTriggeredLatch.await(ImsUtils.TEST_TIMEOUT_MS, TimeUnit.MILLISECONDS); in waitForMessageSentLatch()
188 complete = mSentTriggeredLatch.await(ImsUtils.TEST_TIMEOUT_MS, TimeUnit.MILLISECONDS); in waitForMessageSentLatchSuccess()
200 complete = mSentTriggeredLatch.await(ImsUtils.TEST_TIMEOUT_MS, TimeUnit.MILLISECONDS); in waitForMessageSentLatchError()
212 complete = mOnMemoryAvailableLatch.await(ImsUtils.TEST_TIMEOUT_MS, in waitForOnMemoryAvailableLatch()
226 complete = mOnReadyLatch.await(ImsUtils.TEST_TIMEOUT_MS, TimeUnit.MILLISECONDS); in waitForOnReadyLatch()
DTestSipDelegate.java97 SipMessage m = mIncomingMessages.poll(ImsUtils.TEST_TIMEOUT_MS, TimeUnit.MILLISECONDS); in verifyMessageSend()
104 String requestedCallId = mCleanupSipSessionRequests.poll(ImsUtils.TEST_TIMEOUT_MS, in verifyCleanupSession()
119 ImsUtils.TEST_TIMEOUT_MS, TimeUnit.MILLISECONDS); in receiveMessageAndVerifyReceivedCalled()
129 ImsUtils.TEST_TIMEOUT_MS, TimeUnit.MILLISECONDS); in receiveMessageAndVerifyReceiveErrorCalled()
DSipDelegateManagerTest.java869 delegateConn.waitForCountDown(ImsUtils.TEST_TIMEOUT_MS); in testImsServiceDisconnected()
916 ifaces.delegateConn.waitForCountDown(ImsUtils.TEST_TIMEOUT_MS); in testDelegateRegistrationChanges()
923 ifaces.delegateConn.waitForCountDown(ImsUtils.TEST_TIMEOUT_MS); in testDelegateRegistrationChanges()
929 ifaces.delegateConn.waitForCountDown(ImsUtils.TEST_TIMEOUT_MS); in testDelegateRegistrationChanges()
971 ifaces.delegateConn.waitForCountDown(ImsUtils.TEST_TIMEOUT_MS); in testDelegateRegistrationChangesCompatDisabled()
983 ifaces.delegateConn.waitForCountDown(ImsUtils.TEST_TIMEOUT_MS); in testDelegateRegistrationChangesCompatDisabled()
991 ifaces.delegateConn.waitForCountDown(ImsUtils.TEST_TIMEOUT_MS); in testDelegateRegistrationChangesCompatDisabled()
1085 ImsUtils.TEST_TIMEOUT_MS)); in testCreateDelegateMessagingAppChangesToApp()
1115 TestImsRegistration.LATCH_TRIGGER_DEREGISTRATION, ImsUtils.TEST_TIMEOUT_MS)); in testCreateDelegateMessagingAppChangesAwayFromApp()
1119 ifaces.delegateConn.waitForCountDown(ImsUtils.TEST_TIMEOUT_MS); in testCreateDelegateMessagingAppChangesAwayFromApp()
[all …]
DTestSipDelegateConnection.java165 Pair<String, Integer> ack = mSentMessageAcks.poll(ImsUtils.TEST_TIMEOUT_MS, in sendMessageAndVerifyCompletedSuccessfully()
179 Pair<String, Integer> ack = mSentMessageAcks.poll(ImsUtils.TEST_TIMEOUT_MS, in sendMessageAndVerifyFailure()
191 SipMessage m = mReceivedMessages.poll(ImsUtils.TEST_TIMEOUT_MS, TimeUnit.MILLISECONDS); in verifyMessageReceived()
DImsUtils.java48 public static final int TEST_TIMEOUT_MS = 70000; field in ImsUtils
172 return retryUntilTrue(condition, TEST_TIMEOUT_MS, 14 /*numTries*/); in retryUntilTrue()
DTestSipTransport.java118 complete = latch.await(ImsUtils.TEST_TIMEOUT_MS, TimeUnit.MILLISECONDS); in waitForLatchCountdownAndReset()
DImsMmTelManagerTest.java675 assertNotNull(resultQueue.poll(ImsUtils.TEST_TIMEOUT_MS, TimeUnit.MILLISECONDS)); in testMethodPermissions()
687 assertNotNull(resultQueue.poll(ImsUtils.TEST_TIMEOUT_MS, TimeUnit.MILLISECONDS)); in testMethodPermissions()
696 assertNotNull(resultQueue.poll(ImsUtils.TEST_TIMEOUT_MS, TimeUnit.MILLISECONDS)); in testMethodPermissions()
780 latch.await(ImsUtils.TEST_TIMEOUT_MS, TimeUnit.MILLISECONDS); in waitForLatch()
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/
DHdmiControlManagerUtility.java50 private static final long TEST_TIMEOUT_MS = 10 * 60 * 1000L; field in HdmiControlManagerUtility
64 TEST_TIMEOUT_MS, TEST_TIMEOUT_MS, 0L, true, false, args); in selectDevice()
/cts/tests/tests/appwidget/src/android/appwidget/cts/
DCollectionAppWidgetTest.java90 private static final long TEST_TIMEOUT_MS = 5000; field in CollectionAppWidgetTest
148 assertTrue(providerCountDownLatch.await(TEST_TIMEOUT_MS, TimeUnit.MILLISECONDS)); in setup()
191 assertTrue(factoryCountDownLatch.await(TEST_TIMEOUT_MS, TimeUnit.MILLISECONDS)); in setup()
249 assertTrue(updateLatch.await(TEST_TIMEOUT_MS, TimeUnit.MILLISECONDS)); in verifySetDisplayedChild()
255 PollingCheck.waitFor(TEST_TIMEOUT_MS, in verifySetDisplayedChild()
287 assertTrue(updateLatch.await(TEST_TIMEOUT_MS, TimeUnit.MILLISECONDS)); in verifyShowCommand()
293 PollingCheck.waitFor(TEST_TIMEOUT_MS, in verifyShowCommand()
329 receiver.getParam(TEST_TIMEOUT_MS, TimeUnit.MILLISECONDS)); in verifyItemClickIntents()
376 receiver.getParam(TEST_TIMEOUT_MS, TimeUnit.MILLISECONDS)); in verifyItemCheckedChangeIntents()
493 assertTrue(updateLatch.await(TEST_TIMEOUT_MS, TimeUnit.MILLISECONDS)); in testSetScrollPosition()
[all …]
/cts/libs/deviceutillegacy/src/android/webkit/cts/
DWebkitUtils.java49 public static final long TEST_TIMEOUT_MS = 20000L; // 20s. field in WebkitUtils
143 return future.get(TEST_TIMEOUT_MS, TimeUnit.MILLISECONDS); in waitForFuture()
175 T value = queue.poll(TEST_TIMEOUT_MS, TimeUnit.MILLISECONDS); in waitForNextQueueElement()
DWebViewSyncLoader.java239 waitForLoadCompletionOnUiThread(WebkitUtils.TEST_TIMEOUT_MS); in waitForLoadCompletion()
241 waitForLoadCompletionOnTestThread(WebkitUtils.TEST_TIMEOUT_MS); in waitForLoadCompletion()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/midilib/
DMidiTestModule.java60 protected static final int TEST_TIMEOUT_MS = 5000; field in MidiTestModule
133 mTimeoutTimer.schedule(task, TEST_TIMEOUT_MS); in startTimeoutHandler()
/cts/tests/tests/webkit/src/android/webkit/cts/
DWebViewClientTest.java131 new PollingCheck(WebkitUtils.TEST_TIMEOUT_MS) { in createTestEnvironment() argument
216 new PollingCheck(WebkitUtils.TEST_TIMEOUT_MS) { in testShouldOverrideUrlLoadingOnCreateWindow() argument
222 new PollingCheck(WebkitUtils.TEST_TIMEOUT_MS) { in testShouldOverrideUrlLoadingOnCreateWindow() argument
236 new PollingCheck(WebkitUtils.TEST_TIMEOUT_MS) { in testShouldOverrideUrlLoadingOnCreateWindow() argument
278 new PollingCheck(WebkitUtils.TEST_TIMEOUT_MS) { in testLoadPage() argument
285 new PollingCheck(WebkitUtils.TEST_TIMEOUT_MS) { in testLoadPage() argument
292 new PollingCheck(WebkitUtils.TEST_TIMEOUT_MS) { in testLoadPage() argument
318 new PollingCheck(WebkitUtils.TEST_TIMEOUT_MS) { in testOnReceivedLoginRequest() argument
396 new PollingCheck(WebkitUtils.TEST_TIMEOUT_MS) { in testOnFormResubmission() argument
415 new PollingCheck(WebkitUtils.TEST_TIMEOUT_MS) { in testDoUpdateVisitedHistory() argument
[all …]
DWebChromeClientTest.java132 new PollingCheck(WebkitUtils.TEST_TIMEOUT_MS) { in testOnProgressChanged() argument
149 new PollingCheck(WebkitUtils.TEST_TIMEOUT_MS) { in testOnReceivedTitle() argument
179 new PollingCheck(WebkitUtils.TEST_TIMEOUT_MS) { in testOnReceivedIcon() argument
204 new PollingCheck(WebkitUtils.TEST_TIMEOUT_MS) { in runWindowTest() argument
212 new PollingCheck(WebkitUtils.TEST_TIMEOUT_MS) { in runWindowTest() argument
295 new PollingCheck(WebkitUtils.TEST_TIMEOUT_MS) { in testOnJsAlert() argument
318 new PollingCheck(WebkitUtils.TEST_TIMEOUT_MS) { in testOnJsConfirm() argument
343 new PollingCheck(WebkitUtils.TEST_TIMEOUT_MS) { in testOnJsPrompt() argument
350 new PollingCheck(WebkitUtils.TEST_TIMEOUT_MS) { in testOnJsPrompt() argument
DWebViewTest.java204 new PollingCheck(WebkitUtils.TEST_TIMEOUT_MS) { in createTestEnvironment() argument
594 wait(WebkitUtils.TEST_TIMEOUT_MS); in testAddJavascriptInterface()
875 new PollingCheck(WebkitUtils.TEST_TIMEOUT_MS) { in waitForPictureToHaveColor() argument
932 new PollingCheck(WebkitUtils.TEST_TIMEOUT_MS) { in testSetPictureListener() argument
944 new PollingCheck(WebkitUtils.TEST_TIMEOUT_MS) { in testSetPictureListener() argument
1259 assertTrue(saving.tryAcquire(WebkitUtils.TEST_TIMEOUT_MS, TimeUnit.MILLISECONDS)); in doSaveWebArchive()
1531 new PollingCheck(WebkitUtils.TEST_TIMEOUT_MS) { in testPageScroll() argument
1556 new PollingCheck(WebkitUtils.TEST_TIMEOUT_MS) { in testPageScroll() argument
1565 new PollingCheck(WebkitUtils.TEST_TIMEOUT_MS) { in testPageScroll() argument
1576 new PollingCheck(WebkitUtils.TEST_TIMEOUT_MS) { in testGetContentHeight() argument
[all …]
DCookieManagerTest.java195 new PollingCheck(WebkitUtils.TEST_TIMEOUT_MS) { in testSetCookieNullCallback() argument
269 new PollingCheck(WebkitUtils.TEST_TIMEOUT_MS) { in testRemoveCookiesNullCallback() argument
280 new PollingCheck(WebkitUtils.TEST_TIMEOUT_MS) { in testRemoveCookiesNullCallback() argument
455 new PollingCheck(WebkitUtils.TEST_TIMEOUT_MS) { in waitForCookie() argument
DWebViewZoomTest.java120 new PollingCheck(WebkitUtils.TEST_TIMEOUT_MS) { in createTestEnvironment() argument
306 new PollingCheck(WebkitUtils.TEST_TIMEOUT_MS) { in pollingCheckForCanZoomIn() argument
DWebBackForwardListTest.java118 new PollingCheck(WebkitUtils.TEST_TIMEOUT_MS) { in checkBackForwardList() argument
DWebSettingsTest.java515 new PollingCheck(WebkitUtils.TEST_TIMEOUT_MS) { in testAccessJavaScriptCanOpenWindowsAutomatically() argument
544 new PollingCheck(WebkitUtils.TEST_TIMEOUT_MS) { in testAccessJavaScriptEnabled() argument
554 new PollingCheck(WebkitUtils.TEST_TIMEOUT_MS) { in testAccessJavaScriptEnabled() argument
715 new PollingCheck(WebkitUtils.TEST_TIMEOUT_MS) { in testAppCacheDisabled() argument
740 new PollingCheck(WebkitUtils.TEST_TIMEOUT_MS) { in testAppCacheEnabled() argument
1155 new PollingCheck(WebkitUtils.TEST_TIMEOUT_MS) { in waitForNonEmptyImage() argument
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DSimultaneousCallingRestrictionsTest.java108 public static final int TEST_TIMEOUT_MS = 5000; field in SimultaneousCallingRestrictionsTest
483 ImsUtils.retryUntilTrue(() -> getActiveSubId(phoneId) >= 0, TEST_TIMEOUT_MS, 50)); in waitForActiveSubIdOrTimeout()
491 == TelephonyManager.SIM_STATE_READY), TEST_TIMEOUT_MS, 50)); in waitForSimStateReadyOrTimeout()
498 updateCallCapablePhAcctsAndCheckForSubId(subId, tm), TEST_TIMEOUT_MS, 50)); in updateCallCapablePhAcctsAfterSubAdded()
544 == ImsFeature.STATE_READY), TEST_TIMEOUT_MS, 50)); in attachDeviceImsServiceAndSetUnregistered()
562 return state.poll(ImsUtils.TEST_TIMEOUT_MS, TimeUnit.MILLISECONDS); in getFeatureState()
624 }, TEST_TIMEOUT_MS, 5)); in registerImsRegistrationCallback()
665 TEST_TIMEOUT_MS, 10)); in waitUntilPhAccountDsdaRestrictionsSetOrTimeout()
724 listener.getSimultaneousCallingSubIds()), TEST_TIMEOUT_MS, 5)); in verifyCellularSimultaneousCallingSupport()
728 TEST_TIMEOUT_MS, 5)); in verifyCellularSimultaneousCallingSupport()
[all …]
DTestDomainSelectionService.java52 public static final int TEST_TIMEOUT_MS = 70 * 1000; // 70 seconds field in TestDomainSelectionService
241 return waitForLatchCountdown(latchIndex, TEST_TIMEOUT_MS); in waitForLatchCountdown()
/cts/tests/tests/wifi/mockWifi/src/android/wifi/mockwifi/
DMockWifiModemService.java35 public static final int TEST_TIMEOUT_MS = 30000; field in MockWifiModemService
101 return waitForLatchCountdown(latchIndex, TEST_TIMEOUT_MS); in waitForLatchCountdown()
/cts/hostsidetests/car/src/android/car/cts/
DCarUserManagerHostTest.java38 private static final long TEST_TIMEOUT_MS = 10_000; field in CarUserManagerHostTest
/cts/hostsidetests/webkit/app/src/com/android/cts/webkit/
DWebViewDeviceSideStartupTest.java49 private static final long TEST_TIMEOUT_MS = 3000; field in WebViewDeviceSideStartupTest
/cts/tests/tests/telephony/current/mockmodem/src/android/telephony/mockmodem/
DMockModemService.java42 public static final int TEST_TIMEOUT_MS = 30000; field in MockModemService
239 complete = latch.await(TEST_TIMEOUT_MS, TimeUnit.MILLISECONDS); in waitForLatchCountdown()

12