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()
1767 int supportedRouteMask = calculateSupportedRoutes() & getCurrentCallSupportedRoutes(); in getInitialAudioState() local1770 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()