Home
last modified time | relevance | path

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

/cts/tests/tests/media/src/android/media/cts/
DMediaItemTest.java36 MediaItem mediaItem = new MediaItem(description, MediaItem.FLAG_BROWSABLE); in testBrowsableMediaItem() local
38 assertEquals(description.toString(), mediaItem.getDescription().toString()); in testBrowsableMediaItem()
39 assertEquals(MEDIA_ID, mediaItem.getMediaId()); in testBrowsableMediaItem()
40 assertEquals(MediaItem.FLAG_BROWSABLE, mediaItem.getFlags()); in testBrowsableMediaItem()
41 assertTrue(mediaItem.isBrowsable()); in testBrowsableMediaItem()
42 assertFalse(mediaItem.isPlayable()); in testBrowsableMediaItem()
46 mediaItem.writeToParcel(p, 0); in testBrowsableMediaItem()
48 assertEquals(mediaItem.getFlags(), p.readInt()); in testBrowsableMediaItem()
58 MediaItem mediaItem = new MediaItem(description, MediaItem.FLAG_PLAYABLE); in testPlayableMediaItem() local
60 assertEquals(description.toString(), mediaItem.getDescription().toString()); in testPlayableMediaItem()
[all …]