Home
last modified time | relevance | path

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

/packages/apps/Phone/src/com/android/phone/
DBluetoothPhoneService.java261 Call ringingCall = mCM.getFirstActiveRingingCall(); in handlePreciseCallStateChange() local
262 mRingingCallState = ringingCall.getState(); in handlePreciseCallStateChange()
263 mRingNumber = getCallNumber(connection, ringingCall); in handlePreciseCallStateChange()
475 Call ringingCall = mCM.getFirstActiveRingingCall(); in listCurrentCallsGsm() local
477 if (ringingCall.getState().isAlive()) { in listCurrentCallsGsm()
478 connections.addAll(ringingCall.getConnections()); in listCurrentCallsGsm()
567 Call ringingCall = mCM.getFirstActiveRingingCall(); in listCurrentCallsCdma() local
569 Call.State ringingCallState = ringingCall.getState(); in listCurrentCallsCdma()
574 clccConnections[0] = ringingCall.getLatestConnection(); in listCurrentCallsCdma()
577 if (ringingCall.isRinging()) { in listCurrentCallsCdma()
[all …]
DRespondViaSmsManager.java119 public void showRespondViaSmsPopup(Call ringingCall) { in showRespondViaSmsPopup() argument
155 Connection c = ringingCall.getLatestConnection(); in showRespondViaSmsPopup()
501 public static boolean allowRespondViaSmsForCall(Context context, Call ringingCall) { in allowRespondViaSmsForCall() argument
502 if (DBG) log("allowRespondViaSmsForCall(" + ringingCall + ")..."); in allowRespondViaSmsForCall()
505 if (ringingCall == null) { in allowRespondViaSmsForCall()
509 if (!ringingCall.isRinging()) { in allowRespondViaSmsForCall()
515 + ringingCall.getState()); in allowRespondViaSmsForCall()
518 Connection conn = ringingCall.getLatestConnection(); in allowRespondViaSmsForCall()
DInCallTouchUi.java238 final Call ringingCall = cm.getFirstActiveRingingCall(); in updateState() local
246 if ((ringingCall.getState() != Call.State.IDLE) && !fgCallState.isDialing()) { in updateState()
254 if (ringingCall.getState().isAlive()) { in updateState()
330 showIncomingCallWidget(ringingCall); in updateState()
1157 private void showIncomingCallWidget(Call ringingCall) { in showIncomingCallWidget() argument
1175 RespondViaSmsManager.allowRespondViaSmsForCall(mInCallScreen, ringingCall); in showIncomingCallWidget()
DCallNotifier.java1044 Call ringingCall = mCM.getFirstActiveRingingCall(); in onDisconnect() local
1045 if (ringingCall.getPhone().getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA) { in onDisconnect()
1046 if (PhoneUtils.isRealIncomingCall(ringingCall.getState())) { in onDisconnect()
1336 final Call ringingCall = mCM.getFirstActiveRingingCall(); in restartRinger()
1340 if (DBG) log("- ringingCall state: " + ringingCall.getState()); in restartRinger()
1341 if (ringingCall.getState() == Call.State.INCOMING) { in restartRinger()
1783 final Call ringingCall = mCM.getFirstActiveRingingCall(); in onCdmaCallWaitingReject() local
1786 if (ringingCall.getState() == Call.State.WAITING) { in onCdmaCallWaitingReject()
1788 Connection c = ringingCall.getLatestConnection(); in onCdmaCallWaitingReject()
DPhoneUtils.java219 /* package */ static boolean answerCall(Call ringingCall) { in answerCall() argument
220 log("answerCall(" + ringingCall + ")..."); in answerCall()
228 final Phone phone = ringingCall.getPhone(); in answerCall()
235 if (ringingCall.getState() == Call.State.WAITING) { in answerCall()
240 if (ringingCall != null && ringingCall.isRinging()) { in answerCall()
241 if (DBG) log("answerCall: call state = " + ringingCall.getState()); in answerCall()
274 final boolean isRealIncomingCall = isRealIncomingCall(ringingCall.getState()); in answerCall()
277 app.mCM.acceptCall(ringingCall); in answerCall()
421 Call ringingCall = phone.getRingingCall(); in hangupRingingAndActive() local
425 if (!ringingCall.isIdle()) { in hangupRingingAndActive()
[all …]
DCallCard.java255 Call ringingCall = cm.getFirstActiveRingingCall(); in updateState() local
271 if ((ringingCall.getState() != Call.State.IDLE) in updateState()
393 Call ringingCall = cm.getFirstActiveRingingCall(); in updateRingingCall() local
396 displayMainCallStatus(cm, ringingCall); in updateRingingCall()
DNotificationMgr.java1087 Call ringingCall = mCM.getFirstActiveRingingCall(); in updateInCallNotification() local
1088 if ((ringingCall.getState() == Call.State.WAITING) && !mApp.isShowingCallScreen()) { in updateInCallNotification()
DInCallScreen.java3569 Call ringingCall = mCM.getFirstActiveRingingCall(); in internalRespondViaSms() local
3571 mRespondViaSmsManager.showRespondViaSmsPopup(ringingCall); in internalRespondViaSms()