Home
last modified time | relevance | path

Searched refs:getUtf8Bytes (Results 1 – 22 of 22) sorted by relevance

/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/drm/
DClearKeyUtilTest.java31 Util.getUtf8Bytes(
44 Util.getUtf8Bytes(
61 Util.getUtf8Bytes(
77 Util.getUtf8Bytes( in adjustSingleKeyResponseDataV26()
95 Util.getUtf8Bytes( in adjustMultiKeyResponseDataV26()
120 Util.getUtf8Bytes( in adjustRequestDataV26()
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/upstream/
DDataSchemeDataSourceTest.java52 Util.getUtf8Bytes( in base64Data()
62 Util.getUtf8Bytes("A brief note")); in asciiData()
85 Util.getUtf8Bytes( in sequentialRangeRequests()
92 Util.getUtf8Bytes( in sequentialRangeRequests()
96 assertDataSourceContent(schemeDataDataSource, dataSpec, Util.getUtf8Bytes("devin")); in sequentialRangeRequests()
/external/exoplayer/tree/library/hls/src/test/java/com/google/android/exoplayer2/source/hls/playlist/
DHlsMediaPlaylistParserTest.java78 InputStream inputStream = new ByteArrayInputStream(Util.getUtf8Bytes(playlistString)); in parseMediaPlaylist()
168 InputStream inputStream = new ByteArrayInputStream(Util.getUtf8Bytes(playlistString)); in parseSampleAesMethod()
197 InputStream inputStream = new ByteArrayInputStream(Util.getUtf8Bytes(playlistString)); in parseSampleAesCencMethod()
221 InputStream inputStream = new ByteArrayInputStream(Util.getUtf8Bytes(playlistString)); in parseSampleAesCtrMethod()
273 InputStream inputStream = new ByteArrayInputStream(Util.getUtf8Bytes(playlistString)); in multipleExtXKeysForSingleSegment()
331 InputStream inputStream = new ByteArrayInputStream(Util.getUtf8Bytes(playlistString)); in gapTag()
359 InputStream inputStream = new ByteArrayInputStream(Util.getUtf8Bytes(playlistString)); in mapTag()
387 InputStream inputStream = new ByteArrayInputStream(Util.getUtf8Bytes(playlistString)); in noExplicitInitSegmentInIFrameOnly_infersInitSegment()
422 InputStream inputStream = new ByteArrayInputStream(Util.getUtf8Bytes(playlistString)); in encryptedMapTag()
449 InputStream inputStream = new ByteArrayInputStream(Util.getUtf8Bytes(playlistString)); in encryptedMapTagWithNoIvFails()
[all …]
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/util/
DReusableBufferedOutputStreamTest.java29 private static final byte[] TEST_DATA_1 = Util.getUtf8Bytes("test data 1");
30 private static final byte[] TEST_DATA_2 = Util.getUtf8Bytes("2 test data");
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/drm/
DClearKeyUtil.java48 return Util.getUtf8Bytes(base64ToBase64Url(requestString)); in adjustRequestData()
82 return Util.getUtf8Bytes(adjustedResponseBuilder.toString()); in adjustResponseData()
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/text/webvtt/
DCssParserTest.java149 ParsableByteArray input = new ParsableByteArray(Util.getUtf8Bytes(stringInput)); in getNextToken()
207 ParsableByteArray input = new ParsableByteArray(Util.getUtf8Bytes(s)); in assertSkipsToEndOfSkip()
213 ParsableByteArray input = new ParsableByteArray(Util.getUtf8Bytes(s)); in assertInputLimit()
219 ParsableByteArray input = new ParsableByteArray(Util.getUtf8Bytes(styleBlock)); in assertParserProduces()
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/upstream/cache/
DSimpleCacheTest.java230 byte[] key = Util.getUtf8Bytes("Bar12345Bar12345"); // 128 bit key in encryptedIndex()
249 byte[] key = Util.getUtf8Bytes("Bar12345Bar12345"); // 128 bit key in encryptedIndexWrongKey()
259 byte[] key2 = Util.getUtf8Bytes("Foo12345Foo12345"); // 128 bit key in encryptedIndexWrongKey()
269 byte[] key = Util.getUtf8Bytes("Bar12345Bar12345"); // 128 bit key in encryptedIndexLostKey()
DCacheDataSourceTest2.java166 ? new AesCipherDataSource(Util.getUtf8Bytes(secretKey), file) : file; in buildCacheDataSource()
172 ? new AesCipherDataSink(Util.getUtf8Bytes(secretKey), cacheSink, scratch) : cacheSink; in buildCacheDataSource()
DCachedContentIndexTest.java222 byte[] key = Util.getUtf8Bytes("Bar12345Bar12345"); // 128 bit key in legacyEncryption()
223 byte[] key2 = Util.getUtf8Bytes("Foo12345Foo12345"); // 128 bit key in legacyEncryption()
/external/exoplayer/tree/library/extractor/src/test/java/com/google/android/exoplayer2/extractor/amr/
DAmrExtractorNonParameterizedTest.java53 FakeExtractorInput input = fakeExtractorInputWithData(Util.getUtf8Bytes("0#!AMR\n123")); in sniff_nonAmrSignature_returnFalse()
62 FakeExtractorInput input = fakeExtractorInputWithData(Util.getUtf8Bytes("0#!AMR-WB\n")); in read_nonAmrSignature_throwParserException()
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/amr/
DAmrExtractor.java116 private static final byte[] amrSignatureNb = Util.getUtf8Bytes("#!AMR\n");
117 private static final byte[] amrSignatureWb = Util.getUtf8Bytes("#!AMR-WB\n");
/external/exoplayer/tree/library/dash/src/test/java/com/google/android/exoplayer2/source/dash/
DDashMediaSourceTest.java73 long actual = parser.parse(null, new ByteArrayInputStream(Util.getUtf8Bytes(data))); in assertParseStringToLong()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/upstream/
DDataSchemeDataSource.java66 data = Util.getUtf8Bytes(URLDecoder.decode(dataString, C.ASCII_NAME)); in open()
/external/exoplayer/tree/library/dash/src/test/java/com/google/android/exoplayer2/source/dash/manifest/
DDashManifestParserTest.java136 Util.getUtf8Bytes( in parseMediaPresentationDescription_eventStream()
162 Util.getUtf8Bytes( in parseMediaPresentationDescription_eventStream()
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/upstream/crypto/
DAesFlushingCipherTest.java35 private static final byte[] KEY = Util.getUtf8Bytes("testKey:12345678");
/external/exoplayer/tree/demos/main/src/main/java/com/google/android/exoplayer2/demo/
DDownloadTracker.java280 Util.getUtf8Bytes(checkNotNull(mediaItem.mediaMetadata.title))); in buildDownloadRequest()
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/mkv/
DMatroskaExtractor.java275 private static final byte[] SSA_DIALOGUE_FORMAT = Util.getUtf8Bytes("Format: Start, End, "
1590 Util.getUtf8Bytes( in formatSubtitleTimecode()
/external/exoplayer/tree/library/hls/src/main/java/com/google/android/exoplayer2/source/hls/playlist/
DHlsPlaylistParser.java859 return new SchemeData(C.WIDEVINE_UUID, "hls", Util.getUtf8Bytes(line)); in parseDrmSchemeData()
/external/exoplayer/tree/extensions/cronet/src/test/java/com/google/android/exoplayer2/ext/cronet/
DCronetDataSourceTest.java79 private static final byte[] TEST_POST_BODY = Util.getUtf8Bytes("test post body");
/external/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/util/
DUtil.java590 public static byte[] getUtf8Bytes(String value) { in getUtf8Bytes() method in Util
/external/exoplayer/tree/library/dash/src/main/java/com/google/android/exoplayer2/source/dash/manifest/
DDashManifestParser.java921 messageData == null ? eventObject : Util.getUtf8Bytes(messageData))); in parseEvent()
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/mp4/
DAtomParsers.java83 private static final byte[] opusMagic = Util.getUtf8Bytes("OpusHead");