Searched refs:insertPerFrameSubtitles (Results 1 – 2 of 2) sorted by relevance
/cts/tests/media/src/android/mediav2/cts/ |
D | MuxerUnitTest.java | 76 static private void insertPerFrameSubtitles(MediaMuxer muxer, long presentationTimeUs, in insertPerFrameSubtitles() method in MuxerUnitTest.TestApi 289 insertPerFrameSubtitles(muxer, 0, trackID); in testIfAddTrackSucceedsAfterWriteSampleData() 309 insertPerFrameSubtitles(muxer, 0, trackID); in testIfAddTrackSucceedsAfterStop() 388 insertPerFrameSubtitles(muxer, 0, trackID); in testIfMuxerStartsAfterWriteSampleData() 409 insertPerFrameSubtitles(muxer, 0, trackID); in testIfMuxerStartsAfterStop() 464 insertPerFrameSubtitles(muxer, 0, trackID); in testIdempotentStop() 519 insertPerFrameSubtitles(muxer, 22000, trackID); in testIfWriteSampleDataRejectsInvalidTrackIndex() 521 insertPerFrameSubtitles(muxer, 0, trackID - 1); in testIfWriteSampleDataRejectsInvalidTrackIndex() 538 insertPerFrameSubtitles(muxer, 22000, trackID); in testIfWriteSampleDataRejectsNullByteBuffer() 563 insertPerFrameSubtitles(muxer, 22000, trackID); in testIfWriteSampleDataRejectsNullBuffInfo() [all …]
|
/cts/tests/media/jni/ |
D | NativeMuxerUnitTest.cpp | 37 static media_status_t insertPerFrameSubtitles(AMediaMuxer* muxer, long pts, size_t trackID) { in insertPerFrameSubtitles() function 194 isPass &= insertPerFrameSubtitles(muxer, 0, trackID) == AMEDIA_OK; in nativeTestIfAddTrackSucceedsAfterWriteSampleData() 216 isPass &= insertPerFrameSubtitles(muxer, 0, trackID) == AMEDIA_OK; in nativeTestIfAddTrackSucceedsAfterStop() 275 isPass &= insertPerFrameSubtitles(muxer, 0, trackID) == AMEDIA_OK; in nativeTestIfMuxerStartsAfterWriteSampleData() 297 isPass &= insertPerFrameSubtitles(muxer, 0, trackID) == AMEDIA_OK; in nativeTestIfMuxerStartsAfterStop() 339 isPass &= insertPerFrameSubtitles(muxer, 0, trackID) == AMEDIA_OK; in nativeTestIdempotentStop() 381 isPass &= insertPerFrameSubtitles(muxer, 0, trackID) == AMEDIA_OK; in nativeTestIfWriteSampleDataRejectsInvalidTrackIndex() 382 if (AMEDIA_OK == insertPerFrameSubtitles(muxer, 22000, trackID + 1)) { in nativeTestIfWriteSampleDataRejectsInvalidTrackIndex() 404 isPass &= insertPerFrameSubtitles(muxer, 0, trackID) == AMEDIA_OK; in nativeTestIfWriteSampleDataRejectsInvalidPts() 405 if (AMEDIA_OK == insertPerFrameSubtitles(muxer, -33000, trackID)) { in nativeTestIfWriteSampleDataRejectsInvalidPts() [all …]
|