Home
last modified time | relevance | path

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

12

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DSarManagerTest.java185 mPhoneStateListener.onCallStateChanged(CALL_STATE_OFFHOOK, ""); in testSarMgr_enabledTxPowerScenario_wifiOn_offHook()
203 mPhoneStateListener.onCallStateChanged(CALL_STATE_OFFHOOK, ""); in testSarMgr_enabledTxPowerScenario_offHook_wifiOn()
233 mPhoneStateListener.onCallStateChanged(CALL_STATE_OFFHOOK, ""); in testSarMgr_enabledTxPowerScenario_wifiOn_offHook_onHook()
240 mPhoneStateListener.onCallStateChanged(CALL_STATE_IDLE, ""); in testSarMgr_enabledTxPowerScenario_wifiOn_offHook_onHook()
263 mPhoneStateListener.onCallStateChanged(CALL_STATE_OFFHOOK, ""); in testSarMgr_enabledTxPowerScenario_wifiOff_offHook_onHook()
266 mPhoneStateListener.onCallStateChanged(CALL_STATE_IDLE, ""); in testSarMgr_enabledTxPowerScenario_wifiOff_offHook_onHook()
295 mPhoneStateListener.onCallStateChanged(CALL_STATE_OFFHOOK, ""); in testSarMgr_enabledSar_wifiOn_offHook_wifiOff_onHook()
304 mPhoneStateListener.onCallStateChanged(CALL_STATE_IDLE, ""); in testSarMgr_enabledSar_wifiOn_offHook_wifiOff_onHook()
324 mPhoneStateListener.onCallStateChanged(CALL_STATE_OFFHOOK, ""); in testSarMgr_enabledSar_wifiOff_offHook_onHook_wifiOn()
328 mPhoneStateListener.onCallStateChanged(CALL_STATE_IDLE, ""); in testSarMgr_enabledSar_wifiOff_offHook_onHook_wifiOn()
[all …]
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallLogManagerTest.java208 mCallLogManager.onCallStateChanged(fakeCall, CallState.DIALING, CallState.DISCONNECTED); in testDontLogCancelledCall()
210 mCallLogManager.onCallStateChanged(fakeCall, CallState.DIALING, CallState.ABORTED); in testDontLogCancelledCall()
232 mCallLogManager.onCallStateChanged(fakeCall, CallState.SELECT_PHONE_ACCOUNT, in testDontLogChoosingAccountCall()
283 mCallLogManager.onCallStateChanged(fakeCall1, CallState.ACTIVE, CallState.DISCONNECTED); in testDontLogUnloggableNumbers()
284 mCallLogManager.onCallStateChanged(fakeCall2, CallState.ACTIVE, CallState.DISCONNECTED); in testDontLogUnloggableNumbers()
313 mCallLogManager.onCallStateChanged(fakeCall, CallState.ACTIVE, CallState.DISCONNECTED); in testDontLogCallsFromEmergencyAccount()
335 mCallLogManager.onCallStateChanged(fakeOutgoingCall, CallState.ACTIVE, in testLogCallDirectionOutgoing()
360 mCallLogManager.onCallStateChanged(fakeIncomingCall, CallState.ACTIVE, in testLogCallDirectionIncoming()
386 mCallLogManager.onCallStateChanged(fakeMissedCall, CallState.ACTIVE, in testLogCallDirectionMissed()
415 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()
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/tests/unit/src/com/android/car/notification/
DPreprocessingManagerTest.java387 listenerInOrder.verify(mCallStateListener1).onCallStateChanged(false); in addCallStateListener_preCall_triggerChanges()
393 listenerInOrder.verify(mCallStateListener1).onCallStateChanged(true); in addCallStateListener_preCall_triggerChanges()
404 verify(mCallStateListener1).onCallStateChanged(true); in addCallStateListener_midCall_triggerChanges()
419 verify(mCallStateListener1).onCallStateChanged(false); in addCallStateListener_postCall_triggerChanges()
426 verify(mCallStateListener1).onCallStateChanged(false); in addSameCallListenerTwice_dedupedCorrectly()
429 verify(mCallStateListener1, times(1)).onCallStateChanged(false); in addSameCallListenerTwice_dedupedCorrectly()
446 verify(mCallStateListener1, never()).onCallStateChanged(false); in removeCallStateListener_midCall_triggerChanges()
454 listenerInOrder1.verify(mCallStateListener1).onCallStateChanged(false); in multipleCallStateListeners_triggeredAppropriately()
463 listenerInOrder1.verify(mCallStateListener1).onCallStateChanged(true); in multipleCallStateListeners_triggeredAppropriately()
464 listenerInOrder2.verify(mCallStateListener2).onCallStateChanged(true); in multipleCallStateListeners_triggeredAppropriately()
[all …]
/packages/apps/Car/Cluster/DirectRenderingCluster/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.java58 void onCallStateChanged(boolean isInCall); in onCallStateChanged() method
85 listener.onCallStateChanged(mIsInCall);
182 listener.onCallStateChanged(mIsInCall); in addCallStateListener()
DCarNotificationViewAdapter.java95 PreprocessingManager.getInstance(context).addCallStateListener(this::onCallStateChanged); in CarNotificationViewAdapter()
423 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.java50 public void onCallStateChanged(Call call, int oldState, int newState) { in onCallStateChanged() method in PhoneStateBroadcaster
DCallRecordingTonePlayer.java151 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
DIncomingCallNotifier.java128 public void onCallStateChanged(Call call, int oldState, int newState) { in onCallStateChanged() method in IncomingCallNotifier
/packages/apps/Dialer/java/com/android/incallui/videotech/duo/
DDuoVideoTech.java120 public void onCallStateChanged( in onCallStateChanged() method in DuoVideoTech
/packages/apps/Settings/src/com/android/settings/network/telephony/
DVideoCallingPreferenceController.java181 public void onCallStateChanged(int state) { in onCallStateChanged() method in VideoCallingPreferenceController.PhoneTelephonyCallback
DWifiCallingPreferenceController.java204 public void onCallStateChanged(int state) { in onCallStateChanged() method in WifiCallingPreferenceController.PhoneTelephonyCallback
DEnhanced4gBasePreferenceController.java229 public void onCallStateChanged(int state) { in onCallStateChanged() method in Enhanced4gBasePreferenceController.PhoneCallStateTelephonyCallback
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmService.kt212 override fun onCallStateChanged(state: Int, ignored: String?) { in onCallStateChanged() method in com.android.deskclock.alarms.AlarmService.PhoneStateChangeListener
/packages/apps/Car/Notification/src/com/android/car/notification/template/
DCarNotificationActionsView.java226 public void onCallStateChanged(boolean isInCall) { in onCallStateChanged() method in CarNotificationActionsView
/packages/apps/Dialer/java/com/android/incallui/videotech/ims/
DImsVideoTech.java125 public void onCallStateChanged( in onCallStateChanged() method in ImsVideoTech

12