Home
last modified time | relevance | path

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

12

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DMediaMetadataRetrieverTest.java59 MediaMetadataRetriever retriever = new MediaMetadataRetriever(); in testGetEmbeddedPicture() local
74 retriever.setDataSource(MediaNames.ALBUMART_TEST_FILES[i]); in testGetEmbeddedPicture()
75 byte[] albumArt = retriever.getEmbeddedPicture(); in testGetEmbeddedPicture()
93 retriever.release(); in testGetEmbeddedPicture()
102 MediaMetadataRetriever retriever = new MediaMetadataRetriever(); in testThumbnailCapture() local
120 retriever.setDataSource(MediaNames.THUMBNAIL_METADATA_TEST_FILES[i]); in testThumbnailCapture()
121 Bitmap bitmap = retriever.getFrameAtTime(-1); in testThumbnailCapture()
147 retriever.release(); in testThumbnailCapture()
162 MediaMetadataRetriever retriever = new MediaMetadataRetriever(); in testMetadataRetrieval() local
175 retriever.setDataSource(MediaNames.THUMBNAIL_METADATA_TEST_FILES[i]); in testMetadataRetrieval()
[all …]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
DMediaMetadataTest.java84 MediaMetadataRetriever retriever = new MediaMetadataRetriever(); in validateMetatData() local
86 retriever.setDataSource(metadataFile[fileIndex][0]); in validateMetatData()
94 value = retriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_CD_TRACK_NUMBER); in validateMetatData()
98 value = retriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_ALBUM); in validateMetatData()
102 value = retriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_ARTIST); in validateMetatData()
106 value = retriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_AUTHOR); in validateMetatData()
110 value = retriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_COMPOSER); in validateMetatData()
114 value = retriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_DATE); in validateMetatData()
118 value = retriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_GENRE); in validateMetatData()
122 value = retriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_TITLE); in validateMetatData()
[all …]
/frameworks/base/media/jni/
Dandroid_media_MediaMetadataRetriever.cpp80 …MediaMetadataRetriever* retriever = (MediaMetadataRetriever*) env->GetLongField(thiz, fields.conte… in getRetriever() local
81 return retriever; in getRetriever()
84 static void setRetriever(JNIEnv* env, jobject thiz, const sp<MediaMetadataRetriever> &retriever) in setRetriever() argument
88 if (retriever != NULL) { in setRetriever()
89 retriever->incStrong(thiz); in setRetriever()
96 env->SetLongField(thiz, fields.context, (jlong) retriever.get()); in setRetriever()
105 sp<MediaMetadataRetriever> retriever = getRetriever(env, thiz); in android_media_MediaMetadataRetriever_setDataSourceAndHeaders() local
106 if (retriever == 0) { in android_media_MediaMetadataRetriever_setDataSourceAndHeaders()
152 retriever->setDataSource( in android_media_MediaMetadataRetriever_setDataSourceAndHeaders()
164 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/libheif/
DHeifDecoderImpl.cpp350 sp<MediaMetadataRetriever> retriever = new MediaMetadataRetriever(); in reinit() local
351 status_t err = retriever->setDataSource(mDataSource, "image/heif"); in reinit()
360 mRetriever = retriever; in reinit()
364 const char* hasImage = retriever->extractMetadata(METADATA_KEY_HAS_IMAGE); in reinit()
365 const char* hasVideo = retriever->extractMetadata(METADATA_KEY_HAS_VIDEO); in reinit()
373 sp<IMemory> sharedMem = retriever->getImageAtIndex( in reinit()
408 sp<IMemory> sharedMem = retriever->getFrameAtTime(0, in reinit()
434 const char* frameCount = retriever->extractMetadata(METADATA_KEY_VIDEO_FRAME_COUNT); in reinit()
529 sp<MediaMetadataRetriever> retriever = weakRetriever.promote(); in decodeAsync() local
530 if (retriever == nullptr) { in decodeAsync()
[all …]
/frameworks/av/media/libmedia/
Dmediametadataretriever.cpp66 sp<IMediaMetadataRetriever> retriever(service->createMetadataRetriever()); in MediaMetadataRetriever() local
67 if (retriever == 0) { in MediaMetadataRetriever()
70 mRetriever = retriever; in MediaMetadataRetriever()
83 sp<IMediaMetadataRetriever> retriever; in disconnect() local
86 retriever = mRetriever; in disconnect()
89 if (retriever != 0) { in disconnect()
90 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 in com.android.statementservice.domain.DomainVerifier
106 val result = retriever.retrieve(sourceAsset, network) in <lambda>()
/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/media/mca/tests/src/android/camera/mediaeffects/tests/functional/
DEffectsVideoCapture.java82 MediaMetadataRetriever retriever = new MediaMetadataRetriever(); in verify() local
83 retriever.setDataSource(activity, uri); in verify()
84 String duration = retriever.extractMetadata( in verify()
/frameworks/base/core/java/android/content/pm/
DBaseParceledListSlice.java95 final IBinder retriever = p.readStrongBinder(); in BaseParceledListSlice() local
97 if (DEBUG) Log.d(TAG, "Reading more @" + i + " of " + N + ": retriever=" + retriever); in BaseParceledListSlice()
102 retriever.transact(IBinder.FIRST_CALL_TRANSACTION, data, reply, 0); in BaseParceledListSlice()
197 Binder retriever = new Binder() { in writeToParcel() local
255 if (DEBUG) Log.d(TAG, "Breaking @" + i + " of " + N + ": retriever=" + retriever); in writeToParcel()
256 dest.writeStrongBinder(retriever); in writeToParcel()
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DPowerStatsCollectorTest.java116 PowerStatsCollector.ConsumedEnergyRetrieverImpl retriever = in consumedEnergyRetriever() local
118 int[] energyConsumerIds = retriever.getEnergyConsumerIds(EnergyConsumerType.CPU_CLUSTER); in consumedEnergyRetriever()
120 long[] energy = retriever.getConsumedEnergyUws(energyConsumerIds); in consumedEnergyRetriever()
122 energy = retriever.getConsumedEnergyUws(energyConsumerIds); in consumedEnergyRetriever()
/frameworks/base/core/java/android/app/usage/
DParcelableUsageEventList.java82 final IBinder retriever = in.readStrongBinder(); in ParcelableUsageEventList() local
84 if (DEBUG) Log.d(TAG, "Reading more @" + i + " of " + N + ": retriever=" + retriever); in ParcelableUsageEventList()
89 retriever.transact(IBinder.FIRST_CALL_TRANSACTION, data, reply, 0); in ParcelableUsageEventList()
136 Binder retriever = new Binder() { in writeToParcel() local
186 if (DEBUG) Log.d(TAG, "Breaking @" + i + " of " + N + ": retriever=" + retriever); in writeToParcel()
187 dest.writeStrongBinder(retriever); in writeToParcel()
/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;
DAndroidAppAssetMatcher.java17 package com.android.statementservice.retriever;
DAssetFactory.java17 package com.android.statementservice.retriever;
DAssetMatcherFactory.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