Searched refs:MockConnection (Results 1 – 16 of 16) 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() 77 final MockConnection connection = new MockConnection(); in onCreateIncomingConnection() 97 (MockConnection)connection1, (MockConnection)connection2); in onConference()
|
D | ConnectionServiceTest.java | 52 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()
|
D | ExtendedInCallServiceTest.java | 71 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 …]
|
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 | ExternalCallTest.java | 38 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()
|
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 testInCallLongPress_togglesMute() 100 final MockConnection connection = verifyConnectionForOutgoingCall(); in testInCallShortPress_hangupCall()
|
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() 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 …]
|
D | VideoCallTest.java | 66 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 …]
|
D | MockConference.java | 42 public MockConference(MockConnection a, MockConnection b) { in MockConference() 72 mRemoteConference.separate(((MockConnection)connection).getRemoteConnection()); in onSeparate()
|
D | BaseTelecomTestWithMockServices.java | 345 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 …]
|
D | MockVideoProvider.java | 46 private MockConnection mMockConnection; 54 public MockVideoProvider(MockConnection mockConnection) { in MockVideoProvider()
|
D | ConferenceTest.java | 54 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()
|
D | CallDetailsTest.java | 77 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()
|
D | MissedCallTest.java | 62 final MockConnection connection = verifyConnectionForIncomingCall(); in testMissedCall_NotifyDialer()
|
D | RemoteConnectionTest.java | 52 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()
|
D | MockConnection.java | 35 public class MockConnection extends Connection { class
|