Home | History | Annotate | Download | only in phone

Lines Matching defs:ringing

90     static final int AUDIO_RINGING = 1;  /** audio behaviour while ringing */
229 * Answer the currently-ringing call.
232 * actually a ringing incoming call, or some other error occurred.
237 static boolean answerCall(Call ringing) {
238 log("answerCall(" + ringing + ")...");
241 // If the ringer is currently ringing and/or vibrating, stop it
246 Phone phone = ringing.getPhone();
252 if (ringing.getState() == Call.State.WAITING) {
258 if (ringing != null && ringing.isRinging()) {
259 if (DBG) log("answerCall: call state = " + ringing.getState());
289 app.mCM.acceptCall(ringing);
319 * <li>If there's a ringing call, hang that up.
329 Call ringing = cm.getFirstActiveRingingCall();
333 if (!ringing.isIdle()) {
334 log("hangup(): hanging up ringing call");
335 hungup = hangupRingingCall(ringing);
355 static boolean hangupRingingCall(Call ringing) {
356 if (DBG) log("hangup ringing call");
357 int phoneType = ringing.getPhone().getPhoneType();
358 Call.State state = ringing.getState();
363 return hangup(ringing);
372 // CDMA: Ringing call and Call waiting hangup is handled differently.
383 return hangup(ringing);
386 // Unexpected state: the ringing call isn't INCOMING or
417 // Hang up any Ringing Call
419 log("hangupRingingAndActive: Hang up Ringing Call");
475 static boolean answerAndEndHolding(CallManager cm, Call ringing) {
483 return answerCall(ringing);
487 static boolean answerAndEndActive(CallManager cm, Call ringing) {
504 // since hangupActiveCall() also accepts the ringing call
505 // check if the ringing call was already answered or not
506 // only answer it when the call still is ringing
507 if (ringing.isRinging()) {
508 return answerCall(ringing);
598 // call already in the process of dialing or ringing.
1939 // ringing. If not, it toggles the mute / unmute state.
1952 // If an incoming call is ringing, answer it (just like with the
1960 if (DBG) log("handleHeadsetHook: ringing (both lines in use) ==> answer!");
1963 if (DBG) log("handleHeadsetHook: ringing ==> answer!");
1972 // No incoming ringing call.
1996 // ringing call, the InCallScreen will imminently get a phone
2119 // - There's no incoming ringing call
2471 b.append(" - RINGING call: ").append(call.getState());
2504 boolean ringing = app.getRinger().isRinging();
2505 Log.d(LOG_TAG, " - Ringer state: " + ringing);
2543 b.append(" - RINGING call: ").append(cm.hasActiveRingingCall()? "YES ": "NO ");
2567 b.append(" - RINGING call: ").append(call);