Home
last modified time | relevance | path

Searched refs:newRoute (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/nfc-extras/tests/src/com/android/nfc_extras/tests/
DBasicNfcEeTest.java98 CardEmulationRoute newRoute = mAdapterExtras.getCardEmulationRoute(); in testEnableEe() local
99 assertEquals(CardEmulationRoute.ROUTE_ON_WHEN_SCREEN_ON, newRoute.route); in testEnableEe()
100 assertEquals(mEe, newRoute.nfcEe); in testEnableEe()
106 CardEmulationRoute newRoute = mAdapterExtras.getCardEmulationRoute(); in testDisableEe() local
107 assertEquals(CardEmulationRoute.ROUTE_OFF, newRoute.route); in testDisableEe()
108 assertNull(newRoute.nfcEe); in testDisableEe()
/frameworks/base/core/java/android/net/
DVpnService.java605 final RouteInfo newRoute = new RouteInfo(prefix, /* gateway */ in addRoute() local
608 final int index = findRouteIndexByDestination(newRoute); in addRoute()
611 mRoutes.add(newRoute); in addRoute()
613 mRoutes.set(index, newRoute); in addRoute()
/frameworks/base/media/java/android/media/
DMediaRouter.java1573 final RouteInfo newRoute = new RouteInfo(sStatic.mSystemCategory); in makeWifiDisplayRoute() local
1574 newRoute.mDeviceAddress = display.getDeviceAddress(); in makeWifiDisplayRoute()
1575 newRoute.mSupportedTypes = ROUTE_TYPE_LIVE_AUDIO | ROUTE_TYPE_LIVE_VIDEO in makeWifiDisplayRoute()
1577 newRoute.mVolumeHandling = RouteInfo.PLAYBACK_VOLUME_FIXED; in makeWifiDisplayRoute()
1578 newRoute.mPlaybackType = RouteInfo.PLAYBACK_TYPE_REMOTE; in makeWifiDisplayRoute()
1580 newRoute.setRealStatusCode(getWifiDisplayStatusCode(display, wfdStatus)); in makeWifiDisplayRoute()
1581 newRoute.mEnabled = isWifiDisplayEnabled(display, wfdStatus); in makeWifiDisplayRoute()
1582 newRoute.mName = display.getFriendlyDisplayName(); in makeWifiDisplayRoute()
1583 newRoute.mDescription = sStatic.mResources.getText( in makeWifiDisplayRoute()
1585 newRoute.updatePresentationDisplay(); in makeWifiDisplayRoute()
[all …]