Lines Matching refs:route
78 private final int route; field in CallAudioState
100 public CallAudioState(boolean muted, @CallAudioRoute int route, in CallAudioState() argument
102 this(muted, route, supportedRouteMask, null, Collections.emptyList()); in CallAudioState()
107 public CallAudioState(boolean isMuted, @CallAudioRoute int route, in CallAudioState() argument
112 this.route = route; in CallAudioState()
121 route = state.getRoute(); in CallAudioState()
131 route = state.getRoute(); in CallAudioState()
168 audioRouteToString(route), in toString()
186 return route; in getRoute()
194 if (route == ROUTE_STREAMING) { in getSupportedRouteMask()
233 public static String audioRouteToString(int route) { in audioRouteToString() argument
234 if (route == 0 || (route & ~ROUTE_ALL) != 0x0) { in audioRouteToString()
239 if ((route & ROUTE_EARPIECE) == ROUTE_EARPIECE) { in audioRouteToString()
242 if ((route & ROUTE_BLUETOOTH) == ROUTE_BLUETOOTH) { in audioRouteToString()
245 if ((route & ROUTE_WIRED_HEADSET) == ROUTE_WIRED_HEADSET) { in audioRouteToString()
248 if ((route & ROUTE_SPEAKER) == ROUTE_SPEAKER) { in audioRouteToString()
251 if ((route & ROUTE_STREAMING) == ROUTE_STREAMING) { in audioRouteToString()
267 int route = source.readInt();
274 return new CallAudioState(isMuted, route,
298 destination.writeInt(route); in writeToParcel()