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.java400 CallAudioState.ROUTE_EARPIECE, // initialRoute in testParametersCollection()
401 CallAudioState.ROUTE_EARPIECE, // availableRoutes in testParametersCollection()
413 CallAudioState.ROUTE_EARPIECE | CallAudioState.ROUTE_BLUETOOTH, // availableRoutes in testParametersCollection()
425 CallAudioState.ROUTE_EARPIECE, // availableRoutes in testParametersCollection()
441 CallAudioState.ROUTE_EARPIECE, // expectedRoute in testParametersCollection()
442 CallAudioState.ROUTE_EARPIECE, // expectedAvailableRoutes in testParametersCollection()
454 CallAudioState.ROUTE_EARPIECE | CallAudioState.ROUTE_BLUETOOTH, // expectedAvailable in testParametersCollection()
466 CallAudioState.ROUTE_EARPIECE | CallAudioState.ROUTE_BLUETOOTH, // expectedAvailable in testParametersCollection()
478 CallAudioState.ROUTE_EARPIECE, // expectedAvailableRoutes in testParametersCollection()
490 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.java619 mInCallServiceFixtureX.mInCallAdapter.setAudioRoute(CallAudioState.ROUTE_EARPIECE, null); in testAudioManagerOperations()
1088 == 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()
504 return CallAudioState.ROUTE_EARPIECE; in getRouteCode()
582 if ((mAvailableRoutes & ROUTE_EARPIECE) != 0) { in processMessage()
660 if ((mAvailableRoutes & ROUTE_EARPIECE) != 0) { in processMessage()
820 if ((mAvailableRoutes & ROUTE_EARPIECE) != 0) { in processMessage()
923 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.java190 audioRouteList.add(CallAudioState.ROUTE_EARPIECE); in getSupportedAudioRoute()
195 if ((supportedAudioRouteMask & CallAudioState.ROUTE_EARPIECE) != 0) { in getSupportedAudioRoute()
196 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(
108 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()