/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
D | MediaMetadataRetrieverTest.java | 36 MediaMetadataRetriever retriever = new MediaMetadataRetriever(); in testGetEmbeddedPicture() local 49 retriever.setDataSource(MediaNames.ALBUMART_TEST_FILES[i]); in testGetEmbeddedPicture() 50 byte[] albumArt = retriever.getEmbeddedPicture(); in testGetEmbeddedPicture() 65 retriever.release(); in testGetEmbeddedPicture() 73 MediaMetadataRetriever retriever = new MediaMetadataRetriever(); in testThumbnailCapture() local 88 retriever.setDataSource(MediaNames.THUMBNAIL_METADATA_TEST_FILES[i]); in testThumbnailCapture() 89 Bitmap bitmap = retriever.getFrameAtTime(-1); in testThumbnailCapture() 107 retriever.release(); in testThumbnailCapture() 117 MediaMetadataRetriever retriever = new MediaMetadataRetriever(); in testMetadataRetrieval() local 127 retriever.setDataSource(MediaNames.THUMBNAIL_METADATA_TEST_FILES[i]); in testMetadataRetrieval() [all …]
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/ |
D | MediaMetadataTest.java | 72 MediaMetadataRetriever retriever = new MediaMetadataRetriever(); in validateMetatData() local 74 retriever.setDataSource(meta_data_file[fileIndex][0]); in validateMetatData() 82 value = retriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_CD_TRACK_NUMBER); in validateMetatData() 86 value = retriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_ALBUM); in validateMetatData() 90 value = retriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_ARTIST); in validateMetatData() 94 value = retriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_AUTHOR); in validateMetatData() 98 value = retriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_COMPOSER); in validateMetatData() 102 value = retriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_DATE); in validateMetatData() 106 value = retriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_GENRE); in validateMetatData() 110 value = retriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_TITLE); in validateMetatData() [all …]
|
/frameworks/base/media/jni/ |
D | android_media_MediaMetadataRetriever.cpp | 70 …MediaMetadataRetriever* retriever = (MediaMetadataRetriever*) env->GetIntField(thiz, fields.contex… in getRetriever() local 71 return retriever; in getRetriever() 74 static void setRetriever(JNIEnv* env, jobject thiz, int retriever) in setRetriever() argument 78 env->SetIntField(thiz, fields.context, retriever); in setRetriever() 87 MediaMetadataRetriever* retriever = getRetriever(env, thiz); in android_media_MediaMetadataRetriever_setDataSourceAndHeaders() local 88 if (retriever == 0) { in android_media_MediaMetadataRetriever_setDataSourceAndHeaders() 127 retriever->setDataSource( in android_media_MediaMetadataRetriever_setDataSourceAndHeaders() 137 MediaMetadataRetriever* retriever = getRetriever(env, thiz); in android_media_MediaMetadataRetriever_setDataSourceFD() local 138 if (retriever == 0) { in android_media_MediaMetadataRetriever_setDataSourceFD() 160 …process_media_retriever_call(env, retriever->setDataSource(fd, offset, length), "java/lang/Runtime… in android_media_MediaMetadataRetriever_setDataSourceFD() [all …]
|
/frameworks/av/media/libmedia/ |
D | mediametadataretriever.cpp | 67 sp<IMediaMetadataRetriever> retriever(service->createMetadataRetriever(getpid())); in MediaMetadataRetriever() local 68 if (retriever == 0) { in MediaMetadataRetriever() 71 mRetriever = retriever; in MediaMetadataRetriever() 84 sp<IMediaMetadataRetriever> retriever; in disconnect() local 87 retriever = mRetriever; in disconnect() 90 if (retriever != 0) { in disconnect() 91 retriever->disconnect(); in disconnect()
|
D | IMediaPlayerService.cpp | 217 sp<IMediaMetadataRetriever> retriever = createMetadataRetriever(pid); in onTransact() local 218 reply->writeStrongBinder(retriever->asBinder()); in onTransact()
|
/frameworks/base/media/mca/tests/src/android/camera/mediaeffects/tests/functional/ |
D | EffectsVideoCapture.java | 81 MediaMetadataRetriever retriever = new MediaMetadataRetriever(); in verify() local 82 retriever.setDataSource(activity, uri); in verify() 83 String duration = retriever.extractMetadata( in verify()
|
/frameworks/base/media/java/android/media/ |
D | ThumbnailUtils.java | 160 MediaMetadataRetriever retriever = new MediaMetadataRetriever(); in createVideoThumbnail() local 162 retriever.setDataSource(filePath); in createVideoThumbnail() 163 bitmap = retriever.getFrameAtTime(-1); in createVideoThumbnail() 170 retriever.release(); in createVideoThumbnail()
|
/frameworks/av/cmds/stagefright/ |
D | stagefright.cpp | 823 sp<IMediaMetadataRetriever> retriever = in main() local 826 CHECK(retriever != NULL); in main() 839 CHECK_EQ(retriever->setDataSource(fd, 0, fileSize), (status_t)OK); in main() 845 retriever->getFrameAtTime(-1, in main() 860 mem = retriever->extractAlbumArt(); in main()
|
/frameworks/base/core/java/android/app/ |
D | ActivityManager.java | 806 public IThumbnailRetriever retriever; field in ActivityManager.TaskThumbnails 813 return retriever.getThumbnail(index); in getSubThumbnail() 831 dest.writeStrongInterface(retriever); in writeToParcel() 841 retriever = IThumbnailRetriever.Stub.asInterface(source.readStrongBinder()); in readFromParcel()
|
/frameworks/base/media/java/android/media/videoeditor/ |
D | VideoEditorImpl.java | 1836 MediaMetadataRetriever retriever = new MediaMetadataRetriever(); in generateProjectThumbnail() local 1837 retriever.setDataSource(filename); in generateProjectThumbnail() 1838 Bitmap bitmap = retriever.getFrameAtTime(); in generateProjectThumbnail() 1839 retriever.release(); in generateProjectThumbnail() 1840 retriever = null; in generateProjectThumbnail()
|
/frameworks/av/media/libmediaplayerservice/ |
D | MediaPlayerService.cpp | 246 sp<MetadataRetrieverClient> retriever = new MetadataRetrieverClient(pid); in createMetadataRetriever() local 248 return retriever; in createMetadataRetriever()
|
/frameworks/base/services/java/com/android/server/am/ |
D | ActivityStack.java | 4533 thumbs.retriever = new IThumbnailRetriever.Stub() { in getTaskAccessInfoLocked()
|