Home
last modified time | relevance | path

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

12

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallAudioRouteTransitionTests.java230 speakerphoneOn = params.initialRoute == CallAudioState.ROUTE_SPEAKER; in setupMocksForParams()
275 mParams.initialRoute, (mParams.availableRoutes | CallAudioState.ROUTE_SPEAKER), in testActiveTransition()
341 mParams.expectedAvailableRoutes | CallAudioState.ROUTE_SPEAKER, in testActiveTransition()
367 mParams.initialRoute == CallAudioState.ROUTE_SPEAKER); in testQuiescentTransition()
372 mParams.initialRoute, (mParams.availableRoutes | CallAudioState.ROUTE_SPEAKER), in testQuiescentTransition()
393 mParams.expectedAvailableRoutes | CallAudioState.ROUTE_SPEAKER, in testQuiescentTransition()
428 CallAudioState.ROUTE_SPEAKER, // initialRoute in testParametersCollection()
476 CallAudioState.ROUTE_SPEAKER, // initialRoute in testParametersCollection()
481 CallAudioState.ROUTE_SPEAKER, // expectedRoute in testParametersCollection()
488 CallAudioState.ROUTE_SPEAKER, // initialRoute in testParametersCollection()
[all …]
DCallAudioRouteStateMachineTest.java176 CallAudioState initState = new CallAudioState(false, CallAudioState.ROUTE_SPEAKER, in testSpeakerPersistence()
177 CallAudioState.ROUTE_EARPIECE | CallAudioState.ROUTE_SPEAKER); in testSpeakerPersistence()
185 CallAudioState.ROUTE_WIRED_HEADSET | CallAudioState.ROUTE_SPEAKER); in testSpeakerPersistence()
502 CallAudioState.ROUTE_EARPIECE | CallAudioState.ROUTE_SPEAKER); in testInitializationWithEarpieceNoHeadsetNoBluetooth()
510 CallAudioState.ROUTE_WIRED_HEADSET | CallAudioState.ROUTE_SPEAKER); in testInitializationWithEarpieceAndHeadsetNoBluetooth()
518 CallAudioState.ROUTE_WIRED_HEADSET | CallAudioState.ROUTE_SPEAKER in testInitializationWithEarpieceAndHeadsetAndBluetooth()
527 CallAudioState.ROUTE_EARPIECE | CallAudioState.ROUTE_SPEAKER in testInitializationWithEarpieceAndBluetoothNoHeadset()
535 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_SPEAKER, in testInitializationWithNoEarpieceNoHeadsetNoBluetooth()
536 CallAudioState.ROUTE_SPEAKER); in testInitializationWithNoEarpieceNoHeadsetNoBluetooth()
544 CallAudioState.ROUTE_WIRED_HEADSET | CallAudioState.ROUTE_SPEAKER); in testInitializationWithHeadsetNoBluetoothNoEarpiece()
[all …]
DVideoCallTests.java78 verifyAudioRoute(CallAudioState.ROUTE_SPEAKER); in testAutoSpeakerphoneIncomingBidirectional()
95 verifyAudioRoute(CallAudioState.ROUTE_SPEAKER); in testAutoSpeakerphoneIncomingReceiveOnly()
110 verifyAudioRoute(CallAudioState.ROUTE_SPEAKER); in testAutoSpeakerphoneOutgoingBidirectional()
126 verifyAudioRoute(CallAudioState.ROUTE_SPEAKER); in testAutoSpeakerphoneOutgoingTransmitOnly()
DAnalyticsTests.java378 mInCallServiceFixtureX.getInCallAdapter().setAudioRoute(CallAudioState.ROUTE_SPEAKER, null);
387 audioRoutes.add(CallAudioState.ROUTE_SPEAKER);
DBasicCallTests.java609 mInCallServiceFixtureX.mInCallAdapter.setAudioRoute(CallAudioState.ROUTE_SPEAKER, null); in testAudioManagerOperations()
1069 connection.setAudioRoute(CallAudioState.ROUTE_SPEAKER); in testDisconnectSelfManaged()
/packages/apps/Dialer/java/com/android/dialer/app/voicemail/
DVoicemailAudioManager.java91 newRoute = CallAudioState.ROUTE_SPEAKER; in onWiredHeadsetPluggedInChanged()
97 voicemailPlaybackPresenter.setSpeakerphoneOn(newRoute == CallAudioState.ROUTE_SPEAKER); in onWiredHeadsetPluggedInChanged()
106 setAudioRoute(on ? CallAudioState.ROUTE_SPEAKER : CallAudioState.ROUTE_WIRED_OR_EARPIECE); in setSpeakerphoneOn()
188 wasSpeakerOn = newRoute == CallAudioState.ROUTE_SPEAKER; in setAudioRoute()
200 int routeMask = CallAudioState.ROUTE_SPEAKER; in calculateSupportedRoutes()
235 if (this.callAudioState.getRoute() == CallAudioState.ROUTE_SPEAKER) { in setSystemAudioState()
/packages/services/Telecomm/src/com/android/server/telecom/
DCallAudioRouteStateMachine.java108 public static final int ROUTE_SPEAKER = CallAudioState.ROUTE_SPEAKER; field in CallAudioRouteStateMachine
171 put(CallAudioState.ROUTE_SPEAKER, LogUtils.Events.AUDIO_ROUTE_SPEAKER);
1113 CallAudioState newState = new CallAudioState(mIsMuted, ROUTE_SPEAKER, in enter()
1275 return CallAudioState.ROUTE_SPEAKER; in getRouteCode()
1471 mStateNameToRouteCode.put(mQuiescentSpeakerRoute.getName(), ROUTE_SPEAKER); in createStates() local
1476 mStateNameToRouteCode.put(mActiveSpeakerRoute.getName(), ROUTE_SPEAKER); in createStates() local
1481 mRouteCodeToQuiescentState.put(ROUTE_SPEAKER, mQuiescentSpeakerRoute); in createStates()
1516 mStatusBarNotifier.notifySpeakerphone(initState.getRoute() == CallAudioState.ROUTE_SPEAKER); in initialize()
1724 int routeMask = CallAudioState.ROUTE_SPEAKER; in calculateSupportedRoutes()
1778 route = ROUTE_SPEAKER; in getInitialAudioState()
[all …]
/packages/apps/Dialer/java/com/android/incallui/speakerbuttonlogic/
DSpeakerButtonInfo.java56 } else if ((audioState.getRoute() & CallAudioState.ROUTE_SPEAKER) in SpeakerButtonInfo()
57 == CallAudioState.ROUTE_SPEAKER) { in SpeakerButtonInfo()
73 isChecked = audioState.getRoute() == CallAudioState.ROUTE_SPEAKER; in SpeakerButtonInfo()
/packages/apps/Dialer/java/com/android/incallui/video/impl/
DSpeakerButtonController.java83 } else if ((audioState.getRoute() & CallAudioState.ROUTE_SPEAKER) in setAudioState()
84 == CallAudioState.ROUTE_SPEAKER) { in setAudioState()
97 isChecked = audioState.getRoute() == CallAudioState.ROUTE_SPEAKER; in setAudioState()
/packages/apps/Dialer/java/com/android/incallui/rtt/impl/
DAudioSelectMenu.java63 initItem(speakerButton, CallAudioState.ROUTE_SPEAKER, audioState); in AudioSelectMenu()
82 speakerButton.setChecked(audioState.getRoute() == CallAudioState.ROUTE_SPEAKER); in setAudioState()
/packages/apps/Dialer/java/com/android/incallui/
DReturnToCallActionReceiver.java92 if (audioState.getRoute() == CallAudioState.ROUTE_SPEAKER) { in toggleSpeaker()
100 newRoute = CallAudioState.ROUTE_SPEAKER; in toggleSpeaker()
DCallButtonPresenter.java209 if (audioState.getRoute() == CallAudioState.ROUTE_SPEAKER) { in toggleSpeakerphone()
217 newRoute = CallAudioState.ROUTE_SPEAKER; in toggleSpeakerphone()
DAudioRouteSelectorActivity.java56 } else if (audioRoute == CallAudioState.ROUTE_SPEAKER) { in onAudioRouteSelected()
DProximitySensor.java222 || CallAudioState.ROUTE_SPEAKER == audioRoute in updateProximitySensorMode()
DNotificationBroadcastReceiver.java104 TelecomAdapter.getInstance().setAudioRoute(CallAudioState.ROUTE_SPEAKER); in onReceive()
/packages/services/Telecomm/testapps/carmodedialer/src/com/android/server/telecom/carmodedialer/
DCarModeInCallUI.java166 CarModeInCallServiceImpl.sInstance.setAudioRoute(CallAudioState.ROUTE_SPEAKER); in onCreate()
186 case CallAudioState.ROUTE_SPEAKER: in updateCallAudioState()
/packages/apps/Car/Dialer/src/com/android/car/dialer/telecom/
DUiCallManager.java203 } else if ((supportedAudioRouteMask & CallAudioState.ROUTE_SPEAKER) != 0) { in getSupportedAudioRoute()
204 audioRouteList.add(CallAudioState.ROUTE_SPEAKER); in getSupportedAudioRoute()
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/telecom/
DUiCallManagerTest.java275 true, CallAudioState.ROUTE_BLUETOOTH, CallAudioState.ROUTE_SPEAKER); in testGetSupportedAudioRoute_supportedAudioRouteMaskIsRouteSpeaker()
281 .isEqualTo(CallAudioState.ROUTE_SPEAKER); in testGetSupportedAudioRoute_supportedAudioRouteMaskIsRouteSpeaker()
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
DSelfManagedCallListAdapter.java92 connection.setAudioRoute(CallAudioState.ROUTE_SPEAKER);
180 case CallAudioState.ROUTE_SPEAKER: in getView()
DTestInCallUI.java199 TestInCallServiceImpl.sInstance.setAudioRoute(CallAudioState.ROUTE_SPEAKER); in onCreate()
260 case CallAudioState.ROUTE_SPEAKER: in updateCallAudioState()
/packages/apps/Dialer/java/com/android/incallui/audiomode/
DAudioModeProvider.java33 | CallAudioState.ROUTE_SPEAKER;
/packages/apps/Dialer/java/com/android/incallui/audioroute/
DAudioRouteSelectorDialogFragment.java127 CallAudioState.ROUTE_SPEAKER, in onCreateView()
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/ui/activecall/
DOnGoingCallControllerBarFragmentTest.java233 mAudioRouteList.add(CallAudioState.ROUTE_SPEAKER); in addFragment()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/activecall/
DOnGoingCallControllerBarFragment.java74 .put(CallAudioState.ROUTE_SPEAKER, new AudioRouteInfo(
/packages/apps/Dialer/java/com/android/incallui/call/
DDialerCall.java1603 if (audioState.getRoute() == CallAudioState.ROUTE_SPEAKER) { in onUpgradedToVideo()
1607 TelecomAdapter.getInstance().setAudioRoute(CallAudioState.ROUTE_SPEAKER); in onUpgradedToVideo()

12