Home
last modified time | relevance | path

Searched refs:waitForCount (Results 1 – 17 of 17) sorted by relevance

/cts/tests/tests/telecom/src/android/telecom/cts/
DRttOperationsTest.java98 startRttCounter.waitForCount(1, TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testLocalRttUpgradeAccepted()
122 startRttCounter.waitForCount(1, TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testLocalRttUpgradeRejected()
126 mOnRttInitiationFailedCounter.waitForCount(1, TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testLocalRttUpgradeRejected()
146 mOnRttRequestCounter.waitForCount(1, TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testAcceptRemoteRttUpgrade()
150 rttRequestResponseCounter.waitForCount(1, TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testAcceptRemoteRttUpgrade()
169 mOnRttRequestCounter.waitForCount(1, TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testRejectRemoteRttRequest()
173 rttRequestResponseCounter.waitForCount(1, TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testRejectRemoteRttRequest()
193 stopRttCounter.waitForCount(1, TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testLocalRttTermination()
215 stopRttCounter.waitForCount(1, TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testRemoteRttTermination()
DHandoverTest.java99 mOnHandoverFailedCounter.waitForCount(WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testHandoverSourceFailed()
124 mOnHandoverFailedCounter.waitForCount(WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testHandoverDestinationFailed()
159 counter.waitForCount(WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testOutgoingHandoverRequestValid()
202 counter.waitForCount(WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testIncomingHandoverRequestValid()
244 mOnHandoverCompleteCounter.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in completeHandoverAndVerify()
249 connection.getHandoverCompleteCounter().waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in completeHandoverAndVerify()
DRemoteConnectionTest.java326 callbackInvoker.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testRemoteConnectionCallbacks_StateChange()
352 callbackInvoker.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testRemoteConnectionCallbacks_RingbackRequest()
381 callbackInvoker.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testRemoteConnectionCallbacks_ConnectionCapabilities()
411 callbackInvoker.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testRemoteConnectionCallbacks_ConnectionProperties()
439 callbackInvoker.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testRemoteConnectionCallbacks_PostDialWait()
466 callbackInvoker.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testRemoteConnectionCallbacks_PostDialChar()
492 callbackInvoker.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testRemoteConnectionCallbacks_VoipAudio()
519 callbackInvoker.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testRemoteConnectionCallbacks_StatusHints()
547 callbackInvoker.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testRemoteConnectionCallbacks_AddressChange()
576 callbackInvoker.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testRemoteConnectionCallbacks_CallerDisplayName()
[all …]
DExternalCallTest.java89 counter.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testPullExternalCall()
111 counter.waitForCount(5000L/*mS*/); in testNonPullableExternalCall()
161 counter.waitForCount(5000L /*mS*/); in testTryToPullCallWhileInEmergencyCall()
197 counter.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testExternalCallAndPullCall()
DExtendedInCallServiceTest.java128 mOnCallAudioStateChangedCounter.waitForCount(WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testSwitchAudioRoutes()
149 mOnCallAudioStateChangedCounter.waitForCount(currentInvokeCount + 1, in testSwitchAudioRoutes()
155 mOnCallAudioStateChangedCounter.waitForCount(currentInvokeCount + 2, in testSwitchAudioRoutes()
507 mOnCallEndpointChangedCounter.waitForCount(WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testSwitchCallEndpoint()
511 mOnAvailableEndpointsChangedCounter.waitForCount(WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testSwitchCallEndpoint()
533 connectionOnCallEndpointChangedCounter.waitForCount(currentInvokeCount + 1, in testSwitchCallEndpoint()
536 mOnCallEndpointChangedCounter.waitForCount(currentInvokeCount + 1, in testSwitchCallEndpoint()
549 connectionOnCallEndpointChangedCounter.waitForCount(currentInvokeCount + 2, in testSwitchCallEndpoint()
552 mOnCallEndpointChangedCounter.waitForCount(currentInvokeCount + 2, in testSwitchCallEndpoint()
821 mOnBringToForegroundCounter.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testOnBringToForeground()
[all …]
DCallDetailsTest.java765 mOnExtrasChangedCounter.waitForCount(3, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testConnectionPutExtras()
821 mOnExtrasChangedCounter.waitForCount(4, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in verifyRemoveConnectionExtras()
845 counter.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testCallPutExtras()
868 counter.waitForCount(2, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testCallRemoveExtras()
878 counter.waitForCount(3, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testCallRemoveExtras()
899 counter.waitForCount(2, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testCallRemoveExtras2()
917 counter.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in setupCallExtras()
944 mOnConnectionEventCounter.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testConnectionEvent()
958 mOnConnectionEventCounter.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testConnectionEvent()
966 mOnConnectionEventCounter.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testConnectionEvent()
[all …]
DRemoteConferenceTest.java246 callbackInvoker.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testRemoteConferenceCallbacks_StateChange()
278 callbackInvoker.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testRemoteConferenceCallbacks_Disconnect()
312 callbackInvoker.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testRemoteConferenceCallbacks_ConnectionAdd()
348 callbackInvoker.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testRemoteConferenceCallbacks_ConnectionRemove()
381 callbackInvoker.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testRemoteConferenceCallbacks_ConnectionCapabilities()
414 callbackInvoker.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testRemoteConferenceCallbacks_ConnectionProperties()
451 callbackInvoker.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testRemoteConferenceCallbacks_ConferenceableConnections()
482 callbackInvoker.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testRemoteConferenceCallbacks_Destroy()
513 callbackInvoker.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testRemoteConferenceCallbacks_Extras()
DConferenceTest.java355 mOnExtrasChangedCounter.waitForCount(startInvokeCount + 1, in testConferencePutExtras()
388 mOnExtrasChangedCounter.waitForCount(startInvokeCount + 1, in testConferenceRemoveExtras()
411 mOnExtrasChangedCounter.waitForCount(startInvokeCount + 1, in testConferenceRemoveExtras2()
425 mOnExtrasChangedCounter.waitForCount(startInvokeCount + 1, in setupExtras()
444 mConferenceVerificationObject.mOnExtrasChanged.waitForCount(1); in testConferenceOnExtraschanged()
502 mOnConnectionEventCounter.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testConferenceEvent()
521 .waitForCount(WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testGetCurrentCallEndpoint()
DCallDiagnosticServiceTest.java235 counter.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testSendD2DMessage()
260 mOnConnectionEventCounter.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testDisplayDiagnosticMessage()
284 mOnConnectionEventCounter.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testClearDisplayDiagnosticMessage()
DMissedCallTest.java85 mShowMissedCallNotificationIntentCounter.waitForCount(1); in testMissedCall_NotifyDialer()
DMockVideoProvider.java151 mVideoProviderHandlerTracker.waitForCount(1); in waitForVideoProviderHandler()
DTestUtils.java857 public void waitForCount(int count) { in waitForCount() method in TestUtils.InvokeCounter
858 waitForCount(count, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in waitForCount()
861 public void waitForCount(int count, long timeoutMillis) { in waitForCount() method in TestUtils.InvokeCounter
862 waitForCount(count, timeoutMillis, null); in waitForCount()
865 public void waitForCount(long timeoutMillis) { in waitForCount() method in TestUtils.InvokeCounter
875 public void waitForCount(int count, long timeoutMillis, String message) { in waitForCount() method in TestUtils.InvokeCounter
DIncomingCallTest.java355 audioInvoke.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testConnectionOnAnswerForAudioCall()
446 audioInvoke.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testConnectionOnAnswerForVideoCallAnsweredAsAudio()
474 audioInvoke.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testConnectionOnAnswerIntForVideoCallAnsweredAsVideo()
DPhoneAccountOperationsTest.java393 mPhoneAccountRegisteredLatch.waitForCount(1); in testRegisterUnregisterPhoneAccountIntent()
399 mPhoneAccountUnRegisteredLatch.waitForCount(1); in testRegisterUnregisterPhoneAccountIntent()
DSelfManagedConnectionServiceTest.java389 connection.getOnShowIncomingUiInvokeCounter().waitForCount(1); in addAndVerifyIncomingCall()
1042 counter.waitForCount(WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testAudioRoute()
1592 currentEndpointCounter.waitForCount(WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testCallEndpoint()
1598 availableEndpointsCounter.waitForCount(WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testCallEndpoint()
DTransactionalApisTest.java1046 mOnConnectionEventCounter.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testSendCallEvent()
/cts/tests/tests/print/printTestUtilLib/src/android/print/test/
DBasePrintTest.java467 counter.waitForCount(count, OPERATION_TIMEOUT_MILLIS); in waitForCallbackCallCount()
858 public void waitForCount(int count, long timeoutMillis) throws TimeoutException { in waitForCount() method in CallCounter