Home
last modified time | relevance | path

Searched refs:mRoute (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/java/com/android/internal/app/
DMediaRouteControllerDialog.java61 private final MediaRouter.RouteInfo mRoute; field in MediaRouteControllerDialog
82 mRoute = mRouter.getSelectedRoute(); in MediaRouteControllerDialog()
89 return mRoute; in getRoute()
139 setTitle(mRoute.getName()); in onCreate()
145 if (mRoute.isSelected()) { in onCreate()
146 if (mRoute.isBluetooth()) { in onCreate()
196 mRoute.requestSetVolume(progress); in onCreate()
237 mRoute.requestUpdateVolume(keyCode == KeyEvent.KEYCODE_VOLUME_DOWN ? -1 : 1); in onKeyDown()
253 if (!mRoute.isSelected() || mRoute.isDefault()) { in update()
258 setTitle(mRoute.getName()); in update()
[all …]
/frameworks/base/services/core/java/com/android/server/media/
DLegacyBluetoothRouteController.java167 if (TextUtils.equals(btRouteInfo.mRoute.getId(), routeId)) { in findBluetoothRouteWithRouteId()
203 return (mActiveRoutes.isEmpty() ? null : mActiveRoutes.get(0).mRoute); in getSelectedRoute()
211 routes.remove(btRoute.mRoute); in getTransferableRoutes()
230 if (routeIds.contains(btRoute.mRoute.getId())) { in getAllBluetoothRoutes()
233 routes.add(btRoute.mRoute); in getAllBluetoothRoutes()
234 routeIds.add(btRoute.mRoute.getId()); in getAllBluetoothRoutes()
262 if (btRoute.mRoute.getType() != routeType) { in updateVolumeForDevices()
265 btRoute.mRoute = new MediaRoute2Info.Builder(btRoute.mRoute) in updateVolumeForDevices()
314 newBtRoute.mRoute = new MediaRoute2Info.Builder(routeId, deviceName) in createBluetoothRoute()
334 if (btRoute.mRoute.getConnectionState() == state) { in setRouteConnectionState()
[all …]
DBluetoothDeviceRoutesManager.java205 if (routeIds.add(btRoute.mRoute.getId())) { in getAvailableBluetoothRoutes()
206 routes.add(btRoute.mRoute); in getAvailableBluetoothRoutes()
244 newBtRoute.mRoute = in createBluetoothRoute()
333 private MediaRoute2Info mRoute; field in BluetoothRouteInfo
DMediaRouter2ServiceImpl.java1373 if (!TextUtils.equals(manager.mLastSessionCreationRequest.mRoute.getId(), in requestCreateSessionWithRouter2Locked()
1377 && manager.mLastSessionCreationRequest.mRoute.isSystemRoute() in requestCreateSessionWithRouter2Locked()
1379 route = manager.mLastSessionCreationRequest.mRoute; in requestCreateSessionWithRouter2Locked()
1778 lastRequest.mOldSession, lastRequest.mRoute)); in requestCreateSessionWithManagerLocked()
2978 request.mRoute.getProviderId(), provider.getUniqueId())) { in onSessionCreatedOnHandler()
3086 request.mRoute.getProviderId(), provider.getUniqueId())) { in handleSessionCreationRequestFailed()
3544 public final MediaRoute2Info mRoute; field in SessionCreationRequest
3553 mRoute = route; in SessionCreationRequest()
3564 mRoute.dump(pw, prefix); in dump()
/frameworks/base/media/java/android/media/
DMediaRouter2.java1262 MediaRoute2Info requestedRoute = matchingRequest.mRoute; in createControllerOnHandler()
2371 public final MediaRoute2Info mRoute; field in MediaRouter2.ControllerCreationRequest
2381 mRoute = Objects.requireNonNull(route, "route must not be null"); in ControllerCreationRequest()