Home
last modified time | relevance | path

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

/cts/tests/tests/media/src/android/media/cts/
DMediaPlayerTest.java1695 MediaPlayer.TrackInfo[] trackInfos = mMediaPlayer.getTrackInfo(); in readSubtitleTracks() local
1696 if (trackInfos == null || trackInfos.length == 0) { in readSubtitleTracks()
1701 for (int i = 0; i < trackInfos.length; ++i) { in readSubtitleTracks()
1702 assertTrue(trackInfos[i] != null); in readSubtitleTracks()
1703 if (trackInfos[i].getTrackType() == MediaPlayer.TrackInfo.MEDIA_TRACK_TYPE_SUBTITLE) { in readSubtitleTracks()
1940 MediaPlayer.TrackInfo[] trackInfos = mMediaPlayer.getTrackInfo(); in readTimedTextTracks() local
1941 if (trackInfos == null || trackInfos.length == 0) { in readTimedTextTracks()
1946 for (int i = 0; i < trackInfos.length; ++i) { in readTimedTextTracks()
1947 assertTrue(trackInfos[i] != null); in readTimedTextTracks()
1948 if (trackInfos[i].getTrackType() == MediaPlayer.TrackInfo.MEDIA_TRACK_TYPE_TIMEDTEXT) { in readTimedTextTracks()
[all …]
DStreamingMediaPlayerTest.java481 TrackInfo[] trackInfos = mMediaPlayer.getTrackInfo(); in testPlayHlsStreamWithTimedId3() local
482 for (i = 0; i < trackInfos.length; i++) { in testPlayHlsStreamWithTimedId3()
483 TrackInfo trackInfo = trackInfos[i]; in testPlayHlsStreamWithTimedId3()
/cts/tests/tests/security/src/android/security/cts/
DStagefrightTest.java1317 MediaPlayer.TrackInfo[] trackInfos = mp.getTrackInfo(); in testStagefright_cve_2018_9474() local
1318 if (trackInfos == null || trackInfos.length == 0) { in testStagefright_cve_2018_9474()
1322 MediaPlayer.TrackInfo trackInfo = trackInfos[0]; in testStagefright_cve_2018_9474()