/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | CallAudioRouteTransitionTests.java | 431 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 …]
|
D | CallAudioRouteControllerTest.java | 265 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 …]
|
D | CallAudioRouteStateMachineTest.java | 416 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/ |
D | CallAudioRouteStateMachine.java | 115 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 …]
|
D | CallEndpointController.java | 69 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()
|
D | CallAudioRouteController.java | 71 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()
|
D | CallAudioManager.java | 478 case CallAudioState.ROUTE_WIRED_HEADSET: in setAudioRoute()
|
/packages/apps/Dialer/java/com/android/dialer/app/voicemail/ |
D | VoicemailAudioManager.java | 87 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/ |
D | SpeakerButtonInfo.java | 61 } 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/ |
D | AudioModeProvider.java | 32 | CallAudioState.ROUTE_WIRED_HEADSET 104 return CallAudioState.ROUTE_WIRED_HEADSET; in getApproximatedAudioRoute()
|
/packages/apps/Dialer/java/com/android/incallui/rtt/impl/ |
D | AudioSelectMenu.java | 64 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/ |
D | SpeakerButtonController.java | 87 } else if ((audioState.getRoute() & CallAudioState.ROUTE_WIRED_HEADSET) in setAudioState() 88 == CallAudioState.ROUTE_WIRED_HEADSET) { in setAudioState()
|
/packages/apps/Dialer/java/com/android/incallui/ |
D | ProximitySensor.java | 221 (CallAudioState.ROUTE_WIRED_HEADSET == audioRoute in updateProximitySensorMode()
|
/packages/services/Telecomm/testapps/carmodedialer/src/com/android/server/telecom/carmodedialer/ |
D | CarModeInCallUI.java | 189 case CallAudioState.ROUTE_WIRED_HEADSET: in updateCallAudioState()
|
/packages/apps/Dialer/java/com/android/incallui/audioroute/ |
D | AudioRouteSelectorDialogFragment.java | 132 CallAudioState.ROUTE_WIRED_HEADSET, in onCreateView()
|
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/ |
D | SelfManagedCallListAdapter.java | 188 case CallAudioState.ROUTE_WIRED_HEADSET: in getView()
|
D | TestInCallUI.java | 311 case CallAudioState.ROUTE_WIRED_HEADSET: in updateCallAudioState()
|