Home | History | Annotate | Download | only in phone

Lines Matching refs:Connection

57 import com.android.internal.telephony.Connection;
105 /** Speaker state, persisting between wired headset connection events */
108 /** Static handler for the connection/mute tracking */
155 * Mute settings for each connection as needed.
189 * Register the ConnectionHandler with the phone, to receive connection events
303 * Smart "hang up" helper method which hangs up exactly one connection,
427 * Trivial wrapper around Connection.hangup(), except that we silently
429 * connection wasn't actually active.
431 static void hangup(Connection c) {
437 Log.w(LOG_TAG, "Connection hangup: caught " + ex, ex);
505 Connection connection) {
517 //app.getCallModeler().setCdmaOutgoing3WayCall(connection);
533 * If the connection is establised, this method issues a sync call
546 * @param gatewayUri Is the address used to setup the connection, null
576 Connection connection;
601 connection = app.mCM.dial(phone, numberToDial, VideoProfile.STATE_AUDIO_ONLY);
617 if (null == connection) {
622 callGateway.setGatewayInfoForConnection(connection, gatewayInfo);
626 updateCdmaCallStateOnNewOutgoingCall(app, connection);
637 Object userDataObject = connection.getUserData();
639 connection.setUserData(contactRef);
642 // just created the connection which has
654 startGetCallerInfo(context, connection, null, null, gatewayInfo);
768 static void separateCall(Connection c) {
1216 * Returns the caller-id info corresponding to the specified Connection.
1218 * extract a phone number from the specified Connection, and feed that
1222 * specified Connection was null, or if we weren't able to get a valid
1223 * phone number from the Connection.
1226 * CallerInfo object in the "userData" field of the Connection.
1231 static CallerInfo getCallerInfo(Context context, Connection c) {
1254 // querying a new CallerInfo using the connection's phone number.
1285 * Start a CallerInfo Query based on the earliest connection in the call.
1289 Connection conn = null;
1305 static CallerInfoToken startGetCallerInfo(Context context, Connection c,
1314 static CallerInfoToken startGetCallerInfo(Context context, Connection c,
1328 // There are now 3 states for the Connection's userData object:
1379 // querying a new CallerInfo using the connection's phone number.
1383 // Gateway number, the connection number is actually the gateway number.
1411 // Store CNAP information retrieved from the Connection (we want to do this
1479 // Gateway number, the connection number is actually the gateway number.
1489 // Store CNAP information retrieved from the Connection
1527 // Store CNAP information retrieved from the Connection
1547 // The connection's userDataObject is a full-fledged
1571 * object away in the Connection's "userData" (where it will
1575 if (DBG) log("query complete, updating connection.userdata");
1576 Connection conn = (Connection) cookie;
1578 // Added a check if CallerInfo is coming from ContactInfo or from Connection.
1584 // connection.
1587 // from the Connection in a CallerInfo object.
1589 // from the DB. It has lost all the connection
1593 // connection object not set by the DB. If the
1594 // Connection already has a CallerInfo instance in
1617 if (DBG) log("==> Stashing CallerInfo " + ci + " into the connection...");
1662 * that it owns more than one Connection object. This information is
1669 * connection and one DISCONNECTED connection, this method will return
1673 * @return true if the specified call has more than one connection (in any state.)
1692 List<Connection> connections = call.getConnections();
1709 // for (Connection conn : connections) {
1859 for (Connection cn : fgCall.getConnections()) {
1890 * @return true if we find a connection that is disconnected over
1903 * @return true if we find a connection that is disconnected, and
1909 for (Connection c : call.getConnections()) {