Home
last modified time | relevance | path

Searched refs:retriever (Results 1 – 25 of 36) sorted by relevance

12

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DMediaMetadataRetrieverTest.java36 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/
DMediaMetadataTest.java72 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/
Dandroid_media_MediaMetadataRetriever.cpp82 …MediaMetadataRetriever* retriever = (MediaMetadataRetriever*) env->GetLongField(thiz, fields.conte… in getRetriever() local
83 return retriever; in getRetriever()
86 static void setRetriever(JNIEnv* env, jobject thiz, const sp<MediaMetadataRetriever> &retriever) in setRetriever() argument
90 if (retriever != NULL) { in setRetriever()
91 retriever->incStrong(thiz); in setRetriever()
98 env->SetLongField(thiz, fields.context, (jlong) retriever.get()); in setRetriever()
107 sp<MediaMetadataRetriever> retriever = getRetriever(env, thiz); in android_media_MediaMetadataRetriever_setDataSourceAndHeaders() local
108 if (retriever == 0) { in android_media_MediaMetadataRetriever_setDataSourceAndHeaders()
154 retriever->setDataSource( in android_media_MediaMetadataRetriever_setDataSourceAndHeaders()
166 sp<MediaMetadataRetriever> retriever = getRetriever(env, thiz); in android_media_MediaMetadataRetriever_setDataSourceFD() local
[all …]
/frameworks/av/media/libmedia/
Dmediametadataretriever.cpp70 sp<IMediaMetadataRetriever> retriever(service->createMetadataRetriever()); in MediaMetadataRetriever() local
71 if (retriever == 0) { in MediaMetadataRetriever()
74 mRetriever = retriever; in MediaMetadataRetriever()
87 sp<IMediaMetadataRetriever> retriever; in disconnect() local
90 retriever = mRetriever; in disconnect()
93 if (retriever != 0) { in disconnect()
94 retriever->disconnect(); in disconnect()
DIMediaPlayerService.cpp143 sp<IMediaMetadataRetriever> retriever = createMetadataRetriever(); in onTransact() local
144 reply->writeStrongBinder(IInterface::asBinder(retriever)); in onTransact()
/frameworks/base/packages/StatementService/src/com/android/statementservice/
DDirectStatementService.java30 import com.android.statementservice.retriever.AbstractAsset;
31 import com.android.statementservice.retriever.AbstractAssetMatcher;
32 import com.android.statementservice.retriever.AbstractStatementRetriever;
33 import com.android.statementservice.retriever.AbstractStatementRetriever.Result;
34 import com.android.statementservice.retriever.AssociationServiceException;
35 import com.android.statementservice.retriever.Relation;
36 import com.android.statementservice.retriever.Statement;
/frameworks/base/core/java/android/content/pm/
DBaseParceledListSlice.java93 final IBinder retriever = p.readStrongBinder(); in BaseParceledListSlice() local
95 if (DEBUG) Log.d(TAG, "Reading more @" + i + " of " + N + ": retriever=" + retriever); in BaseParceledListSlice()
100 retriever.transact(IBinder.FIRST_CALL_TRANSACTION, data, reply, 0); in BaseParceledListSlice()
176 Binder retriever = new Binder() { in writeToParcel() local
202 if (DEBUG) Log.d(TAG, "Breaking @" + i + " of " + N + ": retriever=" + retriever); in writeToParcel()
203 dest.writeStrongBinder(retriever); in writeToParcel()
/frameworks/base/media/mca/tests/src/android/camera/mediaeffects/tests/functional/
DEffectsVideoCapture.java81 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/
DThumbnailUtils.java155 try (MediaMetadataRetriever retriever = new MediaMetadataRetriever()) { in createAudioThumbnail() argument
156 retriever.setDataSource(file.getAbsolutePath()); in createAudioThumbnail()
157 final byte[] raw = retriever.getEmbeddedPicture(); in createAudioThumbnail()
272 try (MediaMetadataRetriever retriever = new MediaMetadataRetriever()) { in createImageThumbnail() argument
273 retriever.setDataSource(file.getAbsolutePath()); in createImageThumbnail()
274 bitmap = retriever.getThumbnailImageAtIndex(-1, in createImageThumbnail()
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/
DAssociationServiceException.java17 package com.android.statementservice.retriever;
DAbstractAssetMatcher.java17 package com.android.statementservice.retriever;
DWebContent.java17 package com.android.statementservice.retriever;
DWebAssetMatcher.java17 package com.android.statementservice.retriever;
DParsedStatement.java17 package com.android.statementservice.retriever;
DAbstractStatementRetriever.java17 package com.android.statementservice.retriever;
DAbstractAsset.java17 package com.android.statementservice.retriever;
DAssetFactory.java17 package com.android.statementservice.retriever;
DAndroidAppAssetMatcher.java17 package com.android.statementservice.retriever;
DAssetMatcherFactory.java17 package com.android.statementservice.retriever;
DAssetJsonWriter.java17 package com.android.statementservice.retriever;
DAndroidPackageInfoFetcher.java17 package com.android.statementservice.retriever;
DStatement.java17 package com.android.statementservice.retriever;
DJsonParser.java17 package com.android.statementservice.retriever;
DRelation.java17 package com.android.statementservice.retriever;
DUtils.java16 package com.android.statementservice.retriever;

12