Lines Matching refs:route
57 private final int route; field in AudioState
60 public AudioState(boolean muted, int route, int supportedRouteMask) { in AudioState() argument
62 this.route = route; in AudioState()
68 route = state.getRoute(); in AudioState()
74 route = state.getRoute(); in AudioState()
96 audioRouteToString(route), in toString()
100 public static String audioRouteToString(int route) { in audioRouteToString() argument
101 if (route == 0 || (route & ~ROUTE_ALL) != 0x0) { in audioRouteToString()
106 if ((route & ROUTE_EARPIECE) == ROUTE_EARPIECE) { in audioRouteToString()
109 if ((route & ROUTE_BLUETOOTH) == ROUTE_BLUETOOTH) { in audioRouteToString()
112 if ((route & ROUTE_WIRED_HEADSET) == ROUTE_WIRED_HEADSET) { in audioRouteToString()
115 if ((route & ROUTE_SPEAKER) == ROUTE_SPEAKER) { in audioRouteToString()
138 int route = source.readInt();
140 return new AudioState(isMuted, route, supportedRouteMask);
163 destination.writeInt(route); in writeToParcel()
178 return route; in getRoute()