Lines Matching defs:call
19 import com.android.services.telephony.common.Call;
20 import com.android.services.telephony.common.Call.State;
39 * Phone app "in call" screen.
147 * Dismisses the in-call screen.
150 * have to be re-created from scratch for the next call. Instead, we just move ourselves to the
197 // in-call UI:
207 // Always disable the Back key while an incoming call is ringing
208 final Call call = CallList.getInstance().getIncomingCall();
209 if (call != null) {
210 Log.d(this, "Consume Back press for an inconing call");
224 // Always consume CALL to be sure the PhoneWindow won't do anything with it
238 // Always consume CALL to be sure the PhoneWindow won't do anything with it
245 // namely (1) "hang up" if there's a current active call,
246 // or (2) "don't answer" if there's a current ringing call.
249 // Disable the CAMERA button while in-call since it's too
300 // use the hard keyboard while in-call in the first place,
301 // especially now that the in-call UI is portrait-only...
320 // This action is the normal way to bring up the in-call UI.
346 final Call call = CallList.getInstance().getActiveOrBackgroundCall();
347 if (call != null && call.getState() == State.ONHOLD) {
348 CallCommandClient.getInstance().hold(call.getCallId(), false);
390 * Simulates a user click to hide the dialpad. This will update the UI to show the call card,
442 public void maybeShowErrorDialogOnDisconnect(Call.DisconnectCause cause) {
488 private int getResIdForDisconnectCause(Call.DisconnectCause cause) {
491 if (cause == Call.DisconnectCause.CALL_BARRED) {
493 } else if (cause == Call.DisconnectCause.FDN_BLOCKED) {
495 } else if (cause == Call.DisconnectCause.CS_RESTRICTED) {
497 } else if (cause == Call.DisconnectCause.CS_RESTRICTED_EMERGENCY) {
499 } else if (cause == Call.DisconnectCause.CS_RESTRICTED_NORMAL) {