/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | CallAudioRouteTransitionTests.java | 213 doReturn(params.initialRoute == CallAudioState.ROUTE_BLUETOOTH) in setupMocksForParams() 215 doReturn((params.availableRoutes & CallAudioState.ROUTE_BLUETOOTH) != 0 in setupMocksForParams() 216 || (params.expectedAvailableRoutes & CallAudioState.ROUTE_BLUETOOTH) != 0) in setupMocksForParams() 295 if (mParams.initialRoute == CallAudioState.ROUTE_BLUETOOTH) { in testActiveTransition() 383 doReturn((mParams.availableRoutes & CallAudioState.ROUTE_BLUETOOTH) != 0 || in testQuiescentTransition() 384 (mParams.expectedAvailableRoutes & CallAudioState.ROUTE_BLUETOOTH) != 0) in testQuiescentTransition() 438 CallAudioState.ROUTE_BLUETOOTH, // initialRoute in testParametersCollection() 439 CallAudioState.ROUTE_EARPIECE | CallAudioState.ROUTE_BLUETOOTH, // availableRoutes in testParametersCollection() 444 CallAudioState.ROUTE_WIRED_HEADSET | CallAudioState.ROUTE_BLUETOOTH, // expectedAvai in testParametersCollection() 475 CallAudioState.ROUTE_WIRED_HEADSET | CallAudioState.ROUTE_BLUETOOTH, // availableRou in testParametersCollection() [all …]
|
D | CallAudioRouteStateMachineTest.java | 450 CallAudioState initState = new CallAudioState(false, CallAudioState.ROUTE_BLUETOOTH, in testUserBluetoothSwitchOff() 451 CallAudioState.ROUTE_EARPIECE | CallAudioState.ROUTE_BLUETOOTH); in testUserBluetoothSwitchOff() 462 CallAudioState.ROUTE_EARPIECE | CallAudioState.ROUTE_BLUETOOTH); in testUserBluetoothSwitchOff() 498 CallAudioState initState = new CallAudioState(false, CallAudioState.ROUTE_BLUETOOTH, in testUserBluetoothSwitchOffAndOnAgain() 499 CallAudioState.ROUTE_EARPIECE | CallAudioState.ROUTE_BLUETOOTH); in testUserBluetoothSwitchOffAndOnAgain() 512 CallAudioState.ROUTE_EARPIECE | CallAudioState.ROUTE_BLUETOOTH, in testUserBluetoothSwitchOffAndOnAgain() 535 CallAudioState.ROUTE_BLUETOOTH, in testUserBluetoothSwitchOffAndOnAgain() 536 CallAudioState.ROUTE_EARPIECE | CallAudioState.ROUTE_BLUETOOTH, in testUserBluetoothSwitchOffAndOnAgain() 580 CallAudioState initState = new CallAudioState(false, CallAudioState.ROUTE_BLUETOOTH, in testBluetoothRinging() 581 CallAudioState.ROUTE_EARPIECE | CallAudioState.ROUTE_BLUETOOTH); in testBluetoothRinging() [all …]
|
D | CallAudioRouteControllerTest.java | 282 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_BLUETOOTH, in testActiveDeactivateBluetoothDevice() 283 CallAudioState.ROUTE_EARPIECE | CallAudioState.ROUTE_BLUETOOTH in testActiveDeactivateBluetoothDevice() 291 CallAudioState.ROUTE_EARPIECE | CallAudioState.ROUTE_BLUETOOTH in testActiveDeactivateBluetoothDevice() 308 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_BLUETOOTH, in testSwitchFocusForBluetoothDeviceSupportInbandRinging() 309 CallAudioState.ROUTE_EARPIECE | CallAudioState.ROUTE_BLUETOOTH in testSwitchFocusForBluetoothDeviceSupportInbandRinging() 449 CallAudioState.ROUTE_EARPIECE | CallAudioState.ROUTE_BLUETOOTH in testSwitchBluetooth() 457 expectedState = new CallAudioState(false, CallAudioState.ROUTE_BLUETOOTH, in testSwitchBluetooth() 458 CallAudioState.ROUTE_EARPIECE | CallAudioState.ROUTE_BLUETOOTH in testSwitchBluetooth() 583 CallAudioState.ROUTE_EARPIECE | CallAudioState.ROUTE_BLUETOOTH in testIgnoreAutoRouteToWatch() 592 | CallAudioState.ROUTE_BLUETOOTH, null, BLUETOOTH_DEVICES); in testIgnoreAutoRouteToWatch() [all …]
|
D | CallEndpointControllerTest.java | 73 CallAudioState.ROUTE_BLUETOOTH, CallAudioState.ROUTE_ALL, bluetoothDevice1, 76 CallAudioState.ROUTE_BLUETOOTH, CallAudioState.ROUTE_ALL, bluetoothDevice2, 79 CallAudioState.ROUTE_BLUETOOTH, CallAudioState.ROUTE_ALL, bluetoothDevice1, 215 verify(mCallAudioManager, times(1)).setAudioRoute(eq(CallAudioState.ROUTE_BLUETOOTH), in testSwitchFromEarpieceToBluetooth() 254 .setAudioRoute(eq(CallAudioState.ROUTE_BLUETOOTH), in testBtDeviceSwitch() 352 verify(mCallAudioManager).setAudioRoute(eq(CallAudioState.ROUTE_BLUETOOTH), in testEndpointChangeRequest() 363 verify(mCallAudioManager, never()).setAudioRoute(eq(CallAudioState.ROUTE_BLUETOOTH), in testEndpointChangeRequest_EndpointDoesNotExist()
|
/packages/apps/Dialer/java/com/android/incallui/speakerbuttonlogic/ |
D | SpeakerButtonInfo.java | 46 if ((audioState.getSupportedRouteMask() & CallAudioState.ROUTE_BLUETOOTH) in SpeakerButtonInfo() 47 == CallAudioState.ROUTE_BLUETOOTH) { in SpeakerButtonInfo() 51 if ((audioState.getRoute() & CallAudioState.ROUTE_BLUETOOTH) in SpeakerButtonInfo() 52 == CallAudioState.ROUTE_BLUETOOTH) { in SpeakerButtonInfo()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | CallAudioRouteStateMachine.java | 112 public static final int ROUTE_BLUETOOTH = CallAudioState.ROUTE_BLUETOOTH; field in CallAudioRouteStateMachine 129 put(CallAudioState.ROUTE_BLUETOOTH, LogUtils.Events.AUDIO_ROUTE_BT); 221 addedRoutes |= ROUTE_BLUETOOTH; in processMessage() 223 removedRoutes |= ROUTE_BLUETOOTH; in processMessage() 322 if ((mAvailableRoutes & ROUTE_BLUETOOTH) != 0) { in processMessage() 419 if ((mAvailableRoutes & ROUTE_BLUETOOTH) != 0) { in processMessage() 557 if ((mAvailableRoutes & ROUTE_BLUETOOTH) != 0) { in processMessage() 649 if ((mAvailableRoutes & ROUTE_BLUETOOTH) != 0) { in processMessage() 757 mAvailableRoutes |= ROUTE_BLUETOOTH; in enter() 759 CallAudioState newState = new CallAudioState(mIsMuted, ROUTE_BLUETOOTH, in enter() [all …]
|
D | CallEndpointController.java | 68 mRouteToTypeMap.put(CallAudioState.ROUTE_BLUETOOTH, CallEndpoint.TYPE_BLUETOOTH); in CallEndpointController() 75 mTypeToRouteMap.put(CallEndpoint.TYPE_BLUETOOTH, CallAudioState.ROUTE_BLUETOOTH); in CallEndpointController() 97 (route == CallAudioState.ROUTE_BLUETOOTH && bluetoothAddress == null)) { in requestCallEndpointChange() 135 if (requestedRoute != CallAudioState.ROUTE_BLUETOOTH) { in isCurrentEndpointRequestedEndpoint() 385 if (newState.getRoute() == CallAudioState.ROUTE_BLUETOOTH) { in isEndpointChanged()
|
D | CallAudioRouteController.java | 74 ROUTE_MAP.put(AudioRoute.TYPE_BLUETOOTH_SCO, CallAudioState.ROUTE_BLUETOOTH); in ROUTE_MAP.put() argument 75 ROUTE_MAP.put(AudioRoute.TYPE_BLUETOOTH_HA, CallAudioState.ROUTE_BLUETOOTH); in ROUTE_MAP.put() argument 76 ROUTE_MAP.put(AudioRoute.TYPE_BLUETOOTH_LE, CallAudioState.ROUTE_BLUETOOTH); in ROUTE_MAP.put() argument 941 if (route == CallAudioState.ROUTE_BLUETOOTH) { in onCurrentRouteChanged()
|
D | CallAudioManager.java | 470 case CallAudioState.ROUTE_BLUETOOTH: in setAudioRoute()
|
/packages/apps/Dialer/java/com/android/incallui/video/impl/ |
D | SpeakerButtonController.java | 74 if ((audioState.getSupportedRouteMask() & CallAudioState.ROUTE_BLUETOOTH) in setAudioState() 75 == CallAudioState.ROUTE_BLUETOOTH) { in setAudioState() 79 if ((audioState.getRoute() & CallAudioState.ROUTE_BLUETOOTH) in setAudioState() 80 == CallAudioState.ROUTE_BLUETOOTH) { in setAudioState()
|
/packages/apps/Dialer/java/com/android/incallui/audiomode/ |
D | AudioModeProvider.java | 31 | CallAudioState.ROUTE_BLUETOOTH 100 return CallAudioState.ROUTE_BLUETOOTH; in getApproximatedAudioRoute()
|
/packages/apps/Dialer/java/com/android/incallui/rtt/impl/ |
D | AudioSelectMenu.java | 62 initItem(bluetoothButton, CallAudioState.ROUTE_BLUETOOTH, audioState); in AudioSelectMenu() 81 bluetoothButton.setChecked(audioState.getRoute() == CallAudioState.ROUTE_BLUETOOTH); in setAudioState()
|
/packages/apps/Dialer/java/com/android/incallui/audioroute/ |
D | AudioRouteSelectorDialogFragment.java | 106 (audioState.getRoute() == CallAudioState.ROUTE_BLUETOOTH) in onCreateView() 119 CallAudioState.ROUTE_BLUETOOTH, in onCreateView() 194 .onAudioRouteSelected(CallAudioState.ROUTE_BLUETOOTH); in createBluetoothItem()
|
/packages/apps/Dialer/java/com/android/incallui/ |
D | ReturnToCallActionReceiver.java | 81 if ((audioState.getSupportedRouteMask() & CallAudioState.ROUTE_BLUETOOTH) in toggleSpeaker() 82 == CallAudioState.ROUTE_BLUETOOTH) { in toggleSpeaker()
|
D | AudioRouteSelectorActivity.java | 58 } else if (audioRoute == CallAudioState.ROUTE_BLUETOOTH) { in onAudioRouteSelected()
|
D | ProximitySensor.java | 223 || CallAudioState.ROUTE_BLUETOOTH == audioRoute in updateProximitySensorMode()
|
D | StatusBarNotifier.java | 974 if ((callAudioState.getSupportedRouteMask() & CallAudioState.ROUTE_BLUETOOTH) in addSpeakerAction() 975 == CallAudioState.ROUTE_BLUETOOTH) { in addSpeakerAction()
|
D | CallButtonPresenter.java | 200 if (0 != (CallAudioState.ROUTE_BLUETOOTH & audioState.getSupportedRouteMask())) { in toggleSpeakerphone()
|
D | InCallActivity.java | 279 if (audioRoute != CallAudioState.ROUTE_BLUETOOTH in setWindowFlags()
|
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/ |
D | SelfManagedCallListAdapter.java | 112 connection.setAudioRoute(CallAudioState.ROUTE_BLUETOOTH); 179 case CallAudioState.ROUTE_BLUETOOTH: in getView()
|
D | TestInCallUI.java | 314 case CallAudioState.ROUTE_BLUETOOTH: in updateCallAudioState()
|
/packages/modules/Bluetooth/android/pandora/server/src/ |
D | Hfp.kt | 142 inCallService.setAudioRoute(CallAudioState.ROUTE_BLUETOOTH) in setAudioPath()
|
/packages/services/Telecomm/testapps/carmodedialer/src/com/android/server/telecom/carmodedialer/ |
D | CarModeInCallUI.java | 192 case CallAudioState.ROUTE_BLUETOOTH: in updateCallAudioState()
|
/packages/apps/Dialer/java/com/android/incallui/call/ |
D | DialerCall.java | 1596 if (0 != (CallAudioState.ROUTE_BLUETOOTH & audioState.getSupportedRouteMask())) { in onUpgradedToVideo()
|