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.cpp78 …MediaMetadataRetriever* retriever = (MediaMetadataRetriever*) env->GetLongField(thiz, fields.conte… in getRetriever() local
79 return retriever; in getRetriever()
82 static void setRetriever(JNIEnv* env, jobject thiz, const sp<MediaMetadataRetriever> &retriever) in setRetriever() argument
86 if (retriever != NULL) { in setRetriever()
87 retriever->incStrong(thiz); in setRetriever()
94 env->SetLongField(thiz, fields.context, (jlong) retriever.get()); in setRetriever()
103 sp<MediaMetadataRetriever> retriever = getRetriever(env, thiz); in android_media_MediaMetadataRetriever_setDataSourceAndHeaders() local
104 if (retriever == 0) { in android_media_MediaMetadataRetriever_setDataSourceAndHeaders()
150 retriever->setDataSource( in android_media_MediaMetadataRetriever_setDataSourceAndHeaders()
162 sp<MediaMetadataRetriever> retriever = getRetriever(env, thiz); in android_media_MediaMetadataRetriever_setDataSourceFD() local
[all …]
/frameworks/base/packages/StatementService/src/com/android/statementservice/network/retriever/
DStatementParser.kt17 package com.android.statementservice.network.retriever in <lambda>()
20 import com.android.statementservice.retriever.AbstractAsset in <lambda>()
21 import com.android.statementservice.retriever.AssetFactory in <lambda>()
22 import com.android.statementservice.retriever.JsonParser in <lambda>()
23 import com.android.statementservice.retriever.Relation in <lambda>()
24 import com.android.statementservice.retriever.Statement in <lambda>()
29 import com.android.statementservice.retriever.WebAsset in <lambda>()
30 import com.android.statementservice.retriever.AndroidAppAsset in <lambda>()
DStatementRetriever.kt17 package com.android.statementservice.network.retriever
21 import com.android.statementservice.retriever.AbstractAsset
22 import com.android.statementservice.retriever.AndroidAppAsset
23 import com.android.statementservice.retriever.Statement
24 import com.android.statementservice.retriever.WebAsset
/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.cpp156 sp<IMediaMetadataRetriever> retriever = createMetadataRetriever(); in onTransact() local
157 reply->writeStrongBinder(IInterface::asBinder(retriever)); in onTransact()
/frameworks/base/packages/StatementService/src/com/android/statementservice/domain/
DDomainVerifier.kt24 import com.android.statementservice.network.retriever.StatementRetriever in <lambda>()
25 import com.android.statementservice.retriever.AbstractAsset in <lambda>()
26 import com.android.statementservice.retriever.AbstractAssetMatcher in <lambda>()
62 private val retriever = StatementRetriever() in <lambda>() constant
106 val result = retriever.retrieve(sourceAsset, network) in <lambda>()
/frameworks/base/apex/media/framework/java/android/media/
DBaseMediaParceledListSlice.java96 final IBinder retriever = p.readStrongBinder(); in BaseMediaParceledListSlice() local
98 if (DEBUG) Log.d(TAG, "Reading more @" + i + " of " + N + ": retriever=" + retriever); in BaseMediaParceledListSlice()
103 retriever.transact(IBinder.FIRST_CALL_TRANSACTION, data, reply, 0); in BaseMediaParceledListSlice()
178 Binder retriever = new Binder() { in writeToParcel() local
204 if (DEBUG) Log.d(TAG, "Breaking @" + i + " of " + N + ": retriever=" + retriever); in writeToParcel()
205 dest.writeStrongBinder(retriever); in writeToParcel()
/frameworks/libs/modules-utils/java/com/android/modules/utils/
DBaseParceledListSlice.java91 final IBinder retriever = p.readStrongBinder(); in BaseParceledListSlice() local
93 if (DEBUG) Log.d(TAG, "Reading more @" + i + " of " + N + ": retriever=" + retriever); in BaseParceledListSlice()
98 retriever.transact(IBinder.FIRST_CALL_TRANSACTION, data, reply, 0); in BaseParceledListSlice()
173 Binder retriever = new Binder() { in writeToParcel() local
199 if (DEBUG) Log.d(TAG, "Breaking @" + i + " of " + N + ": retriever=" + retriever); in writeToParcel()
200 dest.writeStrongBinder(retriever); in writeToParcel()
/frameworks/base/core/java/android/content/pm/
DBaseParceledListSlice.java85 final IBinder retriever = p.readStrongBinder(); in BaseParceledListSlice() local
87 if (DEBUG) Log.d(TAG, "Reading more @" + i + " of " + N + ": retriever=" + retriever); in BaseParceledListSlice()
92 retriever.transact(IBinder.FIRST_CALL_TRANSACTION, data, reply, 0); in BaseParceledListSlice()
177 Binder retriever = new Binder() { in writeToParcel() local
203 if (DEBUG) Log.d(TAG, "Breaking @" + i + " of " + N + ": retriever=" + retriever); in writeToParcel()
204 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/packages/StatementService/src/com/android/statementservice/retriever/
DStatement.java17 package com.android.statementservice.retriever;
22 import com.android.statementservice.network.retriever.StatementRetriever;
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;
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;
DJsonParser.java17 package com.android.statementservice.retriever;
/frameworks/base/media/java/android/media/
DThumbnailUtils.java153 try (MediaMetadataRetriever retriever = new MediaMetadataRetriever()) { in createAudioThumbnail() argument
154 retriever.setDataSource(file.getAbsolutePath()); in createAudioThumbnail()
155 final byte[] raw = retriever.getEmbeddedPicture(); in createAudioThumbnail()
277 try (MediaMetadataRetriever retriever = new MediaMetadataRetriever()) { in createImageThumbnail() argument
278 retriever.setDataSource(file.getAbsolutePath()); in createImageThumbnail()
279 bitmap = retriever.getThumbnailImageAtIndex(-1, in createImageThumbnail()
/frameworks/base/telecomm/java/com/android/internal/telecom/
DITelecomLoader.aidl27 ITelecomService createTelecomService(IInternalServiceRetriever retriever); in createTelecomService() argument

12