Home
last modified time | relevance | path

Searched refs:mCall (Results 1 – 13 of 13) sorted by relevance

/packages/apps/InCallUI/src/com/android/incallui/
DCallButtonPresenter.java44 private Call mCall; field in CallButtonPresenter
79 mCall = callList.getOutgoingCall(); in onStateChange()
81 mCall = callList.getActiveOrBackgroundCall(); in onStateChange()
88 if (oldState == InCallState.OUTGOING && mCall != null) { in onStateChange()
89 if (CallerInfoUtils.isVoiceMailNumber(ui.getContext(), mCall)) { in onStateChange()
98 mCall = null; in onStateChange()
100 mCall = null; in onStateChange()
102 updateUi(newState, mCall); in onStateChange()
116 if (getUi() != null && Objects.equals(call, mCall)) { in onDetailsChanged()
128 if (getUi() != null && mCall != null) { in onCanAddCallChanged()
[all …]
DInCallVideoCallListener.java32 private Call mCall; field in InCallVideoCallListener
40 mCall = call; in InCallVideoCallListener()
50 int previousVideoState = mCall.getVideoState(); in onSessionModifyRequestReceived()
61 InCallVideoCallListenerNotifier.getInstance().upgradeToVideoRequest(mCall); in onSessionModifyRequestReceived()
63 InCallVideoCallListenerNotifier.getInstance().downgradeToAudio(mCall); in onSessionModifyRequestReceived()
67 InCallVideoCallListenerNotifier.getInstance().peerPausedStateChanged(mCall, pause); in onSessionModifyRequestReceived()
89 InCallVideoCallListenerNotifier.getInstance().upgradeToVideoSuccess(mCall); in onSessionModifyResponseReceived()
91 InCallVideoCallListenerNotifier.getInstance().upgradeToVideoFail(mCall); in onSessionModifyResponseReceived()
112 InCallVideoCallListenerNotifier.getInstance().peerDimensionsChanged(mCall, width, height); in onPeerDimensionsChanged()
134 mCall, cameraCapabilities.getWidth(), cameraCapabilities.getHeight()); in onCameraCapabilitiesChanged()
DDialpadPresenter.java27 private Call mCall; field in DialpadPresenter
33 mCall = CallList.getInstance().getOutgoingOrActive(); in onUiReady()
45 mCall = callList.getOutgoingOrActive(); in onStateChange()
46 Log.d(this, "DialpadPresenter mCall = " + mCall); in onStateChange()
58 if (PhoneNumberUtils.is12Key(c) && mCall != null) { in processDtmf()
64 TelecomAdapter.getInstance().playDtmfTone(mCall.getId(), c); in processDtmf()
74 if (mCall != null) { in stopDtmf()
76 TelecomAdapter.getInstance().stopDtmfTone(mCall.getId()); in stopDtmf()
DAnswerPresenter.java33 private Call mCall = null; field in AnswerPresenter
93 mCall = call; in processIncomingCall()
106 mCall = call; in processVideoUpgradeRequestCall()
142 if (mCall.getSessionModificationState() in onAnswer()
146 TelecomAdapter.getInstance().answerCall(mCall.getId(), videoState); in onAnswer()
156 TelecomAdapter.getInstance().rejectCall(mCall.getId(), false, null); in onDecline()
168 TelecomAdapter.getInstance().rejectCall(mCall.getId(), true, message); in rejectCallWithMessage()
DConferenceParticipantListAdapter.java56 private Call mCall; field in ConferenceParticipantListAdapter.ParticipantInfo
61 mCall = call; in ParticipantInfo()
66 return mCall; in getCall()
70 mCall = call; in setCall()
94 Objects.equals(p.getCall().getId(), mCall.getId()); in equals()
101 return mCall.getId().hashCode(); in hashCode()
/packages/services/Telecomm/src/com/android/server/telecom/
DCreateConnectionProcessor.java91 private final Call mCall; field in CreateConnectionProcessor
105 mCall = call; in CreateConnectionProcessor()
124 if (mCall.getTargetPhoneAccount() != null) { in process()
126 mCall.getTargetPhoneAccount(), mCall.getTargetPhoneAccount())); in process()
155 ConnectionServiceWrapper service = mCall.getConnectionService(); in abort()
157 service.abort(mCall); in abort()
158 mCall.clearConnectionService(); in abort()
203 mCall.setConnectionManagerPhoneAccount(attempt.connectionManagerPhoneAccount); in attemptNextPhoneAccount()
204 mCall.setTargetPhoneAccount(attempt.targetPhoneAccount); in attemptNextPhoneAccount()
205 mCall.setConnectionService(service); in attemptNextPhoneAccount()
[all …]
DRingbackPlayer.java38 private Call mCall; field in RingbackPlayer
94 if (mCall == call) { in startRingbackForCall()
99 if (mCall != null) { in startRingbackForCall()
105 mCall = call; in startRingbackForCall()
121 if (mCall == call) { in stopRingbackForCall()
124 mCall = null; in stopRingbackForCall()
DDtmfLocalTonePlayer.java37 private Call mCall; field in DtmfLocalTonePlayer
61 if (mCall != call) { in playTone()
83 if (mCall != call) { in stopTone()
113 mCall = call; in startDtmfSession()
133 if (call != null && mCall == call) { in endDtmfSession()
137 mCall = null; in endDtmfSession()
DNewOutgoingCallIntentBroadcaster.java73 private final Call mCall; field in NewOutgoingCallIntentBroadcaster
87 mCall = call; in NewOutgoingCallIntentBroadcaster()
118 if (mCall != null) { in onReceive()
119 mCall.disconnect(true /* wasViaNewOutgoingCall */); in onReceive()
140 mCallsManager.placeOutgoingCall(mCall, resultHandleUri, gatewayInfo, in onReceive()
184 mCallsManager.placeOutgoingCall(mCall, handle, null, speakerphoneOn, in processIntent()
247 mCallsManager.placeOutgoingCall(mCall, Uri.fromParts(scheme, number, null), null, in processIntent()
DCreateConnectionTimeout.java39 private final Call mCall; field in CreateConnectionTimeout
49 mCall = call; in CreateConnectionTimeout()
55 if (!TelephonyUtil.shouldProcessAsEmergency(mContext, mCall.getHandle())) { in isTimeoutNeededForCall()
121 if (mIsRegistered && isCallBeingPlaced(mCall)) { in run()
124 mConnectionService.disconnect(mCall); in run()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/unit/
DInCallWakeLockControllerTest.java43 @Mock Call mCall; field in InCallWakeLockControllerTest
63 when(mCallsManager.getRingingCall()).thenReturn(mCall); in test_RingingCallAdded()
64 mInCallWakeLockController.onCallAdded(mCall); in test_RingingCallAdded()
72 mInCallWakeLockController.onCallAdded(mCall); in test_NonRingingCallAdded()
77 when(mCallsManager.getRingingCall()).thenReturn(mCall); in test_RingingCallTransition()
78 mInCallWakeLockController.onCallStateChanged(mCall, CallState.NEW, CallState.RINGING); in test_RingingCallTransition()
86 mInCallWakeLockController.onCallRemoved(mCall); in test_RingingCallRemoved()
94 mInCallWakeLockController.onCallRemoved(mCall); in test_WakeLockReleased()
/packages/services/Telephony/src/com/android/phone/
DCallTime.java45 private Call mCall; field in CallTime
71 mCall = call; in setActiveCallMode()
97 if (mCall != null) { in periodicUpdateTimer()
98 Call.State state = mCall.getState(); in periodicUpdateTimer()
101 updateElapsedTime(mCall); in periodicUpdateTimer()
/packages/apps/SpeechRecorder/src/com/android/speechrecorder/
DSpeechRecorderActivity.java54 private RadioButton mCall; field in SpeechRecorderActivity
79 mCall = (RadioButton)findViewById(R.id.callRadioButton); in onCreate()
110 mCall.setChecked(true); in onCreate()
120 mCall.setFocusable(false); in setupRecording()
125 String[] utterances = mCall.isChecked() ? mCallUtterances : in setupRecording()