HomeSort by relevance Sort by last modified time
    Searched refs:connectionService (Results 1 - 11 of 11) sorted by null

  /cts/tests/tests/telecom/src/android/telecom/cts/
CtsRemoteConnectionService.java 25 import android.telecom.ConnectionService;
30 * This is the Remote ConnectionService for Telecom's CTS App. Since telecom requires that a
45 public class CtsRemoteConnectionService extends ConnectionService {
48 private static ConnectionService sConnectionService;
50 private static ConnectionService sTelecomConnectionService;
56 throw new Exception("Telecom ConnectionService exists");
61 // ConnectionService used by default as a fallback if no connection service is specified
63 private static ConnectionService mMockConnectionService = new MockConnectionService();
73 ConnectionService connectionService) throws Exception
    [all...]
ConnectionServiceTest.java 27 import android.telecom.ConnectionService;
33 * Test some additional {@link ConnectionService} and {@link Connection} APIs not already covered
168 assertTrue(connectionService.waitForEvent(
181 assertTrue(connectionService.waitForEvent(
185 // WHEN place another call has the same ConnectionService as the existing call
189 // THEN the ConnectionService has not gained the focus again
190 assertFalse(connectionService.waitForEvent(
192 // and the ConnectionService didn't lose the focus
193 assertFalse(connectionService.waitForEvent(
205 assertTrue(connectionService.waitForEvent
    [all...]
HandoverTest.java 42 // Test handover source is a managed ConnectionService
48 // Test handover destination is a self-managed ConnectionService.
56 CtsSelfManagedConnectionService connectionService =
58 if (connectionService != null) {
59 connectionService.tearDown();
138 fail("Could not bind to Self-Managed ConnectionService");
180 fail("Could not bind to Self-Managed ConnectionService");
BaseTelecomTestWithMockServices.java 101 MockConnectionService connectionService = null;
187 protected PhoneAccount setupConnectionService(MockConnectionService connectionService,
189 if (connectionService != null) {
190 this.connectionService = connectionService;
193 this.connectionService = new MockConnectionService();
195 CtsConnectionService.setUp(this.connectionService);
219 if (this.connectionService != null) {
220 assertNumConnections(this.connectionService, 0);
229 this.connectionService = null
    [all...]
OutgoingCallTest.java 105 String expectedNumber = connectionService.outgoingConnections.get(0)
BaseRemoteTelecomTest.java 60 protected void setupConnectionServices(MockConnectionService connectionService,
63 setupConnectionService(connectionService, flags);
CtsConnectionService.java 25 import android.telecom.ConnectionService;
36 * This is the official ConnectionService for Telecom's CTS App. Since telecom requires that a
52 public class CtsConnectionService extends ConnectionService {
55 private static ConnectionService sConnectionService;
57 private static ConnectionService sTelecomConnectionService;
69 public static void setUp(ConnectionService connectionService) throws Exception {
72 throw new Exception("Mock ConnectionService exists. Failed to call tearDown().");
74 sConnectionService = connectionService;
SelfManagedConnectionServiceTest.java 28 import android.telecom.ConnectionService;
46 * CTS tests for the self-managed {@link android.telecom.ConnectionService} APIs.
63 // Register and enable the CTS ConnectionService; we want to be able to test a managed
64 // ConnectionService alongside a self-managed ConnectionService.
77 CtsSelfManagedConnectionService connectionService =
79 if (connectionService != null) {
80 connectionService.tearDown();
239 fail("Could not bind to Self-Managed ConnectionService");
299 * A self-managed {@link ConnectionService} shall be able to place an outgoing call to tel o
    [all...]
TestUtils.java 468 TestCase.fail("Could not bind to Self-Managed ConnectionService");
470 CtsSelfManagedConnectionService connectionService =
472 TestCase.assertTrue(connectionService.waitForUpdate(
475 Optional<SelfManagedConnection> connectionOptional = connectionService.getConnections()
VideoCallTest.java 238 connectionService.setCreateVideoProvider(false);
257 connectionService.setCreateVideoProvider(true);
    [all...]
  /cts/tests/tests/telecom3/src/android/telecom/cts/
SelfManagedAwareInCallServiceTest.java 94 CtsSelfManagedConnectionService connectionService =
96 if (connectionService != null) {
97 connectionService.tearDown();

Completed in 123 milliseconds