Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/src/com/android/cts/verifier/telecom/
DCtsConnection.java42 public class CtsConnection extends Connection { class
49 void onDestroyed(CtsConnection connection) { }; in onDestroyed()
50 void onDisconnect(CtsConnection connection) { }; in onDisconnect()
51 void onHold(CtsConnection connection) { }; in onHold()
52 void onUnhold(CtsConnection connection) { }; in onUnhold()
53 void onAnswer(CtsConnection connection, int videoState) { }; in onAnswer()
54 void onReject(CtsConnection connection) { }; in onReject()
55 void onShowIncomingCallUi(CtsConnection connection) { }; in onShowIncomingCallUi()
67 public CtsConnection(Context context, boolean isIncomingCall, in CtsConnection() method in CtsConnection
92 mListener.forEach(l -> l.onDisconnect(CtsConnection.this)); in onDisconnect()
[all …]
DCtsSelfManagedConnectionService.java21 private CtsConnection.Listener mConnectionListener =
22 new CtsConnection.Listener() {
24 void onDestroyed(CtsConnection connection) {
34 List<CtsConnection> mConnections = new ArrayList<>();
61 public List<CtsConnection> getConnections() { in getConnections()
63 return new ArrayList<CtsConnection>(mConnections); in getConnections()
67 public CtsConnection waitForAndGetConnection() { in waitForAndGetConnection()
96 request.getExtras().getBoolean(CtsConnection.EXTRA_PLAY_CS_AUDIO, false); in createConnection()
97 CtsConnection connection = new CtsConnection(getApplicationContext(), isIncoming, in createConnection()
DCtsConnectionService.java41 private CtsConnection.Listener mConnectionListener =
42 new CtsConnection.Listener() {
44 void onDestroyed(CtsConnection connection) {
54 private List<CtsConnection> mConnections = new ArrayList<>();
81 public List<CtsConnection> getConnections() { in getConnections()
83 return new ArrayList<CtsConnection>(mConnections); in getConnections()
87 public CtsConnection waitForAndGetConnection() { in waitForAndGetConnection()
137 request.getExtras().getBoolean(CtsConnection.EXTRA_PLAY_CS_AUDIO, false); in createManagedConnection()
138 CtsConnection connection = new CtsConnection(getApplicationContext(), isIncoming, in createManagedConnection()
DCallSwitchingAudioTestActivity.java68 private CtsConnection mSelfManagedConnection;
71 private CtsConnection.Listener mConnectionListener = new CtsConnection.Listener() {
73 void onShowIncomingCallUi(CtsConnection connection) {
80 void onHold(CtsConnection connection) {
234 extras.putBoolean(CtsConnection.EXTRA_PLAY_CS_AUDIO, true); in placeSelfManagedCall()
255 CtsConnection connection = ctsConnectionService.waitForAndGetConnection(); in placeSelfManagedCall()
277 List<CtsConnection> ongoingConnections = in confirmIncomingCall()
DSelfManagedIncomingCallTestActivity.java58 private CtsConnection.Listener mConnectionListener = new CtsConnection.Listener() {
60 void onShowIncomingCallUi(CtsConnection connection) {
68 void onAnswer(CtsConnection connection, int videoState) {
80 void onDisconnect(CtsConnection connection) {
176 CtsConnection connection = ctsConnectionService.waitForAndGetConnection(); in onCreate()
DIncomingCallTestActivity.java120 extras.putBoolean(CtsConnection.EXTRA_PLAY_CS_AUDIO, true); in onCreate()
161 List<CtsConnection> ongoingConnections = in confirmIncomingCall()
167 CtsConnection incomingConnection = ongoingConnections.get(0); in confirmIncomingCall()
DOutgoingCallTestActivity.java149 List<CtsConnection> ongoingConnections = in confirmOutgoingCall()
155 CtsConnection outgoingConnection = ongoingConnections.get(0); in confirmOutgoingCall()
/cts/tests/tests/telephony/current/MockSatelliteGatewayServiceApp/src/android/telephony/cts/externalsatellitegatewayservice/
DExternalMockSatelliteGatewayService.java39 private final CtsConnection mCtsBinder = new CtsConnection();
43 public class CtsConnection extends IExternalMockSatelliteGatewayService.Stub { class in ExternalMockSatelliteGatewayService
/cts/tests/tests/telephony/current/MockSatelliteServiceApp/src/android/telephony/cts/externalsatelliteservice/
DExternalMockSatelliteService.java39 private final CtsConnection mCtsBinder = new CtsConnection();
43 private class CtsConnection extends IExternalMockSatelliteService.Stub { class in ExternalMockSatelliteService