Home
last modified time | relevance | path

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

/cts/tests/media/src/android/mediav2/cts/
DMuxerUnitTest.java79 byte[] greeting = "hello world".getBytes(StandardCharsets.UTF_8); in insertPerFrameSubtitles()
80 ByteBuffer metaBuff = ByteBuffer.allocate(greeting.length); in insertPerFrameSubtitles()
81 metaBuff.put(greeting); in insertPerFrameSubtitles()
84 metaInfo.size = greeting.length; in insertPerFrameSubtitles()
563 byte[] greeting = "hello world".getBytes(StandardCharsets.UTF_8); in testIfWriteSampleDataRejectsNullBuffInfo()
564 ByteBuffer metaBuff = ByteBuffer.allocate(greeting.length); in testIfWriteSampleDataRejectsNullBuffInfo()
565 metaBuff.put(greeting); in testIfWriteSampleDataRejectsNullBuffInfo()
587 byte[] greeting = "hello world".getBytes(StandardCharsets.UTF_8); in testIfWriteSampleDataRejectsInvalidBuffInfo()
588 ByteBuffer metaBuff = ByteBuffer.allocate(greeting.length); in testIfWriteSampleDataRejectsInvalidBuffInfo()
589 metaBuff.put(greeting); in testIfWriteSampleDataRejectsInvalidBuffInfo()
[all …]
/cts/tests/media/jni/
DNativeMuxerUnitTest.cpp38 const char* greeting = "hello world"; in insertPerFrameSubtitles() local
41 info->size = strlen(greeting); in insertPerFrameSubtitles()
44 media_status_t status = AMediaMuxer_writeSampleData(muxer, trackID, (uint8_t*)greeting, info); in insertPerFrameSubtitles()