Searched refs:CtsConnection (Results 1 – 9 of 9) sorted by relevance
/cts/apps/CtsVerifier/src/com/android/cts/verifier/telecom/ |
D | CtsConnection.java | 42 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 …]
|
D | CtsSelfManagedConnectionService.java | 21 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()
|
D | CtsConnectionService.java | 41 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()
|
D | CallSwitchingAudioTestActivity.java | 68 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()
|
D | SelfManagedIncomingCallTestActivity.java | 58 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()
|
D | IncomingCallTestActivity.java | 120 extras.putBoolean(CtsConnection.EXTRA_PLAY_CS_AUDIO, true); in onCreate() 161 List<CtsConnection> ongoingConnections = in confirmIncomingCall() 167 CtsConnection incomingConnection = ongoingConnections.get(0); in confirmIncomingCall()
|
D | OutgoingCallTestActivity.java | 149 List<CtsConnection> ongoingConnections = in confirmOutgoingCall() 155 CtsConnection outgoingConnection = ongoingConnections.get(0); in confirmOutgoingCall()
|
/cts/tests/tests/telephony/current/MockSatelliteGatewayServiceApp/src/android/telephony/cts/externalsatellitegatewayservice/ |
D | ExternalMockSatelliteGatewayService.java | 39 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/ |
D | ExternalMockSatelliteService.java | 39 private final CtsConnection mCtsBinder = new CtsConnection(); 43 private class CtsConnection extends IExternalMockSatelliteService.Stub { class in ExternalMockSatelliteService
|