Lines Matching refs:route
52 private final int route; field in CallAudioState
72 public CallAudioState(boolean muted, int route, int supportedRouteMask) { in CallAudioState() argument
74 this.route = route; in CallAudioState()
81 route = state.getRoute(); in CallAudioState()
89 route = state.getRoute(); in CallAudioState()
111 audioRouteToString(route), in toString()
126 return route; in getRoute()
143 public static String audioRouteToString(int route) { in audioRouteToString() argument
144 if (route == 0 || (route & ~ROUTE_ALL) != 0x0) { in audioRouteToString()
149 if ((route & ROUTE_EARPIECE) == ROUTE_EARPIECE) { in audioRouteToString()
152 if ((route & ROUTE_BLUETOOTH) == ROUTE_BLUETOOTH) { in audioRouteToString()
155 if ((route & ROUTE_WIRED_HEADSET) == ROUTE_WIRED_HEADSET) { in audioRouteToString()
158 if ((route & ROUTE_SPEAKER) == ROUTE_SPEAKER) { in audioRouteToString()
174 int route = source.readInt();
176 return new CallAudioState(isMuted, route, supportedRouteMask);
199 destination.writeInt(route); in writeToParcel()