Home
last modified time | relevance | path

Searched refs:mCallsManager (Results 1 – 25 of 34) sorted by relevance

12

/packages/services/Telecomm/src/com/android/server/telecom/
DBluetoothPhoneServiceImpl.java104 Call call = mCallsManager.getRingingCall();
106 mCallsManager.answerCall(call, VideoProfile.STATE_AUDIO_ONLY);
126 Call call = mCallsManager.getForegroundCall();
128 mCallsManager.disconnectCall(call);
147 Call call = mCallsManager.getForegroundCall();
151 mCallsManager.playDtmfTone(call, (char) dtmf);
152 mCallsManager.stopDtmfTone(call);
341 for (Call otherCall : mCallsManager.getCalls()) {
351 if (mCallsManager.getActiveCall() != null
455 private final CallsManager mCallsManager; field in BluetoothPhoneServiceImpl
[all …]
DTelecomSystem.java110 private final CallsManager mCallsManager; field in TelecomSystem
131 mCallsManager.onUserSwitch(currentUserHandle);
147 mCallsManager.onUserStarting(addingUserHandle);
162 mCallsManager.onBootCompleted();
266 mCallsManager = new CallsManager( in TelecomSystem()
298 return mCallsManager.hasUnholdableCallsForOtherConnectionService( in TelecomSystem()
305 return mCallsManager.getNumUnholdableCallsForOtherConnectionService( in TelecomSystem()
311 return mCallsManager.getActiveCall(); in TelecomSystem()
314 mCallsManager.setIncomingCallNotifier(mIncomingCallNotifier); in TelecomSystem()
316 mRespondViaSmsManager = new RespondViaSmsManager(mCallsManager, mLock); in TelecomSystem()
[all …]
DTelecomBroadcastIntentProcessor.java92 private final CallsManager mCallsManager; field in TelecomBroadcastIntentProcessor
96 mCallsManager = callsManager; in TelecomBroadcastIntentProcessor()
112 MissedCallNotifier missedCallNotifier = mCallsManager.getMissedCallNotifier(); in processIntent()
143 Call incomingCall = mCallsManager.getIncomingCallNotifier().getIncomingCall(); in processIntent()
145 mCallsManager.answerCall(incomingCall, incomingCall.getVideoState()); in processIntent()
155 Call incomingCall = mCallsManager.getIncomingCallNotifier().getIncomingCall(); in processIntent()
157 mCallsManager.rejectCall(incomingCall, false /* isRejectWithMessage */, null); in processIntent()
167 mCallsManager.confirmPendingCall(callId); in processIntent()
176 mCallsManager.cancelPendingCall(callId); in processIntent()
183 mCallsManager.processRedirectedOutgoingCallAfterUserInteraction( in processIntent()
[all …]
DInCallAdapter.java35 private final CallsManager mCallsManager; field in InCallAdapter
43 mCallsManager = callsManager; in InCallAdapter()
59 mCallsManager.answerCall(call, videoState); in answerCall()
82 mCallsManager.deflectCall(call, address); in deflectCall()
107 if (!mCallsManager.isReplyWithSmsAllowed(callingUid)) { in rejectCall()
115 mCallsManager.rejectCall(call, rejectWithMessage, textMessage); in rejectCall()
138 mCallsManager.playDtmfTone(call, digit); in playDtmfTone()
161 mCallsManager.stopDtmfTone(call); in stopDtmfTone()
184 mCallsManager.postDialContinue(call, proceed); in postDialContinue()
207 mCallsManager.disconnectCall(call); in disconnectCall()
[all …]
DTelecomServiceImpl.java661 mCallsManager.getCallAudioManager().silenceRingers();
662 mCallsManager.getInCallController().silenceRinger();
738 return mCallsManager.hasOngoingCalls();
758 return mCallsManager.hasOngoingManagedCalls();
788 return mCallsManager.hasRingingCall();
803 return mCallsManager.getCallState();
894 mCallsManager.getInCallController().bringToForeground(showDialpad);
916 mCallsManager.getMissedCallNotifier().clearMissedCalls(userHandle);
1036 return mCallsManager.isTtySupported();
1055 return mCallsManager.getCurrentTtyMode();
[all …]
DInCallController.java351 mCallsManager.getCurrentUserHandle()); in connect()
729 private final CallsManager mCallsManager; field in InCallController
747 mCallsManager = callsManager; in InCallController()
773 mCallsManager.getCurrentUserHandle()); in onCallAdded()
801 true /* includeVideoProvider */, mCallsManager.getPhoneAccountRegistrar(), in onCallAdded()
816 if (mCallsManager.getCalls().isEmpty()) { in onCallRemoved()
825 if (mCallsManager.getCalls().isEmpty()) { in onCallRemoved()
866 true /* includeVideoProvider */, mCallsManager.getPhoneAccountRegistrar(), in onExternalCallChanged()
894 mCallsManager.getPhoneAccountRegistrar(), in onExternalCallChanged()
1118 systemInCall.setHasEmergency(mCallsManager.hasEmergencyCall()); in bindToServices()
[all …]
DStatusBarNotifier.java36 private final CallsManager mCallsManager; field in StatusBarNotifier
44 mCallsManager = callsManager; in StatusBarNotifier()
51 if (!mCallsManager.hasAnyCalls()) { in onCallRemoved()
60 if (!mCallsManager.hasAnyCalls()) { in notifyMute()
85 if (!mCallsManager.hasAnyCalls()) { in notifySpeakerphone()
DCallAudioRouteStateMachine.java240 Log.addEvent(mCallsManager.getForegroundCall(), LogUtils.Events.AUDIO_ROUTE, in enter()
243 Log.addEvent(mCallsManager.getForegroundCall(), in enter()
250 Log.addEvent(mCallsManager.getForegroundCall(), LogUtils.Events.AUDIO_ROUTE, in exit()
265 Log.addEvent(mCallsManager.getForegroundCall(), LogUtils.Events.AUDIO_ROUTE, in processMessage()
271 Log.addEvent(mCallsManager.getForegroundCall(), LogUtils.Events.AUDIO_ROUTE, in processMessage()
279 Log.addEvent(mCallsManager.getForegroundCall(), LogUtils.Events.AUDIO_ROUTE, in processMessage()
283 Log.addEvent(mCallsManager.getForegroundCall(), LogUtils.Events.AUDIO_ROUTE, in processMessage()
287 Log.addEvent(mCallsManager.getForegroundCall(), LogUtils.Events.AUDIO_ROUTE, in processMessage()
1279 if (mCallsManager.hasEmergencyCall()) {
1313 private final CallsManager mCallsManager; field in CallAudioRouteStateMachine
[all …]
DHeadsetMediaButton.java103 private final CallsManager mCallsManager; field in HeadsetMediaButton
113 mCallsManager = callsManager; in HeadsetMediaButton()
135 return mCallsManager.onMediaButton(LONG_PRESS); in handleCallMediaButton()
141 return mCallsManager.onMediaButton(SHORT_PRESS); in handleCallMediaButton()
167 if (!mCallsManager.hasAnyCalls()) { in onCallRemoved()
DProximitySensorManager.java30 private final CallsManager mCallsManager; field in ProximitySensorManager
36 mCallsManager = callsManager; in ProximitySensorManager()
45 if (mCallsManager.getCalls().isEmpty()) { in onCallRemoved()
57 if (mCallsManager.getCalls().isEmpty()) { in turnOn()
DConnectionServiceWrapper.java110 mCallsManager.markCallAsActive(call); in setActive()
133 mCallsManager.markCallAsRinging(call); in setRinging()
156 mCallsManager.resetConnectionTime(call); in resetConnectionTime()
198 mCallsManager.markCallAsDialing(call); in setDialing()
221 mCallsManager.markCallAsPulling(call); in setPulling()
244 mCallsManager.markCallAsDisconnected(call, disconnectCause); in setDisconnected()
267 mCallsManager.markCallAsOnHold(call); in setOnHold()
315 mCallsManager.markCallAsDisconnected( in removeCall()
318 mCallsManager.markCallAsRemoved(call); in removeCall()
486 Call alreadyAddedConnection = mCallsManager in addConferenceCall()
[all …]
DCallAudioManager.java53 private final CallsManager mCallsManager; field in CallAudioManager
87 mCallsManager = callsManager; in CallAudioManager()
199 if (mCallsManager.isSpeakerphoneAutoEnabledForVideoCalls(call.getVideoState())) { in onExternalCallChanged()
331 mCallsManager.isSpeakerphoneAutoEnabledForVideoCalls(newVideoState)) { in onVideoStateChanged()
358 if (mCallsManager.hasEmergencyCall()) { in toggleMute()
377 if (mCallsManager.hasEmergencyCall()) { in mute()
525 mCallsManager.onDisconnectedTonePlaying(false); in setIsTonePlaying()
733 mCallsManager.onDisconnectedTonePlaying(true); in playToneForDisconnectedCall()
782 if (mCallsManager.hasRingingCall()) { in shouldPlayHoldTone()
DPhoneStateBroadcaster.java32 private final CallsManager mCallsManager; field in PhoneStateBroadcaster
37 mCallsManager = callsManager; in PhoneStateBroadcaster()
88 if (mCallsManager.hasRingingCall()) { in updateStates()
90 } else if (mCallsManager.getFirstCallWithState(CallState.DIALING, CallState.PULLING, in updateStates()
DNewOutgoingCallIntentBroadcaster.java73 private final CallsManager mCallsManager; field in NewOutgoingCallIntentBroadcaster
104 mCallsManager = callsManager; in NewOutgoingCallIntentBroadcaster()
109 mLock = mCallsManager.getLock(); in NewOutgoingCallIntentBroadcaster()
248 mCallsManager.getPhoneAccountRegistrar().getPhoneAccountUnchecked( in evaluateCall()
350 mContext, mCallsManager, mCall, disposition.callingAddress, in processCall()
351 mCallsManager.getPhoneAccountRegistrar(), in processCall()
490 mCallsManager.placeOutgoingCall(call, handle, gatewayInfo, speakerphoneOn, videoState); in placeOutgoingCallImmediately()
DRingtoneFactory.java51 private final CallsManager mCallsManager; field in RingtoneFactory
55 mCallsManager = callsManager; in RingtoneFactory()
73 getWorkProfileContextForUser(mCallsManager.getCurrentUserHandle()) : in getRingtone()
74 getContextForUserHandle(mCallsManager.getCurrentUserHandle()); in getRingtone()
DInCallWakeLockController.java29 private final CallsManager mCallsManager; field in InCallWakeLockController
33 mCallsManager = callsManager; in InCallWakeLockController()
65 Call ringingCall = mCallsManager.getRingingCall(); in handleWakeLock()
DCall.java424 private final CallsManager mCallsManager; field in Call
578 mCallsManager = callsManager; in Call()
1210 PhoneAccount phoneAccount = mCallsManager.getPhoneAccountRegistrar() in getTargetPhoneAccountLabel()
1233 PhoneAccount phoneAccount = mCallsManager.getPhoneAccountRegistrar() in isLoggedSelfManaged()
1369 PhoneAccountRegistrar phoneAccountRegistrar = mCallsManager.getPhoneAccountRegistrar(); in configureCallAttributes()
1400 PhoneAccountRegistrar phoneAccountRegistrar = mCallsManager.getPhoneAccountRegistrar(); in checkIfVideoCapable()
1422 PhoneAccountRegistrar phoneAccountRegistrar = mCallsManager.getPhoneAccountRegistrar(); in checkIfRttCapable()
1568 mCallsManager.setAudioRoute(CallAudioState.ROUTE_SPEAKER, null); in setConnectionProperties()
1569 mCallsManager.mute(false); in setConnectionProperties()
1789 mCallsManager.markCallAsDisconnected(this, disconnectCause); in handleCreateConnectionFailure()
[all …]
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallsManagerTest.java177 private CallsManager mCallsManager; field in CallsManagerTest
200 mCallsManager = new CallsManager( in setUp()
239 assertEquals(0, mCallsManager.constructPossiblePhoneAccounts(null, null, false).size()); in testConstructPossiblePhoneAccounts()
255 mCallsManager, in testConstructPossiblePhoneAccountsMultiSimActive()
268 mCallsManager.addCall(ongoingCall); in testConstructPossiblePhoneAccountsMultiSimActive()
270 List<PhoneAccountHandle> phoneAccountHandles = mCallsManager.constructPossiblePhoneAccounts( in testConstructPossiblePhoneAccountsMultiSimActive()
285 List<PhoneAccountHandle> phoneAccountHandles = mCallsManager.constructPossiblePhoneAccounts( in testConstructPossiblePhoneAccountsMultiSimIdle()
314 List<PhoneAccountHandle> accounts = mCallsManager.findOutgoingCallPhoneAccount( in testFindOutgoingCallPhoneAccountSelfManaged()
336 List<PhoneAccountHandle> accounts = mCallsManager.findOutgoingCallPhoneAccount( in testFindOutgoingCallAccountDefault()
360 List<PhoneAccountHandle> accounts = mCallsManager.findOutgoingCallPhoneAccount( in testFindOutgoingCallAccountNoDefault()
[all …]
DCallRedirectionProcessorTest.java62 @Mock private CallsManager mCallsManager; field in CallRedirectionProcessorTest
111 when(mCallsManager.getCurrentUserHandle()).thenReturn(UserHandle.CURRENT); in setUp()
115 when(mCallsManager.getSystemStateHelper()).thenReturn(mSystemStateHelper); in setUp()
116 when(mCallsManager.getTimeoutsAdapter()).thenReturn(mTimeoutsAdapter); in setUp()
121 when(mCallsManager.getLock()).thenReturn(mLock); in setUp()
122 when(mCallsManager.getCurrentUserHandle()).thenReturn(mUserHandle); in setUp()
154 mProcessor = new CallRedirectionProcessor(mContext, mCallsManager, mCall, mHandle, in startProcessWithNoGateWayInfo()
160 mProcessor = new CallRedirectionProcessor(mContext, mCallsManager, mCall, mHandle, in startProcessWithGateWayInfo()
173 verify(mCallsManager, times(1)).onCallRedirectionComplete(eq(mCall), eq(mHandle), in testNoUserDefinedServiceNoCarrierSerivce()
188 verify(mCallsManager, times(0)).onCallRedirectionComplete(eq(mCall), any(), in testCarrierServiceTimeoutNoUserDefinedService()
[all …]
DInCallWakeLockControllerTest.java43 @Mock CallsManager mCallsManager; field in InCallWakeLockControllerTest
56 mInCallWakeLockController = new InCallWakeLockController(telecomWakeLock, mCallsManager); in setUp()
69 when(mCallsManager.getRingingCall()).thenReturn(mCall); in testRingingCallAdded()
80 when(mCallsManager.getRingingCall()).thenReturn(null); in testNonRingingCallAdded()
91 when(mCallsManager.getRingingCall()).thenReturn(mCall); in testRingingCallTransition()
102 when(mCallsManager.getRingingCall()).thenReturn(null); in testRingingCallRemoved()
113 when(mCallsManager.getRingingCall()).thenReturn(null); in testWakeLockReleased()
124 when(mCallsManager.getRingingCall()).thenReturn(mCall); in testAcquireWakeLockWhenHeld()
DNewOutgoingCallIntentBroadcasterTest.java83 @Mock private CallsManager mCallsManager; field in NewOutgoingCallIntentBroadcasterTest
99 when(mCallsManager.getLock()).thenReturn(new TelecomSystem.SyncRoot() { }); in setUp()
100 when(mCallsManager.getSystemStateHelper()).thenReturn(mSystemStateHelper); in setUp()
101 when(mCallsManager.getCurrentUserHandle()).thenReturn(mUserHandle); in setUp()
102 when(mCallsManager.getPhoneAccountRegistrar()).thenReturn(mPhoneAccountRegistrar); in setUp()
103 when(mCallsManager.getRoleManagerAdapter()).thenReturn(mRoleManagerAdapter); in setUp()
129 verify(mCallsManager).placeOutgoingCall(eq(mCall), eq(Uri.parse(voicemailNumber)), in testVoicemailCall()
282 verify(mCallsManager).placeOutgoingCall(eq(mCall), eq(handle), isNull(GatewayInfo.class), in emergencyCallTestHelper()
306 verify(mCallsManager).placeOutgoingCall(eq(mCall), eq(handle), isNull(GatewayInfo.class), in testUnmodifiedRegularCall()
324 verify(mCallsManager).placeOutgoingCall(eq(mCall), eq(encHandle), isNull(GatewayInfo.class), in testUnmodifiedSipCall()
[all …]
DProximitySensorManagerTest.java44 @Mock CallsManager mCallsManager; field in ProximitySensorManagerTest
57 mProximitySensorManager = new ProximitySensorManager(telecomWakeLock, mCallsManager); in setUp()
70 when(mCallsManager.getCalls()).thenReturn(new ArrayList<Call>(){{ in testTurnOnProximityWithCallsActive()
83 when(mCallsManager.getCalls()).thenReturn(new ArrayList<Call>()); in testTurnOnProximityWithNoCallsActive()
105 when(mCallsManager.getCalls()).thenReturn(new ArrayList<Call>(){{ in testCallRemovedFromCallsManagerCallsActive()
118 when(mCallsManager.getCalls()).thenReturn(new ArrayList<Call>()); in testCallRemovedFromCallsManagerNoCallsActive()
DCallScreeningServiceControllerTest.java75 @Mock CallsManager mCallsManager; field in CallScreeningServiceControllerTest
138 when(mCallsManager.getRoleManagerAdapter()).thenReturn(mRoleManagerAdapter); in setUp()
139 when(mCallsManager.getCurrentUserHandle()).thenReturn(UserHandle.CURRENT); in setUp()
169 mCallsManager, mPhoneAccountRegistrar, in testAllAllowCall()
200 mCallsManager, in testCarrierAllowCallAndContactExists()
226 mCallsManager, in testCarrierCallScreeningRejectCall()
264 mCallsManager, in testDefaultDialerRejectCall()
310 mCallsManager, in testUserChosenRejectCall()
DParcelableCallUtilsTest.java47 @Mock private CallsManager mCallsManager; field in ParcelableCallUtilsTest
60 when(mCallsManager.getCallerInfoLookupHelper()).thenReturn(mCallerInfoLookupHelper); in setUp()
61 when(mCallsManager.getPhoneAccountRegistrar()).thenReturn(mPhoneAccountRegistrar); in setUp()
66 mCallsManager, in setUp()
/packages/services/Telecomm/src/com/android/server/telecom/callredirection/
DCallRedirectionProcessorHelper.java43 private final CallsManager mCallsManager; field in CallRedirectionProcessorHelper
51 mCallsManager = callsManager; in CallRedirectionProcessorHelper()
57 String packageName = mCallsManager.getRoleManagerAdapter().getDefaultCallRedirectionApp(); in getUserDefinedCallRedirectionService()
100 intent, 0, mCallsManager.getCurrentUserHandle().getIdentifier()); in getComponentName()

12