Searched refs:ROUTE_BLUETOOTH (Results 1 – 7 of 7) sorted by relevance
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | CallAudioRouteStateMachineTest.java | 207 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/ |
D | CallAudioRouteStateMachine.java | 65 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 …]
|
D | CallAudioManager.java | 358 case CallAudioState.ROUTE_BLUETOOTH: in setAudioRoute()
|
/packages/apps/Dialer/InCallUI/src/com/android/incallui/ |
D | CallButtonFragment.java | 539 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()
|
D | AudioModeProvider.java | 36 | CallAudioState.ROUTE_BLUETOOTH | CallAudioState.ROUTE_WIRED_HEADSET
|
D | ProximitySensor.java | 233 || CallAudioState.ROUTE_BLUETOOTH == audioMode in updateProximitySensorMode()
|
D | CallButtonPresenter.java | 201 if (0 != (CallAudioState.ROUTE_BLUETOOTH & getSupportedAudio())) { in toggleSpeakerphone()
|