Searched refs:MediaRouter2 (Results 1 – 22 of 22) sorted by relevance
22 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 …]
84 public final class MediaRouter2 { class143 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 …]
20 import android.media.MediaRouter2.RoutingController;
19 import static android.media.MediaRouter2.SCANNING_STATE_NOT_SCANNING;20 import static android.media.MediaRouter2.SCANNING_STATE_WHILE_INTERACTIVE;
48 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 …]
8 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…
7 …description: "Gates whether to use a MediaRouter2-based implementation of InfoMediaManager, instea…
24 import android.media.MediaRouter2;
23 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;
45 import android.media.MediaRouter2.ScanningState;
24582 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 …]
948 RequiresPermission: android.media.MediaRouter2#getInstance(android.content.Context, String):
1028 RequiresPermission: android.media.MediaRouter2#getInstance(android.content.Context, String):
1036 RequiresPermission: android.media.MediaRouter2#getInstance(android.content.Context, String):
2063 public class MediaRouter2.RoutingController {
7314 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 {
58 import android.media.MediaRouter2;
AndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
5286 android.media.MediaRouter2$$ExternalSyntheticLambda75287 android.media.MediaRouter2$$ExternalSyntheticLambda8
27681 Landroid/media/MediaRouter2$$ExternalSyntheticLambda7;27682 Landroid/media/MediaRouter2$$ExternalSyntheticLambda8;
5290 android.media.MediaRouter2$$ExternalSyntheticLambda75291 android.media.MediaRouter2$$ExternalSyntheticLambda8
37815 Landroid/media/MediaRouter2$$ExternalSyntheticLambda7;37816 Landroid/media/MediaRouter2$$ExternalSyntheticLambda8;