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.java1686 private void doBind(Context context, IsolatedConnectionInfo[] connections, int group, in doBind() argument
1688 for (IsolatedConnectionInfo ci : connections) { in doBind()
1695 private void doBind(Context context, IsolatedConnectionInfo[] connections, int[] selected) { in doBind() argument
1697 boolean result = connections[i].bind(context); in doBind()
1699 fail("Unable to bind connection " + connections[i].mLabel); in doBind()
1704 private void doWaitForService(IsolatedConnectionInfo[] connections, int group, in doWaitForService() argument
1706 for (IsolatedConnectionInfo ci : connections) { in doWaitForService()
1713 private void doUpdateServiceGroup(Context context, IsolatedConnectionInfo[] connections, in doUpdateServiceGroup() argument
1715 for (IsolatedConnectionInfo ci : connections) { in doUpdateServiceGroup()
1722 private void doUnbind(Context context, IsolatedConnectionInfo[] connections, int group, in doUnbind() argument
[all …]
/cts/tests/tests/telecom/src/android/telecom/cts/
DConnectionServiceTest.java459 Collection<Connection> connections =
461 assertEquals(1, connections.size());
462 assertTrue(connections.contains(connection1));
475 connections = CtsConnectionService.getAllConnectionsFromTelecom();
476 assertEquals(2, connections.size());
477 assertTrue(connections.contains(connection2));
482 connections = CtsConnectionService.getAllConnectionsFromTelecom();
483 assertEquals(3, connections.size());
484 assertTrue(connections.contains(connection3));
DIncomingCallTest.java108 Collection<Connection> connections = CtsConnectionService.getAllConnectionsFromTelecom(); in testAddNewIncomingCall_CorrectPhoneAccountHandle() local
109 assertEquals(1, connections.size()); in testAddNewIncomingCall_CorrectPhoneAccountHandle()
110 assertTrue(connections.contains(connection3)); in testAddNewIncomingCall_CorrectPhoneAccountHandle()
DSelfManagedConnectionServiceTest.java585 List<SelfManagedConnection> connections = new ArrayList<>(); in testCallLimit() local
595 connections.add(connection); in testCallLimit()
606 connections.forEach((selfManagedConnection) -> in testCallLimit()