Lines Matching refs:connection
25 import com.android.internal.telephony.Connection;
39 * proper number to dial. It also saves an association between the connection object and the gateway
71 private final HashMap<Connection, RawGatewayInfo> mMap = Maps.newHashMap();
91 * This function sets the current mapping from connection to gatewayInfo so that CallModeler
93 * @param connection The connection object for the placed outgoing call.
96 public void setGatewayInfoForConnection(Connection connection, RawGatewayInfo gatewayInfo) {
98 mMap.put(connection, gatewayInfo);
100 mMap.remove(connection);
107 public void clearGatewayData(Connection connection) {
108 setGatewayInfoForConnection(connection, EMPTY_INFO);
112 * If the parameter matches the connection object we previously saved through
116 public RawGatewayInfo getGatewayInfo(Connection connection) {
117 final RawGatewayInfo info = mMap.get(connection);