Home
last modified time | relevance | path

Searched refs:MockConnection (Results 1 – 13 of 13) 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()
74 final MockConnection connection = new MockConnection(); in onCreateIncomingConnection()
89 (MockConnection)connection1, (MockConnection)connection2); in onConference()
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()
DExtendedInCallServiceTest.java66 final MockConnection connection = verifyConnectionForOutgoingCall(); in testMuteAndUnmutePhone()
93 final MockConnection connection = verifyConnectionForOutgoingCall(); in testSwitchAudioRoutes()
132 final MockConnection connection = verifyConnectionForOutgoingCall(); in testPlayAndStopDtmfTones()
165 final MockConnection connection = verifyConnectionForOutgoingCall(); in testHoldAndUnholdCall()
192 final MockConnection connection = verifyConnectionForIncomingCall(); in testAnswerIncomingCallAudioOnly()
213 final MockConnection connection = verifyConnectionForIncomingCall(); in testAnswerIncomingCallAsVideo_SendsCorrectVideoState()
236 final MockConnection connection = verifyConnectionForIncomingCall(); in testRejectIncomingCall()
274 final MockConnection connection = verifyConnectionForOutgoingCall(); in testCanAddCall_CanAddForExistingActiveCall()
295 final MockConnection connection1 = verifyConnectionForOutgoingCall(0); in testCanAddCall_CannotAddIfTooManyCalls()
305 final MockConnection connection2 = verifyConnectionForOutgoingCall(1); in testCanAddCall_CannotAddIfTooManyCalls()
[all …]
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()
DConnectionServiceTest.java52 final MockConnection connection = new MockConnection(); in testAddExistingConnection()
79 final Connection connection2 = new MockConnection(); in testGetAllConnections()
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()
439 remoteConnections.add(((MockConnection)c).getRemoteConnection()); in verifyRemoteConferenceObject()
453 MockConnection connection = (MockConnection)super.onCreateOutgoingConnection( in addRemoteConnectionOutgoingCalls()
476 ((MockConnection)connection1).getRemoteConnection(); in addRemoteConnectionOutgoingCalls()
478 ((MockConnection)connection2).getRemoteConnection(); in addRemoteConnectionOutgoingCalls()
520 (MockConnection)connection1, (MockConnection)connection2); in addRemoteConnectionOutgoingCalls()
[all …]
DVideoCallTest.java64 final MockConnection connection = verifyConnectionForOutgoingCall(); in testMakeTwoWayVideoCall()
128 final MockConnection connection = verifyConnectionForOutgoingCall(); in testReceiveSessionModifyRequest()
157 final MockConnection connection = verifyConnectionForOutgoingCall(); in testSendSessionModifyResponse()
186 final MockConnection connection = verifyConnectionForOutgoingCall(); in testVideoCallDelayProvider()
292 final MockConnection connection = verifyConnectionForOutgoingCall(); in testReceiveVideoQuality()
328 final MockConnection connection = verifyConnectionForOutgoingCall(); in testReceiveCallSessionEvent()
354 final MockConnection connection = verifyConnectionForOutgoingCall(); in testReceivePeerDimensionChange()
379 final MockConnection connection = verifyConnectionForOutgoingCall(); in testSetDeviceOrientation()
401 final MockConnection connection = verifyConnectionForOutgoingCall(); in testSetPreviewSurface()
428 final MockConnection connection = verifyConnectionForOutgoingCall(); in testSetDisplaySurface()
[all …]
DMockConference.java39 public MockConference(MockConnection a, MockConnection b) { in MockConference()
69 mRemoteConference.separate(((MockConnection)connection).getRemoteConnection()); in onSeparate()
DBaseTelecomTestWithMockServices.java312 MockConnection verifyConnectionForOutgoingCall() { in verifyConnectionForOutgoingCall()
317 MockConnection verifyConnectionForOutgoingCall(int connectionIndex) { in verifyConnectionForOutgoingCall()
329 MockConnection connection = connectionService.outgoingConnections.get(connectionIndex); in verifyConnectionForOutgoingCall()
333 MockConnection verifyConnectionForIncomingCall() { in verifyConnectionForIncomingCall()
338 MockConnection verifyConnectionForIncomingCall(int connectionIndex) { in verifyConnectionForIncomingCall()
350 MockConnection connection = connectionService.incomingConnections.get(connectionIndex); in verifyConnectionForIncomingCall()
355 void setAndVerifyConnectionForIncomingCall(MockConnection connection) { in setAndVerifyConnectionForIncomingCall()
363 MockConnection connection = connectionService.outgoingConnections.get(connectionIndex); in setAndVerifyConferenceablesForOutgoingConnection()
555 void assertMuteState(final MockConnection connection, final boolean isMuted) { in assertMuteState()
593 void assertAudioRoute(final MockConnection connection, final int route) { in assertAudioRoute()
[all …]
DMockVideoProvider.java45 private MockConnection mMockConnection;
52 public MockVideoProvider(MockConnection mockConnection) { in MockVideoProvider()
DConferenceTest.java46 private MockConnection mConnection1, mConnection2;
153 MockConnection newConnection = verifyConnectionForOutgoingCall(2); in testConferenceSetters()
224 MockConnection newConnection = verifyConnectionForOutgoingCall(2); in testConferenceAddAndRemoveConnection()
259 private void verifyConferenceObject(Conference mConferenceObject, MockConnection connection1, in verifyConferenceObject()
260 MockConnection connection2) { in verifyConferenceObject()
DRemoteConnectionTest.java53 MockConnection mConnection;
54 MockConnection mRemoteConnection;
465 MockConnection newConnection = verifyConnectionForOutgoingCallOnRemoteCS(1); in testRemoteConnectionCallbacks_ConferenceableConnections()
1117 MockConnection connection = (MockConnection)super.onCreateOutgoingConnection( in addRemoteConnectionOutgoingCall()
1151 MockConnection connection = (MockConnection)super.onCreateIncomingConnection( in addRemoteConnectionIncomingCall()
DMockConnection.java33 public class MockConnection extends Connection { class