Home
last modified time | relevance | path

Searched refs:MediaRouter2Manager (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/media/tests/MediaRouter/src/com/android/mediaroutertest/
DMediaRouter2ManagerTest.java51 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/
DMediaRouter2Manager.java68 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 …]
DMediaRouter2.java2526 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/
DShadowRouter2Manager.java19 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/
DMediaDeviceManagerKosmos.kt20 import android.media.MediaRouter2Manager
36 mr2manager = { MediaRouter2Manager.getInstance(applicationContext) }, in <lambda>()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/
DManagerInfoMediaManager.java21 import android.media.MediaRouter2Manager;
50 /* package */ MediaRouter2Manager mRouterManager;
63 mRouterManager = MediaRouter2Manager.getInstance(context); in ManagerInfoMediaManager()
185 /* package */ final class RouterManagerCallback implements MediaRouter2Manager.Callback {
DRouterInfoMediaManager.java24 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/
DInfoMediaDeviceTest.java36 import android.media.MediaRouter2Manager;
56 private MediaRouter2Manager mRouterManager;
DInfoMediaManagerTest.java46 import android.media.MediaRouter2Manager;
126 private MediaRouter2Manager mRouterManager;
155 mInfoMediaManager.mRouterManager = MediaRouter2Manager.getInstance(mContext); in setUp()
/frameworks/base/packages/SettingsLib/aconfig/
Dsettingslib_media_flag_declarations.aconfig7 …r2-based implementation of InfoMediaManager, instead of the legacy MediaRouter2Manager-based imple…
/frameworks/base/packages/SystemUI/src/com/android/systemui/dagger/
DFrameworkServicesModule.java72 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/
DMediaDeviceManager.kt23 import android.media.MediaRouter2Manager in <lambda>()
67 private val mr2manager: Lazy<MediaRouter2Manager>, in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DVolumeDialogControllerImpl.java39 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/
DMediaDeviceManagerTest.kt26 import android.media.MediaRouter2Manager
105 @Mock private lateinit var mr2: MediaRouter2Manager
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionRecord.java51 import android.media.MediaRouter2Manager;
672 MediaRouter2Manager mRouter2Manager = MediaRouter2Manager.getInstance(mContext); in canHandleVolumeKey()
DMediaRouter2ServiceImpl.java50 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/
Ddirty-image-objects522 Landroid/media/MediaRouter2Manager; 59
1337 Landroid/media/MediaRouter2Manager$Callback; 308
Dpreloaded-classes5292 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
Dboot-image-profile.txt11036 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/
Dpreloaded-classes5288 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
Dboot-image-profile.txt11033 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;