Home
last modified time | relevance | path

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

12

/cts/tests/tests/telecom/src/android/telecom/cts/
DCallDiagnosticServiceTest.java19 import static android.telecom.cts.TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS;
106 }, TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, "Extras propagation"); in testAddCallAndPassValues()
130 mService.getCallChangeLatch().await(TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in testAddMultipleCalls()
139 mService.getCallChangeLatch().await(TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in testAddMultipleCalls()
171 TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, TimeUnit.MILLISECONDS); in testBluetoothCallQualityReport()
188 mService.getCallAudioStateLatch().await(TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in testCallAudioRoute()
211 diagnosticCall.getReceivedMessageLatch().await(TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in testReceiveD2DMessage()
235 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()
[all …]
DHandoverTest.java21 import static android.telecom.cts.TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS;
86 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()
250 WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in completeHandoverAndVerify()
DBaseTelecomTestWithMockServices.java21 import static android.telecom.cts.TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS;
191 WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in assertCarModeCallCount()
728 TestUtils.waitOnLocalMainLooper(WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in placeAndVerifyCall()
785 if (!connectionService.lock.tryAcquire(TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in verifyConnectionForOutgoingCall()
822 WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in verifyConnectionForOutgoingCall()
841 if (!connectionService.lock.tryAcquire(TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in verifyConnectionForIncomingCall()
858 if (!connectionService.lock.tryAcquire(permit, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in verifyConference()
946 if (!connectionService.lock.tryAcquire(TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in verifyConferenceForOutgoingCall()
961 if (!connectionService.lock.tryAcquire(2, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in verifyAdhocConferenceCall()
1003 WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in verifyPhoneStateListenerCallbacksForCall()
[all …]
DAdhocConferenceTest.java20 import static android.telecom.cts.TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS;
96 if (!mInCallCallbacks.lock.tryAcquire(WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in testAddNewIncomingConference_onAnswer()
106 conference.acquireLock(WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, TimeUnit.MILLISECONDS); in testAddNewIncomingConference_onAnswer()
119 if (!mInCallCallbacks.lock.tryAcquire(WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in testAddNewIncomingConference_onReject()
129 conference.acquireLock(WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, TimeUnit.MILLISECONDS); in testAddNewIncomingConference_onReject()
156 if (!mInCallCallbacks.lock.tryAcquire(WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in testConferenceCallAddConferenceParticipants()
182 WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in testConferenceCallAddConferenceParticipants()
188 assertTrue(conference.acquireLock(WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, TimeUnit.MILLISECONDS)); in testConferenceCallAddConferenceParticipants()
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 …]
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()
187 if (!remoteConnectionService.lock.tryAcquire(permit, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in verifyConferenceOnRemoteCS()
210 WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in assertRemoteConnectionState()
228 WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in assertRemoteConferenceState()
246 WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in assertCtsRemoteConnectionServiceUnbound()
DRemoteConnectionTest.java23 import static android.telecom.cts.TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS;
275 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()
[all …]
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.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 …]
DConferenceTest.java103 Connection primaryConnection = queue.poll(TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in testConferenceCreate()
340 WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testConferencePutExtras()
373 WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testConferenceRemoveExtras()
396 WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testConferenceRemoveExtras2()
410 WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in setupExtras()
486 mOnConnectionEventCounter.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testConferenceEvent()
563 WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in assertCallCapability()
581 WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in assertCallConnectTime()
600 WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in assertCallExtras()
618 WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in assertCallStatusHints()
[all …]
DThirdPartyInCallServiceAppOpsPermissionTest.java20 import static android.telecom.cts.TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS;
143 }, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, "Unable to " + (bind ? "Bind" : "Unbind") in assertBindStatus()
163 }, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in assertCallCount()
194 bindLatch.await(WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, TimeUnit.MILLISECONDS); in setUpControl()
DTelecomManagerTest.java53 int currentTtyMode = queue.poll(TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in testGetCurrentTtyMode()
112 TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, TimeUnit.MILLISECONDS); in testTtyModeBroadcasts()
136 boolean isInEmergencyCall = queue.poll(TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in testIsInEmergencyCall_noOngoingEmergencyCall()
169 boolean isInEmergencyCall = queue.poll(TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in testIsInEmergencyCall_ongoingEmergencyCall()
DCtsRoleManagerAdapter.java19 import static android.telecom.cts.TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS;
99 String res = q.poll(WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, TimeUnit.MILLISECONDS); in addRoleHolder()
118 String res = q.poll(WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, TimeUnit.MILLISECONDS); in removeRoleHolder()
DIncomingCallTest.java22 import static android.telecom.cts.TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS;
167 Boolean ringing = queue.poll(WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, TimeUnit.MILLISECONDS); in testRingOnIncomingCall()
296 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()
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()
DExtendedInCallServiceTest.java111 mOnCallAudioStateChangedCounter.waitForCount(WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testSwitchAudioRoutes()
133 WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testSwitchAudioRoutes()
139 WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); 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()
733 mOnPostDialWaitCounter.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testOnPostDialWaitAndContinue()
822 WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in assertGetCannedTextResponsesNotEmpty()
840 WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in assertCanAddCall()
DThirdPartyInCallServiceTest.java19 import static android.telecom.cts.TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS;
126 bindLatch.await(WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, TimeUnit.MILLISECONDS); in setUpControl()
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;
426 counter.waitForCount(WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testAudioRoute()
449 }, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testAudioRoute()
458 }, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testAudioRoute()
754 WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in verifyAudioMode()
DApi29InCallUtils.java52 result.poll(TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, TimeUnit.MILLISECONDS)); in setupControl()
DCarModeInCallServiceTest.java614 TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in verifyCarModeBound()
641 TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in verifyCarModeUnbound()
DConnectionServiceTest.java155 WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, "wait for mode in-communication" in testVoipAudioModePropagation()
172 WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, "wait for mode in-call" in testVoipAudioModePropagation()
DCallScreeningServiceTest.java247 TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS,
/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()
/cts/tests/tests/appwidget/src/android/appwidget/cts/
DUpdateProviderInfoTest.java60 private static final int WAIT_FOR_STATE_CHANGE_TIMEOUT_MS = 1000; field in UpdateProviderInfoTest
153 long deadline = Instant.now().plusMillis(WAIT_FOR_STATE_CHANGE_TIMEOUT_MS).toEpochMilli(); in waitAndConfirmComponentName()

12