Home
last modified time | relevance | path

Searched refs:supportedRouteMask (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Dialer/java/com/android/dialer/app/voicemail/
DVoicemailAudioManager.java194 int supportedRouteMask = calculateSupportedRoutes(); in getInitialAudioState() local
195 int route = selectWiredOrEarpiece(CallAudioState.ROUTE_WIRED_OR_EARPIECE, supportedRouteMask); in getInitialAudioState()
196 return new CallAudioState(false /* muted */, route, supportedRouteMask); in getInitialAudioState()
209 private int selectWiredOrEarpiece(int route, int supportedRouteMask) { in selectWiredOrEarpiece() argument
214 route = CallAudioState.ROUTE_WIRED_OR_EARPIECE & supportedRouteMask; in selectWiredOrEarpiece()
/packages/services/Telecomm/src/com/android/server/telecom/
DCallAudioRouteStateMachine.java1662 int supportedRouteMask = calculateSupportedRoutes() & getCurrentCallSupportedRoutes(); in getInitialAudioState() local
1665 if ((supportedRouteMask & ROUTE_BLUETOOTH) != 0 in getInitialAudioState()
1668 } else if ((supportedRouteMask & ROUTE_WIRED_HEADSET) != 0) { in getInitialAudioState()
1670 } else if ((supportedRouteMask & ROUTE_EARPIECE) != 0) { in getInitialAudioState()
1676 return new CallAudioState(false, route, supportedRouteMask, null, in getInitialAudioState()