Home
last modified time | relevance | path

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

/cts/tests/tests/tv/src/android/media/tv/cts/
DTvViewTest.java272 List<TvTrackInfo> tracks) { in selectTrackAndVerify() argument
294 for (TvTrackInfo item : tracks) { in selectTrackAndVerify()
352 final List<TvTrackInfo> tracks = new ArrayList<TvTrackInfo>(); in testTrackChange() local
353 Collections.addAll(tracks, videoTrack1, videoTrack2, audioTrack1, audioTrack2, in testTrackChange()
368 selectTrackAndVerify(type, track, tracks); in testTrackChange()
370 selectTrackAndVerify(TvTrackInfo.TYPE_SUBTITLE, null, tracks); in testTrackChange()
DStubTunerTvInputService.java44 public static void injectTrack(TvTrackInfo... tracks) { in injectTrack() argument
45 mTrackList.addAll(Arrays.asList(tracks)); in injectTrack()
DTvInputServiceTest.java834 ArrayList<TvTrackInfo> tracks = new ArrayList<>(); in verifyCallbackTracksChanged() local
835 tracks.add(DUMMY_TRACK); in verifyCallbackTracksChanged()
836 session.notifyTracksChanged(tracks); in verifyCallbackTracksChanged()
841 && Objects.equals(mCallback.mTracksChangedTrackList, tracks); in verifyCallbackTracksChanged()
850 ArrayList<TvTrackInfo> tracks = new ArrayList<>(); in verifyCallbackVideoSizeChanged() local
851 tracks.add(DUMMY_TRACK); in verifyCallbackVideoSizeChanged()
852 session.notifyTracksChanged(tracks); in verifyCallbackVideoSizeChanged()
/cts/tests/tests/media/src/android/media/cts/
DMediaExtractorTest.java320 int tracks = metrics.getInt(MediaExtractor.MetricsConstants.TRACKS, -1); in checkExtractorSamplesAndMetrics() local
321 if (tracks != trackCount) { in checkExtractorSamplesAndMetrics()
322 fail("getMetrics() trackCount expect " + trackCount + " got " + tracks); in checkExtractorSamplesAndMetrics()