Home
last modified time | relevance | path

Searched refs:MockConnection (Results 1 – 16 of 16) 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()
77 final MockConnection connection = new MockConnection(); in onCreateIncomingConnection()
97 (MockConnection)connection1, (MockConnection)connection2); in onConference()
DConnectionServiceTest.java52 final MockConnection connection = new MockConnection(); in testAddExistingConnection()
70 final MockConnection connection = new MockConnection(); in testAddExistingConnection_invalidPhoneAccountPackageName()
94 final MockConnection connection = new MockConnection(); in testAddExistingConnection_invalidPhoneAccountAccountId()
125 final Connection connection2 = new MockConnection(); in testGetAllConnections()
DExtendedInCallServiceTest.java71 final MockConnection connection = verifyConnectionForOutgoingCall(); in testMuteAndUnmutePhone()
98 final MockConnection connection = verifyConnectionForOutgoingCall(); in testSwitchAudioRoutes()
152 final MockConnection connection = verifyConnectionForOutgoingCall(); in testPlayAndStopDtmfTones()
185 final MockConnection connection = verifyConnectionForOutgoingCall(); in testHoldAndUnholdCall()
212 final MockConnection connection = verifyConnectionForIncomingCall(); in testAnswerIncomingCallAudioOnly()
233 MockConnection connection = verifyConnectionForIncomingCall(0); in testAcceptRingingCall()
257 MockConnection connection1 = verifyConnectionForIncomingCall(0); in testAcceptRingingCallTwoCalls()
266 final MockConnection connection2 = verifyConnectionForIncomingCall(1); in testAcceptRingingCallTwoCalls()
289 MockConnection connection1 = verifyConnectionForIncomingCall(0); in testAcceptRingingCallTwoCallsCarMode()
298 final MockConnection connection2 = verifyConnectionForIncomingCall(1); in testAcceptRingingCallTwoCallsCarMode()
[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()
DExternalCallTest.java38 private MockConnection mConnection;
54 mConnection = (MockConnection) connection; in setUp()
86 MockConnection.ON_PULL_EXTERNAL_CALL); in testPullExternalCall()
101 MockConnection.ON_PULL_EXTERNAL_CALL); in testNonPullableExternalCall()
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()
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()
398 MockConnection newConnection = verifyConnectionForOutgoingCallOnRemoteCS(1); in testRemoteConferenceCallbacks_ConferenceableConnections()
470 remoteConnections.add(((MockConnection)c).getRemoteConnection()); in verifyRemoteConferenceObject()
485 MockConnection connection = (MockConnection)super.onCreateOutgoingConnection( in addRemoteConnectionOutgoingCalls()
508 ((MockConnection)connection1).getRemoteConnection(); in addRemoteConnectionOutgoingCalls()
510 ((MockConnection)connection2).getRemoteConnection(); in addRemoteConnectionOutgoingCalls()
559 (MockConnection)connection1, (MockConnection)connection2); in addRemoteConnectionOutgoingCalls()
[all …]
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()
468 final MockConnection connection = verifyConnectionForOutgoingCall(); in testReceivePeerDimensionChange()
493 final MockConnection connection = verifyConnectionForOutgoingCall(); in testSetDeviceOrientation()
515 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.java345 MockConnection verifyConnectionForOutgoingCall() { in verifyConnectionForOutgoingCall()
350 MockConnection verifyConnectionForOutgoingCall(int connectionIndex) { in verifyConnectionForOutgoingCall()
362 MockConnection connection = connectionService.outgoingConnections.get(connectionIndex); in verifyConnectionForOutgoingCall()
366 MockConnection verifyConnectionForIncomingCall() { in verifyConnectionForIncomingCall()
371 MockConnection verifyConnectionForIncomingCall(int connectionIndex) { in verifyConnectionForIncomingCall()
383 MockConnection connection = connectionService.incomingConnections.get(connectionIndex); in verifyConnectionForIncomingCall()
388 void setAndVerifyConnectionForIncomingCall(MockConnection connection) { in setAndVerifyConnectionForIncomingCall()
396 MockConnection connection = connectionService.outgoingConnections.get(connectionIndex); in setAndVerifyConferenceablesForOutgoingConnection()
606 void assertMuteState(final MockConnection connection, final boolean isMuted) { in assertMuteState()
663 void assertAudioRoute(final MockConnection connection, final int route) { in assertAudioRoute()
[all …]
DMockVideoProvider.java46 private MockConnection mMockConnection;
54 public MockVideoProvider(MockConnection mockConnection) { in MockVideoProvider()
DConferenceTest.java54 private MockConnection mConnection1, mConnection2;
163 MockConnection newConnection = verifyConnectionForOutgoingCall(2); in testConferenceSetters()
347 MockConnection newConnection = verifyConnectionForOutgoingCall(2); in testConferenceAddAndRemoveConnection()
382 private void verifyConferenceObject(Conference mConferenceObject, MockConnection connection1, in verifyConferenceObject()
383 MockConnection connection2) { in verifyConferenceObject()
DCallDetailsTest.java77 private MockConnection mConnection;
92 mConnection = (MockConnection) connection; in setUp()
509 MockConnection.ON_EXTRAS_CHANGED); in testCallPutExtras()
580 MockConnection.ON_EXTRAS_CHANGED); in setupCallExtras()
630 final InvokeCounter counter = mConnection.getInvokeCounter(MockConnection.ON_CALL_EVENT); in testCallEvent()
DMissedCallTest.java62 final MockConnection connection = verifyConnectionForIncomingCall(); in testMissedCall_NotifyDialer()
DRemoteConnectionTest.java52 MockConnection mConnection;
53 MockConnection mRemoteConnection;
493 MockConnection newConnection = verifyConnectionForOutgoingCallOnRemoteCS(1); in testRemoteConnectionCallbacks_ConferenceableConnections()
635 mRemoteConnection.getInvokeCounter(MockConnection.ON_PULL_EXTERNAL_CALL); in testRemoteConnectionCallbacks_PullExternalCall()
1204 MockConnection connection = (MockConnection)super.onCreateOutgoingConnection( in addRemoteConnectionOutgoingCall()
1238 MockConnection connection = (MockConnection)super.onCreateIncomingConnection( in addRemoteConnectionIncomingCall()
DMockConnection.java35 public class MockConnection extends Connection { class