Searched refs:oldSessionInfo (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/core/java/com/android/server/media/ |
D | SystemMediaRoute2Provider.java | 351 RoutingSessionInfo oldSessionInfo = mSessionInfos.get(0); in generateDeviceRouteSelectedSessionInfo() local 352 builder.setTransferReason(oldSessionInfo.getTransferReason()) in generateDeviceRouteSelectedSessionInfo() 353 .setTransferInitiator(oldSessionInfo.getTransferInitiatorUserHandle(), in generateDeviceRouteSelectedSessionInfo() 354 oldSessionInfo.getTransferInitiatorPackageName()); in generateDeviceRouteSelectedSessionInfo() 390 RoutingSessionInfo oldSessionInfo = mSessionInfos.isEmpty() ? null : mSessionInfos.get( in updateSessionInfosIfNeeded() local 434 if (oldSessionInfo != null in updateSessionInfosIfNeeded() 435 && containsSelectedRouteWithId(oldSessionInfo, selectedRoute.getId())) { in updateSessionInfosIfNeeded() 436 transferReason = oldSessionInfo.getTransferReason(); in updateSessionInfosIfNeeded() 437 transferInitiatorUserHandle = oldSessionInfo.getTransferInitiatorUserHandle(); in updateSessionInfosIfNeeded() 438 transferInitiatorPackageName = oldSessionInfo.getTransferInitiatorPackageName(); in updateSessionInfosIfNeeded() [all …]
|
D | MediaRoute2ProviderServiceProxy.java | 476 RoutingSessionInfo oldSessionInfo = mSessionInfos.get(sourceIndex); in onSessionsUpdated() local 479 REQUEST_ID_NONE, oldSessionInfo, session); in onSessionsUpdated() 501 @Nullable RoutingSessionInfo oldSessionInfo, in createSessionWithPopulatedTransferInitiationDataLocked() argument 504 oldSessionInfo != null in createSessionWithPopulatedTransferInitiationDataLocked() 523 } else if (oldSessionInfo != null) { in createSessionWithPopulatedTransferInitiationDataLocked() 525 transferReason = oldSessionInfo.getTransferReason(); in createSessionWithPopulatedTransferInitiationDataLocked() 526 transferInitiatorUserHandle = oldSessionInfo.getTransferInitiatorUserHandle(); in createSessionWithPopulatedTransferInitiationDataLocked() 527 transferInitiatorPackageName = oldSessionInfo.getTransferInitiatorPackageName(); in createSessionWithPopulatedTransferInitiationDataLocked() 535 if (oldSessionInfo != null) { in createSessionWithPopulatedTransferInitiationDataLocked()
|
/frameworks/base/media/tests/MediaRouter/src/com/android/mediaroutertest/ |
D | MediaRouter2ManagerTest.java | 406 public void onTransferred(RoutingSessionInfo oldSessionInfo, in testGetRoutingSessions() 442 public void onTransferred(RoutingSessionInfo oldSessionInfo, in testTransfer_unknownRoute_fail() 480 public void onTransferred(RoutingSessionInfo oldSessionInfo, in testRouterRelease_managerGetRoutingSessions() 526 public void onTransferred(RoutingSessionInfo oldSessionInfo, in testSelectAndTransferAndRelease() 649 public void onTransferred(RoutingSessionInfo oldSessionInfo, in testTransfer_ignored_fails() 729 public void onTransferred(RoutingSessionInfo oldSessionInfo, in testSetSessionVolume() 923 public void onTransferred(RoutingSessionInfo oldSessionInfo, in testGetSelectableRoutes_notReturnsSelectedRoutes()
|
/frameworks/base/media/java/android/media/ |
D | MediaRouter2Manager.java | 1089 TransferRequest(int requestId, @NonNull RoutingSessionInfo oldSessionInfo, in TransferRequest() argument 1092 mOldSessionInfo = oldSessionInfo; in TransferRequest()
|