Lines Matching defs:call

43  * Represents an ongoing phone call that the in-call app should present to the user.
81 * {@link PhoneAccount} through which to place the call.
95 * Common transitions are to {@link #STATE_DIALING} state for a successful call or
101 * The state of a {@code Call} when the user has initiated a disconnection of the call, but the
102 * call has not yet been disconnected by the underlying {@code ConnectionService}. The next
103 * state of the call is (potentially) {@link #STATE_DISCONNECTED}.
108 * The state of an external call which is in the process of being pulled from a remote device to
111 * A call can only be in this state if the {@link Details#PROPERTY_IS_EXTERNAL_CALL} property
112 * and {@link Details#CAPABILITY_CAN_PULL_CALL} capability are set on the call.
123 * select phone accounts to (for example) place a call.
129 * when the last outgoing emergency call was made. This is used to identify potential emergency
148 * Extra key used with the {@link #EVENT_REQUEST_HANDOVER} call event. Specifies the
149 * {@link PhoneAccountHandle} to which a call should be handed over to.
156 * Integer extra key used with the {@link #EVENT_REQUEST_HANDOVER} call event. Specifies the
157 * video state of the call when it is handed over to the new {@link PhoneAccount}.
168 * Extra key used with the {@link #EVENT_REQUEST_HANDOVER} call event. Used by the
186 * A handover is initiated with the {@link #EVENT_REQUEST_HANDOVER} call event.
195 * source connection has disconnected. The {@link Bundle} parameter for the call event will be
198 * A handover is initiated with the {@link #EVENT_REQUEST_HANDOVER} call event.
209 * A handover is initiated with the {@link #EVENT_REQUEST_HANDOVER} call event.
225 * add a {@link Conference} call before the child {@link Connection}s are merged. This is how
227 * capability allows a merge button to be shown while the conference call is in the foreground
228 * of the in-call UI.
254 * Call supports conference call management. This capability only applies to {@link Conference}
302 * Speed up audio setup for MT call.
308 * Call can be upgraded to a video call.
314 * For video calls, indicates whether the outgoing video for the call can be paused using
326 * When set, prevents a video {@code Call} from being downgraded to an audio-only call.
330 * downgraded from a video call back to a VideoState of
333 * Intuitively, a call which can be downgraded to audio should also have local and remote
341 * When set for an external call, indicates that this {@code Call} can be pulled from a
363 * Whether the call is currently a conference.
368 * Whether the call is a generic conference, where we do not know the precise state of
374 * Whether the call is made while the device is in emergency callback mode.
389 * Whether the call is associated with the work profile.
398 * When a user places a call on one device, the telephony stack can represent that call on
411 * Indicates that the call has CDMA Enhanced Voice Privacy enabled.
416 * Indicates that the call is from a self-managed {@link ConnectionService}.
423 * Indicates the call used Assisted Dialing.
430 * Indicates that the call is an RTT call. Use {@link #getRttCall()} to get the
667 * @return a bitmask of the audio routes available for the call.
685 * updated periodically, but user interfaces should not rely on this to display the "call
686 * time clock". For the time when the call was first added to Telecom, see
718 * @return The extras associated with this call.
725 * @return The extras used with the original intent to place this call.
732 * Returns the time when the call was first created and added to Telecom. This is the same
734 * {@link android.provider.CallLog.Calls#DATE}). To determine when the call was connected
737 * @return The creation time of the call, in millis since the epoch.
873 * Note: Callbacks which occur before you call {@link Call#registerCallback(Callback)} will not
875 * as soon as your {@link InCallService} is notified of a new call via
891 * to handover the call to rejects the handover request.
899 * For more information on call handovers, see
912 * requested at the {@link PhoneAccountHandle} for the current call (i.e. the source call's
916 * For more information on call handovers, see
925 * For more information on call handovers, see
932 * is ongoing emergency call.
935 * called on an emergency call, or if any other call is an emergency call.
939 * For more information on call handovers, see
948 * For more information on call handovers, see
956 * @param call The {@code Call} invoking this method.
959 public void onStateChanged(Call call, int state) {}
964 * @param call The {@code Call} invoking this method.
967 public void onParentChanged(Call call, Call parent) {}
972 * @param call The {@code Call} invoking this method.
975 public void onChildrenChanged(Call call, List<Call> children) {}
980 * @param call The {@code Call} invoking this method.
983 public void onDetailsChanged(Call call, Details details) {}
990 * @param call The {@code Call} invoking this method.
993 public void onCannedTextResponsesLoaded(Call call, List<String> cannedTextResponses) {}
1001 * @param call The {@code Call} invoking this method.
1004 public void onPostDialWait(Call call, String remainingPostDialSequence) {}
1009 * @param call The {@code Call} invoking this method.
1012 public void onVideoCallChanged(Call call, InCallService.VideoCall videoCall) {}
1021 * @param call The {@code Call} being destroyed.
1023 public void onCallDestroyed(Call call) {}
1029 * @param call The {@code Call} being updated.
1033 public void onConferenceableCallsChanged(Call call, List<Call> conferenceableCalls) {}
1046 * @param call The {@code Call} receiving the event.
1050 public void onConnectionEvent(Call call, String event, Bundle extras) {}
1053 * Invoked when the RTT mode changes for this call.
1054 * @param call The call whose RTT mode has changed.
1059 public void onRttModeChanged(Call call, int mode) {}
1062 * Invoked when the call's RTT status changes, either from off to on or from on to off.
1063 * @param call The call whose RTT status has changed.
1068 public void onRttStatusChanged(Call call, boolean enabled, RttCall rttCall) {}
1074 * @param call The call which the RTT request was placed on
1077 public void onRttRequest(Call call, int id) {}
1082 * @param call The call which the RTT initiation failure occurred on.
1087 public void onRttInitiationFailure(Call call, int reason) {}
1096 * @param call The call which had initiated handover.
1098 public void onHandoverComplete(Call call) {}
1107 * @param call The call which had initiated handover.
1110 public void onHandoverFailed(Call call, @HandoverFailureErrors int failureReason) {}
1131 * on the call.
1188 * Writes the string {@param input} into the outgoing text stream for this RTT call. Since
1303 * @param videoState The video state in which to answer the call.
1312 * @param address The address to which the call will be deflected.
1343 * Instructs this {@link #STATE_HOLDING} call to release from hold.
1352 * Any other currently playing DTMF tone in the specified call is immediately stopped.
1383 * {@link Callback#onPostDialWait(Call, String)}. At this point, the in-call app
1385 * the postdial sequence. When the user decides to continue the postdial sequence, the in-call
1396 * an outgoing call. Optionally sets this account as the default account.
1406 * @param callToConferenceWith The other call with which to conference.
1415 * Instructs this {@code Call} to split from any conference call with which it may be
1437 * Initiates a request to the {@link ConnectionService} to pull an external call to the local
1440 * Calls to this method are ignored if the call does not have the
1448 // If this isn't an external call, ignore the request.
1519 * A call handover is the process where an ongoing call is transferred from one app (i.e.
1521 * mobile network call in a video calling app. The mobile network call via the Telephony stack
1534 * call to it. The app returns an instance of {@link Connection} to represent the handover call
1535 * At this point the app should display UI to indicate to the user that a call
1545 * choose whether they want to continue their call in the destination app.
1549 * {@link ConnectionService} and call
1552 * {@link Connection} to represent the handover call.
1556 * original call. If the user rejects the handover, the app calls
1570 * this call to.
1582 * Terminate the RTT session on this call. The resulting state change will be notified via
1706 Call call = mPhone.internalGetCallByTelecomId(id);
1707 if (call == null) {
1711 mChildren.add(call);
1759 * Obtains an object containing call details.
1769 * Returns this call's RttCall object. The {@link RttCall} instance is used to send and
1778 * Returns whether this call has an active RTT connection.
1802 // Don't allow new callback registration if the call is already being destroyed.
1814 // Don't allow callback deregistration if the call is already being destroyed.
2070 final Call call = this;
2072 record.getHandler().post(() -> callback.onRttRequest(call, requestId));
2079 final Call call = this;
2081 record.getHandler().post(() -> callback.onRttInitiationFailure(call, reason));
2088 final Call call = this;
2090 record.getHandler().post(() -> callback.onHandoverFailed(call, error));
2097 final Call call = this;
2099 record.getHandler().post(() -> callback.onHandoverComplete(call));
2105 final Call call = this;
2110 callback.onStateChanged(call, newState);
2118 final Call call = this;
2123 callback.onParentChanged(call, newParent);
2131 final Call call = this;
2136 callback.onChildrenChanged(call, children);
2144 final Call call = this;
2149 callback.onDetailsChanged(call, details);
2157 final Call call = this;
2162 callback.onCannedTextResponsesLoaded(call, cannedTextResponses);
2170 final Call call = this;
2175 callback.onVideoCallChanged(call, videoCall);
2183 final Call call = this;
2188 callback.onPostDialWait(call, remainingPostDialSequence);
2197 * onCallRemoved callback, we remove this call from the Phone's record
2202 final Call call = this;
2204 // No callbacks registered, remove the call from Phone's record.
2205 mPhone.internalRemoveCall(call);
2215 callback.onCallDestroyed(call);
2226 mPhone.internalRemoveCall(call);
2238 final Call call = this;
2243 callback.onConferenceableCallsChanged(call, mUnmodifiableConferenceableCalls);
2259 final Call call = this;
2264 callback.onConnectionEvent(call, event, extras);
2277 final Call call = this;
2279 record.getHandler().post(() -> callback.onRttStatusChanged(call, enabled, rttCall));
2290 final Call call = this;
2292 record.getHandler().post(() -> callback.onRttModeChanged(call, mode));