/packages/services/Telephony/src/com/android/services/telephony/ |
H A D | TelephonyConference.java | 20 import android.telecom.Connection; 38 Connection.CAPABILITY_SUPPORT_HOLD | 39 Connection.CAPABILITY_HOLD | 40 Connection.CAPABILITY_MUTE | 41 Connection.CAPABILITY_MANAGE_CONFERENCE); 46 * Invoked when the Conference and all it's {@link Connection}s should be disconnected. 50 for (Connection connection : getConnections()) { 63 private boolean disconnectCall(Connection connection) { 78 * Invoked when the specified {@link Connection} should be separated from the conference call. 83 public void onSeparate(Connection connectio [all...] |
H A D | TelephonyConferenceController.java | 32 import android.telecom.Connection; 48 private final Connection.Listener mConnectionListener = new Connection.Listener() { 50 public void onStateChanged(Connection c, int state) { 58 public void onDisconnected(Connection c, DisconnectCause disconnectCause) { 63 public void onDestroyed(Connection connection) { 98 void remove(Connection connection) { 119 private boolean participatesInFullConference(Connection connection) { 129 HashSet<Connection> conferenceableConnections = new HashSet<>(mTelephonyConnections.size()); 138 case Connection [all...] |
H A D | ImsConference.java | 26 import android.telecom.Connection.VideoProvider; 27 import android.telecom.Connection; 74 private final Connection.Listener mParticipantListener = new Connection.Listener() { 81 public void onDestroyed(Connection connection) { 108 private final android.telecom.Connection.Listener mConferenceHostListener = 109 new android.telecom.Connection.Listener() { 118 public void onStateChanged(android.telecom.Connection c, int state) { 129 public void onDisconnected(android.telecom.Connection c, DisconnectCause disconnectCause) { 140 public void onDestroyed(android.telecom.Connection connectio [all...] |
H A D | ImsConferenceController.java | 24 import android.telecom.Connection; 60 private final Connection.Listener mConnectionListener = new Connection.Listener() { 62 public void onStateChanged(Connection c, int state) { 68 public void onDisconnected(Connection c, DisconnectCause disconnectCause) { 74 public void onDestroyed(Connection connection) { 85 public void onConferenceSupportedChanged(Connection c, boolean isConferenceSupported) { 124 if ((connection.getConnectionProperties() & Connection.PROPERTY_IS_EXTERNAL_CALL) == 125 Connection.PROPERTY_IS_EXTERNAL_CALL) { 151 void remove(Connection connectio [all...] |
H A D | CdmaConference.java | 22 import android.telecom.Connection; 44 mProperties = Connection.PROPERTY_GENERIC_CONFERENCE; 49 capabilities |= Connection.CAPABILITY_MUTE; 54 * Invoked when the Conference and all it's {@link Connection}s should be disconnected. 70 public void onSeparate(Connection connection) { 91 mCapabilities &= ~Connection.CAPABILITY_MERGE_CONFERENCE; 94 mCapabilities |= Connection.CAPABILITY_SWAP_CONFERENCE; 138 private Call getMultipartyCallForConnection(Connection connection) { 139 com.android.internal.telephony.Connection radioConnection = 151 List<Connection> connection [all...] |
H A D | CdmaConferenceController.java | 22 import android.telecom.Connection; 38 * say that we are in a conference call with {@link Connection#PROPERTY_GENERIC_CONFERENCE}. 51 private final Connection.Listener mConnectionListener = new Connection.Listener() { 53 public void onStateChanged(Connection c, int state) { 58 public void onDisconnected(Connection c, DisconnectCause disconnectCause) { 63 public void onDestroyed(Connection c) { 154 connection.getState() != Connection.STATE_DISCONNECTED) { 177 mConference.updateCapabilities(Connection.CAPABILITY_MERGE_CONFERENCE); 181 mConference.updateCapabilities(Connection [all...] |
H A D | TelephonyConnectionService.java | 26 import android.telecom.Connection; 117 public Connection onCreateOutgoingConnection( 125 return Connection.createFailedConnection( 139 return Connection.createFailedConnection( 147 return Connection.createFailedConnection( 158 return Connection.createFailedConnection( 167 return Connection.createFailedConnection( 187 return Connection.createFailedConnection( 222 // By default, Connection based on the default Phone, since we need to return to Telecom 225 final Connection emergencyConnectio [all...] |
H A D | GsmConnection.java | 19 import com.android.internal.telephony.Connection; 25 GsmConnection(Connection connection, String telecomCallId) {
|
H A D | PstnIncomingCallNotifier.java | 36 import com.android.internal.telephony.Connection; 133 Connection connection = (Connection) asyncResult.result; 149 Connection connection = call.getLatestConnection(); 161 if (!(asyncResult.result instanceof Connection)) { 162 Log.w(this, "handleNewUnknownConnection called with non-Connection object"); 165 Connection connection = (Connection) asyncResult.result; 183 private void addNewUnknownCall(Connection connection) { 226 private void sendIncomingCallIntent(Connection connectio [all...] |
H A D | ConferenceParticipantConnection.java | 23 import android.telecom.Connection; 34 public class ConferenceParticipantConnection extends Connection { 54 private final com.android.internal.telephony.Connection mParentConnection; 62 com.android.internal.telephony.Connection parentConnection, 91 Connection.stateToString(newState)); 313 sb.append(Connection.stateToString(getState()));
|
H A D | TelephonyConnection.java | 29 import android.telecom.Connection; 45 import com.android.internal.telephony.Connection.Capability; 46 import com.android.internal.telephony.Connection.PostDialListener; 72 abstract class TelephonyConnection extends Connection { 82 * Mappings from {@link com.android.internal.telephony.Connection} extras keys to their 83 * equivalents defined in {@link android.telecom.Connection}. 108 com.android.internal.telephony.Connection connection = 109 (com.android.internal.telephony.Connection) ar.result; 164 Connection.EXTRA_LAST_FORWARDED_NUMBER, 209 Pair<com.android.internal.telephony.Connection, Boolea [all...] |
H A D | CdmaConnection.java | 28 import com.android.internal.telephony.Connection; 78 Connection connection, 117 Connection connection = getOriginalConnection(); 158 Connection originalConnection = getOriginalConnection(); 163 if (state == android.telecom.Connection.STATE_DIALING) { 187 public void performConference(android.telecom.Connection otherConnection) { 191 Log.w(this, "Non-IMS CDMA Connection attempted to call performConference."); 222 Connection originalConnection = getOriginalConnection();
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/connserv/ |
H A D | HfpClientConference.java | 23 import android.telecom.Connection; 43 setConnectionCapabilities(Connection.CAPABILITY_SUPPORT_HOLD | 44 Connection.CAPABILITY_HOLD | 45 (manage ? Connection.CAPABILITY_MANAGE_CONFERENCE : 0)); 57 public void onMerge(Connection connection) { 63 public void onSeparate(Connection connection) { 95 public void onConnectionAdded(Connection connection) { 97 if (connection.getState() == Connection.STATE_HOLDING && 98 getState() == Connection.STATE_ACTIVE) { 100 } else if (connection.getState() == Connection [all...] |
H A D | HfpClientConnectionService.java | 31 import android.telecom.Connection; 232 public Connection onCreateIncomingConnection( 254 Log.e(TAG, "Connection should exist in our db, if it doesn't we dont know how to " + 262 public Connection onCreateOutgoingConnection( 282 public Connection onCreateUnknownConnection( 304 Log.e(TAG, "Connection should exist in our db, if it doesn't we dont know how to " + 311 public void onConference(Connection connection1, Connection connection2) { 330 List<Connection> held = new ArrayList<>(); 331 List<Connection> activ [all...] |
/packages/apps/Dialer/InCallUI/tests/src/com/android/incallui/ |
H A D | CallTest.java | 20 import android.telecom.Connection; 76 bundle.putString(Connection.EXTRA_CHILD_ADDRESS, "321"); 77 bundle.putStringArrayList(Connection.EXTRA_LAST_FORWARDED_NUMBER, 79 bundle.putString(Connection.EXTRA_CALL_SUBJECT, "bar"); 87 bundle.putString(Connection.EXTRA_CHILD_ADDRESS, CHILD_NUMBER); 88 bundle.putStringArrayList(Connection.EXTRA_LAST_FORWARDED_NUMBER, 90 bundle.putString(Connection.EXTRA_CALL_SUBJECT, CALL_SUBJECT);
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
H A D | ParcelableCallUtils.java | 20 import android.telecom.Connection; 234 Connection.CAPABILITY_HOLD, 237 Connection.CAPABILITY_SUPPORT_HOLD, 240 Connection.CAPABILITY_MERGE_CONFERENCE, 243 Connection.CAPABILITY_SWAP_CONFERENCE, 246 Connection.CAPABILITY_RESPOND_VIA_TEXT, 249 Connection.CAPABILITY_MUTE, 252 Connection.CAPABILITY_MANAGE_CONFERENCE, 255 Connection.CAPABILITY_SUPPORTS_VT_LOCAL_RX, 258 Connection [all...] |
H A D | Call.java | 31 import android.telecom.Connection; 373 * {@link #onConnectionEvent(String)} receives the {@link Connection#EVENT_ON_HOLD_TONE_START} 387 * For {@link Connection}s or {@link android.telecom.Conference}s added via a ConnectionManager 389 * Connection)} or {@link android.telecom.ConnectionService#addConference(Conference)}, 393 * See {@link Connection#EXTRA_ORIGINAL_CONNECTION_ID} for more information. 549 Connection.capabilitiesToString(getConnectionCapabilities()), 550 Connection.propertiesToString(getConnectionProperties())); 623 * iterates based on attempts to establish a {@link Connection} using createConnectionProcessor. 917 return (getConnectionProperties() & Connection.PROPERTY_IS_EXTERNAL_CALL) == 918 Connection [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/ |
H A D | ContextMap.java | 45 * Connection class helps map connection IDs to device addresses. 47 class Connection { class in class:ContextMap 53 Connection(int connId, String address,int appId) { method in class:ContextMap.Connection 143 Set<Connection> mConnections = new HashSet<Connection>(); 210 mConnections.add(new Connection(connId, address, id)); 220 Iterator<Connection> i = mConnections.iterator(); 222 Connection connection = i.next(); 235 Iterator<Connection> i = mConnections.iterator(); 237 Connection connectio [all...] |
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/ |
H A D | TestConnectionService.java | 30 import android.telecom.Connection; 67 private final Connection.Listener mConnectionListener = new Connection.Listener() { 69 public void onDestroyed(Connection c) { 78 public TestConference(Connection a, Connection b) { 81 Connection.CAPABILITY_SUPPORT_HOLD | 82 Connection.CAPABILITY_HOLD | 83 Connection.CAPABILITY_MUTE | 84 Connection [all...] |
H A D | TestConnectionManager.java | 22 import android.telecom.Connection; 43 public final class TestManagedConnection extends Connection { 119 List<Connection> c = new ArrayList<>(); 209 case Connection.STATE_DISCONNECTED: 212 case Connection.STATE_HOLDING: 215 case Connection.STATE_ACTIVE: 311 public Connection onCreateOutgoingConnection( 318 public Connection onCreateIncomingConnection( 325 public void onConference(Connection a, Connection [all...] |
/packages/services/Telephony/src/com/android/phone/ |
H A D | CallGatewayManager.java | 26 import com.android.internal.telephony.Connection; 70 private final ConcurrentHashMap<Connection, RawGatewayInfo> mMap = 71 new ConcurrentHashMap<Connection, RawGatewayInfo>(4, 0.9f, 1); 104 public void setGatewayInfoForConnection(Connection connection, RawGatewayInfo gatewayInfo) { 115 public void clearGatewayData(Connection connection) { 124 public RawGatewayInfo getGatewayInfo(Connection connection) {
|
H A D | CallLogger.java | 20 import com.android.internal.telephony.Connection; 57 public void logCall(Connection c, int callLogType) { 88 * Came as logCall(Connection,int) but calculates the call type from the connection object. 90 public void logCall(Connection c) { 121 private CallerInfo getCallerInfoFromConnection(Connection conn) { 138 * For incoming call the number is in the Connection object. For 149 private String getLogNumber(Connection conn, CallerInfo callerInfo) { 198 private int getPresentation(Connection conn, CallerInfo callerInfo) {
|
H A D | CallTime.java | 24 import com.android.internal.telephony.Connection; 134 Connection c; 137 c = (Connection) connections.get(0); 143 c = (Connection) connections.get(i);
|
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/ |
H A D | SipConnectionService.java | 30 import android.telecom.Connection; 65 public Connection onCreateOutgoingConnection( 73 return Connection.createFailedConnection(DisconnectCauseUtil.toTelecomDisconnectCause( 80 return Connection.createFailedConnection(DisconnectCauseUtil.toTelecomDisconnectCause( 121 com.android.internal.telephony.Connection chosenConnection = 125 DisconnectCause.OUTGOING_FAILURE, "Connection failed.")); 140 public Connection onCreateIncomingConnection( 147 return Connection.createFailedConnection(DisconnectCauseUtil.toTelecomDisconnectCause( 155 return Connection.createFailedConnection(DisconnectCauseUtil.toTelecomDisconnectCause( 164 return Connection [all...] |
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
H A D | ConnectionServiceFixture.java | 37 import android.telecom.Connection; 79 public Connection onCreateUnknownConnection( 86 public Connection onCreateIncomingConnection( 103 public Connection onCreateOutgoingConnection( 118 public void onConference(Connection cxn1, Connection cxn2) { 138 public class FakeConnection extends Connection { 172 Connection.CAPABILITY_SUPPORT_HOLD 173 | Connection.CAPABILITY_HOLD 174 | Connection [all...] |