Home
last modified time | relevance | path

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

/cts/tests/tests/telecom/src/android/telecom/cts/
DRemoteConnectionTest.java275 callbackInvoker.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testRemoteConnectionCallbacks_StateChange()
301 callbackInvoker.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testRemoteConnectionCallbacks_RingbackRequest()
330 callbackInvoker.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testRemoteConnectionCallbacks_ConnectionCapabilities()
360 callbackInvoker.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testRemoteConnectionCallbacks_ConnectionProperties()
388 callbackInvoker.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testRemoteConnectionCallbacks_PostDialWait()
415 callbackInvoker.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testRemoteConnectionCallbacks_PostDialChar()
441 callbackInvoker.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testRemoteConnectionCallbacks_VoipAudio()
468 callbackInvoker.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testRemoteConnectionCallbacks_StatusHints()
496 callbackInvoker.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testRemoteConnectionCallbacks_AddressChange()
525 callbackInvoker.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testRemoteConnectionCallbacks_CallerDisplayName()
[all …]
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.java86 mOnHandoverFailedCounter.waitForCount(WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testHandoverSourceFailed()
111 mOnHandoverFailedCounter.waitForCount(WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testHandoverDestinationFailed()
146 counter.waitForCount(WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testOutgoingHandoverRequestValid()
188 counter.waitForCount(WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testIncomingHandoverRequestValid()
230 mOnHandoverCompleteCounter.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in completeHandoverAndVerify()
235 connection.getHandoverCompleteCounter().waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in completeHandoverAndVerify()
DCallDetailsTest.java597 mOnExtrasChangedCounter.waitForCount(2, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testConnectionPutExtras()
653 mOnExtrasChangedCounter.waitForCount(3, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in verifyRemoveConnectionExtras()
675 counter.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testCallPutExtras()
698 counter.waitForCount(2, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testCallRemoveExtras()
708 counter.waitForCount(3, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testCallRemoveExtras()
729 counter.waitForCount(2, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testCallRemoveExtras2()
747 counter.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in setupCallExtras()
774 mOnConnectionEventCounter.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testConnectionEvent()
788 mOnConnectionEventCounter.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testConnectionEvent()
796 mOnConnectionEventCounter.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testConnectionEvent()
[all …]
DExternalCallTest.java81 counter.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testPullExternalCall()
103 counter.waitForCount(5000L/*mS*/); in testNonPullableExternalCall()
153 counter.waitForCount(5000L /*mS*/); in testTryToPullCallWhileInEmergencyCall()
DExtendedInCallServiceTest.java111 mOnCallAudioStateChangedCounter.waitForCount(WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testSwitchAudioRoutes()
132 mOnCallAudioStateChangedCounter.waitForCount(currentInvokeCount + 1, in testSwitchAudioRoutes()
138 mOnCallAudioStateChangedCounter.waitForCount(currentInvokeCount + 2, in testSwitchAudioRoutes()
688 mOnBringToForegroundCounter.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testOnBringToForeground()
694 mOnBringToForegroundCounter.waitForCount(2, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testOnBringToForeground()
713 mOnSilenceRingerCounter.waitForCount(1); in testSilenceRinger()
714 counter.waitForCount(1); in testSilenceRinger()
733 mOnPostDialWaitCounter.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testOnPostDialWaitAndContinue()
741 counter.waitForCount(1); in testOnPostDialWaitAndContinue()
745 counter.waitForCount(2); in testOnPostDialWaitAndContinue()
DRemoteConferenceTest.java237 callbackInvoker.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testRemoteConferenceCallbacks_StateChange()
269 callbackInvoker.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testRemoteConferenceCallbacks_Disconnect()
303 callbackInvoker.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testRemoteConferenceCallbacks_ConnectionAdd()
339 callbackInvoker.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testRemoteConferenceCallbacks_ConnectionRemove()
372 callbackInvoker.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testRemoteConferenceCallbacks_ConnectionCapabilities()
405 callbackInvoker.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testRemoteConferenceCallbacks_ConnectionProperties()
442 callbackInvoker.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testRemoteConferenceCallbacks_ConferenceableConnections()
473 callbackInvoker.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testRemoteConferenceCallbacks_Destroy()
504 callbackInvoker.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testRemoteConferenceCallbacks_Extras()
DConferenceTest.java339 mOnExtrasChangedCounter.waitForCount(startInvokeCount + 1, in testConferencePutExtras()
372 mOnExtrasChangedCounter.waitForCount(startInvokeCount + 1, in testConferenceRemoveExtras()
395 mOnExtrasChangedCounter.waitForCount(startInvokeCount + 1, in testConferenceRemoveExtras2()
409 mOnExtrasChangedCounter.waitForCount(startInvokeCount + 1, in setupExtras()
428 mConferenceVerficationObject.mOnExtrasChanged.waitForCount(1); in testConferenceOnExtraschanged()
486 mOnConnectionEventCounter.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testConferenceEvent()
DIncomingCallTest.java296 audioInvoke.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testConnectionOnAnswerForAudioCall()
324 audioInvoke.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testConnectionOnAnswerForVideoCallAnsweredAsAudio()
352 audioInvoke.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testConnectionOnAnswerIntForVideoCallAnsweredAsVideo()
DTestUtils.java677 public void waitForCount(int count) { in waitForCount() method in TestUtils.InvokeCounter
678 waitForCount(count, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in waitForCount()
681 public void waitForCount(int count, long timeoutMillis) { in waitForCount() method in TestUtils.InvokeCounter
682 waitForCount(count, timeoutMillis, null); in waitForCount()
685 public void waitForCount(long timeoutMillis) { in waitForCount() method in TestUtils.InvokeCounter
695 public void waitForCount(int count, long timeoutMillis, String message) { in waitForCount() method in TestUtils.InvokeCounter
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.java76 mShowMissedCallNotificationIntentCounter.waitForCount(1); in testMissedCall_NotifyDialer()
DPhoneAccountOperationsTest.java293 mPhoneAccountRegisteredLatch.waitForCount(1); in testRegisterUnregisterPhoneAccountIntent()
299 mPhoneAccountUnRegisteredLatch.waitForCount(1); in testRegisterUnregisterPhoneAccountIntent()
DMockVideoProvider.java151 mVideoProviderHandlerTracker.waitForCount(1); in waitForVideoProviderHandler()
DSelfManagedConnectionServiceTest.java249 connection.getOnShowIncomingUiInvokeCounter().waitForCount(1); in addAndVerifyIncomingCall()
426 counter.waitForCount(WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testAudioRoute()
/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