Home
last modified time | relevance | path

Searched refs:ROUTE_WIRED_HEADSET (Results 1 – 17 of 17) sorted by relevance

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallAudioRouteTransitionTests.java431 CallAudioState.ROUTE_WIRED_HEADSET, // expectedRoute in testParametersCollection()
432 CallAudioState.ROUTE_WIRED_HEADSET, // expectedAvailableRoutes in testParametersCollection()
443 CallAudioState.ROUTE_WIRED_HEADSET, // expectedRoute in testParametersCollection()
444 CallAudioState.ROUTE_WIRED_HEADSET | CallAudioState.ROUTE_BLUETOOTH, // expectedAvai in testParametersCollection()
455 CallAudioState.ROUTE_WIRED_HEADSET, // expectedRoute in testParametersCollection()
456 CallAudioState.ROUTE_WIRED_HEADSET, // expectedAvailableRoutes in testParametersCollection()
462 CallAudioState.ROUTE_WIRED_HEADSET, // initialRoute in testParametersCollection()
463 CallAudioState.ROUTE_WIRED_HEADSET, // availableRoutes in testParametersCollection()
474 CallAudioState.ROUTE_WIRED_HEADSET, // initialRoute in testParametersCollection()
475 CallAudioState.ROUTE_WIRED_HEADSET | CallAudioState.ROUTE_BLUETOOTH, // availableRou in testParametersCollection()
[all …]
DCallAudioRouteControllerTest.java265 expectedState = new CallAudioState(false, CallAudioState.ROUTE_WIRED_HEADSET, in testVideoCallRouteToSpeaker()
266 CallAudioState.ROUTE_WIRED_HEADSET | CallAudioState.ROUTE_SPEAKER, null, in testVideoCallRouteToSpeaker()
335 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_WIRED_HEADSET, in testConnectAndDisconnectWiredHeadset()
336 CallAudioState.ROUTE_WIRED_HEADSET | CallAudioState.ROUTE_SPEAKER, null, in testConnectAndDisconnectWiredHeadset()
469 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_WIRED_HEADSET, in tesetSwitchSpeakerAndHeadset()
470 CallAudioState.ROUTE_WIRED_HEADSET | CallAudioState.ROUTE_SPEAKER, null, in tesetSwitchSpeakerAndHeadset()
478 CallAudioState.ROUTE_WIRED_HEADSET | CallAudioState.ROUTE_SPEAKER, null, in tesetSwitchSpeakerAndHeadset()
485 expectedState = new CallAudioState(false, CallAudioState.ROUTE_WIRED_HEADSET, in tesetSwitchSpeakerAndHeadset()
486 CallAudioState.ROUTE_WIRED_HEADSET | CallAudioState.ROUTE_SPEAKER, null, in tesetSwitchSpeakerAndHeadset()
511 expectedState = new CallAudioState(false, CallAudioState.ROUTE_WIRED_HEADSET, in testEnableAndDisableStreaming()
[all …]
DCallAudioRouteStateMachineTest.java416 CallAudioState.ROUTE_WIRED_HEADSET, in testSpeakerPersistence()
417 CallAudioState.ROUTE_WIRED_HEADSET | CallAudioState.ROUTE_SPEAKER); in testSpeakerPersistence()
921 CallAudioState.ROUTE_WIRED_HEADSET); in testSetAndClearEarpieceCommunicationDevice()
1006 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_WIRED_HEADSET, in testInitializationWithEarpieceAndHeadsetNoBluetooth()
1007 CallAudioState.ROUTE_WIRED_HEADSET | CallAudioState.ROUTE_SPEAKER); in testInitializationWithEarpieceAndHeadsetNoBluetooth()
1015 CallAudioState.ROUTE_WIRED_HEADSET | CallAudioState.ROUTE_SPEAKER in testInitializationWithEarpieceAndHeadsetAndBluetooth()
1040 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_WIRED_HEADSET, in testInitializationWithHeadsetNoBluetoothNoEarpiece()
1041 CallAudioState.ROUTE_WIRED_HEADSET | CallAudioState.ROUTE_SPEAKER); in testInitializationWithHeadsetNoBluetoothNoEarpiece()
1049 CallAudioState.ROUTE_WIRED_HEADSET | CallAudioState.ROUTE_SPEAKER in testInitializationWithHeadsetAndBluetoothNoEarpiece()
1196 CallAudioState.ROUTE_WIRED_HEADSET, CallAudioState.ROUTE_WIRED_HEADSET in testIgnoreImplicitBTSwitchWhenDeviceIsWatch()
[all …]
/packages/services/Telecomm/src/com/android/server/telecom/
DCallAudioRouteStateMachine.java115 public static final int ROUTE_WIRED_HEADSET = CallAudioState.ROUTE_WIRED_HEADSET; field in CallAudioRouteStateMachine
132 put(CallAudioState.ROUTE_WIRED_HEADSET, LogUtils.Events.AUDIO_ROUTE_HEADSET);
197 addedRoutes |= ROUTE_WIRED_HEADSET; in processMessage()
202 removedRoutes |= ROUTE_WIRED_HEADSET; in processMessage()
342 if ((mAvailableRoutes & ROUTE_WIRED_HEADSET) != 0) { in processMessage()
427 if ((mAvailableRoutes & ROUTE_WIRED_HEADSET) != 0) { in processMessage()
517 CallAudioState newState = new CallAudioState(mIsMuted, ROUTE_WIRED_HEADSET, in enter()
682 return CallAudioState.ROUTE_WIRED_HEADSET; in getRouteCode()
842 if ((mAvailableRoutes & ROUTE_WIRED_HEADSET) != 0) { in processMessage()
958 if ((mAvailableRoutes & ROUTE_WIRED_HEADSET) != 0) { in processMessage()
[all …]
DCallEndpointController.java69 mRouteToTypeMap.put(CallAudioState.ROUTE_WIRED_HEADSET, CallEndpoint.TYPE_WIRED_HEADSET); in CallEndpointController()
76 mTypeToRouteMap.put(CallEndpoint.TYPE_WIRED_HEADSET, CallAudioState.ROUTE_WIRED_HEADSET); in CallEndpointController()
DCallAudioRouteController.java71 ROUTE_MAP.put(AudioRoute.TYPE_WIRED, CallAudioState.ROUTE_WIRED_HEADSET); in ROUTE_MAP.put() argument
349 if ((supportMask & CallAudioState.ROUTE_WIRED_HEADSET) != 0) { in initialize()
1083 routeMask |= CallAudioState.ROUTE_WIRED_HEADSET; in calculateSupportedRouteMaskInit()
DCallAudioManager.java478 case CallAudioState.ROUTE_WIRED_HEADSET: in setAudioRoute()
/packages/apps/Dialer/java/com/android/dialer/app/voicemail/
DVoicemailAudioManager.java87 newRoute = CallAudioState.ROUTE_WIRED_HEADSET; in onWiredHeadsetPluggedInChanged()
202 routeMask |= CallAudioState.ROUTE_WIRED_HEADSET; in calculateSupportedRoutes()
238 || this.callAudioState.getRoute() == CallAudioState.ROUTE_WIRED_HEADSET) { in setSystemAudioState()
/packages/apps/Dialer/java/com/android/incallui/speakerbuttonlogic/
DSpeakerButtonInfo.java61 } else if ((audioState.getRoute() & CallAudioState.ROUTE_WIRED_HEADSET) in SpeakerButtonInfo()
62 == CallAudioState.ROUTE_WIRED_HEADSET) { in SpeakerButtonInfo()
/packages/apps/Dialer/java/com/android/incallui/audiomode/
DAudioModeProvider.java32 | CallAudioState.ROUTE_WIRED_HEADSET
104 return CallAudioState.ROUTE_WIRED_HEADSET; in getApproximatedAudioRoute()
/packages/apps/Dialer/java/com/android/incallui/rtt/impl/
DAudioSelectMenu.java64 initItem(headsetButton, CallAudioState.ROUTE_WIRED_HEADSET, audioState); in AudioSelectMenu()
83 headsetButton.setChecked(audioState.getRoute() == CallAudioState.ROUTE_WIRED_HEADSET); in setAudioState()
/packages/apps/Dialer/java/com/android/incallui/video/impl/
DSpeakerButtonController.java87 } else if ((audioState.getRoute() & CallAudioState.ROUTE_WIRED_HEADSET) in setAudioState()
88 == CallAudioState.ROUTE_WIRED_HEADSET) { in setAudioState()
/packages/apps/Dialer/java/com/android/incallui/
DProximitySensor.java221 (CallAudioState.ROUTE_WIRED_HEADSET == audioRoute in updateProximitySensorMode()
/packages/services/Telecomm/testapps/carmodedialer/src/com/android/server/telecom/carmodedialer/
DCarModeInCallUI.java189 case CallAudioState.ROUTE_WIRED_HEADSET: in updateCallAudioState()
/packages/apps/Dialer/java/com/android/incallui/audioroute/
DAudioRouteSelectorDialogFragment.java132 CallAudioState.ROUTE_WIRED_HEADSET, in onCreateView()
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
DSelfManagedCallListAdapter.java188 case CallAudioState.ROUTE_WIRED_HEADSET: in getView()
DTestInCallUI.java311 case CallAudioState.ROUTE_WIRED_HEADSET: in updateCallAudioState()