/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | CallAudioRouteTransitionTests.java | 204 doReturn(params.initialRoute == CallAudioState.ROUTE_BLUETOOTH) in setupMocksForParams() 206 doReturn((params.availableRoutes & CallAudioState.ROUTE_BLUETOOTH) != 0 in setupMocksForParams() 207 || (params.expectedAvailableRoutes & CallAudioState.ROUTE_BLUETOOTH) != 0) in setupMocksForParams() 283 if (mParams.initialRoute == CallAudioState.ROUTE_BLUETOOTH) { in testActiveTransition() 361 doReturn((mParams.availableRoutes & CallAudioState.ROUTE_BLUETOOTH) != 0 || in testQuiescentTransition() 362 (mParams.expectedAvailableRoutes & CallAudioState.ROUTE_BLUETOOTH) != 0) in testQuiescentTransition() 416 CallAudioState.ROUTE_BLUETOOTH, // initialRoute in testParametersCollection() 417 CallAudioState.ROUTE_EARPIECE | CallAudioState.ROUTE_BLUETOOTH, // availableRoutes in testParametersCollection() 422 CallAudioState.ROUTE_WIRED_HEADSET | CallAudioState.ROUTE_BLUETOOTH, // expectedAvai in testParametersCollection() 453 CallAudioState.ROUTE_WIRED_HEADSET | CallAudioState.ROUTE_BLUETOOTH, // availableRou in testParametersCollection() [all …]
|
D | CallAudioRouteStateMachineTest.java | 215 CallAudioState initState = new CallAudioState(false, CallAudioState.ROUTE_BLUETOOTH, in testUserBluetoothSwitchOff() 216 CallAudioState.ROUTE_EARPIECE | CallAudioState.ROUTE_BLUETOOTH); in testUserBluetoothSwitchOff() 227 CallAudioState.ROUTE_EARPIECE | CallAudioState.ROUTE_BLUETOOTH); in testUserBluetoothSwitchOff() 260 CallAudioState initState = new CallAudioState(false, CallAudioState.ROUTE_BLUETOOTH, in testUserBluetoothSwitchOffAndOnAgain() 261 CallAudioState.ROUTE_EARPIECE | CallAudioState.ROUTE_BLUETOOTH); in testUserBluetoothSwitchOffAndOnAgain() 274 CallAudioState.ROUTE_EARPIECE | CallAudioState.ROUTE_BLUETOOTH, in testUserBluetoothSwitchOffAndOnAgain() 293 CallAudioState.ROUTE_BLUETOOTH, in testUserBluetoothSwitchOffAndOnAgain() 294 CallAudioState.ROUTE_EARPIECE | CallAudioState.ROUTE_BLUETOOTH, in testUserBluetoothSwitchOffAndOnAgain() 335 CallAudioState initState = new CallAudioState(false, CallAudioState.ROUTE_BLUETOOTH, in testBluetoothRinging() 336 CallAudioState.ROUTE_EARPIECE | CallAudioState.ROUTE_BLUETOOTH); in testBluetoothRinging() [all …]
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | CallAudioRouteStateMachine.java | 102 public static final int ROUTE_BLUETOOTH = CallAudioState.ROUTE_BLUETOOTH; field in CallAudioRouteStateMachine 169 put(CallAudioState.ROUTE_BLUETOOTH, LogUtils.Events.AUDIO_ROUTE_BT); 300 addedRoutes |= ROUTE_BLUETOOTH; in processMessage() 302 removedRoutes |= ROUTE_BLUETOOTH; in processMessage() 392 if ((mAvailableRoutes & ROUTE_BLUETOOTH) != 0) { in processMessage() 473 if ((mAvailableRoutes & ROUTE_BLUETOOTH) != 0) { in processMessage() 594 if ((mAvailableRoutes & ROUTE_BLUETOOTH) != 0) { in processMessage() 673 if ((mAvailableRoutes & ROUTE_BLUETOOTH) != 0) { in processMessage() 769 CallAudioState newState = new CallAudioState(mIsMuted, ROUTE_BLUETOOTH, in enter() 902 CallAudioState newState = new CallAudioState(mIsMuted, ROUTE_BLUETOOTH, in enter() [all …]
|
D | CallAudioManager.java | 404 case CallAudioState.ROUTE_BLUETOOTH: in setAudioRoute()
|
/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/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/Car/Dialer/src/com/android/car/dialer/telecom/ |
D | UiCallManager.java | 190 audioRouteList.add(CallAudioState.ROUTE_BLUETOOTH); in getSupportedAudioRoute() 199 } else if ((supportedAudioRouteMask & CallAudioState.ROUTE_BLUETOOTH) != 0) { in getSupportedAudioRoute() 200 audioRouteList.add(CallAudioState.ROUTE_BLUETOOTH); in getSupportedAudioRoute() 235 return CallAudioState.ROUTE_BLUETOOTH; in getAudioRoute() 256 if (audioRoute == CallAudioState.ROUTE_BLUETOOTH) { in setAudioRoute()
|
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/telecom/ |
D | UiCallManagerTest.java | 176 CallAudioState.ROUTE_BLUETOOTH, CallAudioState.ROUTE_ALL); in testGetMuted_isMuted() 214 true, CallAudioState.ROUTE_BLUETOOTH, CallAudioState.ROUTE_ALL); in testGetSupportedAudioRouteMask() 241 assertThat(supportedAudioRoute.get(0)).isEqualTo(CallAudioState.ROUTE_BLUETOOTH); in testGetSupportedAudioRoute_isBluetoothCall() 260 true, CallAudioState.ROUTE_BLUETOOTH, CallAudioState.ROUTE_ALL); in testGetSupportedAudioRoute_supportedAudioRouteMaskIsRouteAll() 275 true, CallAudioState.ROUTE_BLUETOOTH, CallAudioState.ROUTE_SPEAKER); in testGetSupportedAudioRoute_supportedAudioRouteMaskIsRouteSpeaker()
|
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/livedata/ |
D | AudioRouteLiveDataTest.java | 103 when(mMockUiCallManager.getAudioRoute()).thenReturn(CallAudioState.ROUTE_BLUETOOTH); in testOnBluetoothHfpStateChange() 106 assertThat(mAudioRouteLiveData.getValue()).isEqualTo(CallAudioState.ROUTE_BLUETOOTH); in testOnBluetoothHfpStateChange() 107 assertThat(valueCaptor.getValue()).isEqualTo(CallAudioState.ROUTE_BLUETOOTH); in testOnBluetoothHfpStateChange()
|
/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/audiomode/ |
D | AudioModeProvider.java | 31 | CallAudioState.ROUTE_BLUETOOTH 99 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/ |
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 | 947 if ((callAudioState.getSupportedRouteMask() & CallAudioState.ROUTE_BLUETOOTH) in addSpeakerAction() 948 == CallAudioState.ROUTE_BLUETOOTH) { in addSpeakerAction()
|
D | CallButtonPresenter.java | 200 if (0 != (CallAudioState.ROUTE_BLUETOOTH & audioState.getSupportedRouteMask())) { in toggleSpeakerphone()
|
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/ui/activecall/ |
D | InCallViewModelTest.java | 108 when(mMockUiCallManager.getAudioRoute()).thenReturn(CallAudioState.ROUTE_BLUETOOTH); in setup() 168 .isEqualTo(CallAudioState.ROUTE_BLUETOOTH); in testGetAudioRoute()
|
D | OnGoingCallControllerBarFragmentTest.java | 171 mAudioRouteList.add(CallAudioState.ROUTE_BLUETOOTH); in testAudioRouteButtonView_withMultipleAudioRoutes() 246 audioRouteLiveData.setValue(CallAudioState.ROUTE_BLUETOOTH); in addFragment()
|
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/ |
D | SelfManagedCallListAdapter.java | 112 connection.setAudioRoute(CallAudioState.ROUTE_BLUETOOTH); 177 case CallAudioState.ROUTE_BLUETOOTH: in getView()
|
D | TestInCallUI.java | 266 case CallAudioState.ROUTE_BLUETOOTH: in updateCallAudioState()
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/activecall/ |
D | OnGoingCallControllerBarFragment.java | 70 .put(CallAudioState.ROUTE_BLUETOOTH, new AudioRouteInfo( 306 if (audioRoute == CallAudioState.ROUTE_BLUETOOTH) { in updateMuteButtonEnabledState()
|
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/ |
D | TestDialerApplication.java | 59 when(callAudioState.getRoute()).thenReturn(CallAudioState.ROUTE_BLUETOOTH); in setupInCallServiceImpl()
|
/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()
|