Home
last modified time | relevance | path

Searched refs:MockConnection (Results 1 – 22 of 22) sorted by relevance

/cts/tests/tests/telecom/src/android/telecom/cts/
DRttOperationsTest.java63 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 …]
DMockConnectionService.java71 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()
DConnectionServiceTest.java70 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 …]
DExtendedInCallServiceTest.java76 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 …]
DBaseRemoteTelecomTest.java104 MockConnection verifyConnectionForOutgoingCallOnRemoteCS() { in verifyConnectionForOutgoingCallOnRemoteCS()
109 MockConnection verifyConnectionForOutgoingCallOnRemoteCS(int connectionIndex) { in verifyConnectionForOutgoingCallOnRemoteCS()
123MockConnection connection = remoteConnectionService.outgoingConnections.get(connectionIndex); in verifyConnectionForOutgoingCallOnRemoteCS()
127 MockConnection verifyConnectionForIncomingCallOnRemoteCS() { in verifyConnectionForIncomingCallOnRemoteCS()
132 MockConnection verifyConnectionForIncomingCallOnRemoteCS(int connectionIndex) { in verifyConnectionForIncomingCallOnRemoteCS()
146MockConnection connection = remoteConnectionService.incomingConnections.get(connectionIndex); in verifyConnectionForIncomingCallOnRemoteCS()
158MockConnection connection = remoteConnectionService.outgoingConnections.get(connectionIndex); in setAndVerifyConferenceablesForOutgoingConnectionOnRemoteCS()
DWiredHeadsetTest.java44 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()
DExternalCallTest.java38 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()
DRemoteConferenceTest.java56 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 …]
DVideoCallTest.java66 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 …]
DBackgroundCallAudioTest.java84 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 …]
DIncomingCallTest.java288 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()
DMockConference.java54 public MockConference(MockConnection a, MockConnection b) { in MockConference()
98 mRemoteConference.separate(((MockConnection)connection).getRemoteConnection()); in onSeparate()
DMockVideoProvider.java46 private MockConnection mMockConnection;
54 public MockVideoProvider(MockConnection mockConnection) { in MockVideoProvider()
DEmergencyCallTests.java88 MockConnection incomingConnection = verifyConnectionForIncomingCall(); in testIncomingRingingCallAndPlaceEmergencyCall()
129 MockConnection incomingConnection = verifyConnectionForIncomingCall(); in testActiveCallAndIncomingRingingCallAndPlaceEmergencyCall()
DBaseTelecomTestWithMockServices.java803 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 …]
DMissedCallTest.java65 final MockConnection connection = verifyConnectionForIncomingCall(); in testMissedCall_NotifyDialer()
DCallDiagnosticServiceTest.java43 private MockConnection mConnection;
125 MockConnection connection = verifyConnectionForOutgoingCall(1); in testAddMultipleCalls()
234 MockConnection.ON_CALL_EVENT); in testSendD2DMessage()
DConferenceTest.java62 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()
DCallDetailsTest.java87 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()
DRemoteConnectionTest.java58 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()
DMockConnection.java39 public class MockConnection extends Connection { class
/cts/tests/tests/telecom/
DAndroid.bp109 "src/android/telecom/cts/MockConnection.java",