/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | BaseTelecomTestWithMockServices.java | 21 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 …]
|
D | HandoverTest.java | 21 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()
|
D | RttOperationsTest.java | 98 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 …]
|
D | RemoteConnectionTest.java | 181 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 …]
|
D | BaseRemoteTelecomTest.java | 111 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()
|
D | VideoCallTest.java | 625 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 …]
|
D | CallDetailsTest.java | 550 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 …]
|
D | ConferenceTest.java | 98 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 …]
|
D | AdhocConferenceTest.java | 19 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()
|
D | TelecomManagerTest.java | 42 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()
|
D | RemoteConferenceTest.java | 221 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()
|
D | ThirdPartyInCallServiceTest.java | 20 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()
|
D | ExtendedInCallServiceTest.java | 108 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()
|
D | CtsRoleManagerAdapter.java | 19 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()
|
D | CarModeInCallServiceTest.java | 289 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()
|
D | ExternalCallTest.java | 26 import static android.telecom.cts.TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS; 81 counter.waitForCount(1, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testPullExternalCall()
|
D | SelfManagedConnectionServiceTest.java | 41 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()
|
D | IncomingCallTest.java | 22 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()
|
D | ConnectionServiceTest.java | 152 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()
|
D | Api29InCallUtils.java | 52 result.poll(TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, TimeUnit.MILLISECONDS)); in setupControl()
|
D | CallScreeningServiceTest.java | 247 TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS,
|
D | TestUtils.java | 59 static final long WAIT_FOR_STATE_CHANGE_TIMEOUT_MS = 10000; field in TestUtils 590 waitForCount(count, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in waitForCount()
|
D | ThirdPartyCallScreeningServiceTest.java | 505 TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in addIncomingAndVerifyCallExtraForSilence()
|
/cts/hostsidetests/numberblocking/app/src/com/android/cts/numberblocking/hostside/ |
D | CallBlockingTest.java | 42 public static final long WAIT_FOR_STATE_CHANGE_TIMEOUT_MS = 10000; field in CallBlockingTest 157 WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in assertPhoneAccountRegistered()
|