Home | History | Annotate | Download | only in telecom

Lines Matching defs:route

57     private final int route;
60 public AudioState(boolean muted, int route, int supportedRouteMask) {
62 this.route = route;
68 route = state.getRoute();
74 route = state.getRoute();
94 "[AudioState isMuted: %b, route: %s, supportedRouteMask: %s]",
96 audioRouteToString(route),
100 public static String audioRouteToString(int route) {
101 if (route == 0 || (route & ~ROUTE_ALL) != 0x0) {
106 if ((route & ROUTE_EARPIECE) == ROUTE_EARPIECE) {
109 if ((route & ROUTE_BLUETOOTH) == ROUTE_BLUETOOTH) {
112 if ((route & ROUTE_WIRED_HEADSET) == ROUTE_WIRED_HEADSET) {
115 if ((route & ROUTE_SPEAKER) == ROUTE_SPEAKER) {
138 int route = source.readInt();
140 return new AudioState(isMuted, route, supportedRouteMask);
163 destination.writeInt(route);
175 * @return The current audio route being used.
178 return route;