Home
last modified time | relevance | path

Searched refs:route (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/base/nfc-extras/java/com/android/nfc_extras/
DNfcAdapterExtras.java140 public final int route; field in NfcAdapterExtras.CardEmulationRoute
148 public CardEmulationRoute(int route, NfcExecutionEnvironment nfcEe) { in CardEmulationRoute() argument
149 if (route == ROUTE_OFF && nfcEe != null) { in CardEmulationRoute()
151 } else if (route != ROUTE_OFF && nfcEe == null) { in CardEmulationRoute()
154 this.route = route; in CardEmulationRoute()
180 int route = sService.getCardEmulationRoute(mPackageName); in getCardEmulationRoute() local
181 return route == CardEmulationRoute.ROUTE_OFF ? in getCardEmulationRoute()
200 public void setCardEmulationRoute(CardEmulationRoute route) { in setCardEmulationRoute() argument
202 sService.setCardEmulationRoute(mPackageName, route.route); in setCardEmulationRoute()
/frameworks/base/media/java/android/media/
DMediaRouter.java273 public void selectRoute(int types, RouteInfo route) { in selectRoute() argument
276 selectRouteStatic(types, route); in selectRoute()
282 public void selectRouteInt(int types, RouteInfo route) { in selectRouteInt() argument
283 selectRouteStatic(types, route); in selectRouteInt()
286 static void selectRouteStatic(int types, RouteInfo route) { in selectRouteStatic() argument
287 if (sStatic.mSelectedRoute == route) return; in selectRouteStatic()
288 if ((route.getSupportedTypes() & types) == 0) { in selectRouteStatic()
290 typesToString(route.getSupportedTypes()) + " into route types " + in selectRouteStatic()
297 (route == btRoute || route == sStatic.mDefaultAudio)) { in selectRouteStatic()
299 sStatic.mAudioService.setBluetoothA2dpOn(route == btRoute); in selectRouteStatic()
[all …]
/frameworks/base/core/java/android/net/
DDhcpInfoInternal.java78 for (RouteInfo route : mRoutes) { in makeDhcpInfo()
79 if (route.isDefaultRoute()) { in makeDhcpInfo()
80 info.gateway = convertToInt(route.getGateway().getHostAddress()); in makeDhcpInfo()
106 for (RouteInfo route : mRoutes) { in makeLinkProperties()
107 p.addRoute(route); in makeLinkProperties()
139 for (RouteInfo route : orig.getRoutes()) { in updateFromDhcpRequest()
140 addRoute(route); in updateFromDhcpRequest()
159 for (RouteInfo route : mRoutes) routeString += route.toString() + " | "; in toString()
DLinkProperties.java123 public void addRoute(RouteInfo route) { in addRoute() argument
124 if (route != null) mRoutes.add(route); in addRoute()
166 for (RouteInfo route : mRoutes) routes += route.toString() + ","; in toString()
383 for(RouteInfo route : mRoutes) { in writeToParcel()
384 dest.writeParcelable(route, flags); in writeToParcel()
DRouteInfo.java245 for (RouteInfo route : routes) { in selectBestRoute()
246 if (NetworkUtils.addressTypeMatches(route.mDestination.getAddress(), dest)) { in selectBestRoute()
249 route.mDestination.getNetworkPrefixLength())) { in selectBestRoute()
252 if (route.matches(dest)) bestRoute = route; in selectBestRoute()
/frameworks/base/core/java/android/app/
DMediaRouteButton.java118 final RouteInfo route = mRouter.getRouteAt(i); in performClick() local
119 if ((route.getSupportedTypes() & mRouteTypes) != 0 && in performClick()
120 route != mRouter.getSystemAudioRoute()) { in performClick()
121 mRouter.selectRouteInt(mRouteTypes, route); in performClick()
172 final RouteInfo route = mRouter.getRouteAt(i); in updateRouteCount() local
173 if ((route.getSupportedTypes() & mRouteTypes) != 0) { in updateRouteCount()
174 if (route instanceof RouteGroup) { in updateRouteCount()
175 count += ((RouteGroup) route).getRouteCount(); in updateRouteCount()
/frameworks/base/core/java/android/os/
DINetworkManagementService.aidl100 void addRoute(String iface, in RouteInfo route); in addRoute() argument
105 void removeRoute(String iface, in RouteInfo route); in removeRoute() argument
112 void addSecondaryRoute(String iface, in RouteInfo route); in addSecondaryRoute() argument
117 void removeSecondaryRoute(String iface, in RouteInfo route); in removeSecondaryRoute() argument
/frameworks/base/core/java/com/android/internal/app/
DMediaRouteChooserDialogFragment.java315 final RouteInfo route = from.get(i); in addGroupEditingCategoryRoutes() local
316 final RouteGroup group = route.getGroup(); in addGroupEditingCategoryRoutes()
317 if (group == route) { in addGroupEditingCategoryRoutes()
325 mSortRouteList.add(route); in addGroupEditingCategoryRoutes()
501 final RouteInfo route = (RouteInfo) item; in onItemClick() local
503 mRouter.selectRouteInt(mRouteTypes, route); in onItemClick()
510 RouteGroup oldGroup = route.getGroup(); in onItemClick()
518 oldGroup.removeRoute(route); in onItemClick()
519 mEditingGroup.addRoute(route); in onItemClick()
522 mEditingGroup.removeRoute(route); in onItemClick()
[all …]
/frameworks/base/services/java/com/android/server/
DNetworkManagementService.java554 public void addRoute(String interfaceName, RouteInfo route) { in addRoute() argument
556 modifyRoute(interfaceName, ADD, route, DEFAULT); in addRoute()
560 public void removeRoute(String interfaceName, RouteInfo route) { in removeRoute() argument
562 modifyRoute(interfaceName, REMOVE, route, DEFAULT); in removeRoute()
566 public void addSecondaryRoute(String interfaceName, RouteInfo route) { in addSecondaryRoute() argument
568 modifyRoute(interfaceName, ADD, route, SECONDARY); in addSecondaryRoute()
572 public void removeSecondaryRoute(String interfaceName, RouteInfo route) { in removeSecondaryRoute() argument
574 modifyRoute(interfaceName, REMOVE, route, SECONDARY); in removeSecondaryRoute()
577 private void modifyRoute(String interfaceName, String action, RouteInfo route, String type) { in modifyRoute() argument
581 final LinkAddress la = route.getDestination(); in modifyRoute()
[all …]
/frameworks/base/nfc-extras/tests/src/com/android/nfc_extras/tests/
DBasicNfcEeTest.java99 assertEquals(CardEmulationRoute.ROUTE_ON_WHEN_SCREEN_ON, newRoute.route); in testEnableEe()
107 assertEquals(CardEmulationRoute.ROUTE_OFF, newRoute.route); in testDisableEe()
/frameworks/base/core/java/android/nfc/
DINfcAdapterExtras.aidl30 void setCardEmulationRoute(in String pkg, int route); in setCardEmulationRoute() argument
/frameworks/base/wifi/java/android/net/wifi/
DWifiConfigStore.java520 for (RouteInfo route : linkProperties.getRoutes()) { in getIpConfiguration()
521 dhcpInfoInternal.addRoute(route); in getIpConfiguration()
737 for (RouteInfo route : linkProperties.getRoutes()) { in onWriteCalled()
739 LinkAddress dest = route.getDestination(); in onWriteCalled()
747 if (route.getGateway() != null) { in onWriteCalled()
749 out.writeUTF(route.getGateway().getHostAddress()); in onWriteCalled()
1291 for (RouteInfo route : config.linkProperties.getRoutes()) { in addIpSettingsFromConfig()
1292 linkProperties.addRoute(route); in addIpSettingsFromConfig()
DWifiWatchdogStateMachine.java858 for (RouteInfo route : mLinkProperties.getRoutes()) { in doArpTest()
859 gateway = route.getGateway(); in doArpTest()
/frameworks/base/docs/html/training/accessibility/
Dservice.jd152 <p>If you go the XML route, be sure to reference it in your manifest, by adding
/frameworks/base/docs/html/guide/topics/location/
Dstrategies.jd410 lat/long coordinates, with a GPX file for route playback, or a KML file for multiple place marks.
420 <li>Use a GPX file describing a route for playback to the device.</li>
/frameworks/base/docs/html/tools/debugging/
Ddebugging-log.jd292 <p>To route the output in this way, you stop a running emulator/device instance and then use the
/frameworks/base/docs/html/guide/practices/
Dperformance.jd109 anyway if you go this route.)</li>
/frameworks/base/docs/html/guide/practices/app-design/
Dperformance.jd109 anyway if you go this route.)</li>
/frameworks/base/docs/html/training/notepad/
Dnotepad-ex2.jd153 operating system to route requests, we also have to provide a Context (<code>this</code>).</p>
/frameworks/base/docs/html/about/versions/
Dandroid-4.1.jd283 <p>The new {@link android.media.MediaRouter} class allows you to route media channels and
Dandroid-4.0.jd1074 the network address, DNS server, network route, and more. When complete, you can establish the
/frameworks/base/docs/html/tools/devices/
Demulator.jd1123 <li>&lt;guest-port&gt; is the port number to route data to on the emulator/device</li>
/frameworks/base/api/
D14.txt42927 …public static final java.lang.String MAX_CONNECTIONS_PER_ROUTE = "http.conn-manager.max-per-route";
42966 field public static final java.lang.String DEFAULT_PROXY = "http.route.default-proxy";
42967 field public static final java.lang.String FORCED_ROUTE = "http.route.forced-route";
42968 field public static final java.lang.String LOCAL_ADDRESS = "http.route.local-address";
43914 field protected final org.apache.http.conn.routing.HttpRoute route;
43969 field protected volatile org.apache.http.conn.routing.HttpRoute route;
44215 field protected final org.apache.http.conn.routing.HttpRoute route;
D15.txt43082 …public static final java.lang.String MAX_CONNECTIONS_PER_ROUTE = "http.conn-manager.max-per-route";
43121 field public static final java.lang.String DEFAULT_PROXY = "http.route.default-proxy";
43122 field public static final java.lang.String FORCED_ROUTE = "http.route.forced-route";
43123 field public static final java.lang.String LOCAL_ADDRESS = "http.route.local-address";
44069 field protected final org.apache.http.conn.routing.HttpRoute route;
44124 field protected volatile org.apache.http.conn.routing.HttpRoute route;
44370 field protected final org.apache.http.conn.routing.HttpRoute route;
Dcurrent.txt44374 …public static final java.lang.String MAX_CONNECTIONS_PER_ROUTE = "http.conn-manager.max-per-route";
44413 field public static final java.lang.String DEFAULT_PROXY = "http.route.default-proxy";
44414 field public static final java.lang.String FORCED_ROUTE = "http.route.forced-route";
44415 field public static final java.lang.String LOCAL_ADDRESS = "http.route.local-address";
45361 field protected final org.apache.http.conn.routing.HttpRoute route;
45416 field protected volatile org.apache.http.conn.routing.HttpRoute route;
45662 field protected final org.apache.http.conn.routing.HttpRoute route;

12