Home
last modified time | relevance | path

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

123

/frameworks/base/media/java/android/media/
DMediaMetadata.java75 METADATA_KEY_DURATION,
120 public static final String METADATA_KEY_DURATION = "android.media.metadata.DURATION"; field in MediaMetadata
358 METADATA_KEYS_TYPE.put(METADATA_KEY_DURATION, METADATA_TYPE_LONG); in METADATA_KEYS_TYPE.put() argument
407 EDITOR_KEY_MAPPING.put(MediaMetadataRetriever.METADATA_KEY_DURATION, METADATA_KEY_DURATION); in EDITOR_KEY_MAPPING.put() argument
DMediaMetadata2.java71 public static final String METADATA_KEY_DURATION = "android.media.metadata.DURATION"; field in MediaMetadata2
489 @StringDef({METADATA_KEY_DURATION, METADATA_KEY_YEAR, METADATA_KEY_TRACK_NUMBER,
DMediaMetadataEditor.java449 METADATA_KEYS_TYPE.put(MediaMetadataRetriever.METADATA_KEY_DURATION, METADATA_TYPE_LONG); in METADATA_KEYS_TYPE.put() argument
DMediaMetadataRetriever.java795 public static final int METADATA_KEY_DURATION = 9; field in MediaMetadataRetriever
/frameworks/support/media/src/main/java/androidx/media/
DMediaMetadata2.java76 public static final String METADATA_KEY_DURATION = "android.media.metadata.DURATION"; field in MediaMetadata2
521 @StringDef({METADATA_KEY_DURATION, METADATA_KEY_YEAR, METADATA_KEY_TRACK_NUMBER,
562 METADATA_KEYS_TYPE.put(METADATA_KEY_DURATION, METADATA_TYPE_LONG); in METADATA_KEYS_TYPE.put() argument
DMediaSession2ImplBase.java1226 if (!metadata.containsKey(MediaMetadata2.METADATA_KEY_DURATION)) { in onMediaPrepared()
1228 MediaMetadata2.METADATA_KEY_DURATION, duration).build(); in onMediaPrepared()
1231 metadata.getLong(MediaMetadata2.METADATA_KEY_DURATION); in onMediaPrepared()
1248 .putLong(MediaMetadata2.METADATA_KEY_DURATION, duration) in onMediaPrepared()
DMediaController2ImplBase.java19 import static android.support.v4.media.MediaMetadataCompat.METADATA_KEY_DURATION;
525 && mMediaMetadataCompat.containsKey(METADATA_KEY_DURATION)) { in getDuration()
526 return mMediaMetadataCompat.getLong(METADATA_KEY_DURATION); in getDuration()
/frameworks/base/media/mca/tests/src/android/camera/mediaeffects/tests/functional/
DEffectsVideoCapture.java84 MediaMetadataRetriever.METADATA_KEY_DURATION); in verify()
/frameworks/av/media/libmedia/include/media/
Dmediametadataretriever.h45 METADATA_KEY_DURATION = 9, enumerator
/frameworks/av/include/media/
Dmediametadataretriever.h45 METADATA_KEY_DURATION = 9, enumerator
/frameworks/support/media/src/main/java/android/support/v4/media/
DMediaMetadataCompat.java58 public static final String METADATA_KEY_DURATION = "android.media.metadata.DURATION"; field in MediaMetadataCompat
278 @StringDef({METADATA_KEY_DURATION, METADATA_KEY_YEAR, METADATA_KEY_TRACK_NUMBER,
310 METADATA_KEYS_TYPE.put(METADATA_KEY_DURATION, METADATA_TYPE_LONG); in METADATA_KEYS_TYPE.put() argument
/frameworks/av/media/libstagefright/
DStagefrightMediaScanner.cpp128 { "duration", METADATA_KEY_DURATION }, in processFileInternal()
/frameworks/base/media/java/android/media/session/
DMediaSessionLegacyHelper.java123 if (metadata.containsKey(MediaMetadata.METADATA_KEY_DURATION)) { in getOldMetadata()
124 oldMetadata.putLong(String.valueOf(MediaMetadataRetriever.METADATA_KEY_DURATION), in getOldMetadata()
125 metadata.getLong(MediaMetadata.METADATA_KEY_DURATION)); in getOldMetadata()
/frameworks/support/leanback/src/main/java/androidx/leanback/media/
DMediaControllerGlue.java159 MediaMetadataCompat.METADATA_KEY_DURATION); in getMediaDuration()
DMediaControllerAdapter.java259 MediaMetadataCompat.METADATA_KEY_DURATION); in getDuration()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
DMediaMetadataTest.java118 value = retriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_DURATION); in validateMetatData()
/frameworks/support/samples/SupportLeanbackDemos/src/main/java/com/example/android/leanback/
DPlaybackTransportControlGlueSample.java266 metaDataBuilder.putLong(MediaMetadataCompat.METADATA_KEY_DURATION, getDuration()); in onMediaSessionMetaDataChanged()
/frameworks/base/tests/OneMedia/src/com/android/onemedia/
DNotificationHelper.java207 .getLong(MediaMetadata.METADATA_KEY_DURATION); in updateNotification()
/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/media/model/
DMusicProvider.java285 .putLong(MediaMetadataCompat.METADATA_KEY_DURATION, duration) in buildFromJSON()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DMediaMetadataRetrieverTest.java249 …Log.v(TAG, (value = retriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_DURATION)) == nu… in extractAllSupportedMetadataValues()
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/media/
DMediaControllerAdapterTest.java764 metaDataBuilder.putLong(MediaMetadataCompat.METADATA_KEY_DURATION, duratoinForTesting); in createMediaMetaData()
773 metaDataBuilder.putLong(MediaMetadataCompat.METADATA_KEY_DURATION, in createMediaMetaData()
/frameworks/support/media-widget/src/main/java/androidx/media/widget/impl_with_mp1/
DVideoView2ImplBaseWithMp1.java212 mmBuilder.putLong(MediaMetadataCompat.METADATA_KEY_DURATION,
1102 MediaMetadataCompat.METADATA_KEY_DURATION, mMediaPlayer.getDuration()); in extractMetadata()
1272 builder.putLong(MediaMetadataCompat.METADATA_KEY_DURATION, mMediaPlayer.getDuration());
/frameworks/av/packages/MediaComponents/src/com/android/media/
DMediaMetadata2Impl.java51 METADATA_KEYS_TYPE.put(METADATA_KEY_DURATION, METADATA_TYPE_LONG); in METADATA_KEYS_TYPE.put() argument
/frameworks/support/media-widget/src/main/java/androidx/media/widget/impl/
DVideoView2ImplBase.java223 mmBuilder.putLong(MediaMetadataCompat.METADATA_KEY_DURATION,
1172 MediaMetadataCompat.METADATA_KEY_DURATION, mMediaPlayer.getDuration()); in extractMetadata()
1402 MediaMetadataCompat.METADATA_KEY_DURATION, mMediaPlayer.getDuration());
/frameworks/support/media/src/main/java/android/support/v4/media/session/
DMediaSessionCompat.java903 MediaMetadataCompat.METADATA_KEY_DURATION)) { in getStateWithUpdatedPosition()
904 duration = metadata.getLong(MediaMetadataCompat.METADATA_KEY_DURATION); in getStateWithUpdatedPosition()
2206 if (metadata.containsKey(MediaMetadataCompat.METADATA_KEY_DURATION)) { in buildRccMetadata()
2207 editor.putLong(MediaMetadataRetriever.METADATA_KEY_DURATION, in buildRccMetadata()
2208 metadata.getLong(MediaMetadataCompat.METADATA_KEY_DURATION)); in buildRccMetadata()

123