/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 | 261 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/ |
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() 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 …]
|
D | CallAudioManager.java | 412 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/Car/Dialer/tests/unittests/src/com/android/car/dialer/telecom/ |
D | UiCallManagerTest.java | 129 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/ |
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 | 143 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/ |
D | AudioRouteLiveDataTest.java | 86 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/ |
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()
|
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); 177 case CallAudioState.ROUTE_BLUETOOTH: in getView()
|
D | TestInCallUI.java | 309 case CallAudioState.ROUTE_BLUETOOTH: in updateCallAudioState()
|
/packages/apps/Car/Dialer/tests/unittests/src/com/android/car/dialer/ui/activecall/ |
D | OnGoingCallControllerBarFragmentTest.java | 218 mAudioRouteList.add(CallAudioState.ROUTE_BLUETOOTH); in addFragment() 222 CallAudioState.ROUTE_BLUETOOTH); in addFragment()
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/activecall/ |
D | OnGoingCallControllerBarFragment.java | 77 .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/ |
D | TestDialerApplication.java | 71 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()
|