Home
last modified time | relevance | path

Searched refs:newRoute (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Dialer/java/com/android/dialer/app/voicemail/
DVoicemailAudioManager.java85 int newRoute = callAudioState.getRoute(); // start out with existing route in onWiredHeadsetPluggedInChanged() local
87 newRoute = CallAudioState.ROUTE_WIRED_HEADSET; in onWiredHeadsetPluggedInChanged()
91 newRoute = CallAudioState.ROUTE_SPEAKER; in onWiredHeadsetPluggedInChanged()
93 newRoute = CallAudioState.ROUTE_EARPIECE; in onWiredHeadsetPluggedInChanged()
97 voicemailPlaybackPresenter.setSpeakerphoneOn(newRoute == CallAudioState.ROUTE_SPEAKER); in onWiredHeadsetPluggedInChanged()
102 new CallAudioState(false /* muted */, newRoute, calculateSupportedRoutes())); in onWiredHeadsetPluggedInChanged()
176 int newRoute = selectWiredOrEarpiece(route, callAudioState.getSupportedRouteMask()); in setAudioRoute() local
179 if ((callAudioState.getSupportedRouteMask() | newRoute) == 0) { in setAudioRoute()
182 "Asking to set to a route that is unsupported: " + newRoute); in setAudioRoute()
188 wasSpeakerOn = newRoute == CallAudioState.ROUTE_SPEAKER; in setAudioRoute()
[all …]
/packages/apps/Dialer/java/com/android/incallui/
DReturnToCallActionReceiver.java91 int newRoute; in toggleSpeaker() local
93 newRoute = CallAudioState.ROUTE_WIRED_OR_EARPIECE; in toggleSpeaker()
100 newRoute = CallAudioState.ROUTE_SPEAKER; in toggleSpeaker()
107 TelecomAdapter.getInstance().setAudioRoute(newRoute); in toggleSpeaker()
DCallButtonPresenter.java208 int newRoute; in toggleSpeakerphone() local
210 newRoute = CallAudioState.ROUTE_WIRED_OR_EARPIECE; in toggleSpeakerphone()
217 newRoute = CallAudioState.ROUTE_SPEAKER; in toggleSpeakerphone()
225 setAudioRoute(newRoute); in toggleSpeakerphone()