Lines Matching refs:route
63 private final int route; field in AudioState
67 public AudioState(boolean muted, int route, int supportedRouteMask) { in AudioState() argument
69 this.route = route; in AudioState()
75 route = state.getRoute(); in AudioState()
81 route = state.getRoute(); in AudioState()
104 audioRouteToString(route), in toString()
108 public static String audioRouteToString(int route) { in audioRouteToString() argument
109 if (route == 0 || (route & ~ROUTE_ALL) != 0x0) { in audioRouteToString()
114 if ((route & ROUTE_EARPIECE) == ROUTE_EARPIECE) { in audioRouteToString()
117 if ((route & ROUTE_BLUETOOTH) == ROUTE_BLUETOOTH) { in audioRouteToString()
120 if ((route & ROUTE_WIRED_HEADSET) == ROUTE_WIRED_HEADSET) { in audioRouteToString()
123 if ((route & ROUTE_SPEAKER) == ROUTE_SPEAKER) { in audioRouteToString()
146 int route = source.readInt();
148 return new AudioState(isMuted, route, supportedRouteMask);
171 destination.writeInt(route); in writeToParcel()
186 return route; in getRoute()