Lines Matching refs:connection
58 RemoteConnection connection =
60 if (connection != NULL_CONNECTION && mPendingConnections.contains(connection)) {
61 mPendingConnections.remove(connection);
63 connection.setConnectionCapabilities(parcel.getConnectionCapabilities());
66 connection.setAddress(parcel.getHandle(), parcel.getHandlePresentation());
70 connection.setCallerDisplayName(
76 connection.setDisconnected(parcel.getDisconnectCause());
78 connection.setState(parcel.getState());
86 connection.setConferenceableConnections(conferenceable);
87 connection.setVideoState(parcel.getVideoState());
88 if (connection.getState() == Connection.STATE_DISCONNECTED) {
91 connection.setDestroyed();
161 RemoteConnection connection =
163 if (connection != NULL_CONNECTION) {
166 if (connection.getConference() != null) {
167 connection.getConference().removeConnection(connection);
173 conference.addConnection(connection);
315 public void addExistingConnection(String callId, ParcelableConnection connection) {
318 mOutgoingConnectionServiceRpc, connection);
387 RemoteConnection connection = in createRemoteConnection() local
389 mPendingConnections.add(connection); in createRemoteConnection()
390 mConnectionById.put(id, connection); in createRemoteConnection()
397 connection.registerCallback(new RemoteConnection.Callback() { in createRemoteConnection()
399 public void onDestroyed(RemoteConnection connection) { in createRemoteConnection()
404 return connection; in createRemoteConnection()