Home
last modified time | relevance | path

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

/cts/tests/tests/telecom/src/android/telecom/cts/
DCtsRemoteConnectionService.java148 public void onConference(Connection connection1, Connection connection2) { in onConference() argument
151 sConnectionService.onConference(connection1, connection2); in onConference()
153 mMockConnectionService.onConference(connection1, connection2); in onConference()
DMockConnectionService.java166 public void onConference(Connection connection1, Connection connection2) { in onConference() argument
168 if (connection1.getConference() == null && connection2.getConference() == null) { in onConference()
170 (MockConnection)connection1, (MockConnection)connection2); in onConference()
174 if (connection1.getState() == Connection.STATE_HOLDING){ in onConference()
175 connection1.setActive(); in onConference()
DRemoteConferenceTest.java552 public void onConference(Connection connection1, Connection connection2) { in addRemoteConnectionOutgoingCalls()
559 ((MockConnection)connection1).getRemoteConnection(); in addRemoteConnectionOutgoingCalls()
567 if (connection1.getState() == Connection.STATE_HOLDING){ in addRemoteConnectionOutgoingCalls()
568 connection1.setActive(); in addRemoteConnectionOutgoingCalls()
605 public void onConference(Connection connection1, Connection connection2) { in addRemoteConnectionOutgoingCalls()
607 if (connection1.getConference() == null && in addRemoteConnectionOutgoingCalls()
610 (MockConnection)connection1, (MockConnection)connection2); in addRemoteConnectionOutgoingCalls()
614 if (connection1.getState() == Connection.STATE_HOLDING){ in addRemoteConnectionOutgoingCalls()
615 connection1.setActive(); in addRemoteConnectionOutgoingCalls()
DConferenceTest.java493 private void verifyConferenceObject(Conference mConferenceObject, MockConnection connection1, in verifyConferenceObject() argument
496 assertEquals(connection1.getConnectionCapabilities(), in verifyConferenceObject()
498 assertEquals(connection1.getState(), mConferenceObject.getState()); in verifyConferenceObject()
500 assertTrue(mConferenceObject.getConnections().contains(connection1)); in verifyConferenceObject()
502 assertEquals(connection1.getDisconnectCause(), mConferenceObject.getDisconnectCause()); in verifyConferenceObject()
503 assertTrue(areBundlesEqual(connection1.getExtras(), mConferenceObject.getExtras())); in verifyConferenceObject()
504 … assertEquals(connection1.getPhoneAccountHandle(), mConferenceObject.getPhoneAccountHandle()); in verifyConferenceObject()
505 assertEquals(connection1.getStatusHints(), mConferenceObject.getStatusHints()); in verifyConferenceObject()
DExtendedInCallServiceTest.java317 MockConnection connection1 = verifyConnectionForIncomingCall(0); in testAcceptRingingCallTwoCalls() local
349 MockConnection connection1 = verifyConnectionForIncomingCall(0); in testAcceptRingingCallTwoCallsCarMode() local
638 final MockConnection connection1 = verifyConnectionForOutgoingCall(0); in testCanAddCall_CannotAddIfTooManyCalls() local
643 connection1.setActive(); in testCanAddCall_CannotAddIfTooManyCalls()
784 final MockConnection connection1 = verifyConnectionForOutgoingCall(0); in testGetCalls() local
789 connection1.setActive(); in testGetCalls()
DCtsConnectionService.java187 public void onConference(Connection connection1, Connection connection2) { in onConference() argument
190 sConnectionService.onConference(connection1, connection2); in onConference()
DConnectionServiceTest.java457 final Connection connection1 = verifyConnectionForOutgoingCall();
462 assertTrue(connections.contains(connection1));
465 connection1.setActive();
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DTestConnectionService.java60 public void onConference(Connection connection1, Connection connection2) { in onConference() argument
/cts/tests/BlobStore/src/com/android/cts/blob/
DBlobStoreManagerTest.java494 final TestServiceConnection connection1 = bindToHelperService(HELPER_PKG); in testPrivateAccess() local
503 assertPkgCannotAccess(blobData, connection1); in testPrivateAccess()
507 commitBlobFromPkg(blobData, connection1); in testPrivateAccess()
508 acquireLeaseAndAssertPkgCanAccess(blobData, connection1); in testPrivateAccess()
513 acquireLeaseAndAssertPkgCanAccess(blobData, connection1); in testPrivateAccess()
518 connection1.unbind(); in testPrivateAccess()
553 final TestServiceConnection connection1 = bindToHelperService(HELPER_PKG); in testMixedAccessType_fromMultiplePackages() local
569 acquireLeaseAndAssertPkgCanAccess(blobData, connection1); in testMixedAccessType_fromMultiplePackages()
575 acquireLeaseAndAssertPkgCanAccess(blobData, connection1); in testMixedAccessType_fromMultiplePackages()
580 connection1.unbind(); in testMixedAccessType_fromMultiplePackages()