Home | History | Annotate | Download | only in telecom

Lines Matching defs:connection

38 import android.telecom.Connection;
89 /** Identifies extras changes which originated from a connection service. */
317 /** The caller display name (CNAP) set by the connection service. */
326 * The connection service which is attempted or already connecting this call.
449 * {@link #onConnectionEvent(String)} receives the {@link Connection#EVENT_ON_HOLD_TONE_START}
469 * For {@link Connection}s or {@link android.telecom.Conference}s added via a ConnectionManager
471 * Connection)} or {@link android.telecom.ConnectionService#addConference(Conference)},
475 * See {@link Connection#EXTRA_ORIGINAL_CONNECTION_ID} for more information.
481 * between the in-call app and the connection service. If both non-null, this call should be
528 * @param repository The connection service repository.
585 * @param repository The connection service repository.
596 * connection, regardless of whether it's incoming or outgoing.
597 * @param connectTimeMillis The connection time of the call.
714 Connection.capabilitiesToString(getConnectionCapabilities()),
715 Connection.propertiesToString(getConnectionProperties()));
828 // Make sure that there are additional connection services to process.
854 * iterates based on attempts to establish a {@link Connection} using createConnectionProcessor.
1196 return (getConnectionProperties() & Connection.PROPERTY_IS_EXTERNAL_CALL) ==
1197 Connection.PROPERTY_IS_EXTERNAL_CALL;
1219 // Connection properties will add/remove the PROPERTY_SELF_MANAGED.
1334 // Check both the target phone account and the connection manager phone account -- if
1414 Log.v(this, "setConnectionCapabilities: %s", Connection.capabilitiesToString(
1417 // If the phone account does not support video calling, and the connection capabilities
1420 Log.w(this, "setConnectionCapabilities: attempt to set connection as video " +
1434 Connection.capabilitiesToStringShort(mConnectionCapabilities),
1435 Connection.capabilitiesToStringShort(previousCapabilities & xorCaps),
1436 Connection.capabilitiesToStringShort(mConnectionCapabilities & xorCaps));
1441 Log.v(this, "setConnectionProperties: %s", Connection.propertiesToString(
1446 connectionProperties |= Connection.PROPERTY_SELF_MANAGED;
1448 connectionProperties &= ~Connection.PROPERTY_SELF_MANAGED;
1456 if ((mConnectionProperties & Connection.PROPERTY_IS_RTT) ==
1457 Connection.PROPERTY_IS_RTT) {
1459 // Call startRtt to pass the RTT pipes down to the connection service.
1469 mWasHighDefAudio = (connectionProperties & Connection.PROPERTY_HIGH_DEF_AUDIO) ==
1470 Connection.PROPERTY_HIGH_DEF_AUDIO;
1472 (changedProperties & Connection.PROPERTY_IS_RTT) == Connection.PROPERTY_IS_RTT;
1477 boolean wasExternal = (previousProperties & Connection.PROPERTY_IS_EXTERNAL_CALL)
1478 == Connection.PROPERTY_IS_EXTERNAL_CALL;
1479 boolean isExternal = (connectionProperties & Connection.PROPERTY_IS_EXTERNAL_CALL)
1480 == Connection.PROPERTY_IS_EXTERNAL_CALL;
1495 Connection.propertiesToStringShort(mConnectionProperties),
1496 Connection.propertiesToStringShort(previousProperties & xorProps),
1497 Connection.propertiesToStringShort(mConnectionProperties & xorProps));
1574 * This is used by the {@link ConnectionServiceWrapper} when handling {@link Connection} and
1599 * Clears the associated connection service.
1618 * Starts the create connection sequence. Upon completion, there should exist an active
1619 * connection through a connection service (or the call will have failed).
1639 ParcelableConnection connection) {
1640 Log.v(this, "handleCreateConnectionSuccessful %s", connection);
1641 setTargetPhoneAccount(connection.getPhoneAccount());
1642 setHandle(connection.getHandle(), connection.getHandlePresentation());
1644 connection.getCallerDisplayName(), connection.getCallerDisplayNamePresentation());
1646 setConnectionCapabilities(connection.getConnectionCapabilities());
1647 setConnectionProperties(connection.getConnectionProperties());
1648 setIsVoipAudioMode(connection.getIsVoipAudioMode());
1649 setSupportedAudioRoutes(connection.getSupportedAudioRoutes());
1650 setVideoProvider(connection.getVideoProvider());
1651 setVideoState(connection.getVideoState());
1652 setRingbackRequested(connection.isRingbackRequested());
1653 setStatusHints(connection.getStatusHints());
1654 putExtras(SOURCE_CONNECTION_SERVICE, connection.getExtras());
1657 for (String id : connection.getConferenceableConnectionIds()) {
1672 getStateFromConnectionState(connection.getState()));
1677 l.onSuccessfulUnknownCall(this, getStateFromConnectionState(connection
1715 Log.w(this, "playDtmfTone() request on a call without a connection service.");
1717 Log.i(this, "Send playDtmfTone to connection service for call %s", this);
1730 Log.w(this, "stopDtmfTone() request on a call without a connection service.");
1732 Log.i(this, "Send stopDtmfTone to connection service for call %s", this);
1752 Log.w(this, "silence() request on a call without a connection service.");
1754 Log.i(this, "Send silence to connection service for call %s", this);
1771 * Attempts to disconnect the call through the connection service.
1779 * Attempts to disconnect the call through the connection service.
1799 + " connection service.");
1801 Log.i(this, "Send disconnect to connection service for call: %s", this);
1802 // The call isn't officially disconnected until the connection service
1804 // association between call and connection service severed, see
1860 // At this point, we are asking the connection service to answer but we don't assume
1884 // At this point, we are asking the connection service to deflect but we don't assume
1885 // that it will work. Instead, we wait until confirmation from the connection service
2003 * originate from a connection service will only be notified to incall services. Likewise,
2004 * changes originating from the incall services will only notify the connection service of the
2023 // If the change originated from an InCallService, notify the connection service.
2039 * originate from a connection service will only be notified to incall services. Likewise,
2040 * changes originating from the incall services will only notify the connection service of the
2058 // If the change originated from an InCallService, notify the connection service.
2124 Log.w(this, "conference requested on a call without a connection service.");
2133 Log.w(this, "splitting from conference call without a connection service");
2143 Log.w(this, "merging conference calls without a connection service.");
2144 } else if (can(Connection.CAPABILITY_MERGE_CONFERENCE)) {
2154 Log.w(this, "swapping conference calls without a connection service.");
2155 } else if (can(Connection.CAPABILITY_SWAP_CONFERENCE)) {
2176 * Initiates a request to the connection service to pull this call.
2179 * {@link android.telecom.Connection#CAPABILITY_CAN_PULL_CALL} capability and
2180 * {@link android.telecom.Connection#PROPERTY_IS_EXTERNAL_CALL} property set.
2195 Log.w(this, "pulling a call without a connection service.");
2198 if (!hasProperty(Connection.PROPERTY_IS_EXTERNAL_CALL)) {
2203 if (!can(Connection.CAPABILITY_CAN_PULL_CALL)) {
2586 // If this gets called by the in-call app before the connection service is set, we'll
2588 Log.w(this, "stopRtt() called before connection service is set.");
2654 return (mConnectionProperties & Connection.PROPERTY_IS_RTT) == Connection.PROPERTY_IS_RTT;
2713 * @return The {@link Connection.VideoProvider} binder.
2853 case Connection.STATE_INITIALIZING:
2855 case Connection.STATE_ACTIVE:
2857 case Connection.STATE_DIALING:
2859 case Connection.STATE_PULLING_CALL:
2861 case Connection.STATE_DISCONNECTED:
2863 case Connection.STATE_HOLDING:
2865 case Connection.STATE_NEW:
2867 case Connection.STATE_RINGING:
2936 * Handles Connection events received from a {@link ConnectionService}.
2943 if (Connection.EVENT_ON_HOLD_TONE_START.equals(event)) {
2951 } else if (Connection.EVENT_ON_HOLD_TONE_END.equals(event)) {
2969 Connection} of
2996 * Connection)}, or {@link android.telecom.ConnectionService#addConference(Conference)} APIS,
3000 * See {@link Connection#EXTRA_ORIGINAL_CONNECTION_ID}.
3001 * @return The original connection ID.
3015 * @param capabilities The {@link Connection} capabilities for the call.
3019 return (capabilities & Connection.CAPABILITY_SUPPORTS_VT_LOCAL_BIDIRECTIONAL) != 0 ||
3020 (capabilities & Connection.CAPABILITY_SUPPORTS_VT_REMOTE_BIDIRECTIONAL) != 0;
3024 * Remove any video capabilities set on a {@link Connection} capabilities bitmask.
3030 return capabilities & ~(Connection.CAPABILITY_SUPPORTS_VT_LOCAL_BIDIRECTIONAL |
3031 Connection.CAPABILITY_SUPPORTS_VT_REMOTE_BIDIRECTIONAL);