Home
last modified time | relevance | path

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

/cts/tests/tests/media/src/android/media/cts/
DMediaMetadataRetrieverTest.java27 import android.media.MediaMetadataRetriever;
41 import static android.media.MediaMetadataRetriever.OPTION_CLOSEST;
42 import static android.media.MediaMetadataRetriever.OPTION_CLOSEST_SYNC;
43 import static android.media.MediaMetadataRetriever.OPTION_NEXT_SYNC;
44 import static android.media.MediaMetadataRetriever.OPTION_PREVIOUS_SYNC;
60 protected MediaMetadataRetriever mRetriever;
80 mRetriever = new MediaMetadataRetriever(); in setUp()
132 "Title", mRetriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_TITLE)); in test3gppMetadata()
136 mRetriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_ARTIST)); in test3gppMetadata()
140 mRetriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_ALBUM)); in test3gppMetadata()
[all …]
DMediaMuxerTest.java25 import android.media.MediaMetadataRetriever;
388 MediaMetadataRetriever retrieverSrc = new MediaMetadataRetriever(); in verifyAttributesMatch()
392 MediaMetadataRetriever retrieverTest = new MediaMetadataRetriever(); in verifyAttributesMatch()
396 MediaMetadataRetriever.METADATA_KEY_VIDEO_ROTATION); in verifyAttributesMatch()
403 MediaMetadataRetriever.METADATA_KEY_VIDEO_HEIGHT); in verifyAttributesMatch()
405 MediaMetadataRetriever.METADATA_KEY_VIDEO_HEIGHT); in verifyAttributesMatch()
410 MediaMetadataRetriever.METADATA_KEY_VIDEO_WIDTH); in verifyAttributesMatch()
412 MediaMetadataRetriever.METADATA_KEY_VIDEO_WIDTH); in verifyAttributesMatch()
417 MediaMetadataRetriever.METADATA_KEY_VIDEO_WIDTH); in verifyAttributesMatch()
419 MediaMetadataRetriever.METADATA_KEY_VIDEO_WIDTH); in verifyAttributesMatch()
[all …]
DHeifWriterTest.java26 import android.media.MediaMetadataRetriever;
339 MediaMetadataRetriever retriever = new MediaMetadataRetriever(); in loadBitmapInputs()
342 MediaMetadataRetriever.METADATA_KEY_HAS_IMAGE); in loadBitmapInputs()
347 MediaMetadataRetriever.METADATA_KEY_IMAGE_COUNT))); in loadBitmapInputs()
577 MediaMetadataRetriever retriever = new MediaMetadataRetriever(); in verifyResult()
579 String hasImage = retriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_HAS_IMAGE); in verifyResult()
585 MediaMetadataRetriever.METADATA_KEY_IMAGE_WIDTH))); in verifyResult()
588 MediaMetadataRetriever.METADATA_KEY_IMAGE_HEIGHT))); in verifyResult()
591 MediaMetadataRetriever.METADATA_KEY_IMAGE_ROTATION))); in verifyResult()
594 MediaMetadataRetriever.METADATA_KEY_IMAGE_COUNT))); in verifyResult()
[all …]
DMediaRecorderTest.java30 import android.media.MediaMetadataRetriever;
37 import android.media.MediaMetadataRetriever;
475 MediaMetadataRetriever retriever = new MediaMetadataRetriever(); in checkTracksAndDuration()
477 … String hasVideoStr = retriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_HAS_VIDEO); in checkTracksAndDuration()
478 … String hasAudioStr = retriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_HAS_AUDIO); in checkTracksAndDuration()
484 String durStr = retriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_DURATION); in checkTracksAndDuration()
500 MediaMetadataRetriever retriever = new MediaMetadataRetriever(); in checkLocationInFile()
502 String location = retriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_LOCATION); in checkLocationInFile()
743 MediaMetadataRetriever retriever = new MediaMetadataRetriever(); in getRecordedFileDurationMs()
745 … String durationStr = retriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_DURATION); in getRecordedFileDurationMs()
[all …]
DMediaScannerTest.java30 import android.media.MediaMetadataRetriever;
620 MediaMetadataRetriever woodly = new MediaMetadataRetriever(); in testEncodingDetection()
626 actual[0] = woodly.extractMetadata(MediaMetadataRetriever.METADATA_KEY_ARTIST); in testEncodingDetection()
627 actual[1] = woodly.extractMetadata(MediaMetadataRetriever.METADATA_KEY_ALBUM); in testEncodingDetection()
628 actual[2] = woodly.extractMetadata(MediaMetadataRetriever.METADATA_KEY_ALBUMARTIST); in testEncodingDetection()
629 actual[3] = woodly.extractMetadata(MediaMetadataRetriever.METADATA_KEY_TITLE); in testEncodingDetection()
630 actual[4] = woodly.extractMetadata(MediaMetadataRetriever.METADATA_KEY_COMPOSER); in testEncodingDetection()
DMediaPlayerDrmTest.java30 import android.media.MediaMetadataRetriever;
DMediaPlayer2Test.java32 import android.media.MediaMetadataRetriever;
909 MediaMetadataRetriever retriever = new MediaMetadataRetriever();
912 MediaMetadataRetriever.METADATA_KEY_VIDEO_ROTATION);
DMediaPlayerTest.java31 import android.media.MediaMetadataRetriever;
1093 MediaMetadataRetriever retriever = new MediaMetadataRetriever();
1096 MediaMetadataRetriever.METADATA_KEY_VIDEO_ROTATION);
DNativeDecoderTest.java28 import android.media.MediaMetadataRetriever;
/cts/tests/tests/security/src/android/security/cts/
DMediaMetadataRetrieverTest.java23 import android.media.MediaMetadataRetriever;
32 protected MediaMetadataRetriever mRetriever;
38 mRetriever = new MediaMetadataRetriever(); in setUp()
DStagefrightTest.java40 import android.media.MediaMetadataRetriever;
1329 MediaMetadataRetriever retriever = new MediaMetadataRetriever(); in doStagefrightTestMediaMetadataRetriever()
1346 retriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_DURATION); in doStagefrightTestMediaMetadataRetriever()
/cts/tests/leanbackjank/app/src/android/leanbackjank/app/
DUtils.java24 import android.media.MediaMetadataRetriever;
106 MediaMetadataRetriever mmr = new MediaMetadataRetriever(); in getDuration()
112 return Long.parseLong(mmr.extractMetadata(MediaMetadataRetriever.METADATA_KEY_DURATION)); in getDuration()
/cts/tests/tests/drm/src/android/drm/cts/
DDRMTest.java53 import android.media.MediaMetadataRetriever;
276 MediaMetadataRetriever retriever = new MediaMetadataRetriever(); in testForwardLockAccess()
280 retriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_NUM_TRACKS); in testForwardLockAccess()
/cts/tests/tests/mediastress/src/android/mediastress/cts/
DCodecTest.java22 import android.media.MediaMetadataRetriever;
509 MediaMetadataRetriever mMediaMetadataRetriever = new MediaMetadataRetriever(); in getThumbnail()