Home
last modified time | relevance | path

Searched refs:connections (Results 1 – 4 of 4) sorted by relevance

/cts/tests/app/src/android/app/cts/
DServiceTest.java1788 private void doBind(Context context, IsolatedConnectionInfo[] connections, int group, in doBind() argument
1790 for (IsolatedConnectionInfo ci : connections) { in doBind()
1797 private void doBind(Context context, IsolatedConnectionInfo[] connections, int[] selected) { in doBind() argument
1799 boolean result = connections[i].bind(context); in doBind()
1801 fail("Unable to bind connection " + connections[i].mLabel); in doBind()
1806 private void doWaitForService(IsolatedConnectionInfo[] connections, int group, in doWaitForService() argument
1808 for (IsolatedConnectionInfo ci : connections) { in doWaitForService()
1815 private void doUpdateServiceGroup(Context context, IsolatedConnectionInfo[] connections, in doUpdateServiceGroup() argument
1817 for (IsolatedConnectionInfo ci : connections) { in doUpdateServiceGroup()
1824 private void doUnbind(Context context, IsolatedConnectionInfo[] connections, int group, in doUnbind() argument
[all …]
/cts/tests/tests/telecom/src/android/telecom/cts/
DConnectionServiceTest.java551 Collection<Connection> connections =
553 assertEquals(1, connections.size());
554 assertTrue(connections.contains(connection1));
567 connections = CtsConnectionService.getAllConnectionsFromTelecom();
568 assertEquals(2, connections.size());
569 assertTrue(connections.contains(connection2));
574 connections = CtsConnectionService.getAllConnectionsFromTelecom();
575 assertEquals(3, connections.size());
576 assertTrue(connections.contains(connection3));
DIncomingCallTest.java132 Collection<Connection> connections = CtsConnectionService.getAllConnectionsFromTelecom(); in testAddNewIncomingCall_CorrectPhoneAccountHandle() local
133 assertEquals(1, connections.size()); in testAddNewIncomingCall_CorrectPhoneAccountHandle()
134 assertTrue(connections.contains(connection3)); in testAddNewIncomingCall_CorrectPhoneAccountHandle()
DSelfManagedConnectionServiceTest.java1202 List<SelfManagedConnection> connections = new ArrayList<>(); in testCallLimit() local
1212 connections.add(connection); in testCallLimit()
1223 connections.forEach((selfManagedConnection) -> in testCallLimit()