/frameworks/base/media/java/android/media/ |
D | MediaMetadata.java | 75 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
|
D | MediaMetadata2.java | 71 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,
|
D | MediaMetadataEditor.java | 449 METADATA_KEYS_TYPE.put(MediaMetadataRetriever.METADATA_KEY_DURATION, METADATA_TYPE_LONG); in METADATA_KEYS_TYPE.put() argument
|
D | MediaMetadataRetriever.java | 795 public static final int METADATA_KEY_DURATION = 9; field in MediaMetadataRetriever
|
/frameworks/support/media/src/main/java/androidx/media/ |
D | MediaMetadata2.java | 76 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
|
D | MediaSession2ImplBase.java | 1226 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()
|
D | MediaController2ImplBase.java | 19 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/ |
D | EffectsVideoCapture.java | 84 MediaMetadataRetriever.METADATA_KEY_DURATION); in verify()
|
/frameworks/av/media/libmedia/include/media/ |
D | mediametadataretriever.h | 45 METADATA_KEY_DURATION = 9, enumerator
|
/frameworks/av/include/media/ |
D | mediametadataretriever.h | 45 METADATA_KEY_DURATION = 9, enumerator
|
/frameworks/support/media/src/main/java/android/support/v4/media/ |
D | MediaMetadataCompat.java | 58 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/ |
D | StagefrightMediaScanner.cpp | 128 { "duration", METADATA_KEY_DURATION }, in processFileInternal()
|
/frameworks/base/media/java/android/media/session/ |
D | MediaSessionLegacyHelper.java | 123 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/ |
D | MediaControllerGlue.java | 159 MediaMetadataCompat.METADATA_KEY_DURATION); in getMediaDuration()
|
D | MediaControllerAdapter.java | 259 MediaMetadataCompat.METADATA_KEY_DURATION); in getDuration()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/ |
D | MediaMetadataTest.java | 118 value = retriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_DURATION); in validateMetatData()
|
/frameworks/support/samples/SupportLeanbackDemos/src/main/java/com/example/android/leanback/ |
D | PlaybackTransportControlGlueSample.java | 266 metaDataBuilder.putLong(MediaMetadataCompat.METADATA_KEY_DURATION, getDuration()); in onMediaSessionMetaDataChanged()
|
/frameworks/base/tests/OneMedia/src/com/android/onemedia/ |
D | NotificationHelper.java | 207 .getLong(MediaMetadata.METADATA_KEY_DURATION); in updateNotification()
|
/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/media/model/ |
D | MusicProvider.java | 285 .putLong(MediaMetadataCompat.METADATA_KEY_DURATION, duration) in buildFromJSON()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
D | MediaMetadataRetrieverTest.java | 249 …Log.v(TAG, (value = retriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_DURATION)) == nu… in extractAllSupportedMetadataValues()
|
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/media/ |
D | MediaControllerAdapterTest.java | 764 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/ |
D | VideoView2ImplBaseWithMp1.java | 212 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/ |
D | MediaMetadata2Impl.java | 51 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/ |
D | VideoView2ImplBase.java | 223 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/ |
D | MediaSessionCompat.java | 903 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()
|