Searched refs:connections (Results 1 – 4 of 4) sorted by relevance
/cts/tests/app/src/android/app/cts/ |
D | ServiceTest.java | 1360 private void doBind(Context context, IsolatedConnectionInfo[] connections, int group, in doBind() argument 1362 for (IsolatedConnectionInfo ci : connections) { in doBind() 1369 private void doBind(Context context, IsolatedConnectionInfo[] connections, int[] selected) { in doBind() argument 1371 boolean result = connections[i].bind(context); in doBind() 1373 fail("Unable to bind connection " + connections[i].mLabel); in doBind() 1378 private void doWaitForService(IsolatedConnectionInfo[] connections, int group, in doWaitForService() argument 1380 for (IsolatedConnectionInfo ci : connections) { in doWaitForService() 1387 private void doUpdateServiceGroup(Context context, IsolatedConnectionInfo[] connections, in doUpdateServiceGroup() argument 1389 for (IsolatedConnectionInfo ci : connections) { in doUpdateServiceGroup() 1396 private void doUnbind(Context context, IsolatedConnectionInfo[] connections, int group, in doUnbind() argument [all …]
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | ConnectionServiceTest.java | 250 Collection<Connection> connections = CtsConnectionService.getAllConnectionsFromTelecom(); in testGetAllConnections() local 251 assertEquals(1, connections.size()); in testGetAllConnections() 252 assertTrue(connections.contains(connection1)); in testGetAllConnections() 264 connections = CtsConnectionService.getAllConnectionsFromTelecom(); in testGetAllConnections() 265 assertEquals(2, connections.size()); in testGetAllConnections() 266 assertTrue(connections.contains(connection2)); in testGetAllConnections() 271 connections = CtsConnectionService.getAllConnectionsFromTelecom(); in testGetAllConnections() 272 assertEquals(3, connections.size()); in testGetAllConnections() 273 assertTrue(connections.contains(connection3)); in testGetAllConnections()
|
D | IncomingCallTest.java | 52 Collection<Connection> connections = CtsConnectionService.getAllConnectionsFromTelecom(); in testAddNewIncomingCall_CorrectPhoneAccountHandle() local 53 assertEquals(1, connections.size()); in testAddNewIncomingCall_CorrectPhoneAccountHandle() 54 assertTrue(connections.contains(connection3)); in testAddNewIncomingCall_CorrectPhoneAccountHandle()
|
D | SelfManagedConnectionServiceTest.java | 582 List<SelfManagedConnection> connections = new ArrayList<>(); in testCallLimit() local 593 connections.add(connection); in testCallLimit() 604 connections.forEach((selfManagedConnection) -> in testCallLimit()
|