Searched refs:MockConnection (Results 1 – 13 of 13) sorted by relevance
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | MockConnectionService.java | 47 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()
|
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 | ExtendedInCallServiceTest.java | 66 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 …]
|
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 testInCallShortPress_togglesMute() 100 final MockConnection connection = verifyConnectionForOutgoingCall(); in testInCallLongPress_hangupCall()
|
D | ConnectionServiceTest.java | 52 final MockConnection connection = new MockConnection(); in testAddExistingConnection() 79 final Connection connection2 = new MockConnection(); in testGetAllConnections()
|
D | RemoteConferenceTest.java | 55 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 …]
|
D | VideoCallTest.java | 64 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 …]
|
D | MockConference.java | 39 public MockConference(MockConnection a, MockConnection b) { in MockConference() 69 mRemoteConference.separate(((MockConnection)connection).getRemoteConnection()); in onSeparate()
|
D | BaseTelecomTestWithMockServices.java | 312 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 …]
|
D | MockVideoProvider.java | 45 private MockConnection mMockConnection; 52 public MockVideoProvider(MockConnection mockConnection) { in MockVideoProvider()
|
D | ConferenceTest.java | 46 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()
|
D | RemoteConnectionTest.java | 53 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()
|
D | MockConnection.java | 33 public class MockConnection extends Connection { class
|