Home | History | Annotate | Download | only in phone

Lines Matching refs:hangup

327     static boolean hangup(CallManager cm) {
334 log("hangup(): hanging up ringing call");
337 log("hangup(): hanging up foreground call");
338 hungup = hangup(fg);
340 log("hangup(): hanging up background call");
341 hungup = hangup(bg);
348 log("hangup(): no active call to hang up");
356 if (DBG) log("hangup ringing call");
362 log("hangupRingingCall(): regular incoming call: hangup()");
363 return hangup(ringing);
372 // CDMA: Ringing call and Call waiting hangup is handled differently.
373 // For Call waiting we DO NOT call the conventional hangup(call) function
374 // as in CDMA we just want to hangup the Call waiting connection.
375 log("hangupRingingCall(): CDMA-specific call-waiting hangup");
380 // Otherwise, the regular hangup() API works for
382 log("hangupRingingCall(): call-waiting call: hangup()");
383 return hangup(ringing);
397 if (DBG) log("hangup active call");
398 return hangup(foreground);
402 if (DBG) log("hangup holding call");
403 return hangup(background);
433 * Trivial wrapper around Call.hangup(), except that we return a
440 static boolean hangup(Call call) {
445 // handle foreground call hangup while there is background call
446 log("- hangup(Call): hangupForegroundResumeBackground...");
449 log("- hangup(Call): regular hangup()...");
450 call.hangup();
454 Log.e(LOG_TAG, "Call hangup: caught " + ex, ex);
461 * Trivial wrapper around Connection.hangup(), except that we silently
465 static void hangup(Connection c) {
468 c.hangup();
471 Log.w(LOG_TAG, "Connection hangup: caught " + ex, ex);
1974 if (DBG) log("handleHeadsetHook: longpress -> hangup");
1975 hangup(app.mCM);