Home
last modified time | relevance | path

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

/cts/tests/tests/media/src/android/media/cts/
DMediaMetadata2Test.java53 MediaMetadata2 metadata = builder.build(); in testBuilder() local
54 assertTrue(TestUtils.equals(extras, metadata.getExtras())); in testBuilder()
55 assertEquals(title, metadata.getString(MediaMetadata2.METADATA_KEY_DISPLAY_TITLE)); in testBuilder()
56 assertEquals(discNumber, metadata.getLong(MediaMetadata2.METADATA_KEY_DISC_NUMBER)); in testBuilder()
57 assertEquals(rating, metadata.getRating(MediaMetadata2.METADATA_KEY_USER_RATING)); in testBuilder()
DMockPlaylistAgent.java59 public void setPlaylist(List<MediaItem2> list, MediaMetadata2 metadata) { in setPlaylist() argument
62 mMetadata = metadata; in setPlaylist()
72 public void updatePlaylistMetadata(MediaMetadata2 metadata) { in updatePlaylistMetadata() argument
74 mMetadata = metadata; in updatePlaylistMetadata()
DMediaSession2TestBase.java258 List<MediaItem2> list, MediaMetadata2 metadata) { in onPlaylistChanged() argument
259 mCallbackProxy.onPlaylistChanged(controller, list, metadata); in onPlaylistChanged()
264 MediaMetadata2 metadata) { in onPlaylistMetadataChanged() argument
265 mCallbackProxy.onPlaylistMetadataChanged(controller, metadata); in onPlaylistMetadataChanged()
DMediaController2Test.java116 MediaMetadata2 metadata) { in setUp()
117 super.onPlaylistMetadataChanged(session, playlistAgent, metadata); in setUp()
276 List<MediaItem2> playlist, MediaMetadata2 metadata) { in testGetPlaylist()
325 MediaMetadata2 metadata) { in testGetPlaylistMetadata()
327 assertEquals(testMetadata.getMediaId(), metadata.getMediaId()); in testGetPlaylistMetadata()
328 metadataFromCallback.set(metadata); in testGetPlaylistMetadata()
367 MediaMetadata2 metadata) { in testControllerCallback_onPlaylistMetadataChanged()
368 assertNotNull(metadata); in testControllerCallback_onPlaylistMetadataChanged()
369 assertEquals(item.getMediaId(), metadata.getMediaId()); in testControllerCallback_onPlaylistMetadataChanged()
DMediaBrowser2Test.java578 List<MediaItem2> list, MediaMetadata2 metadata) { in onPlaylistChanged() argument
579 mCallbackProxy.onPlaylistChanged(controller, list, metadata); in onPlaylistChanged()
584 MediaMetadata2 metadata) { in onPlaylistMetadataChanged() argument
585 mCallbackProxy.onPlaylistMetadataChanged(controller, metadata); in onPlaylistMetadataChanged()
DMediaSessionTest.java156 MediaMetadata metadata = in testConfigureSession() local
158 mSession.setMetadata(metadata); in testConfigureSession()
610 public void onMetadataChanged(MediaMetadata metadata) { in onMetadataChanged() argument
613 mMediaMetadata = metadata; in onMetadataChanged()
DMediaSession2Test.java462 List<MediaItem2> playlist, MediaMetadata2 metadata) { in testSessionCallback_onPlaylistChanged()
465 assertNull(metadata); in testSessionCallback_onPlaylistChanged()
D.goutputstream-9KZYJZ690 // There are a total of 19 metadata access units in the test stream; every one of them
/cts/hostsidetests/statsd/src/android/cts/statsd/metadata/
DMetadataTestCase.java17 package android.cts.statsd.metadata;
DMetadataTests.java16 package android.cts.statsd.metadata;