/cts/tests/tests/media/src/android/media/cts/ |
MediaMetadataRetrieverTest.java | 39 MediaMetadataRetriever retriever = new MediaMetadataRetriever(); local 45 retriever.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); 53 "Title", retriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_TITLE)); 57 retriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_ARTIST)); 61 retriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_ALBUM)); 65 retriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_CD_TRACK_NUMBER)); 68 "2013", retriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_YEAR)); 71 retriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_WRITER)); 75 MediaMetadataRetriever retriever = new MediaMetadataRetriever(); local 78 retriever.setDataSource((String)null) 86 MediaMetadataRetriever retriever = new MediaMetadataRetriever(); local [all...] |
MediaRecorderTest.java | 238 MediaMetadataRetriever retriever = new MediaMetadataRetriever(); local 239 retriever.setDataSource(fileName); 240 String hasVideoStr = retriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_HAS_VIDEO); 241 String hasAudioStr = retriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_HAS_AUDIO); 247 String durStr = retriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_DURATION); 250 retriever.release(); 251 retriever = null; 255 MediaMetadataRetriever retriever = new MediaMetadataRetriever(); local 256 retriever.setDataSource(fileName); 257 String location = retriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_LOCATION) 422 MediaMetadataRetriever retriever = new MediaMetadataRetriever(); local [all...] |
/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/Camera/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/ |
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 | 32 MediaMetadataRetriever retriever = new MediaMetadataRetriever(); local 34 retriever.setDataSource(path); 35 String rotation = retriever.extractMetadata( 39 String val = retriever.extractMetadata( 45 val = retriever.extractMetadata(
|
LocalDataUtil.java | 189 MediaMetadataRetriever retriever = new MediaMetadataRetriever(); local 191 retriever.setDataSource(path); 192 byte[] data = retriever.getEmbeddedPicture(); 197 bitmap = retriever.getFrameAtTime(); 202 retriever.release();
|
/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...] |
/frameworks/base/media/jni/ |
android_media_MediaMetadataRetriever.cpp | 73 MediaMetadataRetriever* retriever = (MediaMetadataRetriever*) env->GetLongField(thiz, fields.context); local 74 return retriever; 77 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) 233 MediaMetadataRetriever* retriever = getRetriever(env, thiz); local 322 MediaMetadataRetriever* retriever = getRetriever(env, thiz); local 357 MediaMetadataRetriever* retriever = getRetriever(env, thiz); local 375 MediaMetadataRetriever* retriever = getRetriever(env, thiz); local 448 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"); 137 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/chromium_org/third_party/libaddressinput/src/cpp/src/ |
rule_retriever.h | 29 class Retriever; 33 // const Retriever* retriever = ... 34 // RuleRetriever rules(retriever); 43 // Takes ownership of |retriever|. 44 explicit RuleRetriever(const Retriever* retriever); 51 scoped_ptr<const Retriever> data_retriever_;
|
rule_retriever.cc | 25 #include "retriever.h" 37 const Retriever& data_retriever) 60 const scoped_ptr<const Retriever::Callback> data_retrieved_; 67 RuleRetriever::RuleRetriever(const Retriever* retriever) 68 : data_retriever_(retriever) {
|
ondemand_supply_task.h | 26 #include "retriever.h" 50 void Retrieve(const Retriever& retriever); 62 const scoped_ptr<const Retriever::Callback> retrieved_;
|
ondemand_supply_task.cc | 31 #include "retriever.h" 60 void OndemandSupplyTask::Retrieve(const Retriever& retriever) { 67 // retriever.Retrieve() no attributes of this object can be accessed (as the 76 retriever.Retrieve(key, *retrieved_);
|
/packages/apps/Mms/src/com/android/mms/ui/ |
VideoAttachmentView.java | 109 MediaMetadataRetriever retriever = new MediaMetadataRetriever(); local 111 retriever.setDataSource(context, uri); 112 bitmap = retriever.getFrameAtTime(-1); 117 retriever.release();
|
/frameworks/base/core/java/android/content/pm/ |
ParceledListSlice.java | 90 final IBinder retriever = p.readStrongBinder(); local 92 if (DEBUG) Log.d(TAG, "Reading more @" + i + " of " + N + ": retriever=" + retriever); 97 retriever.transact(IBinder.FIRST_CALL_TRANSACTION, data, reply, 0); 164 Binder retriever = new Binder() { local 190 if (DEBUG) Log.d(TAG, "Breaking @" + i + " of " + N + ": retriever=" + retriever); 191 dest.writeStrongBinder(retriever);
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
SaveVideoFileUtils.java | 143 MediaMetadataRetriever retriever = new MediaMetadataRetriever(); local 144 retriever.setDataSource(path); 145 String duration = retriever.extractMetadata( 150 retriever.release();
|
/packages/apps/Mms/src/com/android/mms/model/ |
MediaModel.java | 214 MediaMetadataRetriever retriever = new MediaMetadataRetriever(); local 217 retriever.setDataSource(mContext, mUri); 218 String dur = retriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_DURATION); 227 retriever.release();
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
Thumbnail.java | 266 MediaMetadataRetriever retriever = new MediaMetadataRetriever(); local 269 retriever.setDataSource(filePath); 271 retriever.setDataSource(fd); 273 bitmap = retriever.getFrameAtTime(-1); 280 retriever.release();
|
/external/chromium_org/chrome/browser/android/profiles/ |
profile_downloader_android.cc | 158 AccountInfoRetriever* retriever = local 160 retriever->Start();
|
/packages/apps/Camera/tests/src/com/android/camera/functional/ |
VideoCaptureIntentTest.java | 210 MediaMetadataRetriever retriever = new MediaMetadataRetriever(); 211 retriever.setDataSource(activity, uri); 212 String duration = retriever.extractMetadata(
|
/packages/apps/Camera2/tests/src/com/android/camera/functional/ |
VideoCaptureIntentTest.java | 210 MediaMetadataRetriever retriever = new MediaMetadataRetriever(); 211 retriever.setDataSource(activity, uri); 212 String duration = retriever.extractMetadata(
|
/packages/apps/Camera2/tests_camera/src/com/android/camera/functional/ |
VideoCaptureIntentTest.java | 210 MediaMetadataRetriever retriever = new MediaMetadataRetriever(); 211 retriever.setDataSource(activity, uri); 212 String duration = retriever.extractMetadata(
|