Home
last modified time | relevance | path

Searched refs:METADATA_KEY_DURATION (Results 1 – 19 of 19) sorted by relevance

/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/helpers/
DUtil.java63 temp.duration = "" + bundle.getLong(MediaMetadata.METADATA_KEY_DURATION, 0); in bundleToMetadata()
128 if (data.containsKey(MediaMetadata.METADATA_KEY_DURATION)) { in mediaMetadataToBundle()
129 bundle.putLong(MediaMetadata.METADATA_KEY_DURATION, in mediaMetadataToBundle()
130 data.getLong(MediaMetadata.METADATA_KEY_DURATION)); in mediaMetadataToBundle()
/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/
DMediaView.java104 if (tags.containsKey(MediaMetadata.METADATA_KEY_DURATION)) { in showAudioData()
105 int millis = tags.getInt(MediaMetadata.METADATA_KEY_DURATION); in showAudioData()
125 if (tags.containsKey(MediaMetadata.METADATA_KEY_DURATION)) { in showVideoData()
126 int millis = tags.getInt(MediaMetadata.METADATA_KEY_DURATION); in showVideoData()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/inspector/
DTestMetadata.java55 data.putInt(MediaMetadata.METADATA_KEY_DURATION, 72000); in populateVideoData()
62 data.putInt(MediaMetadata.METADATA_KEY_DURATION, 72000); in populateAudioData()
DMediaViewTest.java149 data.putInt(MediaMetadata.METADATA_KEY_DURATION, 21660000); in testShowVideoData_HourPlusDuration()
/packages/apps/Car/tests/TestMediaApp/src/com/android/car/media/testmediaapp/
DTmaMediaItem.java22 import static android.support.v4.media.MediaMetadataCompat.METADATA_KEY_DURATION;
153 long result = mMediaMetadata.getLong(METADATA_KEY_DURATION); in getDuration()
/packages/apps/Car/tests/TestMediaApp/src/com/android/car/media/testmediaapp/loader/
DTmaMediaMetadataReader.java39 import static android.support.v4.media.MediaMetadataCompat.METADATA_KEY_DURATION;
81 DURATION (METADATA_KEY_DURATION, ValueType.LONG),
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/
DTrackInfo.java68 metaDataBuilder.putLong(MediaMetadata.METADATA_KEY_DURATION, in getMetadata()
/packages/providers/MediaProvider/src/com/android/providers/media/scan/
DModernMediaScanner.java29 import static android.media.MediaMetadataRetriever.METADATA_KEY_DURATION;
621 parseOptional(mmr.extractMetadata(METADATA_KEY_DURATION))); in scanItemAudio()
691 parseOptional(mmr.extractMetadata(METADATA_KEY_DURATION))); in scanItemVideo()
/packages/apps/Gallery2/src/com/android/gallery3d/util/
DSaveVideoFileUtils.java146 MediaMetadataRetriever.METADATA_KEY_DURATION); in retriveVideoDurationMs()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/newavrcp/
DMediaPlayerWrapperTest.java93 .putLong(MediaMetadata.METADATA_KEY_DURATION, 5000L); in setUp()
634 m.putLong(MediaMetadata.METADATA_KEY_DURATION, 5000L); in testMetadataSyncFuzz()
/packages/apps/Camera2/tests/src/com/android/camera/functional/
DVideoCaptureIntentTest.java213 MediaMetadataRetriever.METADATA_KEY_DURATION);
/packages/apps/LegacyCamera/tests/src/com/android/camera/functional/
DVideoCaptureIntentTest.java236 MediaMetadataRetriever.METADATA_KEY_DURATION);
/packages/apps/TV/src/com/android/tv/dvr/ui/playback/
DDvrPlaybackMediaSessionHelper.java245 .putLong(MediaMetadata.METADATA_KEY_DURATION, duration); in updateMetadataTextInfo()
DDvrPlaybackControlHelper.java222 : (int) mediaMetadata.getLong(MediaMetadata.METADATA_KEY_DURATION); in getMediaDuration()
/packages/apps/Messaging/src/com/android/messaging/util/
DUriUtil.java167 return retriever.extractInteger(MediaMetadataRetriever.METADATA_KEY_DURATION, 0); in getMediaDurationMs()
/packages/apps/Car/LocalMediaPlayer/src/com/android/car/media/localmediaplayer/
DDataModel.java170 metadata.putLong(MediaMetadata.METADATA_KEY_DURATION, in getMetadata()
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/playback/
DPlaybackViewModel.java381 mMetadata.getLong(MediaMetadataCompat.METADATA_KEY_DURATION); in getMaxProgress()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaDocumentsProvider.java162 VIDEO_COLUMN_MAP.put(VideoColumns.DURATION, MediaMetadata.METADATA_KEY_DURATION); in VIDEO_COLUMN_MAP.put() argument
173 AUDIO_COLUMN_MAP.put(AudioColumns.DURATION, MediaMetadata.METADATA_KEY_DURATION); in AUDIO_COLUMN_MAP.put() argument
/packages/apps/Messaging/src/com/android/messaging/sms/
DMmsUtils.java410 MediaMetadataRetriever.METADATA_KEY_DURATION, defaultDurationMs); in getMediaDurationMs()