Home
last modified time | relevance | path

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

12

/packages/services/Telecomm/src/com/android/server/telecom/
DBluetoothPhoneServiceImpl.java99 Call call = mCallsManager.getRingingCall();
101 mCallsManager.answerCall(call, call.getVideoState());
121 Call call = mCallsManager.getForegroundCall();
123 mCallsManager.disconnectCall(call);
142 Call call = mCallsManager.getForegroundCall();
146 mCallsManager.playDtmfTone(call, (char) dtmf);
147 mCallsManager.stopDtmfTone(call);
327 for (Call otherCall : mCallsManager.getCalls()) {
337 if (mCallsManager.getActiveCall() != null
430 private final CallsManager mCallsManager; field in BluetoothPhoneServiceImpl
[all …]
DTelecomSystem.java95 private final CallsManager mCallsManager; field in TelecomSystem
113 mCallsManager.onUserSwitch(currentUserHandle);
127 mCallsManager.onUserStarting(addingUserHandle);
183 mCallsManager = new CallsManager( in TelecomSystem()
201 mRespondViaSmsManager = new RespondViaSmsManager(mCallsManager, mLock); in TelecomSystem()
202 mCallsManager.setRespondViaSmsManager(mRespondViaSmsManager); in TelecomSystem()
208 mContext, mLock, mCallsManager, mPhoneAccountRegistrar); in TelecomSystem()
209 mCallIntentProcessor = new CallIntentProcessor(mContext, mCallsManager); in TelecomSystem()
211 mContext, mCallsManager); in TelecomSystem()
214 mDialerCodeReceiver = new DialerCodeReceiver(mCallsManager); in TelecomSystem()
[all …]
DInCallAdapter.java33 private final CallsManager mCallsManager; field in InCallAdapter
41 mCallsManager = callsManager; in InCallAdapter()
57 mCallsManager.answerCall(call, videoState); in answerCall()
80 mCallsManager.rejectCall(call, rejectWithMessage, textMessage); in rejectCall()
103 mCallsManager.playDtmfTone(call, digit); in playDtmfTone()
126 mCallsManager.stopDtmfTone(call); in stopDtmfTone()
149 mCallsManager.postDialContinue(call, proceed); in postDialContinue()
172 mCallsManager.disconnectCall(call); in disconnectCall()
194 mCallsManager.holdCall(call); in holdCall()
216 mCallsManager.unholdCall(call); in unholdCall()
[all …]
DStatusBarNotifier.java35 private final CallsManager mCallsManager; field in StatusBarNotifier
43 mCallsManager = callsManager; in StatusBarNotifier()
50 if (!mCallsManager.hasAnyCalls()) { in onCallRemoved()
59 if (!mCallsManager.hasAnyCalls()) { in notifyMute()
84 if (!mCallsManager.hasAnyCalls()) { in notifySpeakerphone()
DInCallController.java552 private final CallsManager mCallsManager; field in InCallController
563 mCallsManager = callsManager; in InCallController()
590 true /* includeVideoProvider */, mCallsManager.getPhoneAccountRegistrar()); in onCallAdded()
602 if (mCallsManager.getCalls().isEmpty()) { in onCallRemoved()
612 if (mCallsManager.getCalls().isEmpty()) { in onCallRemoved()
756 systemInCall.setHasEmergency(mCallsManager.hasEmergencyCall()); in bindToServices()
783 mContext, mCallsManager.getCurrentUserHandle().getIdentifier()); in getDefaultDialerComponent()
813 mCallsManager.getCurrentUserHandle().getIdentifier())) { in getInCallServiceComponents()
868 mContext, mCallsManager.getCurrentUserHandle().getIdentifier())); in getInCallServiceType()
892 if (mCallsManager.hasEmergencyCall()) { in adjustServiceBindingsForEmergency()
[all …]
DProximitySensorManager.java29 private final CallsManager mCallsManager; field in ProximitySensorManager
35 mCallsManager = callsManager; in ProximitySensorManager()
41 if (mCallsManager.getCalls().isEmpty()) { in onCallRemoved()
53 if (mCallsManager.getCalls().isEmpty()) { in turnOn()
DHeadsetMediaButton.java92 private final CallsManager mCallsManager; field in HeadsetMediaButton
101 mCallsManager = callsManager; in HeadsetMediaButton()
118 return mCallsManager.onMediaButton(LONG_PRESS); in handleHeadsetHook()
120 return mCallsManager.onMediaButton(SHORT_PRESS); in handleHeadsetHook()
138 if (!mCallsManager.hasAnyCalls()) { in onCallRemoved()
DTelecomServiceImpl.java579 mCallsManager.getCallAudioManager().silenceRingers();
580 mCallsManager.getInCallController().silenceRinger();
655 final int callState = mCallsManager.getCallState();
681 return mCallsManager.hasRingingCall();
696 return mCallsManager.getCallState();
785 mCallsManager.getInCallController().bringToForeground(showDialpad);
807 mCallsManager.getMissedCallNotifier().clearMissedCalls(userHandle);
926 return mCallsManager.isTtySupported();
945 return mCallsManager.getCurrentTtyMode();
990 mCallsManager, intent);
[all …]
DPhoneStateBroadcaster.java31 private final CallsManager mCallsManager; field in PhoneStateBroadcaster
36 mCallsManager = callsManager; in PhoneStateBroadcaster()
84 if (mCallsManager.hasRingingCall()) { in updateStates()
86 } else if (mCallsManager.getFirstCallWithState(CallState.DIALING, CallState.ACTIVE, in updateStates()
DRingtoneFactory.java46 private final CallsManager mCallsManager; field in RingtoneFactory
50 mCallsManager = callsManager; in RingtoneFactory()
56 getWorkProfileContextForUser(mCallsManager.getCurrentUserHandle()) : in getRingtone()
57 getContextForUserHandle(mCallsManager.getCurrentUserHandle()); in getRingtone()
DCallAudioRouteStateMachine.java169 Log.event(mCallsManager.getForegroundCall(), Log.Events.AUDIO_ROUTE, in enter()
175 Log.event(mCallsManager.getForegroundCall(), Log.Events.AUDIO_ROUTE, in exit()
184 Log.event(mCallsManager.getForegroundCall(), Log.Events.AUDIO_ROUTE, in processMessage()
190 Log.event(mCallsManager.getForegroundCall(), Log.Events.AUDIO_ROUTE, in processMessage()
195 Log.event(mCallsManager.getForegroundCall(), Log.Events.AUDIO_ROUTE, in processMessage()
203 Log.event(mCallsManager.getForegroundCall(), Log.Events.AUDIO_ROUTE, in processMessage()
956 private final CallsManager mCallsManager; field in CallAudioRouteStateMachine
992 mCallsManager = callsManager; in CallAudioRouteStateMachine()
1126 Log.event(mCallsManager.getForegroundCall(), Log.Events.MUTE, in setMuteOn()
1179 Log.event(mCallsManager.getForegroundCall(), Log.Events.AUDIO_ROUTE, in setSystemAudioState()
[all …]
DInCallWakeLockController.java28 private final CallsManager mCallsManager; field in InCallWakeLockController
32 mCallsManager = callsManager; in InCallWakeLockController()
55 Call ringingCall = mCallsManager.getRingingCall(); in handleWakeLock()
DDialerCodeReceiver.java40 private final CallsManager mCallsManager; field in DialerCodeReceiver
43 mCallsManager = callsManager; in DialerCodeReceiver()
61 Call currentCall = mCallsManager.getActiveCall(); in onReceive()
DTelecomBroadcastIntentProcessor.java39 private final CallsManager mCallsManager; field in TelecomBroadcastIntentProcessor
43 mCallsManager = callsManager; in TelecomBroadcastIntentProcessor()
56 MissedCallNotifier missedCallNotifier = mCallsManager.getMissedCallNotifier(); in processIntent()
DConnectionServiceRepository.java39 private final CallsManager mCallsManager; field in ConnectionServiceRepository
59 mCallsManager = callsManager; in ConnectionServiceRepository()
71 mCallsManager, in getService()
DConnectionServiceWrapper.java92 mCallsManager.markCallAsActive(call); in setActive()
112 mCallsManager.markCallAsRinging(call); in setRinging()
150 mCallsManager.markCallAsDialing(call); in setDialing()
171 mCallsManager.markCallAsDisconnected(call, disconnectCause); in setDisconnected()
191 mCallsManager.markCallAsOnHold(call); in setOnHold()
232 mCallsManager.markCallAsDisconnected( in removeCall()
235 mCallsManager.markCallAsRemoved(call); in removeCall()
375 Call conferenceCall = mCallsManager.createConferenceCall(callId, in addConferenceCall()
616 Call existingCall = mCallsManager in addExistingConnection()
654 private final CallsManager mCallsManager; field in ConnectionServiceWrapper
[all …]
DNewOutgoingCallIntentBroadcaster.java73 private final CallsManager mCallsManager; field in NewOutgoingCallIntentBroadcaster
90 mCallsManager = callsManager; in NewOutgoingCallIntentBroadcaster()
159 mCallsManager.placeOutgoingCall(mCall, resultHandleUri, gatewayInfo, in onReceive()
212 mCallsManager.placeOutgoingCall(mCall, handle, null, speakerphoneOn, in processIntent()
275 mCallsManager.placeOutgoingCall(mCall, Uri.fromParts(scheme, number, null), null, in processIntent()
DCallIntentProcessor.java69 private final CallsManager mCallsManager; field in CallIntentProcessor
73 this.mCallsManager = callsManager; in CallIntentProcessor()
82 processUnknownCallIntent(mCallsManager, intent); in processIntent()
84 processOutgoingCallIntent(mContext, mCallsManager, intent); in processIntent()
DRespondViaSmsManager.java50 private final CallsManager mCallsManager; field in RespondViaSmsManager
73 mCallsManager = callsManager; in RespondViaSmsManager()
136 int subId = mCallsManager.getPhoneAccountRegistrar().getSubscriptionIdForPhoneAccount( in onIncomingCallRejected()
DCallAudioManager.java50 private final CallsManager mCallsManager; field in CallAudioManager
81 mCallsManager = callsManager; in CallAudioManager()
341 if (mCallsManager.hasEmergencyCall()) { in mute()
671 if (mCallsManager.hasRingingCall()) { in shouldPlayHoldTone()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DInCallWakeLockControllerTest.java37 @Mock CallsManager mCallsManager; field in InCallWakeLockControllerTest
49 mInCallWakeLockController = new InCallWakeLockController(telecomWakeLock, mCallsManager); in setUp()
60 when(mCallsManager.getRingingCall()).thenReturn(mCall); in testRingingCallAdded()
70 when(mCallsManager.getRingingCall()).thenReturn(null); in testNonRingingCallAdded()
80 when(mCallsManager.getRingingCall()).thenReturn(mCall); in testRingingCallTransition()
90 when(mCallsManager.getRingingCall()).thenReturn(null); in testRingingCallRemoved()
100 when(mCallsManager.getRingingCall()).thenReturn(null); in testWakeLockReleased()
110 when(mCallsManager.getRingingCall()).thenReturn(mCall); in testAcquireWakeLockWhenHeld()
DProximitySensorManagerTest.java38 @Mock CallsManager mCallsManager; field in ProximitySensorManagerTest
50 mProximitySensorManager = new ProximitySensorManager(telecomWakeLock, mCallsManager); in setUp()
61 when(mCallsManager.getCalls()).thenReturn(new ArrayList<Call>(){{ in testTurnOnProximityWithCallsActive()
73 when(mCallsManager.getCalls()).thenReturn(new ArrayList<Call>()); in testTurnOnProximityWithNoCallsActive()
93 when(mCallsManager.getCalls()).thenReturn(new ArrayList<Call>(){{ in testCallRemovedFromCallsManagerCallsActive()
105 when(mCallsManager.getCalls()).thenReturn(new ArrayList<Call>()); in testCallRemovedFromCallsManagerNoCallsActive()
DNewOutgoingCallIntentBroadcasterTest.java69 @Mock private CallsManager mCallsManager; field in NewOutgoingCallIntentBroadcasterTest
100 verify(mCallsManager).placeOutgoingCall(eq(mCall), eq(Uri.parse(voicemailNumber)), in testVoicemailCall()
241 verify(mCallsManager).placeOutgoingCall(eq(mCall), eq(handle), isNull(GatewayInfo.class), in emergencyCallTestHelper()
264 verify(mCallsManager).placeOutgoingCall(eq(mCall), eq(handle), isNull(GatewayInfo.class), in testUnmodifiedRegularCall()
281 verify(mCallsManager).placeOutgoingCall(eq(mCall), eq(encHandle), isNull(GatewayInfo.class), in testUnmodifiedSipCall()
300 verify(mCallsManager).placeOutgoingCall(eq(mCall), eq(handle), in testCallWithGatewayInfo()
361 mContext, mCallsManager, mCall, intent, mPhoneNumberUtilsAdapterSpy, in processIntent()
403 verify(mCallsManager, never()).placeOutgoingCall(any(Call.class), any(Uri.class), in verifyNoCallPlaced()
DCallScreeningServiceFilterTest.java63 @Mock CallsManager mCallsManager; field in CallScreeningServiceFilterTest
95 when(mCallsManager.getCurrentUserHandle()).thenReturn(UserHandle.CURRENT); in setUp()
108 mFilter = new CallScreeningServiceFilter(mContext, mCallsManager, mPhoneAccountRegistrar, in setUp()
/packages/services/Telecomm/src/com/android/server/telecom/callfiltering/
DCallScreeningServiceFilter.java138 private final CallsManager mCallsManager; field in CallScreeningServiceFilter
165 mCallsManager = callsManager; in CallScreeningServiceFilter()
212 intent, 0, mCallsManager.getCurrentUserHandle().getIdentifier()); in bindService()

12