Home
last modified time | relevance | path

Searched refs:TelephonyConnection (Results 1 – 15 of 15) sorted by relevance

/packages/services/Telephony/src/com/android/services/telephony/
DTelephonyConnectionService.java171 if (conferenceHost instanceof TelephonyConnection) {
172 TelephonyConnection tcConferenceHost = (TelephonyConnection) conferenceHost;
191 public void addConnectionToConferenceController(TelephonyConnection connection) {
234 public Pair<WeakReference<TelephonyConnection>, Queue<Phone>> mEmergencyRetryCache;
241 private TelephonyConnection mEmergencyConnection;
242 private TelephonyConnection mAlternateEmergencyConnection;
243 private TelephonyConnection mNormalRoutingEmergencyConnection;
247 private TelephonyConnection mNormalCallConnection;
576 private final TelephonyConnection.TelephonyConnectionListener
578 new TelephonyConnection.TelephonyConnectionListener() {
[all …]
DTelephonyConference.java116 Phone phone = ((TelephonyConnection) connection).getPhone(); in onMerge()
130 final TelephonyConnection connection = getFirstConnection(); in onHold()
145 final TelephonyConnection connection = getFirstConnection(); in onUnhold()
157 final TelephonyConnection connection = getFirstConnection(); in onPlayDtmfTone()
165 final TelephonyConnection connection = getFirstConnection(); in onStopDtmfTone()
176 if (connection instanceof TelephonyConnection && in onConnectionAdded()
177 ((TelephonyConnection) connection).wasImsConnection()) { in onConnectionAdded()
238 if (connection instanceof TelephonyConnection) { in getOriginalConnection()
239 return ((TelephonyConnection) connection).getOriginalConnection(); in getOriginalConnection()
245 private TelephonyConnection getFirstConnection() { in getFirstConnection()
[all …]
DTelephonyConferenceController.java46 private final TelephonyConnection.TelephonyConnectionListener mTelephonyConnectionListener =
47 new TelephonyConnection.TelephonyConnectionListener() {
63 remove((TelephonyConnection) connection);
68 private final List<TelephonyConnection> mTelephonyConnections = new ArrayList<>();
84 void add(TelephonyConnection connection) { in add()
95 void remove(TelephonyConnection connection) { in remove()
129 for (TelephonyConnection connection : mTelephonyConnections) { in recalculateConferenceable()
182 Set<TelephonyConnection> conferencedConnections = new HashSet<>(); in recalculateConference()
184 for (TelephonyConnection connection : mTelephonyConnections) { in recalculateConference()
232 if (connection instanceof TelephonyConnection && in recalculateConference()
[all …]
DImsConferenceController.java83 private final TelephonyConnection.TelephonyConnectionListener mTelephonyConnectionListener =
84 new TelephonyConnection.TelephonyConnectionListener() {
125 private final ArrayList<TelephonyConnection> mTelephonyConnections = new ArrayList<>();
166 void add(TelephonyConnection connection) { in add()
215 if (connection instanceof TelephonyConnection) { in remove()
216 TelephonyConnection telephonyConnection = (TelephonyConnection) connection; in remove()
261 for (TelephonyConnection connection : mTelephonyConnections) { in recalculateConferenceable()
382 if (!(connection instanceof TelephonyConnection)) { in isMemberOfPeerConference()
385 TelephonyConnection telephonyConnection = (TelephonyConnection) connection; in isMemberOfPeerConference()
399 Iterator<TelephonyConnection> it = mTelephonyConnections.iterator(); in recalculateConference()
[all …]
DTelephonyConnection.java116 abstract class TelephonyConnection extends Connection implements Holdable, Communicator.Callback { class
167 Log.v(TelephonyConnection.this, "MSG_PRECISE_CALL_STATE_CHANGED");
175 Log.i(TelephonyConnection.this, "Connection changed due to: %s", what);
182 Log.v(TelephonyConnection.this, "MSG_RINGBACK_TONE");
186 Log.v(TelephonyConnection.this, "handleMessage, original connection is " +
210 Log.v(TelephonyConnection.this, "MSG_SUPP_SERVICE_NOTIFY on phoneId : "
382 Log.i(TelephonyConnection.this, "Setting original connection after" in onOriginalConnectionRedialed()
393 Log.i(TelephonyConnection.this, "user has tried to hangup " in onOriginalConnectionRedialed()
399 Log.w(TelephonyConnection.this, "hangup during " in onOriginalConnectionRedialed()
405 Log.w(TelephonyConnection.this, " mOriginalConnection==null --" in onOriginalConnectionRedialed()
[all …]
DTelephonyConferenceBase.java197 if (primaryConnection != null && primaryConnection instanceof TelephonyConnection) { in updateCallRadioTechAfterCreation()
198 TelephonyConnection telephonyConnection = (TelephonyConnection) primaryConnection; in updateCallRadioTechAfterCreation()
DGsmConnection.java24 final class GsmConnection extends TelephonyConnection {
37 public TelephonyConnection cloneConnection() { in cloneConnection()
DImsConference.java206 private final TelephonyConnection.TelephonyConnectionListener mTelephonyConnectionListener =
207 new TelephonyConnection.TelephonyConnectionListener() {
297 public void onOriginalConnectionConfigured(TelephonyConnection c) {
319 TelephonyConnection telephonyConnection = (TelephonyConnection) c;
344 private TelephonyConnection mConferenceHost;
428 TelephonyConnection conferenceHost, PhoneAccountHandle phoneAccountHandle, in ImsConference()
877 private void setConferenceHost(TelephonyConnection conferenceHost) { in setConferenceHost()
961 TelephonyConnection parent, List<ConferenceParticipant> participants) { in handleConferenceParticipantsUpdate()
1255 TelephonyConnection parent, ConferenceParticipant participant) { in createConferenceParticipantConnection()
DCdmaConferenceController.java54 private final TelephonyConnection.TelephonyConnectionListener mTelephonyConnectionListener =
55 new TelephonyConnection.TelephonyConnectionListener() {
DCdmaConnection.java39 final class CdmaConnection extends TelephonyConnection {
153 public TelephonyConnection cloneConnection() { in cloneConnection()
DTelephonyConnectionServiceProxy.java37 void addConnectionToConferenceController(TelephonyConnection connection); in addConnectionToConferenceController()
DPstnIncomingCallNotifier.java434 if (telephonyConnection instanceof TelephonyConnection) { in maybeSwapAnyWithUnknownConnection()
436 (TelephonyConnection) telephonyConnection, in maybeSwapAnyWithUnknownConnection()
449 TelephonyConnection telephonyConnection, in maybeSwapWithUnknownConnection()
/packages/services/Telephony/tests/src/com/android/services/telephony/
DTestTelephonyConnectionSimple.java35 public class TestTelephonyConnectionSimple extends TelephonyConnection{
45 public TelephonyConnection cloneConnection() { in cloneConnection()
DTelephonyConnectionServiceTest.java174 public static class SimpleTelephonyConnection extends TelephonyConnection {
180 public TelephonyConnection cloneConnection() { in cloneConnection()
2063 TelephonyConnection connection1 = (TelephonyConnection) in testOutgoingCallOnOtherSubPutsFirstCallOnHoldForVirtualDsdaDevice()
2066 TelephonyConnection connection2 = (TelephonyConnection) mTestConnectionService in testOutgoingCallOnOtherSubPutsFirstCallOnHoldForVirtualDsdaDevice()
2097 TelephonyConnection connection1 = (TelephonyConnection) in testEmergencyCallOnOtherSubPutsFirstCallOnHoldForVirtualDsdaDevice()
2101 TelephonyConnection connection2 = (TelephonyConnection) mTestConnectionService in testEmergencyCallOnOtherSubPutsFirstCallOnHoldForVirtualDsdaDevice()
2136 TelephonyConnection connection1 = (TelephonyConnection) in testEmergencyCallOnOtherSubDisconnectsExistingCallForVirtualDsdaDevice()
2140 TelephonyConnection connection2 = (TelephonyConnection) mTestConnectionService in testEmergencyCallOnOtherSubDisconnectsExistingCallForVirtualDsdaDevice()
2497 ArgumentCaptor<TelephonyConnection> connectionCaptor = in testDomainSelectionNormalRoutingEmergencyNumber()
2498 ArgumentCaptor.forClass(TelephonyConnection.class); in testDomainSelectionNormalRoutingEmergencyNumber()
[all …]
DTestTelephonyConnection.java61 public class TestTelephonyConnection extends TelephonyConnection {
196 public TelephonyConnection cloneConnection() { in cloneConnection()