Home
last modified time | relevance | path

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

12

/packages/apps/Nfc/src/com/android/nfc/cardemulation/
DAidRoutingManager.java87 int route; field in AidRoutingManager.AidEntry
211 int route = ROUTE_HOST; in configureRouting() local
215 route = mDefaultOffHostRoute; in configureRouting()
217 route = getRouteForSecureElement(offHostSE); in configureRouting()
218 if (route == 0) { in configureRouting()
224 if (!seList.contains(route)) in configureRouting()
225 seList.add(route); in configureRouting()
226 aidEntry.getValue().route = route; in configureRouting()
230 aidRoutingTable.get(route, new HashSet<String>()); in configureRouting()
232 aidRoutingTable.put(route, entries); in configureRouting()
[all …]
/packages/apps/Dialer/java/com/android/dialer/app/voicemail/
DVoicemailAudioManager.java170 void setAudioRoute(int route) { in setAudioRoute() argument
173 "route: " + CallAudioState.audioRouteToString(route)); in setAudioRoute()
176 int newRoute = selectWiredOrEarpiece(route, callAudioState.getSupportedRouteMask()); in setAudioRoute()
195 int route = selectWiredOrEarpiece(CallAudioState.ROUTE_WIRED_OR_EARPIECE, supportedRouteMask); in getInitialAudioState() local
196 return new CallAudioState(false /* muted */, route, supportedRouteMask); in getInitialAudioState()
209 private int selectWiredOrEarpiece(int route, int supportedRouteMask) { in selectWiredOrEarpiece() argument
213 if (route == CallAudioState.ROUTE_WIRED_OR_EARPIECE) { in selectWiredOrEarpiece()
214 route = CallAudioState.ROUTE_WIRED_OR_EARPIECE & supportedRouteMask; in selectWiredOrEarpiece()
215 if (route == 0) { in selectWiredOrEarpiece()
220 route = CallAudioState.ROUTE_EARPIECE; in selectWiredOrEarpiece()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wfd/
DWifiDisplaySettings.java277 MediaRouter.RouteInfo route = mRouter.getRouteAt(i); in update() local
278 if (route.matchesTypes(MediaRouter.ROUTE_TYPE_REMOTE_DISPLAY)) { in update()
279 preferenceScreen.addPreference(createRoutePreference(route)); in update()
307 private RoutePreference createRoutePreference(MediaRouter.RouteInfo route) { in createRoutePreference() argument
308 WifiDisplay display = findWifiDisplay(route.getDeviceAddress()); in createRoutePreference()
310 return new WifiDisplayRoutePreference(getPrefContext(), route, display); in createRoutePreference()
312 return new RoutePreference(getPrefContext(), route); in createRoutePreference()
563 private void toggleRoute(MediaRouter.RouteInfo route) { in toggleRoute() argument
564 if (route.isSelected()) { in toggleRoute()
568 route.select(); in toggleRoute()
[all …]
/packages/apps/Settings/src/com/android/settings/wfd/
DWifiDisplaySettings.java278 MediaRouter.RouteInfo route = mRouter.getRouteAt(i); in update() local
279 if (route.matchesTypes(MediaRouter.ROUTE_TYPE_REMOTE_DISPLAY)) { in update()
280 preferenceScreen.addPreference(createRoutePreference(route)); in update()
308 private RoutePreference createRoutePreference(MediaRouter.RouteInfo route) { in createRoutePreference() argument
309 WifiDisplay display = findWifiDisplay(route.getDeviceAddress()); in createRoutePreference()
311 return new WifiDisplayRoutePreference(getPrefContext(), route, display); in createRoutePreference()
313 return new RoutePreference(getPrefContext(), route); in createRoutePreference()
564 private void toggleRoute(MediaRouter.RouteInfo route) { in toggleRoute() argument
565 if (route.isSelected()) { in toggleRoute()
569 route.select(); in toggleRoute()
[all …]
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/
DMailbox.java30 private DomainList route; field in Mailbox
49 public Mailbox(DomainList route, String localPart, String domain) { in Mailbox() argument
50 this.route = route; in Mailbox()
59 return route; in getRoute()
106 return "<" + (!includeRoute || route == null ? "" : route.toRouteString() + ":") in getAddressString()
DBuilder.java150 DomainList route = null; in buildAngleAddr() local
153 route = buildRoute((ASTroute)n); in buildAngleAddr()
162 return buildAddrSpec(route, (ASTaddr_spec)n); in buildAngleAddr()
183 private Mailbox buildAddrSpec(DomainList route, ASTaddr_spec node) { in buildAddrSpec() argument
187 return new Mailbox(route, localPart, domain); in buildAddrSpec()
DNamedMailbox.java41 public NamedMailbox(String name, DomainList route, String localPart, String domain) { in NamedMailbox() argument
42 super(route, localPart, domain); in NamedMailbox()
/packages/modules/NetworkStack/src/android/net/ip/
DIpClientLinkObserver.java145 public void onRouteUpdated(RouteInfo route) { in onRouteUpdated() argument
146 if (mInterfaceName.equals(route.getInterface())) { in onRouteUpdated()
147 maybeLog("routeUpdated", route); in onRouteUpdated()
150 changed = mLinkProperties.addRoute(route); in onRouteUpdated()
159 public void onRouteRemoved(RouteInfo route) { in onRouteRemoved() argument
160 if (mInterfaceName.equals(route.getInterface())) { in onRouteRemoved()
161 maybeLog("routeRemoved", route); in onRouteRemoved()
164 changed = mLinkProperties.removeRoute(route); in onRouteRemoved()
DIpReachabilityMonitor.java250 for (RouteInfo route : routes) {
251 if (!route.hasGateway() && route.matches(ip)) {
270 for (RouteInfo route : routes) {
271 if (route.hasGateway()) {
272 InetAddress gw = route.getGateway();
306 for (RouteInfo route : mLinkProperties.getRoutes()) {
307 if (ip.equals(route.getGateway())) {
308 whatIfLp.removeRoute(route);
DIpClient.java1034 for (RouteInfo route : netlinkLinkProperties.getRoutes()) { in assembleLinkProperties()
1035 newLp.addRoute(route); in assembleLinkProperties()
1046 for (RouteInfo route : routes) { in assembleLinkProperties()
1047 newLp.addRoute(route); in assembleLinkProperties()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wfd/
DWifiDisplaySettingsTest.java78 final MediaRouter.RouteInfo route = mock(MediaRouter.RouteInfo.class); in listenToSummary_connected_shouldProvideConnectedSummary() local
80 when(mMediaRouter.getRouteAt(0)).thenReturn(route); in listenToSummary_connected_shouldProvideConnectedSummary()
81 when(route.matchesTypes(MediaRouter.ROUTE_TYPE_REMOTE_DISPLAY)).thenReturn(true); in listenToSummary_connected_shouldProvideConnectedSummary()
82 when(route.isSelected()).thenReturn(true); in listenToSummary_connected_shouldProvideConnectedSummary()
83 when(route.isConnecting()).thenReturn(false); in listenToSummary_connected_shouldProvideConnectedSummary()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/activecall/
DOnGoingCallControllerBarFragment.java245 private static AudioRouteInfo getAudioRouteInfo(int route) { in getAudioRouteInfo() argument
246 AudioRouteInfo routeInfo = AUDIO_ROUTES.get(route); in getAudioRouteInfo()
250 L.e(TAG, "Unknown audio route: %s", route); in getAudioRouteInfo()
251 throw new RuntimeException("Unknown audio route: " + route); in getAudioRouteInfo()
288 public void setActiveAudioRoute(int route) { in setActiveAudioRoute() argument
289 if (mActiveAudioRoute != route) { in setActiveAudioRoute()
290 mActiveAudioRoute = route; in setActiveAudioRoute()
/packages/modules/NetworkStack/src/com/android/server/
DNetworkObserver.java81 default void onRouteUpdated(RouteInfo route) {} in onRouteUpdated() argument
87 default void onRouteRemoved(RouteInfo route) {} in onRouteRemoved() argument
DNetworkObserverRegistry.java171 public void onRouteChanged(boolean updated, String route, String gateway, String ifName) { in onRouteChanged() argument
172 final RouteInfo processRoute = new RouteInfo(new IpPrefix(route), in onRouteChanged()
/packages/services/Car/car-lib/src/android/car/navigation/
Dnavigation_state.proto73 // Distance along the planned route between relevant points in the navigation
256 // to stay on the navigation route.
301 // in the navigation route, or false if it will take the drive off the
302 // navigation route.
365 // navigation route.
390 // the navigation route should be highlighted.
444 // Final or intermediate stop in a navigation route.
470 // The travel distance along the route from the current position to this
485 // The congestion level on the route to this destination,
/packages/services/Telecomm/src/com/android/server/telecom/
DCallAudioManager.java393 void setAudioRoute(int route, String bluetoothAddress) { in setAudioRoute() argument
394 Log.v(this, "setAudioRoute, route: %s", CallAudioState.audioRouteToString(route)); in setAudioRoute()
395 switch (route) { in setAudioRoute()
418 Log.wtf(this, "Invalid route specified: %d", route); in setAudioRoute()
DCallAudioRouteStateMachine.java1663 final int route; in getInitialAudioState() local
1667 route = ROUTE_BLUETOOTH; in getInitialAudioState()
1669 route = ROUTE_WIRED_HEADSET; in getInitialAudioState()
1671 route = ROUTE_EARPIECE; in getInitialAudioState()
1673 route = ROUTE_SPEAKER; in getInitialAudioState()
1676 return new CallAudioState(false, route, supportedRouteMask, null, in getInitialAudioState()
DInCallAdapter.java305 public void setAudioRoute(int route, String bluetoothAddress) { in setAudioRoute() argument
311 mCallsManager.setAudioRoute(route, bluetoothAddress); in setAudioRoute()
/packages/modules/NetworkStack/tests/unit/src/android/net/ip/
DIpClientTest.java356 for (RouteInfo route : lpRoutes) { in provisioningTest()
357 testcase.lp.addRoute(route); in provisioningTest()
453 for (RouteInfo route : routes) { in linkproperties()
454 lp.addRoute(route); in linkproperties()
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/parser/
DAddressListParser.jj304 "<" [ route() ] addr_spec() ">"/*@bgen(jjtree)*/
328 void route() :
329 {/*@bgen(jjtree) route */
335 {/*@bgen(jjtree) route */
/packages/apps/Dialer/java/com/android/incallui/call/
DTelecomAdapter.java81 public void setAudioRoute(int route) { in setAudioRoute() argument
83 inCallService.setAudioRoute(route); in setAudioRoute()
/packages/apps/Dialer/java/com/android/incallui/
DCallButtonPresenter.java181 public void setAudioRoute(int route) { in setAudioRoute() argument
184 "sending new audio route: " + CallAudioState.audioRouteToString(route)); in setAudioRoute()
185 TelecomAdapter.getInstance().setAudioRoute(route); in setAudioRoute()
/packages/apps/Dialer/java/com/android/dialer/logging/
Ddialer_impression.proto649 // User choose audio route speakerphone from bubble call action menu
651 // User choose audio route wired or earpiece from bubble call action menu
653 // User choose audio route bluetooth from bubble call action menu
777 // Switch audio route
/packages/apps/Dialer/java/com/android/incallui/incall/protocol/
DInCallButtonUiDelegate.java62 void setAudioRoute(int route); in setAudioRoute() argument
/packages/apps/Nfc/nci/jni/
DRoutingManager.cpp266 int route, int aidInfo) { in addAidRouting() argument
271 powerState = (route != 0x00) ? mOffHostAidRoutingPowerState : 0x11; in addAidRouting()
276 NFA_EeAddAidRouting(route, aidLen, (uint8_t*)aid, powerState, aidInfo); in addAidRouting()

12