Home
last modified time | relevance | path

Searched refs:MediaRouter2 (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/
DRouterInfoMediaManager.java22 import android.media.MediaRouter2;
23 import android.media.MediaRouter2.RoutingController;
54 private final MediaRouter2 mRouter;
68 private final AtomicReference<MediaRouter2.ScanToken> mScanToken = new AtomicReference<>();
80 MediaRouter2 router = null; in RouterInfoMediaManager()
84 router = MediaRouter2.getInstance(context, packageName, userHandle); in RouterInfoMediaManager()
89 router = MediaRouter2.getInstance(context, packageName); in RouterInfoMediaManager()
104 MediaRouter2.ScanRequest request = new MediaRouter2.ScanRequest.Builder().build(); in startScanOnRouter()
123 MediaRouter2.ScanToken token = mScanToken.getAndSet(null); in stopScanOnRouter()
290 private final class RouteCallback extends MediaRouter2.RouteCallback {
[all …]
/frameworks/base/media/java/android/media/
DMediaRouter2.java84 public final class MediaRouter2 { class
143 private static final Map<PackageNameUserHandlePair, MediaRouter2> sAppToProxyRouterMap =
147 private static MediaRouter2 sInstance;
224 public static MediaRouter2 getInstance(@NonNull Context context) { in getInstance()
228 sInstance = new MediaRouter2(context.getApplicationContext()); in getInstance()
273 public static MediaRouter2 getInstance( in getInstance()
338 public static MediaRouter2 getInstance( in getInstance()
392 public static MediaRouter2 getInstance( in getInstance()
410 private static MediaRouter2 findOrCreateProxyInstanceForCallingUser( in findOrCreateProxyInstanceForCallingUser()
434 MediaRouter2 instance = sAppToProxyRouterMap.get(key); in findOrCreateProxyInstanceForCallingUser()
[all …]
DVolumeProvider.java20 import android.media.MediaRouter2.RoutingController;
DMediaRouter2Manager.java19 import static android.media.MediaRouter2.SCANNING_STATE_NOT_SCANNING;
20 import static android.media.MediaRouter2.SCANNING_STATE_WHILE_INTERACTIVE;
/frameworks/base/media/tests/MediaRouter/src/com/android/mediaroutertest/
DMediaRouter2ManagerTest.java48 import android.media.MediaRouter2;
49 import android.media.MediaRouter2.RouteCallback;
50 import android.media.MediaRouter2.TransferCallback;
98 private MediaRouter2 mRouter2;
105 private final List<MediaRouter2.TransferCallback> mTransferCallbacks = new ArrayList<>();
127 mRouter2 = MediaRouter2.getInstance(mContext); in setUp()
372 addRouterCallback(new MediaRouter2.RouteCallback() {}); in testRouterOnSessionCreated()
373 addTransferCallback(new MediaRouter2.TransferCallback() { in testRouterOnSessionCreated()
375 public void onTransfer(MediaRouter2.RoutingController oldController, in testRouterOnSessionCreated()
376 MediaRouter2.RoutingController newController) { in testRouterOnSessionCreated()
[all …]
/frameworks/base/media/java/android/media/flags/
Dmedia_better_together.aconfig8 description: "Make RouteListingPreference getter and callbacks public in MediaRouter2."
61 …description: "Allows clients of privileged MediaRouter2 that hold INTERACT_ACROSS_USERS_FULL to co…
117 …description: "Enable new MediaRouter2 API to enable watch companion apps to scan while the phone s…
/frameworks/base/packages/SettingsLib/aconfig/
Dsettingslib_media_flag_declarations.aconfig7 …description: "Gates whether to use a MediaRouter2-based implementation of InfoMediaManager, instea…
/frameworks/base/services/core/java/com/android/server/media/
DMediaRoute2Provider.java24 import android.media.MediaRouter2;
DMediaRouter2ServiceImpl.java23 import static android.media.MediaRouter2.SCANNING_STATE_NOT_SCANNING;
24 import static android.media.MediaRouter2.SCANNING_STATE_SCANNING_FULL;
25 import static android.media.MediaRouter2.SCANNING_STATE_WHILE_INTERACTIVE;
49 import android.media.MediaRouter2.ScanningState;
DMediaRouterService.java45 import android.media.MediaRouter2.ScanningState;
/frameworks/base/core/api/
Dcurrent.txt24582 public final class MediaRouter2 {
24583 …screen_off_scanning") public void cancelScanRequest(@NonNull android.media.MediaRouter2.ScanToken);
24584 …method @Nullable public android.media.MediaRouter2.RoutingController getController(@NonNull String…
24585 …method @NonNull public java.util.List<android.media.MediaRouter2.RoutingController> getControllers…
24586 …method @NonNull public static android.media.MediaRouter2 getInstance(@NonNull android.content.Cont…
24587 …nifest.permission.MEDIA_ROUTING_CONTROL}) public static android.media.MediaRouter2 getInstance(@No…
24590 method @NonNull public android.media.MediaRouter2.RoutingController getSystemController();
24591 …llback(@NonNull java.util.concurrent.Executor, @NonNull android.media.MediaRouter2.ControllerCallb…
24592 …llback(@NonNull java.util.concurrent.Executor, @NonNull android.media.MediaRouter2.RouteCallback, …
24594 …llback(@NonNull java.util.concurrent.Executor, @NonNull android.media.MediaRouter2.TransferCallbac…
[all …]
Dmodule-lib-lint-baseline.txt948 RequiresPermission: android.media.MediaRouter2#getInstance(android.content.Context, String):
Dtest-lint-baseline.txt1028 RequiresPermission: android.media.MediaRouter2#getInstance(android.content.Context, String):
Dsystem-lint-baseline.txt1036 RequiresPermission: android.media.MediaRouter2#getInstance(android.content.Context, String):
Dtest-current.txt2063 public class MediaRouter2.RoutingController {
Dsystem-current.txt7314 public final class MediaRouter2 {
7317 …nifest.permission.MEDIA_ROUTING_CONTROL}) public static android.media.MediaRouter2 getInstance(@No…
7320 …on.MEDIA_CONTENT_CONTROL) public void transfer(@NonNull android.media.MediaRouter2.RoutingControll…
7323 public abstract static class MediaRouter2.RouteCallback {
/frameworks/base/core/java/android/app/
DAppOpsManager.java58 import android.media.MediaRouter2;
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/boot/
Dpreloaded-classes5286 android.media.MediaRouter2$$ExternalSyntheticLambda7
5287 android.media.MediaRouter2$$ExternalSyntheticLambda8
Dboot-image-profile.txt27681 Landroid/media/MediaRouter2$$ExternalSyntheticLambda7;
27682 Landroid/media/MediaRouter2$$ExternalSyntheticLambda8;
/frameworks/base/config/
Dpreloaded-classes5290 android.media.MediaRouter2$$ExternalSyntheticLambda7
5291 android.media.MediaRouter2$$ExternalSyntheticLambda8
Dboot-image-profile.txt37815 Landroid/media/MediaRouter2$$ExternalSyntheticLambda7;
37816 Landroid/media/MediaRouter2$$ExternalSyntheticLambda8;