Home
last modified time | relevance | path

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

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallAudioRouteStateMachineTest.java207 CallAudioState initState = new CallAudioState(false, CallAudioState.ROUTE_BLUETOOTH, in testUserBluetoothSwitchOff()
208 CallAudioState.ROUTE_EARPIECE | CallAudioState.ROUTE_BLUETOOTH); in testUserBluetoothSwitchOff()
217 CallAudioState.ROUTE_EARPIECE | CallAudioState.ROUTE_BLUETOOTH); in testUserBluetoothSwitchOff()
249 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_BLUETOOTH, in testInitializationWithEarpieceAndHeadsetAndBluetooth()
251 | CallAudioState.ROUTE_BLUETOOTH); in testInitializationWithEarpieceAndHeadsetAndBluetooth()
257 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_BLUETOOTH, in testInitializationWithEarpieceAndBluetoothNoHeadset()
259 | CallAudioState.ROUTE_BLUETOOTH); in testInitializationWithEarpieceAndBluetoothNoHeadset()
279 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_BLUETOOTH, in testInitializationWithHeadsetAndBluetoothNoEarpiece()
281 | CallAudioState.ROUTE_BLUETOOTH); in testInitializationWithHeadsetAndBluetoothNoEarpiece()
287 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_BLUETOOTH, in testInitializationWithBluetoothNoHeadsetNoEarpiece()
[all …]
/packages/services/Telecomm/src/com/android/server/telecom/
DCallAudioRouteStateMachine.java65 public static final int ROUTE_BLUETOOTH = CallAudioState.ROUTE_BLUETOOTH; field in CallAudioRouteStateMachine
192 mAvailableRoutes |= ROUTE_BLUETOOTH; in processMessage()
205 mAvailableRoutes &= ~ROUTE_BLUETOOTH; in processMessage()
263 if ((mAvailableRoutes & ROUTE_BLUETOOTH) != 0) { in processMessage()
325 if ((mAvailableRoutes & ROUTE_BLUETOOTH) != 0) { in processMessage()
440 if ((mAvailableRoutes & ROUTE_BLUETOOTH) != 0) { in processMessage()
502 if ((mAvailableRoutes & ROUTE_BLUETOOTH) != 0) { in processMessage()
589 CallAudioState newState = new CallAudioState(mIsMuted, ROUTE_BLUETOOTH, in enter()
799 if ((mAvailableRoutes & ROUTE_BLUETOOTH) != 0) { in processMessage()
869 if ((mAvailableRoutes & ROUTE_BLUETOOTH) != 0) { in processMessage()
[all …]
DCallAudioManager.java358 case CallAudioState.ROUTE_BLUETOOTH: in setAudioRoute()
/packages/apps/Dialer/InCallUI/src/com/android/incallui/
DCallButtonFragment.java539 mode = CallAudioState.ROUTE_BLUETOOTH; in onMenuItemClick()
569 if (isSupported(CallAudioState.ROUTE_BLUETOOTH)) { in onAudioButtonClicked()
604 final boolean bluetoothSupported = isSupported(CallAudioState.ROUTE_BLUETOOTH); in updateAudioButtons()
625 if (isAudio(CallAudioState.ROUTE_BLUETOOTH)) { in updateAudioButtons()
707 if (!isSupported(CallAudioState.ROUTE_BLUETOOTH)) { in updateAudioButtonContentDescription()
714 case CallAudioState.ROUTE_BLUETOOTH: in updateAudioButtonContentDescription()
769 bluetoothItem.setEnabled(isSupported(CallAudioState.ROUTE_BLUETOOTH)); in showAudioModePopup()
DAudioModeProvider.java36 | CallAudioState.ROUTE_BLUETOOTH | CallAudioState.ROUTE_WIRED_HEADSET
DProximitySensor.java233 || CallAudioState.ROUTE_BLUETOOTH == audioMode in updateProximitySensorMode()
DCallButtonPresenter.java201 if (0 != (CallAudioState.ROUTE_BLUETOOTH & getSupportedAudio())) { in toggleSpeakerphone()