Searched refs:ringingCall (Results 1 – 5 of 5) sorted by relevance
476 Call ringingCall = callsManager.getRingingCall(); in processChld() local480 Log.i(TAG, "Active: %s\nRinging: %s\nHeld: %s", activeCall, ringingCall, heldCall); in processChld()483 if (ringingCall != null) { in processChld()484 callsManager.rejectCall(ringingCall, false, null); in processChld()493 if (ringingCall != null) { in processChld()494 callsManager.answerCall(ringingCall, 0); in processChld()504 } else if (ringingCall != null) { in processChld()505 callsManager.answerCall(ringingCall, 0); in processChld()676 Call ringingCall = callsManager.getRingingCall(); in updateHeadsetWithCallState() local683 if (ringingCall != null) { in updateHeadsetWithCallState()[all …]
807 Call ringingCall = getFirstCallWithState(CallState.RINGING); in onMediaButton() local808 if (ringingCall == null) { in onMediaButton()812 ringingCall.answer(ringingCall.getVideoState()); in onMediaButton()
194 /* package */ static boolean answerCall(Call ringingCall) { in answerCall() argument195 log("answerCall(" + ringingCall + ")..."); in answerCall()199 final Phone phone = ringingCall.getPhone(); in answerCall()206 if (ringingCall.getState() == Call.State.WAITING) { in answerCall()211 if (ringingCall != null && ringingCall.isRinging()) { in answerCall()212 if (DBG) log("answerCall: call state = " + ringingCall.getState()); in answerCall()233 final boolean isRealIncomingCall = isRealIncomingCall(ringingCall.getState()); in answerCall()236 app.mCM.acceptCall(ringingCall); in answerCall()380 Call ringingCall = phone.getRingingCall(); in hangupRingingAndActive() local384 if (!ringingCall.isIdle()) { in hangupRingingAndActive()[all …]
268 Call ringingCall = phone.getRingingCall(); in performHold() local280 if (ringingCall.getState() != Call.State.WAITING) { in performHold()473 Call ringingCall = getPhone().getRingingCall(); in isValidRingingCall() local474 if (!ringingCall.getState().isRinging()) { in isValidRingingCall()479 if (ringingCall.getEarliestConnection() != mOriginalConnection) { in isValidRingingCall()
262 final Call ringingCall = phone.getRingingCall(); in onCreateUnknownConnection() local263 if (ringingCall.hasConnections()) { in onCreateUnknownConnection()264 allConnections.addAll(ringingCall.getConnections()); in onCreateUnknownConnection()