Home
last modified time | relevance | path

Searched refs:onCallStateChanged (Results 1 – 25 of 48) sorted by relevance

12

/packages/apps/Car/Notification/tests/robotests/src/com/android/car/notification/
DPreprocessingManagerTest.java93 listenerInOrder.verify(mCallStateListener1).onCallStateChanged(false); in addCallStateListener_preCall_triggerChanges()
99 listenerInOrder.verify(mCallStateListener1).onCallStateChanged(true); in addCallStateListener_preCall_triggerChanges()
110 verify(mCallStateListener1).onCallStateChanged(true); in addCallStateListener_midCall_triggerChanges()
125 verify(mCallStateListener1).onCallStateChanged(false); in addCallStateListener_postCall_triggerChanges()
132 verify(mCallStateListener1).onCallStateChanged(false); in addSameCallListenerTwice_dedupedCorrectly()
135 verify(mCallStateListener1, times(1)).onCallStateChanged(false); in addSameCallListenerTwice_dedupedCorrectly()
152 verify(mCallStateListener1, never()).onCallStateChanged(false); in removeCallStateListener_midCall_triggerChanges()
160 listenerInOrder1.verify(mCallStateListener1).onCallStateChanged(false); in multipleCallStateListeners_triggeredAppropriately()
169 listenerInOrder1.verify(mCallStateListener1).onCallStateChanged(true); in multipleCallStateListeners_triggeredAppropriately()
170 listenerInOrder2.verify(mCallStateListener2).onCallStateChanged(true); in multipleCallStateListeners_triggeredAppropriately()
[all …]
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallLogManagerTest.java199 mCallLogManager.onCallStateChanged(fakeCall, CallState.DIALING, CallState.DISCONNECTED); in testDontLogCancelledCall()
201 mCallLogManager.onCallStateChanged(fakeCall, CallState.DIALING, CallState.ABORTED); in testDontLogCancelledCall()
223 mCallLogManager.onCallStateChanged(fakeCall, CallState.SELECT_PHONE_ACCOUNT, in testDontLogChoosingAccountCall()
274 mCallLogManager.onCallStateChanged(fakeCall1, CallState.ACTIVE, CallState.DISCONNECTED); in testDontLogUnloggableNumbers()
275 mCallLogManager.onCallStateChanged(fakeCall2, CallState.ACTIVE, CallState.DISCONNECTED); in testDontLogUnloggableNumbers()
304 mCallLogManager.onCallStateChanged(fakeCall, CallState.ACTIVE, CallState.DISCONNECTED); in testDontLogCallsFromEmergencyAccount()
326 mCallLogManager.onCallStateChanged(fakeOutgoingCall, CallState.ACTIVE, in testLogCallDirectionOutgoing()
351 mCallLogManager.onCallStateChanged(fakeIncomingCall, CallState.ACTIVE, in testLogCallDirectionIncoming()
377 mCallLogManager.onCallStateChanged(fakeMissedCall, CallState.ACTIVE, in testLogCallDirectionMissed()
406 mCallLogManager.onCallStateChanged(fakeMissedCall, CallState.ACTIVE, in testLogCallDirectionRejected()
[all …]
DCallAudioManagerTest.java124 mCallAudioManager.onCallStateChanged(call, CallState.RINGING, CallState.ACTIVE); in testUnmuteOfSecondIncomingCall()
186 mCallAudioManager.onCallStateChanged(call, CallState.RINGING, CallState.ACTIVE);
221 mCallAudioManager.onCallStateChanged(call, CallState.RINGING, CallState.ANSWERED);
239 mCallAudioManager.onCallStateChanged(call, CallState.ANSWERED, CallState.ACTIVE);
274 mCallAudioManager.onCallStateChanged(call, CallState.CONNECTING, CallState.DIALING);
283 mCallAudioManager.onCallStateChanged(call, CallState.DIALING, CallState.ACTIVE);
313 mCallAudioManager.onCallStateChanged(call, CallState.NEW, CallState.AUDIO_PROCESSING);
359 mCallAudioManager.onCallStateChanged(call, CallState.RINGING, CallState.AUDIO_PROCESSING);
409 mCallAudioManager.onCallStateChanged(call, CallState.ACTIVE, CallState.AUDIO_PROCESSING);
440 mCallAudioManager.onCallStateChanged(call, CallState.AUDIO_PROCESSING,
[all …]
DDisconnectedCallNotifierTest.java82 notifier.onCallStateChanged(call, CallState.NEW, CallState.DIALING); in testNotificationShownAfterEmergencyCall()
83 notifier.onCallStateChanged(call, CallState.DIALING, CallState.DISCONNECTED); in testNotificationShownAfterEmergencyCall()
105 notifier.onCallStateChanged(call, CallState.NEW, CallState.DIALING); in testNotificationShownForDisconnectedEmergencyCall()
106 notifier.onCallStateChanged(call, CallState.DIALING, CallState.DISCONNECTED); in testNotificationShownForDisconnectedEmergencyCall()
128 notifier.onCallStateChanged(call, CallState.DIALING, CallState.DISCONNECTED); in testNotificationNotShownAfterCall()
145 notifier.onCallStateChanged(call, CallState.DIALING, CallState.DISCONNECTED); in testNotificationClearedForEmergencyCall()
DBluetoothPhoneServiceTest.java871 mBluetoothPhoneService.mCallsManagerListener.onCallStateChanged(activeCall, in testOnCallStateChangedConnectingCall()
903 mBluetoothPhoneService.mCallsManagerListener.onCallStateChanged(ringingCall, in testOnCallStateChangedRingingToAudioProcessing()
916 mBluetoothPhoneService.mCallsManagerListener.onCallStateChanged(ringingCall, in testOnCallStateChangedAudioProcessingToSimulatedRinging()
929 mBluetoothPhoneService.mCallsManagerListener.onCallStateChanged(activeCall, in testOnCallStateChangedAudioProcessingToActive()
941 mBluetoothPhoneService.mCallsManagerListener.onCallStateChanged(activeCall, in testOnCallStateChangedDialing()
953 mBluetoothPhoneService.mCallsManagerListener.onCallStateChanged(outgoingCall, in testOnCallStateChangedAlerting()
967 mBluetoothPhoneService.mCallsManagerListener.onCallStateChanged(disconnectedCall, in testOnCallStateChangedDisconnected()
996 mBluetoothPhoneService.mCallsManagerListener.onCallStateChanged(ringingCall, in testOnCallStateChanged()
1009 mBluetoothPhoneService.mCallsManagerListener.onCallStateChanged(heldCall, in testOnCallStateChangedGSMSwap()
DConnectionServiceFocusManagerTest.java214 mCallsManagerListener.onCallStateChanged( in testCallStateChangedAffectCallFocus()
247 mCallsManagerListener.onCallStateChanged( in testCallStateChangedDoesNotAffectCallFocusIfConnectionServiceIsDifferent()
DInCallWakeLockControllerTest.java94 mInCallWakeLockController.onCallStateChanged(mCall, CallState.NEW, CallState.RINGING); in testRingingCallTransition()
/packages/apps/Car/Notification/src/com/android/car/notification/template/
DCarNotificationActionsView.java60 PreprocessingManager.getInstance(context).addCallStateListener(this::onCallStateChanged); in CarNotificationActionsView()
93 this::onCallStateChanged); in init()
193 public void onCallStateChanged(boolean isInCall) { in onCallStateChanged() method in CarNotificationActionsView
207 this::onCallStateChanged); in reset()
/packages/apps/Car/Cluster/src/android/car/cluster/
DPhoneFragmentViewModel.java94 public void onCallStateChanged(int state, String incomingNumber) { in onCallStateChanged() method in PhoneFragmentViewModel.ClusterPhoneStateListener
95 super.onCallStateChanged(state, incomingNumber); in onCallStateChanged()
/packages/apps/Car/Notification/src/com/android/car/notification/
DPreprocessingManager.java61 void onCallStateChanged(boolean isInCall); in onCallStateChanged() method
89 listener.onCallStateChanged(mIsInCall);
186 listener.onCallStateChanged(mIsInCall); in addCallStateListener()
DCarNotificationViewAdapter.java91 PreprocessingManager.getInstance(context).addCallStateListener(this::onCallStateChanged); in CarNotificationViewAdapter()
520 public void onCallStateChanged(boolean isInCall) { in onCallStateChanged() method in CarNotificationViewAdapter
/packages/services/Telecomm/src/com/android/server/telecom/
DInCallWakeLockController.java56 public void onCallStateChanged(Call call, int oldState, int newState) { in onCallStateChanged() method in InCallWakeLockController
DCallsManagerListenerBase.java36 public void onCallStateChanged(Call call, int oldState, int newState) { in onCallStateChanged() method in CallsManagerListenerBase
DPhoneStateBroadcaster.java42 public void onCallStateChanged(Call call, int oldState, int newState) { in onCallStateChanged() method in PhoneStateBroadcaster
DCallRecordingTonePlayer.java98 public void onCallStateChanged(Call call, int oldState, int newState) { in onCallStateChanged() method in CallRecordingTonePlayer
/packages/apps/Dialer/java/com/android/incallui/videotech/
DVideoTech.java54 void onCallStateChanged(Context context, int newState, PhoneAccountHandle phoneAccountHandle); in onCallStateChanged() method
/packages/apps/Dialer/java/com/android/incallui/videotech/empty/
DEmptyVideoTech.java64 public void onCallStateChanged( in onCallStateChanged() method in EmptyVideoTech
/packages/services/Telecomm/src/com/android/server/telecom/ui/
DAudioProcessingNotification.java50 public void onCallStateChanged(Call call, int oldState, int newState) { in onCallStateChanged() method in AudioProcessingNotification
/packages/apps/Dialer/java/com/android/incallui/videotech/duo/
DDuoVideoTech.java120 public void onCallStateChanged( in onCallStateChanged() method in DuoVideoTech
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/telephony/
DEnhanced4gLtePreferenceController.java169 public void onCallStateChanged(int state, String incomingNumber) { in onCallStateChanged() method in Enhanced4gLtePreferenceController.PhoneCallStateListener
DWifiCallingPreferenceController.java177 public void onCallStateChanged(int state, String incomingNumber) { in onCallStateChanged() method in WifiCallingPreferenceController.PhoneCallStateListener
DVideoCallingPreferenceController.java160 public void onCallStateChanged(int state, String incomingNumber) { in onCallStateChanged() method in VideoCallingPreferenceController.PhoneCallStateListener
/packages/apps/Settings/src/com/android/settings/network/telephony/
DEnhanced4gLtePreferenceController.java169 public void onCallStateChanged(int state, String incomingNumber) { in onCallStateChanged() method in Enhanced4gLtePreferenceController.PhoneCallStateListener
DVideoCallingPreferenceController.java158 public void onCallStateChanged(int state, String incomingNumber) { in onCallStateChanged() method in VideoCallingPreferenceController.PhoneCallStateListener
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmService.java256 public void onCallStateChanged(int state, String ignored) { in onCallStateChanged() method in AlarmService.PhoneStateChangeListener

12