Home
last modified time | relevance | path

Searched refs:ROUTE_EARPIECE (Results 1 – 18 of 18) sorted by relevance

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallAudioRouteTransitionTests.java404 CallAudioState.ROUTE_EARPIECE, // initialRoute in testParametersCollection()
405 CallAudioState.ROUTE_EARPIECE, // availableRoutes in testParametersCollection()
417 CallAudioState.ROUTE_EARPIECE | CallAudioState.ROUTE_BLUETOOTH, // availableRoutes in testParametersCollection()
429 CallAudioState.ROUTE_EARPIECE, // availableRoutes in testParametersCollection()
445 CallAudioState.ROUTE_EARPIECE, // expectedRoute in testParametersCollection()
446 CallAudioState.ROUTE_EARPIECE, // expectedAvailableRoutes in testParametersCollection()
458 CallAudioState.ROUTE_EARPIECE | CallAudioState.ROUTE_BLUETOOTH, // expectedAvailable in testParametersCollection()
470 CallAudioState.ROUTE_EARPIECE | CallAudioState.ROUTE_BLUETOOTH, // expectedAvailable in testParametersCollection()
482 CallAudioState.ROUTE_EARPIECE, // expectedAvailableRoutes in testParametersCollection()
494 CallAudioState.ROUTE_EARPIECE | CallAudioState.ROUTE_BLUETOOTH, // expectedAvailable in testParametersCollection()
[all …]
DCallAudioRouteStateMachineTest.java177 CallAudioState.ROUTE_EARPIECE | CallAudioState.ROUTE_SPEAKER); in testSpeakerPersistence()
216 CallAudioState.ROUTE_EARPIECE | CallAudioState.ROUTE_BLUETOOTH); in testUserBluetoothSwitchOff()
226 CallAudioState.ROUTE_EARPIECE, in testUserBluetoothSwitchOff()
227 CallAudioState.ROUTE_EARPIECE | CallAudioState.ROUTE_BLUETOOTH); in testUserBluetoothSwitchOff()
261 CallAudioState.ROUTE_EARPIECE | CallAudioState.ROUTE_BLUETOOTH); in testUserBluetoothSwitchOffAndOnAgain()
273 CallAudioState.ROUTE_EARPIECE, in testUserBluetoothSwitchOffAndOnAgain()
274 CallAudioState.ROUTE_EARPIECE | CallAudioState.ROUTE_BLUETOOTH, in testUserBluetoothSwitchOffAndOnAgain()
294 CallAudioState.ROUTE_EARPIECE | CallAudioState.ROUTE_BLUETOOTH, in testUserBluetoothSwitchOffAndOnAgain()
336 CallAudioState.ROUTE_EARPIECE | CallAudioState.ROUTE_BLUETOOTH); in testBluetoothRinging()
368 CallAudioState initState = new CallAudioState(false, CallAudioState.ROUTE_EARPIECE, in testConnectBluetoothDuringRinging()
[all …]
DVideoCallTests.java142 verifyAudioRoute(CallAudioState.ROUTE_EARPIECE); in testNoAutoSpeakerphoneOnOutgoing()
157 verifyAudioRoute(CallAudioState.ROUTE_EARPIECE); in testNoAutoSpeakerphoneOnIncoming()
DBasicCallTests.java614 mInCallServiceFixtureX.mInCallAdapter.setAudioRoute(CallAudioState.ROUTE_EARPIECE, null); in testAudioManagerOperations()
1082 == CallAudioState.ROUTE_EARPIECE; in testDisconnectSelfManaged()
/packages/services/Telecomm/src/com/android/server/telecom/
DCallAudioRouteStateMachine.java99 public static final int ROUTE_EARPIECE = CallAudioState.ROUTE_EARPIECE; field in CallAudioRouteStateMachine
170 put(CallAudioState.ROUTE_EARPIECE, LogUtils.Events.AUDIO_ROUTE_EARPIECE);
275 removedRoutes |= ROUTE_EARPIECE; in processMessage()
283 addedRoutes |= ROUTE_EARPIECE; in processMessage()
363 CallAudioState newState = new CallAudioState(mIsMuted, ROUTE_EARPIECE, in enter()
505 return CallAudioState.ROUTE_EARPIECE; in getRouteCode()
583 if ((mAvailableRoutes & ROUTE_EARPIECE) != 0) { in processMessage()
661 if ((mAvailableRoutes & ROUTE_EARPIECE) != 0) { in processMessage()
822 if ((mAvailableRoutes & ROUTE_EARPIECE) != 0) { in processMessage()
925 if ((mAvailableRoutes & ROUTE_EARPIECE) != 0) { in processMessage()
[all …]
DCallAudioManager.java416 case CallAudioState.ROUTE_EARPIECE: in setAudioRoute()
/packages/apps/Dialer/java/com/android/dialer/app/voicemail/
DVoicemailAudioManager.java93 newRoute = CallAudioState.ROUTE_EARPIECE; in onWiredHeadsetPluggedInChanged()
204 routeMask |= CallAudioState.ROUTE_EARPIECE; in calculateSupportedRoutes()
220 route = CallAudioState.ROUTE_EARPIECE; in selectWiredOrEarpiece()
237 } else if (this.callAudioState.getRoute() == CallAudioState.ROUTE_EARPIECE in setSystemAudioState()
/packages/apps/Dialer/java/com/android/incallui/audiomode/
DAudioModeProvider.java30 CallAudioState.ROUTE_EARPIECE
38 new CallAudioState(false, CallAudioState.ROUTE_EARPIECE, SUPPORTED_AUDIO_ROUTE_ALL);
106 return CallAudioState.ROUTE_EARPIECE; in getApproximatedAudioRoute()
/packages/apps/Car/Dialer/src/com/android/car/dialer/telecom/
DUiCallManager.java192 audioRouteList.add(CallAudioState.ROUTE_EARPIECE); in getSupportedAudioRoute()
197 if ((supportedAudioRouteMask & CallAudioState.ROUTE_EARPIECE) != 0) { in getSupportedAudioRoute()
198 audioRouteList.add(CallAudioState.ROUTE_EARPIECE); in getSupportedAudioRoute()
237 return CallAudioState.ROUTE_EARPIECE; in getAudioRoute()
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/livedata/
DAudioRouteLiveDataTest.java73 when(mMockUiCallManager.getAudioRoute()).thenReturn(CallAudioState.ROUTE_EARPIECE); in setUp()
100 assertThat(mAudioRouteLiveData.getValue()).isEqualTo(CallAudioState.ROUTE_EARPIECE); in testOnBluetoothHfpStateChange()
101 assertThat(valueCaptor.getValue()).isEqualTo(CallAudioState.ROUTE_EARPIECE); in testOnBluetoothHfpStateChange()
/packages/apps/Dialer/java/com/android/incallui/rtt/impl/
DAudioSelectMenu.java65 initItem(earpieceButton, CallAudioState.ROUTE_EARPIECE, audioState); in AudioSelectMenu()
84 earpieceButton.setChecked(audioState.getRoute() == CallAudioState.ROUTE_EARPIECE); in setAudioState()
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/telecom/
DUiCallManagerTest.java242 assertThat(supportedAudioRoute.get(1)).isEqualTo(CallAudioState.ROUTE_EARPIECE); in testGetSupportedAudioRoute_isBluetoothCall()
266 .isEqualTo(CallAudioState.ROUTE_EARPIECE); in testGetSupportedAudioRoute_supportedAudioRouteMaskIsRouteAll()
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
DSelfManagedCallListAdapter.java102 connection.setAudioRoute(CallAudioState.ROUTE_EARPIECE);
183 case CallAudioState.ROUTE_EARPIECE: in getView()
DTestInCallUI.java257 case CallAudioState.ROUTE_EARPIECE: in updateCallAudioState()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/activecall/
DOnGoingCallControllerBarFragment.java66 .put(CallAudioState.ROUTE_EARPIECE, new AudioRouteInfo(
103 if (mAvailableRoutes.contains(CallAudioState.ROUTE_EARPIECE) in onCreate()
/packages/services/Telecomm/testapps/carmodedialer/src/com/android/server/telecom/carmodedialer/
DCarModeInCallUI.java183 case CallAudioState.ROUTE_EARPIECE: in updateCallAudioState()
/packages/apps/Dialer/java/com/android/incallui/audioroute/
DAudioRouteSelectorDialogFragment.java137 CallAudioState.ROUTE_EARPIECE, in onCreateView()
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/ui/activecall/
DOnGoingCallControllerBarFragmentTest.java170 mAudioRouteList.add(CallAudioState.ROUTE_EARPIECE); in testAudioRouteButtonView_withMultipleAudioRoutes()