Home | History | Annotate | Download | only in imsphone

Lines Matching defs:connection

24 import com.android.internal.telephony.Connection;
56 * Notifies that an unknown connection has been added.
57 * @param c The new unknown connection.
59 void notifyUnknownConnection(Connection c);
84 public void onPullExternalCall(ImsExternalConnection connection) {
85 Log.d(TAG, "onPullExternalCall: connection = " + connection);
90 mCallPuller.pullExternalCall(connection.getAddress(), connection.getVideoState(),
91 connection.getCallId());
103 * create the connection for the unknown call that we can determine which
118 * Tracks whether each external connection tracked in
164 public void notifyUnknownConnection(Connection c) {
287 * Finds an external connection given a call Id.
290 * @return The {@link Connection}, or {@code null} if no match found.
292 public Connection getConnectionById(int callId) {
298 * creates a new instance of {@link ImsExternalConnection} to represent the connection, and
309 ImsExternalConnection connection = new ImsExternalConnection(mPhone,
313 connection.setVideoState(videoState);
314 connection.addListener(mExternalConnectionListener);
318 + connection.getCallId()
326 mExternalConnections.put(connection.getCallId(), connection);
327 mExternalCallPullableState.put(connection.getCallId(), state.isCallPullable());
329 // Note: The notification of unknown connection is ultimately handled by
333 mCallStateNotifier.notifyUnknownConnection(connection);
338 * {@link ImsExternalCallState} instance received from a dialog event package to the connection.
340 * @param connection The connection to apply changes to.
341 * @param state The new dialog state for the connection.
343 private void updateExistingConnection(ImsExternalConnection connection,
347 Call.State existingState = connection.getState();
353 connection.setActive();
355 connection.setTerminated();
356 connection.removeListener(mExternalConnectionListener);
357 mExternalConnections.remove(connection.getCallId());
358 mExternalCallPullableState.remove(connection.getCallId());
364 if (newVideoState != connection.getVideoState()) {
365 connection.setVideoState(newVideoState);
371 "updateExistingConnection - pullable state : externalCallId = " + connection
376 + VideoProfile.isVideo(connection.getVideoState())
380 connection.setIsPullable(isCallPullPermitted);