Home
last modified time | relevance | path

Searched refs:sendMessageWithSessionInfo (Results 1 – 15 of 15) sorted by relevance

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallAudioRouteControllerTest.java218 mController.sendMessageWithSessionInfo(SWITCH_FOCUS, ACTIVE_FOCUS); in testNormalCallRouteToEarpiece()
236 mController.sendMessageWithSessionInfo(SWITCH_FOCUS, ACTIVE_FOCUS); in testVideoCallHoldRouteToEarpiece()
249 mController.sendMessageWithSessionInfo(SWITCH_FOCUS, ACTIVE_FOCUS); in testVideoCallRouteToSpeaker()
257 mController.sendMessageWithSessionInfo(SPEAKER_ON); in testVideoCallRouteToSpeaker()
268 mController.sendMessageWithSessionInfo(CONNECT_WIRED_HEADSET); in testVideoCallRouteToSpeaker()
270 mController.sendMessageWithSessionInfo(SPEAKER_OFF); in testVideoCallRouteToSpeaker()
279 mController.sendMessageWithSessionInfo(BT_DEVICE_ADDED, AudioRoute.TYPE_BLUETOOTH_SCO, in testActiveDeactivateBluetoothDevice()
285 mController.sendMessageWithSessionInfo(BT_ACTIVE_DEVICE_PRESENT, in testActiveDeactivateBluetoothDevice()
293 mController.sendMessageWithSessionInfo(BT_ACTIVE_DEVICE_GONE, in testActiveDeactivateBluetoothDevice()
305 mController.sendMessageWithSessionInfo(BT_DEVICE_ADDED, AudioRoute.TYPE_BLUETOOTH_SCO, in testSwitchFocusForBluetoothDeviceSupportInbandRinging()
[all …]
DCallAudioRoutePeripheralAdapterTest.java106 verify(mCallAudioRouteStateMachine).sendMessageWithSessionInfo( in testOnBluetoothDeviceListChanged()
114 verify(mCallAudioRouteStateMachine).sendMessageWithSessionInfo( in testOnBluetoothActiveDevicePresent()
122 verify(mCallAudioRouteStateMachine).sendMessageWithSessionInfo( in testOnBluetoothActiveDeviceGone()
130 verify(mCallAudioRouteStateMachine).sendMessageWithSessionInfo( in testOnBluetoothAudioConnected()
139 verify(mCallAudioRouteStateMachine).sendMessageWithSessionInfo( in testOnBluetoothAudioConnecting()
148 verify(mCallAudioRouteStateMachine).sendMessageWithSessionInfo( in testOnBluetoothAudioDisconnected()
157 verify(mCallAudioRouteStateMachine).sendMessageWithSessionInfo( in testOnUnexpectedBluetoothStateChange()
166 verify(mCallAudioRouteStateMachine, never()).sendMessageWithSessionInfo(anyInt()); in testOnWiredHeadsetPluggedInChangedNoChange()
173 verify(mCallAudioRouteStateMachine).sendMessageWithSessionInfo( in testOnWiredHeadsetPluggedInChangedPlugged()
181 verify(mCallAudioRouteStateMachine).sendMessageWithSessionInfo( in testOnWiredHeadsetPluggedInChangedUnplugged()
[all …]
DCallAudioRouteStateMachineTest.java211 stateMachine.sendMessageWithSessionInfo(CallAudioRouteStateMachine.SWITCH_SPEAKER, in testTrackedCallsReceiveAudioRouteChange()
214 stateMachine.sendMessageWithSessionInfo( in testTrackedCallsReceiveAudioRouteChange()
260 stateMachine.sendMessageWithSessionInfo(CallAudioRouteStateMachine.SWITCH_SPEAKER, in testSystemAudioStateIsNotUpdatedFlagOff()
263 stateMachine.sendMessageWithSessionInfo( in testSystemAudioStateIsNotUpdatedFlagOff()
313 stateMachine.sendMessageWithSessionInfo(CallAudioRouteStateMachine.SWITCH_SPEAKER, in testSystemAudioStateIsUpdatedFlagOn()
316 stateMachine.sendMessageWithSessionInfo( in testSystemAudioStateIsUpdatedFlagOn()
412 stateMachine.sendMessageWithSessionInfo(CallAudioRouteStateMachine.SWITCH_FOCUS, in testSpeakerPersistence()
414 stateMachine.sendMessageWithSessionInfo(CallAudioRouteStateMachine.CONNECT_WIRED_HEADSET); in testSpeakerPersistence()
423 stateMachine.sendMessageWithSessionInfo( in testSpeakerPersistence()
454 stateMachine.sendMessageWithSessionInfo(CallAudioRouteStateMachine.SWITCH_FOCUS, in testUserBluetoothSwitchOff()
[all …]
DCallAudioRouteTransitionTests.java227 sm.sendMessageWithSessionInfo(CallAudioRouteStateMachine.BT_AUDIO_CONNECTED); in setupMocksForParams()
249 sm.sendMessageWithSessionInfo( in sendActionToStateMachine()
251 sm.sendMessageWithSessionInfo( in sendActionToStateMachine()
255 sm.sendMessageWithSessionInfo( in sendActionToStateMachine()
257 sm.sendMessageWithSessionInfo( in sendActionToStateMachine()
261 sm.sendMessageWithSessionInfo(mParams.action); in sendActionToStateMachine()
292 stateMachine.sendMessageWithSessionInfo(CallAudioRouteStateMachine.SWITCH_FOCUS, in testActiveTransition()
296 stateMachine.sendMessageWithSessionInfo(CallAudioRouteStateMachine.BT_AUDIO_CONNECTED); in testActiveTransition()
DCallAudioManagerTest.java174 .sendMessageWithSessionInfo(muteCaptor.capture()); in testUnmuteOfSecondIncomingCall()
271 verify(mCallAudioRouteStateMachine).sendMessageWithSessionInfo(
336 verify(mCallAudioRouteStateMachine).sendMessageWithSessionInfo(
402 verify(mCallAudioRouteStateMachine, never()).sendMessageWithSessionInfo(anyInt());
439 verify(mCallAudioRouteStateMachine).sendMessageWithSessionInfo(
489 verify(mCallAudioRouteStateMachine).sendMessageWithSessionInfo(
661 verify(mCallAudioRouteStateMachine, never()).sendMessageWithSessionInfo(
834 verify(mCallAudioRouteStateMachine).sendMessageWithSessionInfo(
864 verify(mCallAudioRouteStateMachine).sendMessageWithSessionInfo(
DCallsManagerTest.java1580 .sendMessageWithSessionInfo(CallAudioRouteStateMachine.TOGGLE_MUTE); in testToggleMuteWhenHeadsetMediaButtonLongPressDuringOngoingCall()
/packages/services/Telecomm/src/com/android/server/telecom/
DCallAudioRoutePeripheralAdapter.java63 mCallAudioAdapter.sendMessageWithSessionInfo( in onBluetoothDeviceListChanged()
69 mCallAudioAdapter.sendMessageWithSessionInfo( in onBluetoothActiveDevicePresent()
75 mCallAudioAdapter.sendMessageWithSessionInfo( in onBluetoothActiveDeviceGone()
82 mCallAudioAdapter.sendMessageWithSessionInfo( in onBluetoothAudioConnected()
90 mCallAudioAdapter.sendMessageWithSessionInfo( in onBluetoothAudioConnecting()
97 mCallAudioAdapter.sendMessageWithSessionInfo( in onBluetoothAudioDisconnected()
103 mCallAudioAdapter.sendMessageWithSessionInfo( in onUnexpectedBluetoothStateChange()
114 mCallAudioAdapter.sendMessageWithSessionInfo( in onWiredHeadsetPluggedInChanged()
117 mCallAudioAdapter.sendMessageWithSessionInfo( in onWiredHeadsetPluggedInChanged()
124 mCallAudioAdapter.sendMessageWithSessionInfo( in onDockChanged()
DCallAudioRouteAdapter.java128 void sendMessageWithSessionInfo(int message); in sendMessageWithSessionInfo() method
129 void sendMessageWithSessionInfo(int message, int arg); in sendMessageWithSessionInfo() method
130 void sendMessageWithSessionInfo(int message, int arg, String data); in sendMessageWithSessionInfo() method
131 void sendMessageWithSessionInfo(int message, int arg, BluetoothDevice bluetoothDevice); in sendMessageWithSessionInfo() method
DCallAudioManager.java238 mCallAudioRouteAdapter.sendMessageWithSessionInfo( in onExternalCallChanged()
390 mCallAudioRouteAdapter.sendMessageWithSessionInfo( in onConnectionServiceChanged()
408 mCallAudioRouteAdapter.sendMessageWithSessionInfo( in onVideoStateChanged()
435 mCallAudioRouteAdapter.sendMessageWithSessionInfo( in toggleMute()
455 mCallAudioRouteAdapter.sendMessageWithSessionInfo(shouldMute in mute()
471 mCallAudioRouteAdapter.sendMessageWithSessionInfo( in setAudioRoute()
475 mCallAudioRouteAdapter.sendMessageWithSessionInfo( in setAudioRoute()
479 mCallAudioRouteAdapter.sendMessageWithSessionInfo( in setAudioRoute()
483 mCallAudioRouteAdapter.sendMessageWithSessionInfo( in setAudioRoute()
487 mCallAudioRouteAdapter.sendMessageWithSessionInfo( in setAudioRoute()
[all …]
DCallAudioRouteController.java120 sendMessageWithSessionInfo(SPEAKER_ON);
123 sendMessageWithSessionInfo(SPEAKER_OFF);
143 sendMessageWithSessionInfo(MUTE_OFF);
145 sendMessageWithSessionInfo(MUTE_EXTERNALLY_CHANGED);
383 public void sendMessageWithSessionInfo(int message) { in sendMessageWithSessionInfo() method in CallAudioRouteController
384 sendMessageWithSessionInfo(message, 0, (String) null); in sendMessageWithSessionInfo()
388 public void sendMessageWithSessionInfo(int message, int arg) { in sendMessageWithSessionInfo() method in CallAudioRouteController
389 sendMessageWithSessionInfo(message, arg, (String) null); in sendMessageWithSessionInfo()
393 public void sendMessageWithSessionInfo(int message, int arg, String data) { in sendMessageWithSessionInfo() method in CallAudioRouteController
401 public void sendMessageWithSessionInfo(int message, int arg, BluetoothDevice bluetoothDevice) { in sendMessageWithSessionInfo() method in CallAudioRouteController
[all …]
DPendingAudioRoute.java99 mCallAudioRouteController.sendMessageWithSessionInfo( in onMessageReceived()
111 mCallAudioRouteController.sendMessageWithSessionInfo( in evaluatePendingState()
DCallAudioRouteStateMachine.java1673 public void sendMessageWithSessionInfo(int message, int arg) { in sendMessageWithSessionInfo() method in CallAudioRouteStateMachine
1674 sendMessageWithSessionInfo(message, arg, (String) null); in sendMessageWithSessionInfo()
1677 public void sendMessageWithSessionInfo(int message) { in sendMessageWithSessionInfo() method in CallAudioRouteStateMachine
1678 sendMessageWithSessionInfo(message, 0, (String) null); in sendMessageWithSessionInfo()
1681 public void sendMessageWithSessionInfo(int message, int arg, String data) { in sendMessageWithSessionInfo() method in CallAudioRouteStateMachine
1688 public void sendMessageWithSessionInfo(int message, int arg, BluetoothDevice bluetoothDevice) { in sendMessageWithSessionInfo() method in CallAudioRouteStateMachine
DCallAudioModeStateMachine.java746 mCallAudioManager.getCallAudioRouteAdapter().sendMessageWithSessionInfo( in enter()
751 mCallAudioManager.getCallAudioRouteAdapter().sendMessageWithSessionInfo( in preExit()
/packages/services/Telecomm/src/com/android/server/telecom/bluetooth/
DBluetoothStateReceiver.java126 mCallAudioRouteAdapter.sendMessageWithSessionInfo(BT_AUDIO_CONNECTED, 0, in handleAudioStateChanged()
139 mCallAudioRouteAdapter.sendMessageWithSessionInfo( in handleAudioStateChanged()
156 mCallAudioRouteAdapter.sendMessageWithSessionInfo(BT_AUDIO_DISCONNECTED, 0, in handleAudioStateChanged()
199 mCallAudioRouteAdapter.sendMessageWithSessionInfo(BT_DEVICE_ADDED, in handleConnectionStateChanged()
207 mCallAudioRouteAdapter.sendMessageWithSessionInfo(BT_DEVICE_REMOVED, in handleConnectionStateChanged()
243 mCallAudioRouteAdapter.sendMessageWithSessionInfo(BT_ACTIVE_DEVICE_GONE, in handleActiveDeviceChanged()
248 mCallAudioRouteAdapter.sendMessageWithSessionInfo(BT_ACTIVE_DEVICE_PRESENT, in handleActiveDeviceChanged()
DBluetoothDeviceManager.java257 mCallAudioRouteAdapter.sendMessageWithSessionInfo( in handleAudioRefactoringServiceDisconnected()
260 mCallAudioRouteAdapter.sendMessageWithSessionInfo( in handleAudioRefactoringServiceDisconnected()