Searched refs:supportedRouteMask (Results 1 – 2 of 2) sorted by relevance
194 int supportedRouteMask = calculateSupportedRoutes(); in getInitialAudioState() local195 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() argument214 route = CallAudioState.ROUTE_WIRED_OR_EARPIECE & supportedRouteMask; in selectWiredOrEarpiece()
1662 int supportedRouteMask = calculateSupportedRoutes() & getCurrentCallSupportedRoutes(); in getInitialAudioState() local1665 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()