/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
MediaMetadataRetrieverTest.java | 36 MediaMetadataRetriever retriever = new MediaMetadataRetriever(); local 49 retriever.setDataSource(MediaNames.ALBUMART_TEST_FILES[i]); 50 byte[] albumArt = retriever.getEmbeddedPicture(); 65 retriever.release(); 73 MediaMetadataRetriever retriever = new MediaMetadataRetriever(); local 88 retriever.setDataSource(MediaNames.THUMBNAIL_METADATA_TEST_FILES[i]); 89 Bitmap bitmap = retriever.getFrameAtTime(-1); 107 retriever.release(); 117 MediaMetadataRetriever retriever = new MediaMetadataRetriever(); local 127 retriever.setDataSource(MediaNames.THUMBNAIL_METADATA_TEST_FILES[i]) 144 MediaMetadataRetriever retriever = new MediaMetadataRetriever(); local 170 MediaMetadataRetriever retriever = new MediaMetadataRetriever(); local 185 MediaMetadataRetriever retriever = new MediaMetadataRetriever(); local [all...] |
/development/samples/RandomMusicPlayer/src/com/example/android/musicplayer/ |
PrepareMusicRetrieverTask.java | 30 public PrepareMusicRetrieverTask(MusicRetriever retriever, 32 mRetriever = retriever;
|
/packages/apps/Camera2/src/com/android/camera/ |
Thumbnail.java | 36 MediaMetadataRetriever retriever = new MediaMetadataRetriever(); local 39 retriever.setDataSource(filePath); 41 retriever.setDataSource(fd); 43 bitmap = retriever.getFrameAtTime(-1); 50 retriever.release();
|
/packages/apps/Camera2/src/com/android/camera/data/ |
VideoRotationMetadataLoader.java | 36 MediaMetadataRetriever retriever = new MediaMetadataRetriever(); local 38 retriever.setDataSource(path); 39 data.getMetadata().setVideoOrientation(retriever.extractMetadata( 42 String val = retriever.extractMetadata( 47 val = retriever.extractMetadata(
|
FilmstripItemUtils.java | 164 MediaMetadataRetriever retriever = new MediaMetadataRetriever(); local 166 retriever.setDataSource(path); 167 byte[] data = retriever.getEmbeddedPicture(); 172 bitmap = retriever.getFrameAtTime(); 177 retriever.release();
|
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/ |
AbstractAssetMatcher.java | 17 package com.android.statementservice.retriever;
|
AssociationServiceException.java | 17 package com.android.statementservice.retriever;
|
WebAssetMatcher.java | 17 package com.android.statementservice.retriever;
|
WebContent.java | 17 package com.android.statementservice.retriever;
|
AbstractStatementRetriever.java | 17 package com.android.statementservice.retriever;
|
ParsedStatement.java | 17 package com.android.statementservice.retriever;
|
AbstractAsset.java | 17 package com.android.statementservice.retriever; 82 * If this is the source asset of a statement file, should the retriever follow
|
AndroidAppAssetMatcher.java | 17 package com.android.statementservice.retriever;
|
AssetFactory.java | 17 package com.android.statementservice.retriever;
|
AssetMatcherFactory.java | 17 package com.android.statementservice.retriever;
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/ |
VideoThumbnailRequest.java | 66 final MediaMetadataRetrieverWrapper retriever = new MediaMetadataRetrieverWrapper(); local 68 retriever.setDataSource(mDescriptor.uri); 69 bitmap = retriever.getFrameAtTime(); 71 retriever.release();
|
/frameworks/base/media/jni/ |
android_media_MediaMetadataRetriever.cpp | 74 MediaMetadataRetriever* retriever = (MediaMetadataRetriever*) env->GetLongField(thiz, fields.context); local 75 return retriever; 78 static void setRetriever(JNIEnv* env, jobject thiz, MediaMetadataRetriever* retriever) 81 env->SetLongField(thiz, fields.context, (jlong) retriever); 90 MediaMetadataRetriever* retriever = getRetriever(env, thiz); local 91 if (retriever == 0) { 94 "java/lang/IllegalStateException", "No retriever available"); 137 retriever->setDataSource( 149 MediaMetadataRetriever* retriever = getRetriever(env, thiz); local 150 if (retriever == 0) 178 MediaMetadataRetriever* retriever = getRetriever(env, thiz); local 252 MediaMetadataRetriever* retriever = getRetriever(env, thiz); local 347 MediaMetadataRetriever* retriever = getRetriever(env, thiz); local 382 MediaMetadataRetriever* retriever = getRetriever(env, thiz); local 400 MediaMetadataRetriever* retriever = getRetriever(env, thiz); local 469 MediaMetadataRetriever* retriever = new MediaMetadataRetriever(); local [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/ |
MediaMetadataTest.java | 72 MediaMetadataRetriever retriever = new MediaMetadataRetriever(); local 74 retriever.setDataSource(meta_data_file[fileIndex][0]); 82 value = retriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_CD_TRACK_NUMBER); 86 value = retriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_ALBUM); 90 value = retriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_ARTIST); 94 value = retriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_AUTHOR); 98 value = retriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_COMPOSER); 102 value = retriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_DATE); 106 value = retriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_GENRE); 110 value = retriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_TITLE) [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
MediaMetadataRetrieverTest.java | 219 MediaMetadataRetriever retriever = new MediaMetadataRetriever(); local 223 retriever.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); 231 assertNotNull(retriever.getFrameAtTime(-1 /* timeUs (any) */)); 306 MediaMetadataRetriever retriever = new MediaMetadataRetriever(); local 310 retriever.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); 317 getVideoFrameAndVerify(retriever, testCase[0], testCase[1], option); 319 retriever.release(); 323 MediaMetadataRetriever retriever, long timeUs, long expectedCounter, int option) { 325 Bitmap bitmap = retriever.getFrameAtTime(timeUs, option); 345 MediaMetadataRetriever retriever = new MediaMetadataRetriever() local [all...] |
/frameworks/av/media/libmedia/ |
mediametadataretriever.cpp | 70 sp<IMediaMetadataRetriever> retriever(service->createMetadataRetriever()); 71 if (retriever == 0) { 74 mRetriever = retriever; 87 sp<IMediaMetadataRetriever> retriever; local 90 retriever = mRetriever; 93 if (retriever != 0) { 94 retriever->disconnect(); 106 ALOGE("retriever is not initialized"); 122 ALOGE("retriever is not initialized"); 138 ALOGE("retriever is not initialized") [all...] |
/frameworks/base/media/mca/tests/src/android/camera/mediaeffects/tests/functional/ |
EffectsVideoCapture.java | 81 MediaMetadataRetriever retriever = new MediaMetadataRetriever(); local 82 retriever.setDataSource(activity, uri); 83 String duration = retriever.extractMetadata(
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/media/ |
BluetoothMediaPlayback.java | 330 MediaMetadataRetriever retriever = new MediaMetadataRetriever(); local 331 retriever.setDataSource( 337 retriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_TITLE)); 338 Log.d(TAG + " Retriever : " + retriever.extractMetadata( 341 retriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_ALBUM)); 343 retriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_ARTIST)); 345 retriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_DURATION))); 347 retriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_NUM_TRACKS)));
|
/external/autotest/server/hosts/ |
base_label_unittest.py | 151 self.retriever = base_label.LabelRetriever(label_list) 152 self.retriever._populate_known_labels(label_list) 161 # Check on a normal retriever. 162 self.assertEqual(self.retriever.label_full_names, full_names) 163 self.assertEqual(self.retriever.label_prefix_names, prefix_names) 165 # Check on a retriever that has a label with a label list. 183 self.assertEqual(self.retriever._is_known_label(label), 199 retriever = base_label.LabelRetriever( 203 retriever.update_labels(mockhost)
|
/frameworks/base/packages/StatementService/src/com/android/statementservice/ |
DirectStatementService.java | 30 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;
|
/tools/tradefederation/core/src/com/android/tradefed/targetprep/ |
IDeviceFlasher.java | 61 * @param retriever the {@link IFlashingResourcesRetriever} to use 63 public void setFlashingResourcesRetriever(IFlashingResourcesRetriever retriever);
|