Home
last modified time | relevance | path

Searched refs:connection2 (Results 1 – 7 of 7) sorted by relevance

/cts/tests/tests/telecom/src/android/telecom/cts/
DConnectionServiceTest.java79 final Connection connection2 = new MockConnection(); in testGetAllConnections() local
80 CtsConnectionService.addExistingConnectionToTelecom(TEST_PHONE_ACCOUNT_HANDLE, connection2); in testGetAllConnections()
85 assertTrue(connections.contains(connection2)); in testGetAllConnections()
DCtsRemoteConnectionService.java119 public void onConference(Connection connection1, Connection connection2) { in onConference() argument
122 sConnectionService.onConference(connection1, connection2); in onConference()
124 mMockConnectionService.onConference(connection1, connection2); in onConference()
DMockConnectionService.java85 public void onConference(Connection connection1, Connection connection2) { in onConference() argument
87 if (connection1.getConference() == null && connection2.getConference() == null) { in onConference()
89 (MockConnection)connection1, (MockConnection)connection2); in onConference()
DCtsConnectionService.java120 public void onConference(Connection connection1, Connection connection2) { in onConference() argument
123 sConnectionService.onConference(connection1, connection2); in onConference()
125 mMockConnectionService.onConference(connection1, connection2); in onConference()
DRemoteConferenceTest.java469 public void onConference(Connection connection1, Connection connection2) { in addRemoteConnectionOutgoingCalls()
478 ((MockConnection)connection2).getRemoteConnection(); in addRemoteConnectionOutgoingCalls()
515 public void onConference(Connection connection1, Connection connection2) { in addRemoteConnectionOutgoingCalls()
518 connection2.getConference() == null) { in addRemoteConnectionOutgoingCalls()
520 (MockConnection)connection1, (MockConnection)connection2); in addRemoteConnectionOutgoingCalls()
DConferenceTest.java260 MockConnection connection2) { in verifyConferenceObject() argument
266 assertEquals(connection2.getState(), mConferenceObject.getState()); in verifyConferenceObject()
268 assertTrue(mConferenceObject.getConnections().contains(connection2)); in verifyConferenceObject()
DExtendedInCallServiceTest.java305 final MockConnection connection2 = verifyConnectionForOutgoingCall(1); in testCanAddCall_CannotAddIfTooManyCalls() local
309 connection2.setActive(); in testCanAddCall_CannotAddIfTooManyCalls()