Home | History | Annotate | Download | only in telecom

Lines Matching refs:connection

40  * Remote connection service which other connection services can use to place calls on their behalf.
60 RemoteConnection connection =
62 if (connection != NULL_CONNECTION && mPendingConnections.contains(connection)) {
63 mPendingConnections.remove(connection);
64 // Unconditionally initialize the connection ...
65 connection.setConnectionCapabilities(parcel.getConnectionCapabilities());
66 connection.setConnectionProperties(parcel.getConnectionProperties());
68 || parcel.getState() != Connection.STATE_DISCONNECTED) {
69 connection.setAddress(parcel.getHandle(), parcel.getHandlePresentation());
72 || parcel.getState() != Connection.STATE_DISCONNECTED) {
73 connection.setCallerDisplayName(
77 // Set state after handle so that the client can identify the connection.
78 if (parcel.getState() == Connection.STATE_DISCONNECTED) {
79 connection.setDisconnected(parcel.getDisconnectCause());
81 connection.setState(parcel.getState());
89 connection.setConferenceableConnections(conferenceable);
90 connection.setVideoState(parcel.getVideoState());
91 if (connection.getState() == Connection.STATE_DISCONNECTED) {
94 connection.setDestroyed();
103 .setState(Connection.STATE_ACTIVE);
106 .setState(Connection.STATE_ACTIVE);
113 .setState(Connection.STATE_RINGING);
119 .setState(Connection.STATE_DIALING);
125 .setState(Connection.STATE_PULLING_CALL);
144 .setState(Connection.STATE_HOLDING);
147 .setState(Connection.STATE_HOLDING);
185 RemoteConnection connection =
187 if (connection != NULL_CONNECTION) {
189 // 'connection' is being split from its conference
190 if (connection.getConference() != null) {
191 connection.getConference().removeConnection(connection);
197 conference.addConnection(connection);
207 // in the underlying connection or conference objects
224 // created by, and therefore being tracked by, this remote connection service. It
236 // Stash the original connection ID as it exists in the source ConnectionService.
238 // See comments on Connection.EXTRA_ORIGINAL_CONNECTION_ID for more information.
240 newExtras.putString(Connection.EXTRA_ORIGINAL_CONNECTION_ID, callId);
280 // Not supported from remote connection service.
357 public void addExistingConnection(String callId, ParcelableConnection connection,
364 mOutgoingConnectionServiceRpc, connection, callingPackage,
369 public void onDestroyed(RemoteConnection connection) {
400 // connections to go through a connection mgr.
514 RemoteConnection connection =
516 mPendingConnections.add(connection);
517 mConnectionById.put(id, connection);
525 connection.registerCallback(new RemoteConnection.Callback() {
527 public void onDestroyed(RemoteConnection connection) {
532 return connection;
548 Log.w(this, "%s - Cannot find Connection %s", action, callId);