Home
last modified time | relevance | path

Searched refs:CtsConnection (Results 1 – 6 of 6) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/telecom/
DCtsSelfManagedConnectionService.java18 private CtsConnection.Listener mConnectionListener =
19 new CtsConnection.Listener() {
21 void onDestroyed(CtsConnection connection) {
31 List<CtsConnection> mConnections = new ArrayList<>();
58 public List<CtsConnection> getConnections() { in getConnections()
60 return new ArrayList<CtsConnection>(mConnections); in getConnections()
64 public CtsConnection waitForAndGetConnection() { in waitForAndGetConnection()
93 request.getExtras().getBoolean(CtsConnection.EXTRA_PLAY_CS_AUDIO, false); in createConnection()
94 CtsConnection connection = new CtsConnection(getApplicationContext(), isIncoming, in createConnection()
DCtsConnectionService.java38 private CtsConnection.Listener mConnectionListener =
39 new CtsConnection.Listener() {
41 void onDestroyed(CtsConnection connection) {
51 private List<CtsConnection> mConnections = new ArrayList<>();
78 public List<CtsConnection> getConnections() { in getConnections()
80 return new ArrayList<CtsConnection>(mConnections); in getConnections()
84 public CtsConnection waitForAndGetConnection() { in waitForAndGetConnection()
134 request.getExtras().getBoolean(CtsConnection.EXTRA_PLAY_CS_AUDIO, false); in createManagedConnection()
135 CtsConnection connection = new CtsConnection(getApplicationContext(), isIncoming, in createManagedConnection()
DCtsConnection.java37 public class CtsConnection extends Connection { class
42 void onDestroyed(CtsConnection connection) { }; in onDestroyed()
43 void onDisconnect(CtsConnection connection) { }; in onDisconnect()
44 void onHold(CtsConnection connection) { }; in onHold()
45 void onUnhold(CtsConnection connection) { }; in onUnhold()
46 void onAnswer(CtsConnection connection, int videoState) { }; in onAnswer()
47 void onReject(CtsConnection connection) { }; in onReject()
48 void onShowIncomingCallUi(CtsConnection connection) { }; in onShowIncomingCallUi()
60 public CtsConnection(Context context, boolean isIncomingCall, in CtsConnection() method in CtsConnection
DIncomingCallTestActivity.java111 extras.putBoolean(CtsConnection.EXTRA_PLAY_CS_AUDIO, true); in onCreate()
148 List<CtsConnection> ongoingConnections = in confirmIncomingCall()
153 CtsConnection incomingConnection = ongoingConnections.get(0); in confirmIncomingCall()
DOutgoingCallTestActivity.java137 List<CtsConnection> ongoingConnections = in confirmOutgoingCall()
142 CtsConnection outgoingConnection = ongoingConnections.get(0); in confirmOutgoingCall()
DSelfManagedIncomingCallTestActivity.java109 CtsConnection connection = ctsConnectionService.waitForAndGetConnection(); in onCreate()
166 List<CtsConnection> connections = ctsSelfConnSvr.getConnections(); in onCreate()