Home
last modified time | relevance | path

Searched refs:WAIT_FOR_STATE_CHANGE_TIMEOUT_MS (Results 1 – 24 of 24) sorted by relevance

/cts/tests/tests/telecom/src/android/telecom/cts/
DBaseTelecomTestWithMockServices.java21 import static android.telecom.cts.TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS;
594 TestUtils.waitOnLocalMainLooper(WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in placeAndVerifyCall()
651 if (!connectionService.lock.tryAcquire(TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in verifyConnectionForOutgoingCall()
667 if (!connectionService.lock.tryAcquire(TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in verifyConnectionForOutgoingCall()
695 if (!connectionService.lock.tryAcquire(TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in verifyConnectionForIncomingCall()
788 if (!connectionService.lock.tryAcquire(TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in verifyConferenceForOutgoingCall()
803 if (!connectionService.lock.tryAcquire(2, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in verifyAdhocConferenceCall()
842 WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in verifyPhoneStateListenerCallbacksForCall()
880 WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in verifyPhoneStateListenerCallbacksForEmergencyCall()
1004 latch.await(WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, TimeUnit.MILLISECONDS); in getLatestCallLogCursorIfMatchesUri()
[all …]
DHandoverTest.java21 import static android.telecom.cts.TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS;
85 mOnHandoverFailedCounter.waitForCount(WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testHandoverSourceFailed()
110 mOnHandoverFailedCounter.waitForCount(WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testHandoverDestinationFailed()
145 counter.waitForCount(WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testOutgoingHandoverRequestValid()
187 counter.waitForCount(WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testIncomingHandoverRequestValid()
225 mOnHandoverCompleteCounter.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in completeHandoverAndVerify()
230 connection.getHandoverCompleteCounter().waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in completeHandoverAndVerify()
245 WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in completeHandoverAndVerify()
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()
223 TestUtils.waitOnLocalMainLooper(TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in verifyRttDisabled()
[all …]
DRemoteConnectionTest.java181 callbackInvoker.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testRemoteConnectionCallbacks_StateChange()
207 callbackInvoker.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testRemoteConnectionCallbacks_RingbackRequest()
236 callbackInvoker.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testRemoteConnectionCallbacks_ConnectionCapabilities()
266 callbackInvoker.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testRemoteConnectionCallbacks_ConnectionProperties()
294 callbackInvoker.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testRemoteConnectionCallbacks_PostDialWait()
321 callbackInvoker.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testRemoteConnectionCallbacks_PostDialChar()
347 callbackInvoker.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testRemoteConnectionCallbacks_VoipAudio()
374 callbackInvoker.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testRemoteConnectionCallbacks_StatusHints()
402 callbackInvoker.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testRemoteConnectionCallbacks_AddressChange()
431 callbackInvoker.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testRemoteConnectionCallbacks_CallerDisplayName()
[all …]
DBaseRemoteTelecomTest.java111 if (!remoteConnectionService.lock.tryAcquire(TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in verifyConnectionForOutgoingCallOnRemoteCS()
134 if (!remoteConnectionService.lock.tryAcquire(TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in verifyConnectionForIncomingCallOnRemoteCS()
172 if (!remoteConnectionService.lock.tryAcquire(TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in verifyConferenceForOutgoingCallOnRemoteCS()
198 WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in assertRemoteConnectionState()
216 WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in assertRemoteConferenceState()
234 WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in assertCtsRemoteConnectionServiceUnbound()
DVideoCallTest.java625 TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in assertVideoState()
652 TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in assertVideoCallbackRegistered()
680 TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in assertCameraCapabilitiesReceived()
705 TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in assertCallDataUsageReceived()
732 TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in assertVideoQualityReceived()
759 TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in assertCallSessionEventReceived()
786 TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in assertPeerWidthChanged()
811 TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in assertDeviceOrientationChanged()
837 TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in assertPreviewSurfaceChanged()
863 TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in assertDisplaySurfaceChanged()
[all …]
DCallDetailsTest.java550 mOnExtrasChangedCounter.waitForCount(2, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testConnectionPutExtras()
606 mOnExtrasChangedCounter.waitForCount(3, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in verifyRemoveConnectionExtras()
628 counter.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testCallPutExtras()
651 counter.waitForCount(2, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testCallRemoveExtras()
661 counter.waitForCount(3, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testCallRemoveExtras()
682 counter.waitForCount(2, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testCallRemoveExtras2()
700 counter.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in setupCallExtras()
727 mOnConnectionEventCounter.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testConnectionEvent()
741 mOnConnectionEventCounter.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testConnectionEvent()
749 mOnConnectionEventCounter.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testConnectionEvent()
[all …]
DConferenceTest.java98 Connection primaryConnection = queue.poll(TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in testConferenceCreate()
288 WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testConferencePutExtras()
311 WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testConferenceRemoveExtras()
334 WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testConferenceRemoveExtras2()
348 WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in setupExtras()
424 mOnConnectionEventCounter.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testConferenceEvent()
502 WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in assertCallCapability()
520 WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in assertCallConnectTime()
539 WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in assertCallExtras()
557 WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in assertCallStatusHints()
[all …]
DAdhocConferenceTest.java19 import static android.telecom.cts.TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS;
95 if (!mInCallCallbacks.lock.tryAcquire(WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in testAddNewIncomingConference_onAnswer()
126 if (!mInCallCallbacks.lock.tryAcquire(WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in testConferenceCallAddConferenceParticipants()
139 assertTrue(conference.acquireLock(WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, TimeUnit.MILLISECONDS)); in testConferenceCallAddConferenceParticipants()
DTelecomManagerTest.java42 int currentTtyMode = queue.poll(TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in testGetCurrentTtyMode()
63 boolean isInEmergencyCall = queue.poll(TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in testIsInEmergencyCall_noOngoingEmergencyCall()
96 boolean isInEmergencyCall = queue.poll(TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in testIsInEmergencyCall_ongoingEmergencyCall()
DRemoteConferenceTest.java221 callbackInvoker.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testRemoteConferenceCallbacks_StateChange()
249 callbackInvoker.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testRemoteConferenceCallbacks_Disconnect()
279 callbackInvoker.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testRemoteConferenceCallbacks_ConnectionAdd()
311 callbackInvoker.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testRemoteConferenceCallbacks_ConnectionRemove()
340 callbackInvoker.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testRemoteConferenceCallbacks_ConnectionCapabilities()
369 callbackInvoker.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testRemoteConferenceCallbacks_ConnectionProperties()
402 callbackInvoker.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testRemoteConferenceCallbacks_ConferenceableConnections()
429 callbackInvoker.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testRemoteConferenceCallbacks_Destroy()
456 callbackInvoker.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testRemoteConferenceCallbacks_Extras()
DThirdPartyInCallServiceTest.java20 import static android.telecom.cts.TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS;
154 }, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, "Unable to " + (bind ? "Bind" : "Unbind") in assertBindStatus()
175 }, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in assertCallCount()
206 bindLatch.await(WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, TimeUnit.MILLISECONDS); in setUpControl()
DExtendedInCallServiceTest.java108 mOnCallAudioStateChangedCounter.waitForCount(WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testSwitchAudioRoutes()
130 WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testSwitchAudioRoutes()
136 WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testSwitchAudioRoutes()
626 mOnBringToForegroundCounter.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testOnBringToForeground()
632 mOnBringToForegroundCounter.waitForCount(2, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testOnBringToForeground()
671 mOnPostDialWaitCounter.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testOnPostDialWaitAndContinue()
760 WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in assertGetCannedTextResponsesNotEmpty()
778 WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in assertCanAddCall()
DCtsRoleManagerAdapter.java19 import static android.telecom.cts.TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS;
141 String res = q.poll(WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, TimeUnit.MILLISECONDS); in addRoleHolder()
160 String res = q.poll(WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, TimeUnit.MILLISECONDS); in removeRoleHolder()
DCarModeInCallServiceTest.java289 TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in assertCarModeCallCount()
316 TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in verifyCarModeBound()
343 TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in verifyCarModeUnbound()
DExternalCallTest.java26 import static android.telecom.cts.TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS;
81 counter.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testPullExternalCall()
DSelfManagedConnectionServiceTest.java41 import static android.telecom.cts.TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS;
425 counter.waitForCount(WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testAudioRoute()
448 }, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testAudioRoute()
457 }, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testAudioRoute()
751 WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in verifyAudioMode()
DIncomingCallTest.java22 import static android.telecom.cts.TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS;
165 Boolean ringing = queue.poll(WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, TimeUnit.MILLISECONDS); in testRingOnIncomingCall()
DConnectionServiceTest.java152 WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, "wait for mode in-communication" in testVoipAudioModePropagation()
169 WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, "wait for mode in-call" in testVoipAudioModePropagation()
DApi29InCallUtils.java52 result.poll(TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, TimeUnit.MILLISECONDS)); in setupControl()
DCallScreeningServiceTest.java247 TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS,
DTestUtils.java59 static final long WAIT_FOR_STATE_CHANGE_TIMEOUT_MS = 10000; field in TestUtils
590 waitForCount(count, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in waitForCount()
DThirdPartyCallScreeningServiceTest.java505 TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in addIncomingAndVerifyCallExtraForSilence()
/cts/hostsidetests/numberblocking/app/src/com/android/cts/numberblocking/hostside/
DCallBlockingTest.java42 public static final long WAIT_FOR_STATE_CHANGE_TIMEOUT_MS = 10000; field in CallBlockingTest
157 WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in assertPhoneAccountRegistered()