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.java1767 int supportedRouteMask = calculateSupportedRoutes() & getCurrentCallSupportedRoutes(); in getInitialAudioState() local
1770 if ((supportedRouteMask & ROUTE_BLUETOOTH) != 0 in getInitialAudioState()
1773 } else if ((supportedRouteMask & ROUTE_WIRED_HEADSET) != 0) { in getInitialAudioState()
1775 } else if ((supportedRouteMask & ROUTE_EARPIECE) != 0) { in getInitialAudioState()
1781 return new CallAudioState(false, route, supportedRouteMask, null, in getInitialAudioState()