Home | History | Annotate | Download | only in phone

Lines Matching refs:ringing

97     static final int AUDIO_RINGING = 1;  /** audio behaviour while ringing */
137 private Call ringing;
140 ringing = ring;
163 // before check the ringing call state
173 // since hangupActiveCall() also accepts the ringing call
174 // check if the ringing call was already answered or not
175 // only answer it when the call still is ringing
176 } else if (frC.ringing.isRinging()) {
180 answerCall(frC.ringing);
205 * Answer the currently-ringing call.
208 * actually a ringing incoming call, or some other error occurred.
283 final Call ringing = cm.getFirstActiveRingingCall();
287 // We go in reverse order, BG->FG->RINGING because hanging up a ringing call or an active
296 if (ringing != null && !ringing.isIdle()) {
305 * <li>If there's a ringing call, hang that up.
315 Call ringing = cm.getFirstActiveRingingCall();
319 if (!ringing.isIdle()) {
320 log("hangup(): hanging up ringing call");
321 hungup = hangupRingingCall(ringing);
341 static boolean hangupRingingCall(Call ringing) {
342 if (DBG) log("hangup ringing call");
343 int phoneType = ringing.getPhone().getPhoneType();
344 Call.State state = ringing.getState();
349 return hangup(ringing);
351 // Unexpected state: the ringing call isn't INCOMING or
382 // Hang up any Ringing Call
384 log("hangupRingingAndActive: Hang up Ringing Call");
440 static boolean answerAndEndHolding(CallManager cm, Call ringing) {
448 return answerCall(ringing);
453 * Answers the incoming call specified by "ringing", and ends the currently active phone call.
465 /* package */ static boolean answerAndEndActive(CallManager cm, Call ringing) {
486 msg.obj = new FgRingCalls(fgCall, ringing);
604 // call already in the process of dialing or ringing.
2042 // - There's no incoming ringing call
2293 b.append(" - RINGING call: ").append(call.getState());
2359 b.append(" - RINGING call: ").append(cm.hasActiveRingingCall()? "YES ": "NO ");
2383 b.append(" - RINGING call: ").append(call);