Home
last modified time | relevance | path

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

/cts/tests/app/BroadcastsTest/src/android/app/cts/broadcasts/
DBroadcastDeliveryGroupTest.java35 final TestServiceConnection connection1 = bindToHelperService(HELPER_PKG1); in testDeliveryGroupPolicy_policyAll() local
38 final ICommandReceiver cmdReceiver1 = connection1.getCommandReceiver(); in testDeliveryGroupPolicy_policyAll()
57 connection1.unbind(); in testDeliveryGroupPolicy_policyAll()
64 final TestServiceConnection connection1 = bindToHelperService(HELPER_PKG1); in testDeliveryGroupPolicy_withForceDelay_policyAll() local
67 final ICommandReceiver cmdReceiver1 = connection1.getCommandReceiver(); in testDeliveryGroupPolicy_withForceDelay_policyAll()
91 connection1.unbind(); in testDeliveryGroupPolicy_withForceDelay_policyAll()
98 final TestServiceConnection connection1 = bindToHelperService(HELPER_PKG1); in testDeliveryGroupPolicy_policyMostRecent() local
101 final ICommandReceiver cmdReceiver1 = connection1.getCommandReceiver(); in testDeliveryGroupPolicy_policyMostRecent()
123 connection1.unbind(); in testDeliveryGroupPolicy_policyMostRecent()
130 final TestServiceConnection connection1 = bindToHelperService(HELPER_PKG1); in testDeliveryGroupPolicy_withForceDelay_policyMostRecent() local
[all …]
DBroadcastDeferralTest.java56 final TestServiceConnection connection1 = bindToHelperService(HELPER_PKG1); in testFgBroadcastDeliveryToFrozenApp_withDeferUntilActive() local
70 cmdReceiver1 = connection1.getCommandReceiver(); in testFgBroadcastDeliveryToFrozenApp_withDeferUntilActive()
115 connection1.unbind(); in testFgBroadcastDeliveryToFrozenApp_withDeferUntilActive()
123 final TestServiceConnection connection1 = bindToHelperService(HELPER_PKG1); in testFgBroadcastDeliveryToFrozenApp() local
134 cmdReceiver1 = connection1.getCommandReceiver(); in testFgBroadcastDeliveryToFrozenApp()
176 connection1.unbind(); in testFgBroadcastDeliveryToFrozenApp()
DBroadcastFreezerTest.java169 TestServiceConnection connection1 = bindToHelperService(HELPER_PKG1); in testBroadcastDelivery_pendingFreezeCancelled() local
172 cmdReceiver1 = connection1.getCommandReceiver(); in testBroadcastDelivery_pendingFreezeCancelled()
209 connection1.unbind(); in testBroadcastDelivery_pendingFreezeCancelled()
/cts/tests/tests/telecom/src/android/telecom/cts/
DCtsRemoteConnectionService.java155 public void onConference(Connection connection1, Connection connection2) { in onConference() argument
158 sConnectionService.onConference(connection1, connection2); in onConference()
160 mMockConnectionService.onConference(connection1, connection2); in onConference()
DMockConnectionService.java172 public void onConference(Connection connection1, Connection connection2) { in onConference() argument
174 if (connection1.getConference() == null && connection2.getConference() == null) { in onConference()
176 (MockConnection)connection1, (MockConnection)connection2); in onConference()
180 if (connection1.getState() == Connection.STATE_HOLDING){ in onConference()
181 connection1.setActive(); in onConference()
DRemoteConferenceTest.java561 public void onConference(Connection connection1, Connection connection2) { in addRemoteConnectionOutgoingCalls()
568 ((MockConnection)connection1).getRemoteConnection(); in addRemoteConnectionOutgoingCalls()
576 if (connection1.getState() == Connection.STATE_HOLDING){ in addRemoteConnectionOutgoingCalls()
577 connection1.setActive(); in addRemoteConnectionOutgoingCalls()
614 public void onConference(Connection connection1, Connection connection2) { in addRemoteConnectionOutgoingCalls()
616 if (connection1.getConference() == null && in addRemoteConnectionOutgoingCalls()
619 (MockConnection)connection1, (MockConnection)connection2); in addRemoteConnectionOutgoingCalls()
623 if (connection1.getState() == Connection.STATE_HOLDING){ in addRemoteConnectionOutgoingCalls()
624 connection1.setActive(); in addRemoteConnectionOutgoingCalls()
DConferenceTest.java527 private void verifyConferenceObject(Conference mConferenceObject, MockConnection connection1, in verifyConferenceObject() argument
530 assertEquals(connection1.getConnectionCapabilities(), in verifyConferenceObject()
532 assertEquals(connection1.getState(), mConferenceObject.getState()); in verifyConferenceObject()
534 assertTrue(mConferenceObject.getConnections().contains(connection1)); in verifyConferenceObject()
536 assertEquals(connection1.getDisconnectCause(), mConferenceObject.getDisconnectCause()); in verifyConferenceObject()
537 assertTrue(areBundlesEqual(connection1.getExtras(), mConferenceObject.getExtras())); in verifyConferenceObject()
538 … assertEquals(connection1.getPhoneAccountHandle(), mConferenceObject.getPhoneAccountHandle()); in verifyConferenceObject()
539 assertEquals(connection1.getStatusHints(), mConferenceObject.getStatusHints()); in verifyConferenceObject()
DExtendedInCallServiceTest.java334 MockConnection connection1 = verifyConnectionForIncomingCall(0); in testAcceptRingingCallTwoCalls() local
366 MockConnection connection1 = verifyConnectionForIncomingCall(0); in testAcceptRingingCallTwoCallsCarMode() local
771 final MockConnection connection1 = verifyConnectionForOutgoingCall(0); in testCanAddCall_CannotAddIfTooManyCalls() local
776 connection1.setActive(); in testCanAddCall_CannotAddIfTooManyCalls()
917 final MockConnection connection1 = verifyConnectionForOutgoingCall(0); in testGetCalls() local
922 connection1.setActive(); in testGetCalls()
DCtsConnectionService.java197 public void onConference(Connection connection1, Connection connection2) { in onConference() argument
200 testImpl.onConference(connection1, connection2); in onConference()
DConnectionServiceTest.java549 final Connection connection1 = verifyConnectionForOutgoingCall();
554 assertTrue(connections.contains(connection1));
557 connection1.setActive();
/cts/tests/tests/app.usage/BroadcastResponseStats/src/android/app/usage/brs/cts/
DBroadcastResponseStatsTest.java1005 final TestServiceConnection connection1 = bindToTestServiceAndGetConnection(TEST_APP_PKG); in testBroadcastResponseStats_multiplePackages() local
1009 ITestReceiver testReceiver1 = connection1.getITestReceiver(); in testBroadcastResponseStats_multiplePackages()
1101 connection1.unbind(); in testBroadcastResponseStats_multiplePackages()
1115 final TestServiceConnection connection1 = bindToTestServiceAndGetConnection(TEST_APP_PKG); in testBroadcastResponseStats_multiplePackages_multipleIds() local
1119 ITestReceiver testReceiver1 = connection1.getITestReceiver(); in testBroadcastResponseStats_multiplePackages_multipleIds()
1195 connection1.unbind(); in testBroadcastResponseStats_multiplePackages_multipleIds()
1209 final TestServiceConnection connection1 = bindToTestServiceAndGetConnection(TEST_APP_PKG); in testBroadcastResponseStats_clearCounts_multiplePackages() local
1212 ITestReceiver testReceiver1 = connection1.getITestReceiver(); in testBroadcastResponseStats_clearCounts_multiplePackages()
1290 connection1.unbind(); in testBroadcastResponseStats_clearCounts_multiplePackages()
1303 final TestServiceConnection connection1 = bindToTestServiceAndGetConnection(TEST_APP_PKG); in testBroadcastResponseStats_clearCounts_multipleIds() local
[all …]
/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.java501 final TestServiceConnection connection1 = bindToHelperService(HELPER_PKG); in testPrivateAccess() local
510 assertPkgCannotAccess(blobData, connection1); in testPrivateAccess()
514 commitBlobFromPkg(blobData, connection1); in testPrivateAccess()
515 acquireLeaseAndAssertPkgCanAccess(blobData, connection1); in testPrivateAccess()
520 acquireLeaseAndAssertPkgCanAccess(blobData, connection1); in testPrivateAccess()
525 connection1.unbind(); in testPrivateAccess()
560 final TestServiceConnection connection1 = bindToHelperService(HELPER_PKG); in testMixedAccessType_fromMultiplePackages() local
576 acquireLeaseAndAssertPkgCanAccess(blobData, connection1); in testMixedAccessType_fromMultiplePackages()
582 acquireLeaseAndAssertPkgCanAccess(blobData, connection1); in testMixedAccessType_fromMultiplePackages()
587 connection1.unbind(); in testMixedAccessType_fromMultiplePackages()