Home
last modified time | relevance | path

Searched refs:connection1 (Results 1 – 8 of 8) 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()
134 if (connection1.getState() == Connection.STATE_HOLDING){ in onConference()
135 connection1.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()
DRemoteConferenceTest.java501 public void onConference(Connection connection1, Connection connection2) { in addRemoteConnectionOutgoingCalls()
508 ((MockConnection)connection1).getRemoteConnection(); in addRemoteConnectionOutgoingCalls()
516 if (connection1.getState() == Connection.STATE_HOLDING){ in addRemoteConnectionOutgoingCalls()
517 connection1.setActive(); in addRemoteConnectionOutgoingCalls()
554 public void onConference(Connection connection1, Connection connection2) { in addRemoteConnectionOutgoingCalls()
556 if (connection1.getConference() == null && in addRemoteConnectionOutgoingCalls()
559 (MockConnection)connection1, (MockConnection)connection2); in addRemoteConnectionOutgoingCalls()
563 if (connection1.getState() == Connection.STATE_HOLDING){ in addRemoteConnectionOutgoingCalls()
564 connection1.setActive(); in addRemoteConnectionOutgoingCalls()
DConferenceTest.java413 private void verifyConferenceObject(Conference mConferenceObject, MockConnection connection1, in verifyConferenceObject() argument
417 assertEquals(connection1.getConnectionCapabilities(), in verifyConferenceObject()
419 assertEquals(connection1.getState(), mConferenceObject.getState()); in verifyConferenceObject()
421 assertTrue(mConferenceObject.getConnections().contains(connection1)); in verifyConferenceObject()
423 assertEquals(connection1.getDisconnectCause(), mConferenceObject.getDisconnectCause()); in verifyConferenceObject()
424 assertTrue(areBundlesEqual(connection1.getExtras(), mConferenceObject.getExtras())); in verifyConferenceObject()
425 … assertEquals(connection1.getPhoneAccountHandle(), mConferenceObject.getPhoneAccountHandle()); in verifyConferenceObject()
426 assertEquals(connection1.getStatusHints(), mConferenceObject.getStatusHints()); in verifyConferenceObject()
DConnectionServiceTest.java248 final Connection connection1 = verifyConnectionForOutgoingCall(); in testGetAllConnections() local
252 assertTrue(connections.contains(connection1)); in testGetAllConnections()
255 connection1.setActive(); in testGetAllConnections()
DCtsConnectionService.java112 public void onConference(Connection connection1, Connection connection2) { in onConference() argument
115 sConnectionService.onConference(connection1, connection2); in onConference()
DExtendedInCallServiceTest.java314 MockConnection connection1 = verifyConnectionForIncomingCall(0); in testAcceptRingingCallTwoCalls() local
346 MockConnection connection1 = verifyConnectionForIncomingCall(0); in testAcceptRingingCallTwoCallsCarMode() local
521 final MockConnection connection1 = verifyConnectionForOutgoingCall(0); in testCanAddCall_CannotAddIfTooManyCalls() local
526 connection1.setActive(); in testCanAddCall_CannotAddIfTooManyCalls()
667 final MockConnection connection1 = verifyConnectionForOutgoingCall(0); in testGetCalls() local
672 connection1.setActive(); in testGetCalls()
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DDummyConnectionService.java60 public void onConference(Connection connection1, Connection connection2) { in onConference() argument