/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | CallDiagnosticServiceTest.java | 19 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 …]
|
D | HandoverTest.java | 21 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()
|
D | AdhocConferenceTest.java | 20 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()
|
D | BaseTelecomTestWithMockServices.java | 21 import static android.telecom.cts.TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS; 191 WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in assertCarModeCallCount() 744 TestUtils.waitOnLocalMainLooper(WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in placeAndVerifyCall() 810 if (!connectionService.lock.tryAcquire(TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in verifyConnectionForOutgoingCall() 847 WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in verifyConnectionForOutgoingCall() 866 if (!connectionService.lock.tryAcquire(TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in verifyConnectionForIncomingCall() 883 if (!connectionService.lock.tryAcquire(permit, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in verifyConference() 971 if (!connectionService.lock.tryAcquire(TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in verifyConferenceForOutgoingCall() 986 if (!connectionService.lock.tryAcquire(2, WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in verifyAdhocConferenceCall() 1028 WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in verifyPhoneStateListenerCallbacksForCall() [all …]
|
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 | 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() 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()
|
D | RemoteConnectionTest.java | 23 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 …]
|
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 | 597 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 …]
|
D | ThirdPartyInCallServiceAppOpsPermissionTest.java | 20 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()
|
D | ConferenceTest.java | 103 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 …]
|
D | CtsRoleManagerAdapter.java | 19 import static android.telecom.cts.TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS; 104 String res = q.poll(WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, TimeUnit.MILLISECONDS); in addRoleHolder() 123 String res = q.poll(WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, TimeUnit.MILLISECONDS); in removeRoleHolder()
|
D | TelecomManagerTest.java | 55 int currentTtyMode = queue.poll(TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in testGetCurrentTtyMode() 118 TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, TimeUnit.MILLISECONDS); in testTtyModeBroadcasts() 144 boolean isInEmergencyCall = queue.poll(TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in testIsInEmergencyCall_noOngoingEmergencyCall() 177 boolean isInEmergencyCall = queue.poll(TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in testIsInEmergencyCall_ongoingEmergencyCall()
|
D | IncomingCallTest.java | 22 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()
|
D | RemoteConferenceTest.java | 237 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()
|
D | ThirdPartyInCallServiceTest.java | 19 import static android.telecom.cts.TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS; 125 bindLatch.await(WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, TimeUnit.MILLISECONDS); in setUpControl()
|
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 | ExtendedInCallServiceTest.java | 111 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()
|
D | SelfManagedConnectionServiceTest.java | 41 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()
|
D | Api29InCallUtils.java | 52 result.poll(TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, TimeUnit.MILLISECONDS)); in setupControl()
|
D | ConnectionServiceTest.java | 155 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()
|
D | CarModeInCallServiceTest.java | 614 TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in verifyCarModeBound() 641 TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in verifyCarModeUnbound()
|
D | CallScreeningServiceTest.java | 247 TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS,
|
/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()
|
/cts/tests/tests/appwidget/src/android/appwidget/cts/ |
D | UpdateProviderInfoTest.java | 60 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()
|