Home
last modified time | relevance | path

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

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallAudioRouteStateMachineTest.java183 CallAudioState.ROUTE_WIRED_HEADSET, in testSpeakerPersistence()
184 CallAudioState.ROUTE_WIRED_HEADSET | CallAudioState.ROUTE_SPEAKER); in testSpeakerPersistence()
242 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_WIRED_HEADSET, in testInitializationWithEarpieceAndHeadsetNoBluetooth()
243 CallAudioState.ROUTE_WIRED_HEADSET | CallAudioState.ROUTE_SPEAKER); in testInitializationWithEarpieceAndHeadsetNoBluetooth()
250 CallAudioState.ROUTE_WIRED_HEADSET | CallAudioState.ROUTE_SPEAKER in testInitializationWithEarpieceAndHeadsetAndBluetooth()
272 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_WIRED_HEADSET, in testInitializationWithHeadsetNoBluetoothNoEarpiece()
273 CallAudioState.ROUTE_WIRED_HEADSET | CallAudioState.ROUTE_SPEAKER); in testInitializationWithHeadsetNoBluetoothNoEarpiece()
280 CallAudioState.ROUTE_WIRED_HEADSET | CallAudioState.ROUTE_SPEAKER in testInitializationWithHeadsetAndBluetoothNoEarpiece()
295 (expectedState.getSupportedRouteMask() & CallAudioState.ROUTE_WIRED_HEADSET) != 0); in initializationTestHelper()
320 CallAudioState.ROUTE_WIRED_HEADSET, // expectedRoute in generateTransitionTests()
[all …]
/packages/services/Telecomm/src/com/android/server/telecom/
DCallAudioRouteStateMachine.java68 public static final int ROUTE_WIRED_HEADSET = CallAudioState.ROUTE_WIRED_HEADSET; field in CallAudioRouteStateMachine
187 mAvailableRoutes |= ROUTE_WIRED_HEADSET; in processMessage()
197 mAvailableRoutes &= ~ROUTE_WIRED_HEADSET; in processMessage()
271 if ((mAvailableRoutes & ROUTE_WIRED_HEADSET) != 0) { in processMessage()
332 if ((mAvailableRoutes & ROUTE_WIRED_HEADSET) != 0) { in processMessage()
412 CallAudioState newState = new CallAudioState(mIsMuted, ROUTE_WIRED_HEADSET, in enter()
535 mAvailableRoutes |= ROUTE_WIRED_HEADSET; in processMessage()
625 if ((mAvailableRoutes & ROUTE_WIRED_HEADSET) != 0) { in processMessage()
691 if ((mAvailableRoutes & ROUTE_WIRED_HEADSET) != 0) { in processMessage()
809 if ((mAvailableRoutes & ROUTE_WIRED_HEADSET) != 0) { in processMessage()
[all …]
DCallAudioManager.java366 case CallAudioState.ROUTE_WIRED_HEADSET: in setAudioRoute()
/packages/apps/Dialer/src/com/android/dialer/voicemail/
DVoicemailAudioManager.java84 newRoute = CallAudioState.ROUTE_WIRED_HEADSET; in onWiredHeadsetPluggedInChanged()
154 routeMask |= CallAudioState.ROUTE_WIRED_HEADSET; in calculateSupportedRoutes()
187 mCallAudioState.getRoute() == CallAudioState.ROUTE_WIRED_HEADSET) { in setSystemAudioState()
/packages/apps/Dialer/InCallUI/src/com/android/incallui/
DAudioModeProvider.java36 | CallAudioState.ROUTE_BLUETOOTH | CallAudioState.ROUTE_WIRED_HEADSET
DProximitySensor.java231 boolean screenOnImmediately = (CallAudioState.ROUTE_WIRED_HEADSET == audioMode in updateProximitySensorMode()
DCallButtonFragment.java717 case CallAudioState.ROUTE_WIRED_HEADSET: in updateAudioButtonContentDescription()
759 final boolean usingHeadset = isSupported(CallAudioState.ROUTE_WIRED_HEADSET); in showAudioModePopup()