Home
last modified time | relevance | path

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

/cts/tests/tests/telecom/src/android/telecom/cts/
DMockConnectionService.java47 public List<MockConnection> outgoingConnections = new ArrayList<MockConnection>();
48 public List<MockConnection> incomingConnections = new ArrayList<MockConnection>();
56 final MockConnection connection = new MockConnection(); in onCreateOutgoingConnection()
75 final MockConnection connection = new MockConnection(); in onCreateIncomingConnection()
94 (MockConnection)connection1, (MockConnection)connection2); in onConference()
DExtendedInCallServiceTest.java70 final MockConnection connection = verifyConnectionForOutgoingCall(); in testMuteAndUnmutePhone()
97 final MockConnection connection = verifyConnectionForOutgoingCall(); in testSwitchAudioRoutes()
148 final MockConnection connection = verifyConnectionForOutgoingCall(); in testPlayAndStopDtmfTones()
181 final MockConnection connection = verifyConnectionForOutgoingCall(); in testHoldAndUnholdCall()
208 final MockConnection connection = verifyConnectionForIncomingCall(); in testAnswerIncomingCallAudioOnly()
238 final MockConnection connection = verifyConnectionForIncomingCall(); in testIncomingCallFromBlockedNumber_IsRejected()
262 final MockConnection connection = verifyConnectionForIncomingCall(); in testAnswerIncomingCallAsVideo_SendsCorrectVideoState()
285 final MockConnection connection = verifyConnectionForIncomingCall(); in testRejectIncomingCall()
307 final MockConnection connection = verifyConnectionForIncomingCall(); in testRejectIncomingCallWithMessage()
346 final MockConnection connection = verifyConnectionForOutgoingCall(); in testCanAddCall_CanAddForExistingActiveCall()
[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 testInCallShortPress_togglesMute()
100 final MockConnection connection = verifyConnectionForOutgoingCall(); in testInCallLongPress_hangupCall()
DRemoteConferenceTest.java55 MockConnection mConnection1, mConnection2;
56 MockConnection mRemoteConnection1, mRemoteConnection2;
277 MockConnection newConnection = verifyConnectionForOutgoingCallOnRemoteCS(2); in testRemoteConferenceCallbacks_ConnectionAdd()
308 MockConnection newConnection = verifyConnectionForOutgoingCallOnRemoteCS(2); in testRemoteConferenceCallbacks_ConnectionRemove()
369 MockConnection newConnection = verifyConnectionForOutgoingCallOnRemoteCS(1); in testRemoteConferenceCallbacks_ConferenceableConnections()
440 remoteConnections.add(((MockConnection)c).getRemoteConnection()); in verifyRemoteConferenceObject()
454 MockConnection connection = (MockConnection)super.onCreateOutgoingConnection( in addRemoteConnectionOutgoingCalls()
477 ((MockConnection)connection1).getRemoteConnection(); in addRemoteConnectionOutgoingCalls()
479 ((MockConnection)connection2).getRemoteConnection(); in addRemoteConnectionOutgoingCalls()
528 (MockConnection)connection1, (MockConnection)connection2); in addRemoteConnectionOutgoingCalls()
[all …]
DConnectionServiceTest.java52 final MockConnection connection = new MockConnection(); in testAddExistingConnection()
79 final Connection connection2 = new MockConnection(); in testGetAllConnections()
DVideoCallTest.java66 final MockConnection connection = verifyConnectionForOutgoingCall(); in testMakeTwoWayVideoCall()
130 final MockConnection connection = verifyConnectionForOutgoingCall(); in testReceiveSessionModifyRequest()
159 final MockConnection connection = verifyConnectionForOutgoingCall(); in testSendSessionModifyResponse()
184 final MockConnection connection = verifyConnectionForOutgoingCall(); in testReceiveSessionModifyResponse()
240 final MockConnection connection = verifyConnectionForOutgoingCall(); in testVideoCallDelayProvider()
346 final MockConnection connection = verifyConnectionForOutgoingCall(); in testReceiveVideoQuality()
382 final MockConnection connection = verifyConnectionForOutgoingCall(); in testReceiveCallSessionEvent()
458 final MockConnection connection = verifyConnectionForOutgoingCall(); in testReceivePeerDimensionChange()
483 final MockConnection connection = verifyConnectionForOutgoingCall(); in testSetDeviceOrientation()
505 final MockConnection connection = verifyConnectionForOutgoingCall(); in testSetPreviewSurface()
[all …]
DMockConference.java42 public MockConference(MockConnection a, MockConnection b) { in MockConference()
72 mRemoteConference.separate(((MockConnection)connection).getRemoteConnection()); in onSeparate()
DBaseTelecomTestWithMockServices.java363 MockConnection verifyConnectionForOutgoingCall() { in verifyConnectionForOutgoingCall()
368 MockConnection verifyConnectionForOutgoingCall(int connectionIndex) { in verifyConnectionForOutgoingCall()
380 MockConnection connection = connectionService.outgoingConnections.get(connectionIndex); in verifyConnectionForOutgoingCall()
384 MockConnection verifyConnectionForIncomingCall() { in verifyConnectionForIncomingCall()
389 MockConnection verifyConnectionForIncomingCall(int connectionIndex) { in verifyConnectionForIncomingCall()
401 MockConnection connection = connectionService.incomingConnections.get(connectionIndex); in verifyConnectionForIncomingCall()
406 void setAndVerifyConnectionForIncomingCall(MockConnection connection) { in setAndVerifyConnectionForIncomingCall()
414 MockConnection connection = connectionService.outgoingConnections.get(connectionIndex); in setAndVerifyConferenceablesForOutgoingConnection()
624 void assertMuteState(final MockConnection connection, final boolean isMuted) { in assertMuteState()
681 void assertAudioRoute(final MockConnection connection, final int route) { in assertAudioRoute()
[all …]
DMockVideoProvider.java47 private MockConnection mMockConnection;
55 public MockVideoProvider(MockConnection mockConnection) { in MockVideoProvider()
DConferenceTest.java54 private MockConnection mConnection1, mConnection2;
161 MockConnection newConnection = verifyConnectionForOutgoingCall(2); in testConferenceSetters()
233 MockConnection newConnection = verifyConnectionForOutgoingCall(2); in testConferenceAddAndRemoveConnection()
268 private void verifyConferenceObject(Conference mConferenceObject, MockConnection connection1, in verifyConferenceObject()
269 MockConnection connection2) { in verifyConferenceObject()
DMissedCallTest.java62 final MockConnection connection = verifyConnectionForIncomingCall(); in testMissedCall_NotifyDialer()
DRemoteConnectionTest.java53 MockConnection mConnection;
54 MockConnection mRemoteConnection;
464 MockConnection newConnection = verifyConnectionForOutgoingCallOnRemoteCS(1); in testRemoteConnectionCallbacks_ConferenceableConnections()
1122 MockConnection connection = (MockConnection)super.onCreateOutgoingConnection( in addRemoteConnectionOutgoingCall()
1156 MockConnection connection = (MockConnection)super.onCreateIncomingConnection( in addRemoteConnectionIncomingCall()
DCallDetailsTest.java78 private MockConnection mConnection;
93 mConnection = (MockConnection) connection; in setUp()
DMockConnection.java35 public class MockConnection extends Connection { class