Home
last modified time | relevance | path

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

/cts/tests/tests/telecom/src/android/telecom/cts/
DMockConnectionService.java126 public void onConference(Connection connection1, Connection connection2) { in onConference() argument
128 if (connection1.getConference() == null && connection2.getConference() == null) { in onConference()
130 (MockConnection)connection1, (MockConnection)connection2); in onConference()
137 if(connection2.getState() == Connection.STATE_HOLDING){ in onConference()
138 connection2.setActive(); in onConference()
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()
DConnectionServiceTest.java259 final Connection connection2 = new MockConnection(); in testGetAllConnections() local
260 connection2.setActive(); in testGetAllConnections()
261 CtsConnectionService.addExistingConnectionToTelecom(TEST_PHONE_ACCOUNT_HANDLE, connection2); in testGetAllConnections()
266 assertTrue(connections.contains(connection2)); in testGetAllConnections()
DRemoteConferenceTest.java501 public void onConference(Connection connection1, Connection connection2) { in addRemoteConnectionOutgoingCalls()
510 ((MockConnection)connection2).getRemoteConnection(); in addRemoteConnectionOutgoingCalls()
519 if(connection2.getState() == Connection.STATE_HOLDING){ in addRemoteConnectionOutgoingCalls()
520 connection2.setActive(); in addRemoteConnectionOutgoingCalls()
554 public void onConference(Connection connection1, Connection connection2) { in addRemoteConnectionOutgoingCalls()
557 connection2.getConference() == null) { in addRemoteConnectionOutgoingCalls()
559 (MockConnection)connection1, (MockConnection)connection2); in addRemoteConnectionOutgoingCalls()
566 if(connection2.getState() == Connection.STATE_HOLDING){ in addRemoteConnectionOutgoingCalls()
567 connection2.setActive(); in addRemoteConnectionOutgoingCalls()
DExtendedInCallServiceTest.java323 final MockConnection connection2 = verifyConnectionForIncomingCall(1); in testAcceptRingingCallTwoCalls() local
327 assertConnectionState(connection2, Connection.STATE_RINGING); in testAcceptRingingCallTwoCalls()
333 assertConnectionState(connection2, Connection.STATE_ACTIVE); in testAcceptRingingCallTwoCalls()
355 final MockConnection connection2 = verifyConnectionForIncomingCall(1); in testAcceptRingingCallTwoCallsCarMode() local
359 assertConnectionState(connection2, Connection.STATE_RINGING); in testAcceptRingingCallTwoCallsCarMode()
369 assertConnectionState(connection2, Connection.STATE_ACTIVE); in testAcceptRingingCallTwoCallsCarMode()
531 final MockConnection connection2 = verifyConnectionForOutgoingCall(1); in testCanAddCall_CannotAddIfTooManyCalls() local
535 connection2.setActive(); in testCanAddCall_CannotAddIfTooManyCalls()
DCtsConnectionService.java112 public void onConference(Connection connection1, Connection connection2) { in onConference() argument
115 sConnectionService.onConference(connection1, connection2); in onConference()
DConferenceTest.java414 MockConnection connection2) { in verifyConferenceObject() argument
420 assertEquals(connection2.getState(), mConferenceObject.getState()); in verifyConferenceObject()
422 assertTrue(mConferenceObject.getConnections().contains(connection2)); in verifyConferenceObject()
DSelfManagedConnectionServiceTest.java488 SelfManagedConnection connection2 = TestUtils.waitForAndGetConnection(TEST_ADDRESS_2); in testIncomingWhileOngoingWithinLimit() local
490 connection2.disconnectAndDestroy(); in testIncomingWhileOngoingWithinLimit()
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DDummyConnectionService.java60 public void onConference(Connection connection1, Connection connection2) { in onConference() argument