Home
last modified time | relevance | path

Searched refs:mediaId (Results 1 – 9 of 9) sorted by relevance

/cts/tests/PhotoPicker/src/android/photopicker/cts/cloudproviders/
DCloudProviderPrimary.java86 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()
DCloudProviderSecondary.java71 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()
DCloudProviderNoPermission.java52 public AssetFileDescriptor onOpenPreview(String mediaId, Point size, Bundle extras, in onOpenPreview() argument
58 public ParcelFileDescriptor onOpenMedia(String mediaId, Bundle extras, in onOpenMedia() argument
DCloudProviderNoIntentFilter.java52 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/
DVideoProvider.java32 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/
DMediaControllerTest.java351 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()
DMediaBrowserTest.java637 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/
DMediaStore_Audio_AlbumsTest.java179 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/
DRemoteVideoPreviewTest.java312 private void verifyInitialVideoPreviewSetup(int surfaceId, String mediaId) { in verifyInitialVideoPreviewSetup() argument
318 eq(mediaId)); in verifyInitialVideoPreviewSetup()