Lines Matching refs:callId
112 public void setActive(String callId, Session.Info sessionInfo) {
113 if (mConnectionById.containsKey(callId)) {
114 findConnectionForAction(callId, "setActive")
117 findConferenceForAction(callId, "setActive")
123 public void setRinging(String callId, Session.Info sessionInfo) {
124 findConnectionForAction(callId, "setRinging")
129 public void setDialing(String callId, Session.Info sessionInfo) {
130 findConnectionForAction(callId, "setDialing")
135 public void setPulling(String callId, Session.Info sessionInfo) {
136 findConnectionForAction(callId, "setPulling")
141 public void setDisconnected(String callId, DisconnectCause disconnectCause,
143 if (mConnectionById.containsKey(callId)) {
144 findConnectionForAction(callId, "setDisconnected")
147 findConferenceForAction(callId, "setDisconnected")
153 public void setOnHold(String callId, Session.Info sessionInfo) {
154 if (mConnectionById.containsKey(callId)) {
155 findConnectionForAction(callId, "setOnHold")
158 findConferenceForAction(callId, "setOnHold")
164 public void setRingbackRequested(String callId, boolean ringing, Session.Info sessionInfo) {
165 findConnectionForAction(callId, "setRingbackRequested")
170 public void setConnectionCapabilities(String callId, int connectionCapabilities,
172 if (mConnectionById.containsKey(callId)) {
173 findConnectionForAction(callId, "setConnectionCapabilities")
176 findConferenceForAction(callId, "setConnectionCapabilities")
182 public void setConnectionProperties(String callId, int connectionProperties,
184 if (mConnectionById.containsKey(callId)) {
185 findConnectionForAction(callId, "setConnectionProperties")
188 findConferenceForAction(callId, "setConnectionProperties")
194 public void setIsConferenced(String callId, String conferenceCallId,
198 findConnectionForAction(callId, "setIsConferenced");
216 public void setConferenceMergeFailed(String callId, Session.Info sessionInfo) {
223 public void onPhoneAccountChanged(String callId, PhoneAccountHandle pHandle,
232 final String callId, ParcelableConference parcel, Session.Info sessionInfo) {
233 RemoteConference conference = new RemoteConference(callId,
254 mConferenceById.put(callId, conference);
260 newExtras.putString(Connection.EXTRA_ORIGINAL_CONNECTION_ID, callId);
269 mConferenceById.remove(callId);
278 public void removeCall(String callId, Session.Info sessionInfo) {
279 if (mConnectionById.containsKey(callId)) {
280 findConnectionForAction(callId, "removeCall")
283 findConferenceForAction(callId, "removeCall")
289 public void onPostDialWait(String callId, String remaining, Session.Info sessionInfo) {
290 findConnectionForAction(callId, "onPostDialWait")
295 public void onPostDialChar(String callId, char nextChar, Session.Info sessionInfo) {
296 findConnectionForAction(callId, "onPostDialChar")
307 public void setVideoProvider(String callId, IVideoProvider videoProvider,
318 findConnectionForAction(callId, "setVideoProvider")
323 public void setVideoState(String callId, int videoState, Session.Info sessionInfo) {
324 findConnectionForAction(callId, "setVideoState")
329 public void setIsVoipAudioMode(String callId, boolean isVoip, Session.Info sessionInfo) {
330 findConnectionForAction(callId, "setIsVoipAudioMode")
335 public void setStatusHints(String callId, StatusHints statusHints,
337 findConnectionForAction(callId, "setStatusHints")
342 public void setAddress(String callId, Uri address, int presentation,
344 findConnectionForAction(callId, "setAddress")
349 public void setCallerDisplayName(String callId, String callerDisplayName,
351 findConnectionForAction(callId, "setCallerDisplayName")
361 public final void setConferenceableConnections(String callId,
370 if (hasConnection(callId)) {
371 findConnectionForAction(callId, "setConferenceableConnections")
374 findConferenceForAction(callId, "setConferenceableConnections")
380 public void addExistingConnection(String callId, ParcelableConnection connection,
386 RemoteConnection remoteConnection = new RemoteConnection(callId,
394 mConnectionById.put(callId, remoteConnection);
398 mConnectionById.remove(callId);
406 public void putExtras(String callId, Bundle extras, Session.Info sessionInfo) {
407 if (hasConnection(callId)) {
408 findConnectionForAction(callId, "putExtras").putExtras(extras);
410 findConferenceForAction(callId, "putExtras").putExtras(extras);
415 public void removeExtras(String callId, List<String> keys, Session.Info sessionInfo) {
416 if (hasConnection(callId)) {
417 findConnectionForAction(callId, "removeExtra").removeExtras(keys);
419 findConferenceForAction(callId, "removeExtra").removeExtras(keys);
424 public void setAudioRoute(String callId, int audioRoute, String bluetoothAddress,
426 if (hasConnection(callId)) {
434 public void onConnectionEvent(String callId, String event, Bundle extras,
436 if (mConnectionById.containsKey(callId)) {
437 findConnectionForAction(callId, "onConnectionEvent").onConnectionEvent(event,
443 public void onRttInitiationSuccess(String callId, Session.Info sessionInfo)
445 if (hasConnection(callId)) {
446 findConnectionForAction(callId, "onRttInitiationSuccess")
454 public void onRttInitiationFailure(String callId, int reason, Session.Info sessionInfo)
456 if (hasConnection(callId)) {
457 findConnectionForAction(callId, "onRttInitiationFailure")
465 public void onRttSessionRemotelyTerminated(String callId, Session.Info sessionInfo)
467 if (hasConnection(callId)) {
468 findConnectionForAction(callId, "onRttSessionRemotelyTerminated")
476 public void onRemoteRttRequest(String callId, Session.Info sessionInfo)
478 if (hasConnection(callId)) {
479 findConnectionForAction(callId, "onRemoteRttRequest")
487 public void resetConnectionTime(String callId, Session.Info sessionInfo) {
492 public void setConferenceState(String callId, boolean isConference,
498 public void setCallDirection(String callId, int direction, Session.Info sessionInfo) {
626 private boolean hasConnection(String callId) { in hasConnection() argument
627 return mConnectionById.containsKey(callId); in hasConnection()
631 String callId, String action) { in findConnectionForAction() argument
632 if (mConnectionById.containsKey(callId)) { in findConnectionForAction()
633 return mConnectionById.get(callId); in findConnectionForAction()
635 Log.w(this, "%s - Cannot find Connection %s", action, callId); in findConnectionForAction()
640 String callId, String action) { in findConferenceForAction() argument
641 if (mConferenceById.containsKey(callId)) { in findConferenceForAction()
642 return mConferenceById.get(callId); in findConferenceForAction()
644 Log.w(this, "%s - Cannot find Conference %s", action, callId); in findConferenceForAction()