Lines Matching refs:Connection
26 import com.android.internal.telephony.Connection;
39 * proper number to dial. It also saves an association between the connection object and the gateway
70 private final ConcurrentHashMap<Connection, RawGatewayInfo> mMap =
71 new ConcurrentHashMap<Connection, RawGatewayInfo>(4, 0.9f, 1);
100 * This function sets the current mapping from connection to gatewayInfo.
101 * @param connection The connection object for the placed outgoing call.
104 public void setGatewayInfoForConnection(Connection connection, RawGatewayInfo gatewayInfo) {
106 mMap.put(connection, gatewayInfo);
108 mMap.remove(connection);
115 public void clearGatewayData(Connection connection) {
116 setGatewayInfoForConnection(connection, EMPTY_INFO);
120 * If the parameter matches the connection object we previously saved through
124 public RawGatewayInfo getGatewayInfo(Connection connection) {
125 final RawGatewayInfo info = mMap.get(connection);