Home | History | Annotate | Download | only in phone

Lines Matching refs:ringing

95     static final int AUDIO_RINGING = 1;  /** audio behaviour while ringing */
132 private Call ringing;
135 ringing = ring;
154 // before check the ringing call state
164 // since hangupActiveCall() also accepts the ringing call
165 // check if the ringing call was already answered or not
166 // only answer it when the call still is ringing
167 } else if (frC.ringing.isRinging()) {
171 answerCall(frC.ringing);
260 * Answer the currently-ringing call.
263 * actually a ringing incoming call, or some other error occurred.
273 // If the ringer is currently ringing and/or vibrating, stop it
377 final Call ringing = cm.getFirstActiveRingingCall();
381 // We go in reverse order, BG->FG->RINGING because hanging up a ringing call or an active
390 if (ringing != null && !ringing.isIdle()) {
399 * <li>If there's a ringing call, hang that up.
409 Call ringing = cm.getFirstActiveRingingCall();
413 if (!ringing.isIdle()) {
414 log("hangup(): hanging up ringing call");
415 hungup = hangupRingingCall(ringing);
435 static boolean hangupRingingCall(Call ringing) {
436 if (DBG) log("hangup ringing call");
437 int phoneType = ringing.getPhone().getPhoneType();
438 Call.State state = ringing.getState();
443 return hangup(ringing);
452 // CDMA: Ringing call and Call waiting hangup is handled differently.
463 return hangup(ringing);
466 // Unexpected state: the ringing call isn't INCOMING or
497 // Hang up any Ringing Call
499 log("hangupRingingAndActive: Hang up Ringing Call");
555 static boolean answerAndEndHolding(CallManager cm, Call ringing) {
563 return answerCall(ringing);
568 * Answers the incoming call specified by "ringing", and ends the currently active phone call.
580 /* package */ static boolean answerAndEndActive(CallManager cm, Call ringing) {
601 msg.obj = new FgRingCalls(fgCall, ringing);
718 // call already in the process of dialing or ringing.
2184 // ringing. If not, it toggles the mute / unmute state.
2197 // If an incoming call is ringing, answer it (just like with the
2205 if (DBG) log("handleHeadsetHook: ringing (both lines in use) ==> answer!");
2208 if (DBG) log("handleHeadsetHook: ringing ==> answer!");
2217 // No incoming ringing call.
2241 // ringing call, the InCallScreen will imminently get a phone
2408 // - There's no incoming ringing call
2701 b.append(" - RINGING call: ").append(call.getState());
2734 boolean ringing = app.getRinger().isRinging();
2735 Log.d(LOG_TAG, " - Ringer state: " + ringing);
2773 b.append(" - RINGING call: ").append(cm.hasActiveRingingCall()? "YES ": "NO ");
2797 b.append(" - RINGING call: ").append(call);