Home | History | Annotate | Download | only in telecom

Lines Matching defs:route

76     private final int route;
85 * @param route The current audio route being used.
98 public CallAudioState(boolean muted, @CallAudioRoute int route,
100 this(muted, route, supportedRouteMask, null, Collections.emptyList());
105 public CallAudioState(boolean isMuted, @CallAudioRoute int route,
110 this.route = route;
119 route = state.getRoute();
129 route = state.getRoute();
163 "[AudioState isMuted: %b, route: %s, supportedRouteMask: %s, " +
166 audioRouteToString(route),
180 * @return The current audio route being used.
184 return route;
211 * Converts the provided audio route into a human readable string representation.
213 * @param route to convert into a string.
215 * @return String representation of the provided audio route.
217 public static String audioRouteToString(int route) {
218 if (route == 0 || (route & ~ROUTE_ALL) != 0x0) {
223 if ((route & ROUTE_EARPIECE) == ROUTE_EARPIECE) {
226 if ((route & ROUTE_BLUETOOTH) == ROUTE_BLUETOOTH) {
229 if ((route & ROUTE_WIRED_HEADSET) == ROUTE_WIRED_HEADSET) {
232 if ((route & ROUTE_SPEAKER) == ROUTE_SPEAKER) {
248 int route = source.readInt();
255 return new CallAudioState(isMuted, route,
279 destination.writeInt(route);