Home | History | Annotate | Download | only in cts

Lines Matching defs:connection

26 import android.telecom.Connection;
62 // Setup the primary connection service first
72 // Generate a vanilla mock connection service, if not provided.
99 //Telecom doesn't unbind the remote connection service at the end of all calls today.
105 // Assuming only 1 connection present
113 fail("No outgoing call connection requested by Telecom");
119 assertThat("Telecom should create outgoing connection for remote outgoing call",
123 MockConnection connection = remoteConnectionService.outgoingConnections.get(connectionIndex);
124 return connection;
128 // Assuming only 1 connection present
136 fail("No outgoing call connection requested by Telecom");
146 MockConnection connection = remoteConnectionService.incomingConnections.get(connectionIndex);
147 setAndVerifyConnectionForIncomingCall(connection);
148 return connection;
154 * Set the conferenceable connections on the given connection and it's remote connection
157 // Make all other outgoing connections as conferenceable with this remote connection.
158 MockConnection connection = remoteConnectionService.outgoingConnections.get(connectionIndex);
159 List<Connection> confConnections =
161 for (Connection c : remoteConnectionService.outgoingConnections) {
162 if (c != connection) {
166 connection.setConferenceableConnections(confConnections);
167 assertEquals(connection.getConferenceables(), confConnections);
185 void assertRemoteConnectionState(final RemoteConnection connection, final int state) {
195 return connection.getState();
199 "Remote Connection should be in state " + state