Home
last modified time | relevance | path

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

/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.java261 CallAudioState initState = new CallAudioState(false, CallAudioState.ROUTE_BLUETOOTH, in testUserBluetoothSwitchOff()
262 CallAudioState.ROUTE_EARPIECE | CallAudioState.ROUTE_BLUETOOTH); in testUserBluetoothSwitchOff()
273 CallAudioState.ROUTE_EARPIECE | CallAudioState.ROUTE_BLUETOOTH); in testUserBluetoothSwitchOff()
306 CallAudioState initState = new CallAudioState(false, CallAudioState.ROUTE_BLUETOOTH, in testUserBluetoothSwitchOffAndOnAgain()
307 CallAudioState.ROUTE_EARPIECE | CallAudioState.ROUTE_BLUETOOTH); in testUserBluetoothSwitchOffAndOnAgain()
320 CallAudioState.ROUTE_EARPIECE | CallAudioState.ROUTE_BLUETOOTH, in testUserBluetoothSwitchOffAndOnAgain()
343 CallAudioState.ROUTE_BLUETOOTH, in testUserBluetoothSwitchOffAndOnAgain()
344 CallAudioState.ROUTE_EARPIECE | CallAudioState.ROUTE_BLUETOOTH, in testUserBluetoothSwitchOffAndOnAgain()
385 CallAudioState initState = new CallAudioState(false, CallAudioState.ROUTE_BLUETOOTH, in testBluetoothRinging()
386 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()
475 if ((mAvailableRoutes & ROUTE_BLUETOOTH) != 0) { in processMessage()
599 if ((mAvailableRoutes & ROUTE_BLUETOOTH) != 0) { in processMessage()
680 if ((mAvailableRoutes & ROUTE_BLUETOOTH) != 0) { in processMessage()
779 CallAudioState newState = new CallAudioState(mIsMuted, ROUTE_BLUETOOTH, in enter()
915 CallAudioState newState = new CallAudioState(mIsMuted, ROUTE_BLUETOOTH, in enter()
[all …]
DCallAudioManager.java412 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/Car/Dialer/tests/unittests/src/com/android/car/dialer/telecom/
DUiCallManagerTest.java129 CallAudioState.ROUTE_BLUETOOTH, CallAudioState.ROUTE_ALL); in testGetMuted_isMuted()
163 true, CallAudioState.ROUTE_BLUETOOTH, CallAudioState.ROUTE_ALL); in testGetSupportedAudioRouteMask()
189 true, CallAudioState.ROUTE_BLUETOOTH, CallAudioState.ROUTE_ALL); in testGetSupportedAudioRoute_supportedAudioRouteMaskIsRouteAll()
196 assertThat(audioRoutes.contains(CallAudioState.ROUTE_BLUETOOTH)).isTrue(); in testGetSupportedAudioRoute_supportedAudioRouteMaskIsRouteAll()
217 assertThat(supportedAudioRoute.get(0)).isEqualTo(CallAudioState.ROUTE_BLUETOOTH); in bluetoothCall_getSupportedAudioRoute()
250 CallAudioState.ROUTE_BLUETOOTH); in scoStateToAudioRoute()
/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.java143 audioRouteList.add(CallAudioState.ROUTE_BLUETOOTH); in getSupportedAudioRoute()
155 if ((supportedAudioRouteMask & CallAudioState.ROUTE_BLUETOOTH) != 0) { in getSupportedAudioRoute()
156 audioRouteList.add(CallAudioState.ROUTE_BLUETOOTH); in getSupportedAudioRoute()
173 return CallAudioState.ROUTE_BLUETOOTH; in getAudioRoute()
197 if (audioRoute == CallAudioState.ROUTE_BLUETOOTH) { in setAudioRoute()
/packages/apps/Car/Dialer/tests/unittests/src/com/android/car/dialer/livedata/
DAudioRouteLiveDataTest.java86 when(mMockUiCallManager.getAudioRoute(anyInt())).thenReturn(CallAudioState.ROUTE_BLUETOOTH); in callDetailChange_updateAudioRoute()
89 verify(mMockObserver).onChanged(CallAudioState.ROUTE_BLUETOOTH); in callDetailChange_updateAudioRoute()
90 assertThat(mAudioRouteLiveData.getValue()).isEqualTo(CallAudioState.ROUTE_BLUETOOTH); in callDetailChange_updateAudioRoute()
/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()
DInCallActivity.java279 if (audioRoute != CallAudioState.ROUTE_BLUETOOTH in setWindowFlags()
/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.java309 case CallAudioState.ROUTE_BLUETOOTH: in updateCallAudioState()
/packages/apps/Car/Dialer/tests/unittests/src/com/android/car/dialer/ui/activecall/
DOnGoingCallControllerBarFragmentTest.java218 mAudioRouteList.add(CallAudioState.ROUTE_BLUETOOTH); in addFragment()
222 CallAudioState.ROUTE_BLUETOOTH); in addFragment()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/activecall/
DOnGoingCallControllerBarFragment.java77 .put(CallAudioState.ROUTE_BLUETOOTH, new AudioRouteInfo(
344 if (audioRoute == CallAudioState.ROUTE_BLUETOOTH) { in updateMuteButtonEnabledState()
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/
DTestDialerApplication.java71 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()