/cts/tests/PhotoPicker/src/android/photopicker/cts/cloudproviders/ |
D | CloudProviderPrimary.java | 86 public AssetFileDescriptor onOpenPreview(String mediaId, Point size, Bundle extras, in onOpenPreview() argument 88 return new AssetFileDescriptor(mMediaGenerator.openMedia(mediaId), 0, in onOpenPreview() 93 public ParcelFileDescriptor onOpenMedia(String mediaId, Bundle extras, in onOpenMedia() argument 95 return mMediaGenerator.openMedia(mediaId); in onOpenMedia() 152 @NonNull String mediaId) { in onSurfaceCreated() argument 153 sMockSurfaceControllerListener.onSurfaceCreated(surfaceId, surface, mediaId); in onSurfaceCreated() 156 + ". MediaId: " + mediaId); in onSurfaceCreated()
|
D | CloudProviderSecondary.java | 71 public AssetFileDescriptor onOpenPreview(String mediaId, Point size, Bundle extras, in onOpenPreview() argument 73 return new AssetFileDescriptor(mMediaGenerator.openMedia(mediaId), 0, in onOpenPreview() 78 public ParcelFileDescriptor onOpenMedia(String mediaId, Bundle extras, in onOpenMedia() argument 80 return mMediaGenerator.openMedia(mediaId); in onOpenMedia()
|
D | CloudProviderNoPermission.java | 52 public AssetFileDescriptor onOpenPreview(String mediaId, Point size, Bundle extras, in onOpenPreview() argument 58 public ParcelFileDescriptor onOpenMedia(String mediaId, Bundle extras, in onOpenMedia() argument
|
D | CloudProviderNoIntentFilter.java | 52 public AssetFileDescriptor onOpenPreview(String mediaId, Point size, Bundle extras, in onOpenPreview() argument 58 public ParcelFileDescriptor onOpenMedia(String mediaId, Bundle extras, in onOpenMedia() argument
|
/cts/tests/leanbackjank/app/src/android/leanbackjank/app/data/ |
D | VideoProvider.java | 32 public static Movie getMovieById(String mediaId) { in getMovieById() argument 33 return sMovieListById.get(mediaId); in getMovieById()
|
/cts/tests/tests/media/bettertogether/src/android/media/bettertogether/cts/ |
D | MediaControllerTest.java | 351 final String mediaId = "test-media-id"; in testTransportControlsAndMediaSessionCallback() local 354 controls.playFromMediaId(mediaId, extras); in testTransportControlsAndMediaSessionCallback() 357 assertThat(mCallback.mMediaId).isEqualTo(mediaId); in testTransportControlsAndMediaSessionCallback() 414 controls.prepareFromMediaId(mediaId, extras); in testTransportControlsAndMediaSessionCallback() 417 assertThat(mCallback.mMediaId).isEqualTo(mediaId); in testTransportControlsAndMediaSessionCallback() 782 public void onPlayFromMediaId(String mediaId, Bundle extras) { in onPlayFromMediaId() argument 785 mMediaId = mediaId; in onPlayFromMediaId() 862 public void onPrepareFromMediaId(String mediaId, Bundle extras) { in onPrepareFromMediaId() argument 865 mMediaId = mediaId; in onPrepareFromMediaId()
|
D | MediaBrowserTest.java | 637 final String mediaId = "test_media_id"; in testGetItemWhileNotConnected() local 638 runOnMainThread(() -> mMediaBrowser.getItem(mediaId, mItemCallback)); in testGetItemWhileNotConnected() 649 .isEqualTo(mediaId); in testGetItemWhileNotConnected()
|
/cts/tests/mediaprovider/src/android/provider/cts/media/ |
D | MediaStore_Audio_AlbumsTest.java | 179 final long mediaId = ContentUris.parseId(mediaUri); in testAlbumArt() local 197 .appendPath(Long.toString(mediaId)).appendPath("albumart").build(); in testAlbumArt()
|
/cts/tests/PhotoPicker/src/android/photopicker/cts/ |
D | RemoteVideoPreviewTest.java | 312 private void verifyInitialVideoPreviewSetup(int surfaceId, String mediaId) { in verifyInitialVideoPreviewSetup() argument 318 eq(mediaId)); in verifyInitialVideoPreviewSetup()
|