Home
last modified time | relevance | path

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

12

/packages/apps/Bluetooth/src/com/android/bluetooth/telephony/
DBluetoothCall.java45 private Call mCall; field in BluetoothCall
48 return mCall; in getCall()
52 mCall = call; in setCall()
56 mCall = call; in BluetoothCall()
60 return mCall.getRemainingPostDialSequence(); in getRemainingPostDialSequence()
64 mCall.answer(videoState); in answer()
68 mCall.deflect(address); in deflect()
72 mCall.reject(rejectWithMessage, textMessage); in reject()
76 mCall.disconnect(); in disconnect()
80 mCall.hold(); in hold()
[all …]
/packages/services/Telecomm/src/com/android/server/telecom/
DCreateConnectionProcessor.java117 private final Call mCall; field in CreateConnectionProcessor
134 mCall = call; in CreateConnectionProcessor()
164 if (mCall.getTargetPhoneAccount() != null) { in process()
166 mCall.getTargetPhoneAccount(), mCall.getTargetPhoneAccount())); in process()
168 if (!mCall.isSelfManaged()) { in process()
170 adjustAttemptsForEmergency(mCall.getTargetPhoneAccount()); in process()
197 ConnectionServiceWrapper service = mCall.getConnectionService(); in abort()
199 service.abort(mCall); in abort()
200 mCall.clearConnectionService(); in abort()
245 mCall.setConnectionManagerPhoneAccount(attempt.connectionManagerPhoneAccount); in attemptNextPhoneAccount()
[all …]
DVideoProviderProxy.java90 private Call mCall; field in VideoProviderProxy
127 mCall = call; in VideoProviderProxy()
160 Log.addEvent(mCall, LogUtils.Events.RECEIVE_VIDEO_REQUEST, in receiveSessionModifyRequest()
163 mCall.getAnalytics().addVideoEvent( in receiveSessionModifyRequest()
167 if ((!mCall.isVideoCallingSupportedByPhoneAccount() in receiveSessionModifyRequest()
168 || !mCall.isLocallyVideoCapable()) in receiveSessionModifyRequest()
173 Log.addEvent(mCall, LogUtils.Events.SEND_VIDEO_RESPONSE, in receiveSessionModifyRequest()
189 listener.onSessionModifyRequestReceived(mCall, videoProfile); in receiveSessionModifyRequest()
214 Log.addEvent(mCall, LogUtils.Events.RECEIVE_VIDEO_RESPONSE, eventMessage); in receiveSessionModifyResponse()
217 mCall.getAnalytics().addVideoEvent( in receiveSessionModifyResponse()
[all …]
DNewOutgoingCallIntentBroadcaster.java75 private Call mCall; field in NewOutgoingCallIntentBroadcaster
131 Log.i(this, "Received new-outgoing-call-broadcast for %s with data %s", mCall, in onReceive()
150 if (mCall != null) { in onReceive()
151 mCall.disconnect(disconnectTimeout); in onReceive()
157 if (mCall.isDisconnected()) { in onReceive()
159 " ignore the broadcast Call %s", mCall); in onReceive()
184 placeOutgoingCallImmediately(mCall, resultHandleUri, gatewayInfo, in onReceive()
333 mCall = call; in processCall()
340 placeOutgoingCallImmediately(mCall, disposition.callingAddress, null, in processCall()
352 mContext, mCallsManager, mCall, disposition.callingAddress, in processCall()
[all …]
DRingbackPlayer.java38 private Call mCall; field in RingbackPlayer
57 if (mCall == call) { in startRingbackForCall()
62 if (mCall != null) { in startRingbackForCall()
68 mCall = call; in startRingbackForCall()
83 if (mCall == call) { in stopRingbackForCall()
86 mCall = null; in stopRingbackForCall()
DCreateConnectionTimeout.java37 private final Call mCall; field in CreateConnectionTimeout
48 mCall = call; in CreateConnectionTimeout()
54 if (!mCall.isEmergencyCall()) { in isTimeoutNeededForCall()
61 mPhoneAccountRegistrar.getSimCallManagerFromCall(mCall); in isTimeoutNeededForCall()
107 if (mIsRegistered && isCallBeingPlaced(mCall)) { in loggedRun()
110 mConnectionService.disconnect(mCall); in loggedRun()
DDtmfLocalTonePlayer.java128 private Call mCall; field in DtmfLocalTonePlayer
161 if (mCall != call) { in playTone()
176 if (mCall != call) { in stopTone()
203 mCall = call; in startDtmfSession()
218 if (call != null && mCall == call) { in endDtmfSession()
222 mCall = null; in endDtmfSession()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DDtmfLocalTonePlayerTest.java42 @Mock Call mCall; field in DtmfLocalTonePlayerTest
52 when(mCall.getContext()).thenReturn(mContext); in setUp()
66 mPlayer.onForegroundCallChanged(null, mCall); in testSupportedStart()
76 mPlayer.onForegroundCallChanged(null, mCall); in testUnsupportedStart()
86 mPlayer.onForegroundCallChanged(null, mCall); in testPlayToneWhenUninitialized()
87 mPlayer.playTone(mCall, '9'); in testPlayToneWhenUninitialized()
97 mPlayer.onForegroundCallChanged(null, mCall); in testPlayToneWhenInitialized()
98 mPlayer.playTone(mCall, '9'); in testPlayToneWhenInitialized()
108 mPlayer.onForegroundCallChanged(null, mCall); in testStopToneWhenUninitialized()
109 mPlayer.stopTone(mCall); in testStopToneWhenUninitialized()
[all …]
DParcelableCallUtilsTest.java49 private Call mCall; field in ParcelableCallUtilsTest
63 mCall = new Call("1", in setUp()
90 mCall.putExtras(Call.SOURCE_CONNECTION_SERVICE, getSomeExtras()); in testParcelForNonSystemDialer()
91 ParcelableCall call = ParcelableCallUtils.toParcelableCall(mCall, in testParcelForNonSystemDialer()
108 mCall.putExtras(Call.SOURCE_CONNECTION_SERVICE, getSomeExtras()); in testParcelForSystemDialer()
109 ParcelableCall call = ParcelableCallUtils.toParcelableCall(mCall, in testParcelForSystemDialer()
126 mCall.putExtras(Call.SOURCE_CONNECTION_SERVICE, getSomeExtras()); in testParcelForSystemCallScreening()
127 ParcelableCall call = ParcelableCallUtils.toParcelableCallForScreening(mCall, in testParcelForSystemCallScreening()
140 mCall.putExtras(Call.SOURCE_CONNECTION_SERVICE, getSomeExtras()); in testParcelForSystemNonSystemCallScreening()
141 ParcelableCall call = ParcelableCallUtils.toParcelableCallForScreening(mCall, in testParcelForSystemNonSystemCallScreening()
[all …]
DCallRedirectionProcessorTest.java76 @Mock private Call mCall; field in CallRedirectionProcessorTest
124 when(mCall.getTargetPhoneAccount()).thenReturn(mPhoneAccountHandle); in setUp()
180 mProcessor = new CallRedirectionProcessor(mContext, mCallsManager, mCall, handle, in startProcessWithNoGateWayInfo()
186 mProcessor = new CallRedirectionProcessor(mContext, mCallsManager, mCall, mHandle, in startProcessWithGateWayInfo()
199 verify(mCallsManager, times(1)).onCallRedirectionComplete(eq(mCall), eq(mHandle), in testNoUserDefinedServiceNoCarrierSerivce()
214 verify(mCallsManager, times(0)).onCallRedirectionComplete(eq(mCall), any(), in testCarrierServiceTimeoutNoUserDefinedService()
219 verify(mCallsManager, times(1)).onCallRedirectionComplete(eq(mCall), any(), in testCarrierServiceTimeoutNoUserDefinedService()
234 verify(mCallsManager, times(0)).onCallRedirectionComplete(eq(mCall), any(), in testUserDefinedServiceTimeoutNoCarrierService()
240 verify(mCallsManager, times(0)).onCallRedirectionComplete(eq(mCall), any(), in testUserDefinedServiceTimeoutNoCarrierService()
247 verify(mCallsManager, times(1)).onCallRedirectionComplete(eq(mCall), any(), in testUserDefinedServiceTimeoutNoCarrierService()
[all …]
DInCallWakeLockControllerTest.java44 @Mock Call mCall; field in InCallWakeLockControllerTest
69 when(mCallsManager.getRingingOrSimulatedRingingCall()).thenReturn(mCall); in testRingingCallAdded()
72 mInCallWakeLockController.onCallAdded(mCall); in testRingingCallAdded()
83 mInCallWakeLockController.onCallAdded(mCall); in testNonRingingCallAdded()
91 when(mCallsManager.getRingingOrSimulatedRingingCall()).thenReturn(mCall); in testRingingCallTransition()
94 mInCallWakeLockController.onCallStateChanged(mCall, CallState.NEW, CallState.RINGING); in testRingingCallTransition()
105 mInCallWakeLockController.onCallRemoved(mCall); in testRingingCallRemoved()
116 mInCallWakeLockController.onCallRemoved(mCall); in testWakeLockReleased()
124 when(mCallsManager.getRingingOrSimulatedRingingCall()).thenReturn(mCall); in testAcquireWakeLockWhenHeld()
DVideoProviderProxyTest.java51 @Mock private Call mCall; field in VideoProviderProxyTest
65 when(mCall.getAnalytics()).thenReturn(mCallInfo); in setUp()
67 doNothing().when(mCall).maybeEnableSpeakerForVideoUpgrade(anyInt()); in setUp()
68 mVideoProviderProxy = new VideoProviderProxy(mLock, mVideoProvider, mCall, in setUp()
93 when(mCall.isLocallyVideoCapable()).thenReturn(false); in testReceiveUpgradeRequestWhenLocalDoesntSupportVideo()
94 when(mCall.isVideoCallingSupportedByPhoneAccount()).thenReturn(true); in testReceiveUpgradeRequestWhenLocalDoesntSupportVideo()
115 when(mCall.isLocallyVideoCapable()).thenReturn(true); in testReceiveUpgradeRequestWhenVideoIsSupported()
116 when(mCall.isVideoCallingSupportedByPhoneAccount()).thenReturn(true); in testReceiveUpgradeRequestWhenVideoIsSupported()
139 verify(mCall).maybeEnableSpeakerForVideoUpgrade(eq(VideoProfile.STATE_BIDIRECTIONAL)); in testTryToEnableSpeakerOnVideoUpgrade()
DCallScreeningServiceFilterTest.java70 static @Mock Call mCall; field in CallScreeningServiceFilterTest
125 when(mCall.getId()).thenReturn(CALL_ID); in setUp()
132 eq(mCall), anyBoolean(), eq(mPhoneAccountRegistrar))).thenReturn(null); in setUp()
143 CallScreeningServiceFilter filter = new CallScreeningServiceFilter(mCall, null, in testNoPackageName()
157 CallScreeningServiceFilter filter = new CallScreeningServiceFilter(mCall, PKG_NAME, in testContextFailToBind()
171 CallScreeningServiceFilter filter = new CallScreeningServiceFilter(mCall, PKG_NAME, in testNoResolveEntries()
184 CallScreeningServiceFilter filter = new CallScreeningServiceFilter(mCall, PKG_NAME, in testBadResolveEntry()
203 CallScreeningServiceFilter filter = new CallScreeningServiceFilter(mCall, PKG_NAME, in testNoBindingCondition()
215 CallScreeningServiceFilter filter = new CallScreeningServiceFilter(mCall, PKG_NAME, in testBindingCondition()
229 CallScreeningServiceFilter filter = new CallScreeningServiceFilter(mCall, PKG_NAME, in testUnbindingException()
[all …]
DCallDiagnosticServiceControllerTest.java81 private Call mCall; field in CallDiagnosticServiceControllerTest
95 when(mCall.getId()).thenReturn(ID_1); in setUp()
96 when(mCall.isSimCall()).thenReturn(true); in setUp()
97 when(mCall.isExternalCall()).thenReturn(false); in setUp()
149 mCallDiagnosticService.onCallAdded(mCall); in testAddSimCallCausesBind()
175 mCallDiagnosticService.onCallRemoved(mCall); in testRemoveSimCallCausesRemoveAndUnbind()
191 mCallDiagnosticService.onCallRemoved(mCall); in testAddTwo()
209 mCallDiagnosticService.onCallAdded(mCall); in testTestOverride()
DNewOutgoingCallIntentBroadcasterTest.java88 @Mock private Call mCall; field in NewOutgoingCallIntentBroadcasterTest
102 when(mCall.getInitiatingUser()).thenReturn(UserHandle.CURRENT); in setUp()
157 verify(mCallsManager).placeOutgoingCall(eq(mCall), eq(Uri.parse(voicemailNumber)), in testVoicemailCall()
193 doReturn(true).when(mCall).isDisconnected(); in testAlreadyDisconnectedCall()
316 verify(mCallsManager).placeOutgoingCall(eq(mCall), eq(handle), isNull(GatewayInfo.class), in emergencyCallTestHelper()
340 verify(mCallsManager).placeOutgoingCall(eq(mCall), eq(handle), isNull(GatewayInfo.class), in testUnmodifiedRegularCall()
358 verify(mCallsManager).placeOutgoingCall(eq(mCall), eq(encHandle), isNull(GatewayInfo.class), in testUnmodifiedSipCall()
378 verify(mCallsManager).placeOutgoingCall(eq(mCall), eq(handle), in testCallWithGatewayInfo()
394 verify(mCall).disconnect(timeoutCaptor.capture()); in testCallNumberModifiedToNull()
414 verify(mCall).disconnect(timeoutCaptor.capture()); in testCallNumberModifiedToNullWithLongCustomTimeout()
[all …]
DIncomingCallFilterGraphTest.java49 @Mock private Call mCall; field in IncomingCallFilterGraphTest
117 IncomingCallFilterGraph graph = new IncomingCallFilterGraph(mCall, listener, mContext, in testEmptyGraph()
130 IncomingCallFilterGraph graph = new IncomingCallFilterGraph(mCall, listener, mContext, in testFiltersPerformOrder()
148 IncomingCallFilterGraph graph = new IncomingCallFilterGraph(mCall, listener, mContext, in testFiltersPerformInParallel()
167 IncomingCallFilterGraph graph = new IncomingCallFilterGraph(mCall, listener, mContext, in testFiltersTimeout()
/packages/services/Telecomm/src/com/android/server/telecom/callfiltering/
DCallScreeningServiceFilter.java50 private final Call mCall; field in CallScreeningServiceFilter
90 if (mCall == null || (!mCall.getId().equals(callId))) { in allowCall()
104 Log.addEvent(mCall, LogUtils.Events.SCREENING_COMPLETED, result); in allowCall()
118 if (mCall != null && mCall.getId().equals(callId)) { in disallowCall()
132 Log.addEvent(mCall, LogUtils.Events.SCREENING_COMPLETED, result); in disallowCall()
150 if (mCall != null && mCall.getId().equals(callId)) { in silenceCall()
162 Log.addEvent(mCall, LogUtils.Events.SCREENING_COMPLETED, result); in silenceCall()
186 if (mCall != null && mCall.getId().equals(callId)) { in screenCallFurther()
197 Log.addEvent(mCall, LogUtils.Events.SCREENING_COMPLETED, result); in screenCallFurther()
225 toParcelableCallForScreening(mCall, isSystemDialer())); in onServiceConnected()
[all …]
DBlockCheckerFilter.java40 private final Call mCall; field in BlockCheckerFilter
54 mCall = call; in BlockCheckerFilter()
66 Log.addEvent(mCall, LogUtils.Events.BLOCK_CHECK_INITIATED); in startFilterLookup()
70 int presentation = mCall.getHandlePresentation(); in startFilterLookup()
73 mCallerInfoLookupHelper.startLookup(mCall.getHandle(), in startFilterLookup()
102 int presentation = mCall.getHandlePresentation(); in getBlockStatus()
110 final String number = mCall.getHandle() == null ? null : in getBlockStatus()
111 mCall.getHandle().getSchemeSpecificPart(); in getBlockStatus()
144 Log.addEvent(mCall, LogUtils.Events.BLOCK_CHECK_FINISHED, in completeResult()
DDirectToVoicemailFilter.java33 private final Call mCall; field in DirectToVoicemailFilter
37 mCall = call; in DirectToVoicemailFilter()
43 Log.addEvent(mCall, LogUtils.Events.DIRECT_TO_VM_INITIATED); in startFilterLookup()
45 mCallerInfoLookupHelper.startLookup(mCall.getHandle(), in startFilterLookup()
49 if ((handle != null) && Objects.equals(mCall.getHandle(), handle) in startFilterLookup()
68 mCall.getHandle()); in startFilterLookup()
72 Log.addEvent(mCall, LogUtils.Events.DIRECT_TO_VM_FINISHED); in startFilterLookup()
DIncomingCallFilterGraph.java47 private final Call mCall; field in IncomingCallFilterGraph
76 mListener.onCallFilteringComplete(mCall, result, false); in whenDone()
77 Log.addEvent(mCall, LogUtils.Events.FILTERING_COMPLETED, result); in whenDone()
88 mCall = call; in IncomingCallFilterGraph()
106 Log.addEvent(mCall, LogUtils.Events.FILTERING_INITIATED); in performFiltering()
124 Log.addEvent(mCall, LogUtils.Events.FILTERING_TIMED_OUT); in performFiltering()
125 mListener.onCallFilteringComplete(mCall, mCurrentResult, true); in performFiltering()
/packages/apps/Car/Dialer/framework/fake/src/com/android/car/dialer/framework/
DMockCallManager.java439 private Call mCall; field in MockCallManager.Builder
448 mCall = mock(Call.class); in Builder()
458 return mCall; in buildMock()
510 when(mCall.getDetails()).thenReturn(mDetails); in updateCallDetails()
511 when(mCall.getState()).thenReturn(mCallState); in updateCallDetails()
519 registerCallback(mCall, callback); in mockCallFunctions()
522 }).when(mCall).registerCallback(any(Call.Callback.class)); in mockCallFunctions()
528 unregisterCallback(mCall, callback); in mockCallFunctions()
531 }).when(mCall).unregisterCallback(any(Call.Callback.class)); in mockCallFunctions()
536 disconnect(mCall); in mockCallFunctions()
[all …]
/packages/services/Telecomm/src/com/android/server/telecom/callredirection/
DCallRedirectionProcessor.java100 Log.addEvent(mCall, mServiceType.equals(SERVICE_TYPE_USER_DEFINED) in onServiceBound()
123 onCallRedirectionComplete(mCall); in finishCallRedirection()
133 Log.addEvent(mCall, mServiceType.equals(SERVICE_TYPE_USER_DEFINED) in onServiceConnected()
222 private final Call mCall; field in CallRedirectionProcessor
285 mCall = call; in CallRedirectionProcessor()
312 Log.addEvent(mCall, LogUtils.Events.REDIRECTION_COMPLETED_USER); in onCallRedirectionComplete()
315 mCallsManager.onCallRedirectionComplete(mCall, mDestinationUri, in onCallRedirectionComplete()
323 Log.addEvent(mCall, LogUtils.Events.REDIRECTION_COMPLETED_CARRIER); in onCallRedirectionComplete()
325 mCallsManager.onCallRedirectionComplete(mCall, mDestinationUri, in onCallRedirectionComplete()
374 mCallsManager.onCallRedirectionComplete(mCall, mDestinationUri, in performCarrierCallRedirection()
[all …]
/packages/apps/Car/Launcher/tests/src/com/android/car/carlauncher/homescreen/audio/telecom/
DInCallServiceImplTest.java44 private Call mCall = null; field in InCallServiceImplTest
66 mService.onCallAdded(mCall); in onCallAdded_callsListener()
68 verify(mInCallModel).onCallAdded(mCall); in onCallAdded_callsListener()
74 mService.onCallRemoved(mCall); in onCallRemoved_callsListener()
76 verify(mInCallModel).onCallRemoved(mCall); in onCallRemoved_callsListener()
/packages/services/Telephony/src/com/android/phone/
DCallTime.java46 private Call mCall; field in CallTime
72 mCall = call; in setActiveCallMode()
98 if (mCall != null) { in periodicUpdateTimer()
99 Call.State state = mCall.getState(); in periodicUpdateTimer()
102 updateElapsedTime(mCall); in periodicUpdateTimer()
/packages/services/Telecomm/testapps/carmodedialer/src/com/android/server/telecom/carmodedialer/
DCarModeCallList.java52 private Call mCall; field in CarModeCallList.TestVideoCallListener
55 mCall = call; in TestVideoCallListener()
62 + " call = " + mCall); in onSessionModifyRequestReceived()
71 + " call = " + mCall); in onSessionModifyResponseReceived()
87 "onVideoQualityChanged: videoQuality = " + videoQuality + " call = " + mCall); in onVideoQualityChanged()

12