Home
last modified time | relevance | path

Searched refs:ringingCall (Results 1 – 5 of 5) sorted by relevance

/packages/services/Telecomm/src/com/android/server/telecom/
DBluetoothPhoneService.java476 Call ringingCall = callsManager.getRingingCall(); in processChld() local
480 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() local
683 if (ringingCall != null) { in updateHeadsetWithCallState()
[all …]
DCallsManager.java807 Call ringingCall = getFirstCallWithState(CallState.RINGING); in onMediaButton() local
808 if (ringingCall == null) { in onMediaButton()
812 ringingCall.answer(ringingCall.getVideoState()); in onMediaButton()
/packages/services/Telephony/src/com/android/phone/
DPhoneUtils.java194 /* package */ static boolean answerCall(Call ringingCall) { in answerCall() argument
195 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() local
384 if (!ringingCall.isIdle()) { in hangupRingingAndActive()
[all …]
/packages/services/Telephony/src/com/android/services/telephony/
DTelephonyConnection.java268 Call ringingCall = phone.getRingingCall(); in performHold() local
280 if (ringingCall.getState() != Call.State.WAITING) { in performHold()
473 Call ringingCall = getPhone().getRingingCall(); in isValidRingingCall() local
474 if (!ringingCall.getState().isRinging()) { in isValidRingingCall()
479 if (ringingCall.getEarliestConnection() != mOriginalConnection) { in isValidRingingCall()
DTelephonyConnectionService.java262 final Call ringingCall = phone.getRingingCall(); in onCreateUnknownConnection() local
263 if (ringingCall.hasConnections()) { in onCreateUnknownConnection()
264 allConnections.addAll(ringingCall.getConnections()); in onCreateUnknownConnection()