/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | RttOperationsTest.java | 63 final MockConnection connection = verifyConnectionForOutgoingCall(); in testOutgoingRttCall() 77 final MockConnection connection = verifyConnectionForIncomingCall(); in testIncomingRttCall() 90 final MockConnection connection = verifyConnectionForOutgoingCall(); in testLocalRttUpgradeAccepted() 96 connection.getInvokeCounter(MockConnection.ON_START_RTT); in testLocalRttUpgradeAccepted() 114 final MockConnection connection = verifyConnectionForOutgoingCall(); in testLocalRttUpgradeRejected() 120 connection.getInvokeCounter(MockConnection.ON_START_RTT); in testLocalRttUpgradeRejected() 138 final MockConnection connection = verifyConnectionForOutgoingCall(); in testAcceptRemoteRttUpgrade() 144 connection.getInvokeCounter(MockConnection.ON_RTT_REQUEST_RESPONSE); in testAcceptRemoteRttUpgrade() 161 final MockConnection connection = verifyConnectionForOutgoingCall(); in testRejectRemoteRttRequest() 167 connection.getInvokeCounter(MockConnection.ON_RTT_REQUEST_RESPONSE); in testRejectRemoteRttRequest() [all …]
|
D | MockConnectionService.java | 71 public List<MockConnection> outgoingConnections = new ArrayList<MockConnection>(); 72 public List<MockConnection> incomingConnections = new ArrayList<MockConnection>(); 76 public List<MockConnection> failedConnections = new ArrayList<>(); 82 final MockConnection connection = new MockConnection(); in onCreateOutgoingConnection() 114 final MockConnection connection = new MockConnection(); in onCreateIncomingConnection() 157 final MockConnection connection = new MockConnection(); in onCreateIncomingConnectionFailed() 170 (MockConnection)connection1, (MockConnection)connection2); in onConference()
|
D | ConnectionServiceTest.java | 70 final MockConnection connection = new MockConnection(); in testAddExistingConnection() 93 final MockConnection connection = new MockConnection(); in testAddExistingConnection_invalidPhoneAccountPackageName() 118 final MockConnection connection = new MockConnection(); in testAddExistingConnection_invalidPhoneAccountAccountId() 138 MockConnection connection = verifyConnectionForOutgoingCall(); in testVoipAudioModePropagation() 274 final MockConnection connection = new MockConnection(); in testCallDirectionIncoming() 333 MockConnection connection = verifyConnectionForIncomingCall(); in testCallFilteringCompleteSignalNotInContacts() 336 connection.getInvokeCounter(MockConnection.ON_CALL_FILTERING_COMPLETED) in testCallFilteringCompleteSignalNotInContacts() 382 MockConnection connection = verifyConnectionForIncomingCall(); in testCallFilteringCompleteSignalInContacts() 385 connection.getInvokeCounter(MockConnection.ON_CALL_FILTERING_COMPLETED) in testCallFilteringCompleteSignalInContacts() 425 final MockConnection connection = new MockConnection(); [all …]
|
D | ExtendedInCallServiceTest.java | 76 final MockConnection connection = verifyConnectionForOutgoingCall(); in testMuteAndUnmutePhone() 103 final MockConnection connection = verifyConnectionForOutgoingCall(); in testSwitchAudioRoutes() 163 final MockConnection connection = verifyConnectionForOutgoingCall(); in testPlayAndStopDtmfTones() 196 final MockConnection connection = verifyConnectionForOutgoingCall(); in testHoldAndUnholdCall() 223 final MockConnection connection = verifyConnectionForIncomingCall(); in testAnswerIncomingCallAudioOnly() 244 MockConnection connection = verifyConnectionForIncomingCall(0); in testAcceptRingingCall() 266 MockConnection connection = verifyConnectionForIncomingCall(0); in testEndRingingCall() 288 MockConnection connection = verifyConnectionForIncomingCall(0); in testEndCall() 317 MockConnection connection1 = verifyConnectionForIncomingCall(0); in testAcceptRingingCallTwoCalls() 326 final MockConnection connection2 = verifyConnectionForIncomingCall(1); in testAcceptRingingCallTwoCalls() [all …]
|
D | BaseRemoteTelecomTest.java | 104 MockConnection verifyConnectionForOutgoingCallOnRemoteCS() { in verifyConnectionForOutgoingCallOnRemoteCS() 109 MockConnection verifyConnectionForOutgoingCallOnRemoteCS(int connectionIndex) { in verifyConnectionForOutgoingCallOnRemoteCS() 123 … MockConnection connection = remoteConnectionService.outgoingConnections.get(connectionIndex); in verifyConnectionForOutgoingCallOnRemoteCS() 127 MockConnection verifyConnectionForIncomingCallOnRemoteCS() { in verifyConnectionForIncomingCallOnRemoteCS() 132 MockConnection verifyConnectionForIncomingCallOnRemoteCS(int connectionIndex) { in verifyConnectionForIncomingCallOnRemoteCS() 146 … MockConnection connection = remoteConnectionService.incomingConnections.get(connectionIndex); in verifyConnectionForIncomingCallOnRemoteCS() 158 … MockConnection connection = remoteConnectionService.outgoingConnections.get(connectionIndex); in setAndVerifyConferenceablesForOutgoingConnectionOnRemoteCS()
|
D | WiredHeadsetTest.java | 44 final MockConnection connection = verifyConnectionForIncomingCall(); in testIncomingCallShortPress_acceptsCall() 61 final MockConnection connection = verifyConnectionForIncomingCall(); in testIncomingCallLongPress_rejectsCall() 78 final MockConnection connection = verifyConnectionForOutgoingCall(); in testInCallLongPress_togglesMute() 100 final MockConnection connection = verifyConnectionForOutgoingCall(); in testInCallShortPress_hangupCall()
|
D | ExternalCallTest.java | 38 private MockConnection mExternalConnection; 56 mExternalConnection = (MockConnection) connection; in setUp() 79 MockConnection.ON_PULL_EXTERNAL_CALL); in testPullExternalCall() 100 MockConnection.ON_PULL_EXTERNAL_CALL); in testNonPullableExternalCall() 149 MockConnection.ON_PULL_EXTERNAL_CALL); in testTryToPullCallWhileInEmergencyCall()
|
D | RemoteConferenceTest.java | 56 MockConnection mConnection1, mConnection2; 57 MockConnection mRemoteConnection1, mRemoteConnection2; 301 MockConnection newConnection = verifyConnectionForOutgoingCallOnRemoteCS(2); in testRemoteConferenceCallbacks_ConnectionAdd() 336 MockConnection newConnection = verifyConnectionForOutgoingCallOnRemoteCS(2); in testRemoteConferenceCallbacks_ConnectionRemove() 438 MockConnection newConnection = verifyConnectionForOutgoingCallOnRemoteCS(1); in testRemoteConferenceCallbacks_ConferenceableConnections() 518 RemoteConnection remoteConnection = ((MockConnection) c).getRemoteConnection(); in verifyRemoteConferenceObject() 536 MockConnection connection = (MockConnection)super.onCreateOutgoingConnection( in addRemoteConnectionOutgoingCalls() 559 ((MockConnection)connection1).getRemoteConnection(); in addRemoteConnectionOutgoingCalls() 561 ((MockConnection)connection2).getRemoteConnection(); in addRemoteConnectionOutgoingCalls() 610 (MockConnection)connection1, (MockConnection)connection2); in addRemoteConnectionOutgoingCalls() [all …]
|
D | VideoCallTest.java | 66 final MockConnection connection = verifyConnectionForOutgoingCall(); in testMakeTwoWayVideoCall() 131 final MockConnection connection = verifyConnectionForOutgoingCall(); in testReceiveSessionModifyRequest() 160 final MockConnection connection = verifyConnectionForOutgoingCall(); in testSendSessionModifyResponse() 185 final MockConnection connection = verifyConnectionForOutgoingCall(); in testReceiveSessionModifyResponse() 241 final MockConnection connection = verifyConnectionForOutgoingCall(); in testVideoCallDelayProvider() 347 final MockConnection connection = verifyConnectionForOutgoingCall(); in testReceiveVideoQuality() 383 final MockConnection connection = verifyConnectionForOutgoingCall(); in testReceiveCallSessionEvent() 469 final MockConnection connection = verifyConnectionForOutgoingCall(); in testReceivePeerDimensionChange() 494 final MockConnection connection = verifyConnectionForOutgoingCall(); in testSetDeviceOrientation() 516 final MockConnection connection = verifyConnectionForOutgoingCall(); in testSetPreviewSurface() [all …]
|
D | BackgroundCallAudioTest.java | 84 final MockConnection connection = verifyConnectionForIncomingCall(); in testAudioProcessingFromCallScreeningAllow() 110 final MockConnection connection = verifyConnectionForIncomingCall(); in testHoldAfterAudioProcessingFromCallScreening() 141 final MockConnection connection = verifyConnectionForIncomingCall(); in testAudioProcessingFromCallScreeningDisallow() 169 final MockConnection connection = verifyConnectionForIncomingCall(); in testAudioProcessingFromCallScreeningMissed() 195 final MockConnection connection = verifyConnectionForIncomingCall(); in testAudioProcessingFromCallScreeningRemoteHangupDuringRing() 234 final MockConnection connection = verifyConnectionForIncomingCall(); in testAudioProcessingFromCallScreeningAllowPlaceEmergencyCall() 278 final MockConnection connection = verifyConnectionForIncomingCall(); in testAudioProcessingFromIncomingActivePlaceEmergencyCall() 416 final MockConnection connection = verifyConnectionForIncomingCall(); in testManualAudioCallScreenAccept() 443 final MockConnection connection = verifyConnectionForIncomingCall(); in testManualAudioCallScreenReject() 474 final MockConnection connection = verifyConnectionForOutgoingCall(); in testEnterAudioProcessingWithoutPermission() [all …]
|
D | IncomingCallTest.java | 288 final MockConnection connection = verifyConnectionForIncomingCall(); in testConnectionOnAnswerForAudioCall() 290 MockConnection.ON_ANSWER_CALLED); in testConnectionOnAnswerForAudioCall() 316 final MockConnection connection = verifyConnectionForIncomingCall(); in testConnectionOnAnswerForVideoCallAnsweredAsAudio() 318 MockConnection.ON_ANSWER_CALLED); in testConnectionOnAnswerForVideoCallAnsweredAsAudio() 344 final MockConnection connection = verifyConnectionForIncomingCall(); in testConnectionOnAnswerIntForVideoCallAnsweredAsVideo() 346 MockConnection.ON_ANSWER_VIDEO_CALLED); in testConnectionOnAnswerIntForVideoCallAnsweredAsVideo()
|
D | MockConference.java | 54 public MockConference(MockConnection a, MockConnection b) { in MockConference() 98 mRemoteConference.separate(((MockConnection)connection).getRemoteConnection()); in onSeparate()
|
D | MockVideoProvider.java | 46 private MockConnection mMockConnection; 54 public MockVideoProvider(MockConnection mockConnection) { in MockVideoProvider()
|
D | EmergencyCallTests.java | 88 MockConnection incomingConnection = verifyConnectionForIncomingCall(); in testIncomingRingingCallAndPlaceEmergencyCall() 129 MockConnection incomingConnection = verifyConnectionForIncomingCall(); in testActiveCallAndIncomingRingingCallAndPlaceEmergencyCall()
|
D | BaseTelecomTestWithMockServices.java | 803 MockConnection verifyConnectionForOutgoingCall() { in verifyConnectionForOutgoingCall() 808 MockConnection verifyConnectionForOutgoingCall(int connectionIndex) { in verifyConnectionForOutgoingCall() 820 MockConnection connection = connectionService.outgoingConnections.get(connectionIndex); in verifyConnectionForOutgoingCall() 824 MockConnection verifyConnectionForOutgoingCall(Uri address) { in verifyConnectionForOutgoingCall() 851 if (connection instanceof MockConnection) { in verifyConnectionForOutgoingCall() 853 return (MockConnection) connection; in verifyConnectionForOutgoingCall() 859 MockConnection verifyConnectionForIncomingCall() { in verifyConnectionForIncomingCall() 864 MockConnection verifyConnectionForIncomingCall(int connectionIndex) { in verifyConnectionForIncomingCall() 876 MockConnection connection = connectionService.incomingConnections.get(connectionIndex); in verifyConnectionForIncomingCall() 893 void setAndVerifyConnectionForIncomingCall(MockConnection connection) { in setAndVerifyConnectionForIncomingCall() [all …]
|
D | MissedCallTest.java | 65 final MockConnection connection = verifyConnectionForIncomingCall(); in testMissedCall_NotifyDialer()
|
D | CallDiagnosticServiceTest.java | 43 private MockConnection mConnection; 125 MockConnection connection = verifyConnectionForOutgoingCall(1); in testAddMultipleCalls() 234 MockConnection.ON_CALL_EVENT); in testSendD2DMessage()
|
D | ConferenceTest.java | 62 private MockConnection mConnection1, mConnection2; 186 MockConnection newConnection = verifyConnectionForOutgoingCall(2); in testConferenceSetters() 443 MockConnection newConnection = verifyConnectionForOutgoingCall(2); in testConferenceAddAndRemoveConnection() 493 private void verifyConferenceObject(Conference mConferenceObject, MockConnection connection1, in verifyConferenceObject() 494 MockConnection connection2) { in verifyConferenceObject()
|
D | CallDetailsTest.java | 87 private MockConnection mConnection; 102 mConnection = (MockConnection) connection; in setUp() 673 MockConnection.ON_EXTRAS_CHANGED); in testCallPutExtras() 745 MockConnection.ON_EXTRAS_CHANGED); in setupCallExtras() 831 final InvokeCounter counter = mConnection.getInvokeCounter(MockConnection.ON_DEFLECT); in testDeflect() 850 final InvokeCounter counter = mConnection.getInvokeCounter(MockConnection.ON_CALL_EVENT); in testCallEvent()
|
D | RemoteConnectionTest.java | 58 MockConnection mConnection; 59 MockConnection mRemoteConnection; 587 MockConnection newConnection = verifyConnectionForOutgoingCallOnRemoteCS(1); in testRemoteConnectionCallbacks_ConferenceableConnections() 730 mRemoteConnection.getInvokeCounter(MockConnection.ON_PULL_EXTERNAL_CALL); in testRemoteConnectionCallbacks_PullExternalCall() 747 MockConnection.ON_ADD_CONFERENCE_PARTICIPANTS); in testAddConferenceParticipants() 1317 MockConnection connection = (MockConnection)super.onCreateOutgoingConnection( in addRemoteConnectionOutgoingCall() 1351 MockConnection connection = (MockConnection)super.onCreateIncomingConnection( in addRemoteConnectionIncomingCall()
|
D | MockConnection.java | 39 public class MockConnection extends Connection { class
|
/cts/tests/tests/telecom/ |
D | Android.bp | 109 "src/android/telecom/cts/MockConnection.java",
|