Searched refs:newRoute (Results 1 – 3 of 3) sorted by relevance
85 int newRoute = callAudioState.getRoute(); // start out with existing route in onWiredHeadsetPluggedInChanged() local87 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() local179 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 …]
91 int newRoute; in toggleSpeaker() local93 newRoute = CallAudioState.ROUTE_WIRED_OR_EARPIECE; in toggleSpeaker()100 newRoute = CallAudioState.ROUTE_SPEAKER; in toggleSpeaker()107 TelecomAdapter.getInstance().setAudioRoute(newRoute); in toggleSpeaker()
208 int newRoute; in toggleSpeakerphone() local210 newRoute = CallAudioState.ROUTE_WIRED_OR_EARPIECE; in toggleSpeakerphone()219 newRoute = CallAudioState.ROUTE_SPEAKER; in toggleSpeakerphone()229 setAudioRoute(newRoute); in toggleSpeakerphone()