Home
last modified time | relevance | path

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

12

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallAudioRouteTransitionTests.java204 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 …]
DCallAudioRouteStateMachineTest.java215 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/
DCallAudioRouteStateMachine.java102 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 …]
DCallAudioManager.java404 case CallAudioState.ROUTE_BLUETOOTH: in setAudioRoute()
/packages/apps/Dialer/java/com/android/incallui/speakerbuttonlogic/
DSpeakerButtonInfo.java46 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/
DSpeakerButtonController.java74 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/
DUiCallManager.java190 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/
DUiCallManagerTest.java176 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/
DAudioRouteLiveDataTest.java103 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/
DAudioRouteSelectorDialogFragment.java106 (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/
DAudioModeProvider.java31 | CallAudioState.ROUTE_BLUETOOTH
99 return CallAudioState.ROUTE_BLUETOOTH; in getApproximatedAudioRoute()
/packages/apps/Dialer/java/com/android/incallui/rtt/impl/
DAudioSelectMenu.java62 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/
DReturnToCallActionReceiver.java81 if ((audioState.getSupportedRouteMask() & CallAudioState.ROUTE_BLUETOOTH) in toggleSpeaker()
82 == CallAudioState.ROUTE_BLUETOOTH) { in toggleSpeaker()
DAudioRouteSelectorActivity.java58 } else if (audioRoute == CallAudioState.ROUTE_BLUETOOTH) { in onAudioRouteSelected()
DProximitySensor.java223 || CallAudioState.ROUTE_BLUETOOTH == audioRoute in updateProximitySensorMode()
DStatusBarNotifier.java947 if ((callAudioState.getSupportedRouteMask() & CallAudioState.ROUTE_BLUETOOTH) in addSpeakerAction()
948 == CallAudioState.ROUTE_BLUETOOTH) { in addSpeakerAction()
DCallButtonPresenter.java200 if (0 != (CallAudioState.ROUTE_BLUETOOTH & audioState.getSupportedRouteMask())) { in toggleSpeakerphone()
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/ui/activecall/
DInCallViewModelTest.java108 when(mMockUiCallManager.getAudioRoute()).thenReturn(CallAudioState.ROUTE_BLUETOOTH); in setup()
168 .isEqualTo(CallAudioState.ROUTE_BLUETOOTH); in testGetAudioRoute()
DOnGoingCallControllerBarFragmentTest.java171 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/
DSelfManagedCallListAdapter.java112 connection.setAudioRoute(CallAudioState.ROUTE_BLUETOOTH);
177 case CallAudioState.ROUTE_BLUETOOTH: in getView()
DTestInCallUI.java266 case CallAudioState.ROUTE_BLUETOOTH: in updateCallAudioState()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/activecall/
DOnGoingCallControllerBarFragment.java70 .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/
DTestDialerApplication.java59 when(callAudioState.getRoute()).thenReturn(CallAudioState.ROUTE_BLUETOOTH); in setupInCallServiceImpl()
/packages/services/Telecomm/testapps/carmodedialer/src/com/android/server/telecom/carmodedialer/
DCarModeInCallUI.java192 case CallAudioState.ROUTE_BLUETOOTH: in updateCallAudioState()
/packages/apps/Dialer/java/com/android/incallui/call/
DDialerCall.java1596 if (0 != (CallAudioState.ROUTE_BLUETOOTH & audioState.getSupportedRouteMask())) { in onUpgradedToVideo()

12