/frameworks/base/media/tests/MediaRouter/src/com/android/mediaroutertest/ |
D | MediaRouter2ManagerTest.java | 51 import android.media.MediaRouter2Manager; 97 private MediaRouter2Manager mManager; 103 private final List<MediaRouter2Manager.Callback> mManagerCallbacks = new ArrayList<>(); 125 mManager = MediaRouter2Manager.getInstance(mContext); in setUp() 192 new MediaRouter2Manager.Callback() { in testOnRoutesUpdated() 371 addManagerCallback(new MediaRouter2Manager.Callback() {}); in testRouterOnSessionCreated() 404 addManagerCallback(new MediaRouter2Manager.Callback() { in testGetRoutingSessions() 440 addManagerCallback(new MediaRouter2Manager.Callback() { in testTransfer_unknownRoute_fail() 478 addManagerCallback(new MediaRouter2Manager.Callback() { in testRouterRelease_managerGetRoutingSessions() 524 addManagerCallback(new MediaRouter2Manager.Callback() { in testSelectAndTransferAndRelease() [all …]
|
/frameworks/base/media/java/android/media/ |
D | MediaRouter2Manager.java | 68 public final class MediaRouter2Manager { class 82 private static MediaRouter2Manager sInstance; 113 public static MediaRouter2Manager getInstance(@NonNull Context context) { in getInstance() 117 sInstance = new MediaRouter2Manager(context); in getInstance() 123 private MediaRouter2Manager(Context context) { in MediaRouter2Manager() method in MediaRouter2Manager 943 obtainMessage(MediaRouter2Manager::handleTransferTimeout, this, transferRequest); in createTransferRequest() 1100 mHandler.sendMessage(obtainMessage(MediaRouter2Manager::createSessionOnHandler, in notifySessionCreated() 1101 MediaRouter2Manager.this, requestId, session)); in notifySessionCreated() 1106 mHandler.sendMessage(obtainMessage(MediaRouter2Manager::handleSessionsUpdatedOnHandler, in notifySessionUpdated() 1107 MediaRouter2Manager.this, session)); in notifySessionUpdated() [all …]
|
D | MediaRouter2.java | 2526 private final CopyOnWriteArrayList<MediaRouter2Manager.TransferRequest> 3077 MediaRouter2Manager.TransferRequest transferRequest = in createTransferRequest() 3078 new MediaRouter2Manager.TransferRequest(requestId, session, route); in createTransferRequest() 3088 private void handleTransferTimeout(MediaRouter2Manager.TransferRequest request) { in handleTransferTimeout() 3185 MediaRouter2Manager.TransferRequest matchingRequest = null; in onSessionCreatedOnHandler() 3186 for (MediaRouter2Manager.TransferRequest request : mTransferRequests) { in onSessionCreatedOnHandler() 3228 for (MediaRouter2Manager.TransferRequest request : mTransferRequests) { in onSessionUpdatedOnHandler() 3293 MediaRouter2Manager.TransferRequest matchingRequest = null; in onRequestFailedOnHandler() 3294 for (MediaRouter2Manager.TransferRequest request : mTransferRequests) { in onRequestFailedOnHandler()
|
/frameworks/base/packages/SettingsLib/tests/robotests/testutils/com/android/settingslib/testutils/shadow/ |
D | ShadowRouter2Manager.java | 19 import android.media.MediaRouter2Manager; 33 @Implements(MediaRouter2Manager.class) 99 MediaRouter2Manager.getInstance(RuntimeEnvironment.application)); in getShadow()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/media/controls/domain/pipeline/ |
D | MediaDeviceManagerKosmos.kt | 20 import android.media.MediaRouter2Manager 36 mr2manager = { MediaRouter2Manager.getInstance(applicationContext) }, in <lambda>()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/ |
D | ManagerInfoMediaManager.java | 21 import android.media.MediaRouter2Manager; 50 /* package */ MediaRouter2Manager mRouterManager; 63 mRouterManager = MediaRouter2Manager.getInstance(context); in ManagerInfoMediaManager() 185 /* package */ final class RouterManagerCallback implements MediaRouter2Manager.Callback {
|
D | RouterInfoMediaManager.java | 24 import android.media.MediaRouter2Manager; 55 private final MediaRouter2Manager mRouterManager; 98 mRouterManager = MediaRouter2Manager.getInstance(context); in RouterInfoMediaManager()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/media/ |
D | InfoMediaDeviceTest.java | 36 import android.media.MediaRouter2Manager; 56 private MediaRouter2Manager mRouterManager;
|
D | InfoMediaManagerTest.java | 46 import android.media.MediaRouter2Manager; 126 private MediaRouter2Manager mRouterManager; 155 mInfoMediaManager.mRouterManager = MediaRouter2Manager.getInstance(mContext); in setUp()
|
/frameworks/base/packages/SettingsLib/aconfig/ |
D | settingslib_media_flag_declarations.aconfig | 7 …r2-based implementation of InfoMediaManager, instead of the legacy MediaRouter2Manager-based imple…
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/dagger/ |
D | FrameworkServicesModule.java | 72 import android.media.MediaRouter2Manager; 446 static MediaRouter2Manager provideMediaRouter2Manager(Context context) { in provideMediaRouter2Manager() 447 return MediaRouter2Manager.getInstance(context); in provideMediaRouter2Manager()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/domain/pipeline/ |
D | MediaDeviceManager.kt | 23 import android.media.MediaRouter2Manager in <lambda>() 67 private val mr2manager: Lazy<MediaRouter2Manager>, in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
D | VolumeDialogControllerImpl.java | 39 import android.media.MediaRouter2Manager; 131 private final MediaRouter2Manager mRouter2Manager; 200 mRouter2Manager = MediaRouter2Manager.getInstance(mContext); in VolumeDialogControllerImpl()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/domain/pipeline/ |
D | MediaDeviceManagerTest.kt | 26 import android.media.MediaRouter2Manager 105 @Mock private lateinit var mr2: MediaRouter2Manager
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | MediaSessionRecord.java | 51 import android.media.MediaRouter2Manager; 672 MediaRouter2Manager mRouter2Manager = MediaRouter2Manager.getInstance(mContext); in canHandleVolumeKey()
|
D | MediaRouter2ServiceImpl.java | 50 import android.media.MediaRouter2Manager; 3107 if (matchingRequest.mManagerRequestId == MediaRouter2Manager.REQUEST_ID_NONE) { in handleSessionCreationRequestFailed() 3282 MediaRouter2Manager.REQUEST_ID_NONE), session); in notifySessionCreatedToManagers()
|
/frameworks/base/config/ |
D | dirty-image-objects | 522 Landroid/media/MediaRouter2Manager; 59 1337 Landroid/media/MediaRouter2Manager$Callback; 308
|
D | preloaded-classes | 5292 android.media.MediaRouter2Manager$Callback 5293 android.media.MediaRouter2Manager$CallbackRecord 5294 android.media.MediaRouter2Manager$Client$$ExternalSyntheticLambda5 5295 android.media.MediaRouter2Manager$Client 5296 android.media.MediaRouter2Manager$TransferRequest 5297 android.media.MediaRouter2Manager
|
D | boot-image-profile.txt | 11036 HSPLandroid/media/MediaRouter2Manager;->getInstance(Landroid/content/Context;)Landroid/media/MediaR… 37817 Landroid/media/MediaRouter2Manager$Callback; 37818 Landroid/media/MediaRouter2Manager$CallbackRecord; 37819 Landroid/media/MediaRouter2Manager$Client$$ExternalSyntheticLambda5; 37820 Landroid/media/MediaRouter2Manager$Client; 37821 Landroid/media/MediaRouter2Manager$TransferRequest; 37822 Landroid/media/MediaRouter2Manager;
|
/frameworks/base/boot/ |
D | preloaded-classes | 5288 android.media.MediaRouter2Manager$Callback 5289 android.media.MediaRouter2Manager$CallbackRecord 5290 android.media.MediaRouter2Manager$Client$$ExternalSyntheticLambda5 5291 android.media.MediaRouter2Manager$Client 5292 android.media.MediaRouter2Manager$TransferRequest 5293 android.media.MediaRouter2Manager
|
D | boot-image-profile.txt | 11033 HSPLandroid/media/MediaRouter2Manager;->getInstance(Landroid/content/Context;)Landroid/media/MediaR… 27683 Landroid/media/MediaRouter2Manager$Callback; 27684 Landroid/media/MediaRouter2Manager$CallbackRecord; 27685 Landroid/media/MediaRouter2Manager$Client$$ExternalSyntheticLambda5; 27686 Landroid/media/MediaRouter2Manager$Client; 27687 Landroid/media/MediaRouter2Manager$TransferRequest; 27688 Landroid/media/MediaRouter2Manager;
|