Home
last modified time | relevance | path

Searched refs:MediaMetadataRetriever (Results 1 – 24 of 24) sorted by relevance

/frameworks/av/media/libmedia/
Dmediametadataretriever.cpp34 Mutex MediaMetadataRetriever::sServiceLock;
35 sp<IMediaPlayerService> MediaMetadataRetriever::sService;
36 sp<MediaMetadataRetriever::DeathNotifier> MediaMetadataRetriever::sDeathNotifier;
38 const sp<IMediaPlayerService> MediaMetadataRetriever::getService() in getService()
62 MediaMetadataRetriever::MediaMetadataRetriever() in MediaMetadataRetriever() function in android::MediaMetadataRetriever
77 MediaMetadataRetriever::~MediaMetadataRetriever() in ~MediaMetadataRetriever()
84 void MediaMetadataRetriever::disconnect() in disconnect()
98 status_t MediaMetadataRetriever::setDataSource( in setDataSource()
117 status_t MediaMetadataRetriever::setDataSource(int fd, int64_t offset, int64_t length) in setDataSource()
132 status_t MediaMetadataRetriever::setDataSource( in setDataSource()
[all …]
DIMediaMetadataRetriever.cpp283 IMPLEMENT_META_INTERFACE(MediaMetadataRetriever, "android.media.IMediaMetadataRetriever");
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DMediaMetadataRetrieverTest.java20 import android.media.MediaMetadataRetriever;
36 MediaMetadataRetriever retriever = new MediaMetadataRetriever(); in testGetEmbeddedPicture()
73 MediaMetadataRetriever retriever = new MediaMetadataRetriever(); in testThumbnailCapture()
117 MediaMetadataRetriever retriever = new MediaMetadataRetriever(); in testMetadataRetrieval()
144 MediaMetadataRetriever retriever = new MediaMetadataRetriever(); in testBasicNormalMethodCallSequence()
170 MediaMetadataRetriever retriever = new MediaMetadataRetriever(); in testBasicAbnormalMethodCallSequence()
171 if (retriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_ALBUM) != null) { in testBasicAbnormalMethodCallSequence()
185 MediaMetadataRetriever retriever = new MediaMetadataRetriever(); in testSetDataSource()
246 private static void extractAllSupportedMetadataValues(MediaMetadataRetriever retriever) { in extractAllSupportedMetadataValues()
248 …Log.v(TAG, (value = retriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_CD_TRACK_NUMBER)… in extractAllSupportedMetadataValues()
[all …]
/frameworks/base/media/java/android/media/
DMediaMetadataEditor.java447 MediaMetadataRetriever.METADATA_KEY_CD_TRACK_NUMBER, METADATA_TYPE_LONG); in METADATA_KEYS_TYPE.put()
448 METADATA_KEYS_TYPE.put(MediaMetadataRetriever.METADATA_KEY_DISC_NUMBER, METADATA_TYPE_LONG); in METADATA_KEYS_TYPE.put()
449 METADATA_KEYS_TYPE.put(MediaMetadataRetriever.METADATA_KEY_DURATION, METADATA_TYPE_LONG); in METADATA_KEYS_TYPE.put()
450 METADATA_KEYS_TYPE.put(MediaMetadataRetriever.METADATA_KEY_YEAR, METADATA_TYPE_LONG); in METADATA_KEYS_TYPE.put()
452 METADATA_KEYS_TYPE.put(MediaMetadataRetriever.METADATA_KEY_ALBUM, METADATA_TYPE_STRING); in METADATA_KEYS_TYPE.put()
454 MediaMetadataRetriever.METADATA_KEY_ALBUMARTIST, METADATA_TYPE_STRING); in METADATA_KEYS_TYPE.put()
455 METADATA_KEYS_TYPE.put(MediaMetadataRetriever.METADATA_KEY_TITLE, METADATA_TYPE_STRING); in METADATA_KEYS_TYPE.put()
456 METADATA_KEYS_TYPE.put(MediaMetadataRetriever.METADATA_KEY_ARTIST, METADATA_TYPE_STRING); in METADATA_KEYS_TYPE.put()
457 METADATA_KEYS_TYPE.put(MediaMetadataRetriever.METADATA_KEY_AUTHOR, METADATA_TYPE_STRING); in METADATA_KEYS_TYPE.put()
459 MediaMetadataRetriever.METADATA_KEY_COMPILATION, METADATA_TYPE_STRING); in METADATA_KEYS_TYPE.put()
[all …]
DMediaMetadata.java395 EDITOR_KEY_MAPPING.put(MediaMetadataRetriever.METADATA_KEY_ALBUM, METADATA_KEY_ALBUM); in EDITOR_KEY_MAPPING.put()
396 EDITOR_KEY_MAPPING.put(MediaMetadataRetriever.METADATA_KEY_ALBUMARTIST, in EDITOR_KEY_MAPPING.put()
398 EDITOR_KEY_MAPPING.put(MediaMetadataRetriever.METADATA_KEY_ARTIST, METADATA_KEY_ARTIST); in EDITOR_KEY_MAPPING.put()
399 EDITOR_KEY_MAPPING.put(MediaMetadataRetriever.METADATA_KEY_AUTHOR, METADATA_KEY_AUTHOR); in EDITOR_KEY_MAPPING.put()
400 EDITOR_KEY_MAPPING.put(MediaMetadataRetriever.METADATA_KEY_CD_TRACK_NUMBER, in EDITOR_KEY_MAPPING.put()
402 EDITOR_KEY_MAPPING.put(MediaMetadataRetriever.METADATA_KEY_COMPOSER, METADATA_KEY_COMPOSER); in EDITOR_KEY_MAPPING.put()
403 EDITOR_KEY_MAPPING.put(MediaMetadataRetriever.METADATA_KEY_COMPILATION, in EDITOR_KEY_MAPPING.put()
405 EDITOR_KEY_MAPPING.put(MediaMetadataRetriever.METADATA_KEY_DATE, METADATA_KEY_DATE); in EDITOR_KEY_MAPPING.put()
406 EDITOR_KEY_MAPPING.put(MediaMetadataRetriever.METADATA_KEY_DISC_NUMBER, in EDITOR_KEY_MAPPING.put()
408 EDITOR_KEY_MAPPING.put(MediaMetadataRetriever.METADATA_KEY_DURATION, METADATA_KEY_DURATION); in EDITOR_KEY_MAPPING.put()
[all …]
DThumbnailUtils.java19 import static android.media.MediaMetadataRetriever.METADATA_KEY_DURATION;
20 import static android.media.MediaMetadataRetriever.METADATA_KEY_VIDEO_HEIGHT;
21 import static android.media.MediaMetadataRetriever.METADATA_KEY_VIDEO_WIDTH;
22 import static android.media.MediaMetadataRetriever.OPTION_CLOSEST_SYNC;
37 import android.media.MediaMetadataRetriever.BitmapParams;
153 try (MediaMetadataRetriever retriever = new MediaMetadataRetriever()) { in createAudioThumbnail()
276 try (MediaMetadataRetriever retriever = new MediaMetadataRetriever()) { in createImageThumbnail()
279 new MediaMetadataRetriever.BitmapParams(), size.getWidth(), in createImageThumbnail()
360 try (MediaMetadataRetriever mmr = new MediaMetadataRetriever()) { in createVideoThumbnail()
DMediaMetadataRetriever.java47 public class MediaMetadataRetriever implements AutoCloseable { class
215 public MediaMetadataRetriever() { in MediaMetadataRetriever() method in MediaMetadataRetriever
902 if (!"yes".equals(extractMetadata(MediaMetadataRetriever.METADATA_KEY_HAS_VIDEO))) { in getFramesAtIndexInternal()
906 extractMetadata(MediaMetadataRetriever.METADATA_KEY_VIDEO_FRAME_COUNT)); in getFramesAtIndexInternal()
1020 if (!"yes".equals(extractMetadata(MediaMetadataRetriever.METADATA_KEY_HAS_IMAGE))) { in getImageAtIndexInternal()
1024 String imageCount = extractMetadata(MediaMetadataRetriever.METADATA_KEY_IMAGE_COUNT); in getImageAtIndexInternal()
DExifInterface.java3018 MediaMetadataRetriever retriever = new MediaMetadataRetriever(); in getHeifAttributes()
3072 MediaMetadataRetriever.METADATA_KEY_EXIF_OFFSET); in getHeifAttributes()
3074 MediaMetadataRetriever.METADATA_KEY_EXIF_LENGTH); in getHeifAttributes()
3076 MediaMetadataRetriever.METADATA_KEY_HAS_IMAGE); in getHeifAttributes()
3078 MediaMetadataRetriever.METADATA_KEY_HAS_VIDEO); in getHeifAttributes()
3089 MediaMetadataRetriever.METADATA_KEY_IMAGE_WIDTH); in getHeifAttributes()
3091 MediaMetadataRetriever.METADATA_KEY_IMAGE_HEIGHT); in getHeifAttributes()
3093 MediaMetadataRetriever.METADATA_KEY_IMAGE_ROTATION); in getHeifAttributes()
3096 MediaMetadataRetriever.METADATA_KEY_VIDEO_WIDTH); in getHeifAttributes()
3098 MediaMetadataRetriever.METADATA_KEY_VIDEO_HEIGHT); in getHeifAttributes()
[all …]
/frameworks/base/media/java/android/media/session/
DMediaSessionLegacyHelper.java31 import android.media.MediaMetadataRetriever;
83 oldMetadata.putString(String.valueOf(MediaMetadataRetriever.METADATA_KEY_ALBUM), in getOldMetadata()
97 oldMetadata.putString(String.valueOf(MediaMetadataRetriever.METADATA_KEY_ALBUMARTIST), in getOldMetadata()
101 oldMetadata.putString(String.valueOf(MediaMetadataRetriever.METADATA_KEY_ARTIST), in getOldMetadata()
105 oldMetadata.putString(String.valueOf(MediaMetadataRetriever.METADATA_KEY_AUTHOR), in getOldMetadata()
109 oldMetadata.putString(String.valueOf(MediaMetadataRetriever.METADATA_KEY_COMPILATION), in getOldMetadata()
113 oldMetadata.putString(String.valueOf(MediaMetadataRetriever.METADATA_KEY_COMPOSER), in getOldMetadata()
117 oldMetadata.putString(String.valueOf(MediaMetadataRetriever.METADATA_KEY_DATE), in getOldMetadata()
121 oldMetadata.putLong(String.valueOf(MediaMetadataRetriever.METADATA_KEY_DISC_NUMBER), in getOldMetadata()
125 oldMetadata.putLong(String.valueOf(MediaMetadataRetriever.METADATA_KEY_DURATION), in getOldMetadata()
[all …]
/frameworks/base/media/mca/tests/src/android/camera/mediaeffects/tests/functional/
DEffectsVideoCapture.java29 import android.media.MediaMetadataRetriever;
81 MediaMetadataRetriever retriever = new MediaMetadataRetriever(); in verify()
84 MediaMetadataRetriever.METADATA_KEY_DURATION); in verify()
/frameworks/av/media/libstagefright/
DStagefrightMediaScanner.cpp85 sp<MediaMetadataRetriever> mRetriever(new MediaMetadataRetriever); in processFileInternal()
162 sp<MediaMetadataRetriever> mRetriever(new MediaMetadataRetriever); in extractAlbumArt()
/frameworks/av/media/libmedia/include/media/
Dmediametadataretriever.h80 class MediaMetadataRetriever: public RefBase
83 MediaMetadataRetriever();
84 ~MediaMetadataRetriever();
DIMediaMetadataRetriever.h34 DECLARE_META_INTERFACE(MediaMetadataRetriever);
/frameworks/av/media/libheif/
DHeifDecoderImpl.h30 class MediaMetadataRetriever; variable
61 sp<MediaMetadataRetriever> mRetriever;
DHeifDecoderImpl.cpp344 mRetriever = new MediaMetadataRetriever(); in reinit()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/
DMediaDecoder.java23 import android.media.MediaMetadataRetriever;
280 MediaMetadataRetriever metadataRetriever = new MediaMetadataRetriever(); in retrieveDefaultRotation()
283 MediaMetadataRetriever.METADATA_KEY_VIDEO_ROTATION); in retrieveDefaultRotation()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/mediarecorder/
DMediaRecorderTest.java31 import android.media.MediaMetadataRetriever;
445 MediaMetadataRetriever retriever = new MediaMetadataRetriever(); in validateMetadata()
451 MediaMetadataRetriever.METADATA_KEY_CAPTURE_FRAMERATE); in validateMetadata()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
DCodecTest.java32 import android.media.MediaMetadataRetriever;
542 MediaMetadataRetriever mMediaMetadataRetriever = new MediaMetadataRetriever(); in getThumbnail()
/frameworks/base/api/
Dlint-baseline.txt598 MissingNullability: android.media.MediaMetadataRetriever#getFrameAtTime(long, int, android.media.Me…
600 …ullability: android.media.MediaMetadataRetriever#getScaledFrameAtTime(long, int, int, int, android…
Dcurrent.txt26292 public class MediaMetadataRetriever implements java.lang.AutoCloseable {
26293 ctor public MediaMetadataRetriever();
26297 …roid.graphics.Bitmap getFrameAtIndex(int, @NonNull android.media.MediaMetadataRetriever.BitmapPara…
26300 …graphics.Bitmap getFrameAtTime(long, int, @NonNull android.media.MediaMetadataRetriever.BitmapPara…
26303 …aphics.Bitmap> getFramesAtIndex(int, int, @NonNull android.media.MediaMetadataRetriever.BitmapPara…
26305 …roid.graphics.Bitmap getImageAtIndex(int, @NonNull android.media.MediaMetadataRetriever.BitmapPara…
26307 …c android.graphics.Bitmap getPrimaryImage(@NonNull android.media.MediaMetadataRetriever.BitmapPara…
26310 …Range(from=1) int, @IntRange(from=1) int, @NonNull android.media.MediaMetadataRetriever.BitmapPara…
26360 public static final class MediaMetadataRetriever.BitmapParams {
26361 ctor public MediaMetadataRetriever.BitmapParams();
/frameworks/base/config/
Dpreloaded-classes3784 android.media.MediaMetadataRetriever$BitmapParams
3785 android.media.MediaMetadataRetriever
Dboot-image-profile.txt13167 HSPLandroid/media/MediaMetadataRetriever;-><init>()V
13168 HSPLandroid/media/MediaMetadataRetriever;->extractMetadata(I)Ljava/lang/String;
13169 HSPLandroid/media/MediaMetadataRetriever;->finalize()V
13170 HSPLandroid/media/MediaMetadataRetriever;->setDataSource(Ljava/io/FileDescriptor;)V
43970 Landroid/media/MediaMetadataRetriever$BitmapParams;
43971 Landroid/media/MediaMetadataRetriever;
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt15080 public class MediaMetadataRetriever {
15081 ctor public MediaMetadataRetriever();