Lines Matching refs:INCOMING
54 * (like starting the Ringer and Incoming Call UI, playing in-call tones,
394 // Check for a few cases where we totally ignore incoming calls.
397 // that an incoming call occurred. (This will generally send the
399 // incoming-call UI and the user had declined the call.)
412 // This is a very strange case: an incoming call that stopped
424 // State will be either INCOMING or WAITING.
430 // us get incoming connections in the first place.
442 // incoming call by consuming the broadcast and doing nothing, or
447 // We'd need to protect this with a new "intercept incoming calls"
454 if (VDBG) log("Holding wake lock on new incoming connection.");
458 // - do this before showing the incoming call panel
469 if (DBG) log("- showing incoming call (this is a WAITING call)...");
474 // we're not necessarily ready to actually show the incoming call
475 // to the user. (For calls in the INCOMING state, at least, we
487 * Determines whether or not we're allowed to present incoming calls to the
491 * current incoming call, without even indicating to the user that an
492 * incoming call occurred.
494 * (We only reject incoming calls in a few cases, like during an OTASP call
496 * SetupWizard yet. We also don't allow incoming calls on non-voice-capable
497 * devices. But note that we *always* allow incoming calls while in ECM.)
499 * @return true if we're *not* allowed to present an incoming call to
503 // Incoming calls are totally ignored on non-voice-capable devices.
506 // event in the first place! (Incoming calls *should* be blocked at
512 // In ECM (emergency callback mode), we ALWAYS allow incoming calls
516 if (DBG) log("Incoming call while in ECM: always allow...");
520 // Incoming calls are totally ignored if the device isn't provisioned yet.
524 Log.i(LOG_TAG, "Ignoring incoming call: not provisioned");
528 // Incoming calls are totally ignored if an OTASP call is active.
537 Log.i(LOG_TAG, "Ignoring incoming call: OTA call is active");
540 // We *are* allowed to receive incoming calls at this point.
556 * Helper method to manage the start of incoming call queries
598 // This should never happen; its the case where an incoming call
609 if (DBG) log("- showing incoming call (couldn't start query)...");
616 * starts the ringer, and brings up the "incoming call" UI.
646 // Make sure we still have an incoming call!
648 // (It's possible for the incoming call to have been disconnected
653 // Note we don't have to worry about the incoming call going away
659 Log.i(LOG_TAG, "onCustomRingQueryComplete: No incoming call! Bailing out...");
660 // Don't start the ringer *or* bring up the "incoming call" UI.
669 // ...and display the incoming call to the user:
670 if (DBG) log("- showing incoming call (custom ring query complete)...");
678 // basically do onPhoneStateChanged + display the incoming call UI
680 if (DBG) log("- showing incoming call (unknown connection appeared)...");
686 * Informs the user about a new incoming call.
688 * In most cases this means "bring up the full-screen incoming call
693 * Watch out: be sure to call this method only once per incoming call,
698 * Note this method handles only the onscreen UI for incoming calls;
707 // Before bringing up the "incoming call" UI, force any system
728 // wake lock. (This prevents any flicker during the "incoming
746 // Post the "incoming call" notification *and* include the
747 // fullScreenIntent that'll launch the incoming-call UI.
748 // (This will usually take us straight to the incoming call
760 * - see onNewRingingConnection() for new incoming calls
954 + "updating state for incoming call..");
995 + ", incoming = " + c.isIncoming()
1019 // Stop the ringer if it was ringing (for an incoming call that
1023 // foreground or background call disconnects while an incoming call
1028 // and at the same time receives an Incoming Call, the Incoming Call is given
1031 // the Incoming Call
1214 // (Note we *don't* do this if this was an incoming call that
1346 * incoming ringing call no longer exists.)
1355 // regular INCOMING calls.
1357 if (ringingCall.getState() == Call.State.INCOMING) {
1716 // Do not start any new SignalInfo tone when Call state is INCOMING
1756 * Plays a Call waiting tone if it is present in the second incoming call.
1768 // Display the incoming call to the user if the InCallScreen isn't
1771 if (DBG) log("- showing incoming call (CDMA call waiting)...");
2043 * For incoming call the number is in the Connection object. For