Home
last modified time | relevance | path

Searched refs:schemeData (Results 1 – 7 of 7) sorted by relevance

/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/drm/
DFrameworkMediaDrm.java184 SchemeData schemeData = null; in getKeyRequest() local
188 schemeData = getSchemeData(uuid, schemeDatas); in getKeyRequest()
189 initData = adjustRequestInitData(uuid, Assertions.checkNotNull(schemeData.data)); in getKeyRequest()
190 mimeType = adjustRequestMimeType(uuid, schemeData.mimeType); in getKeyRequest()
202 && schemeData != null in getKeyRequest()
203 && !TextUtils.isEmpty(schemeData.licenseServerUrl)) { in getKeyRequest()
204 licenseServerUrl = schemeData.licenseServerUrl; in getKeyRequest()
312 SchemeData schemeData = schemeDatas.get(i);
313 byte[] schemeDataData = Util.castNonNull(schemeData.data);
314 if (Util.areEqual(schemeData.mimeType, firstSchemeData.mimeType)
[all …]
DDefaultDrmSessionManager.java598 SchemeData schemeData = drmInitData.get(i); in getSchemeDatas() local
600 schemeData.matches(uuid) in getSchemeDatas()
601 || (C.CLEARKEY_UUID.equals(uuid) && schemeData.matches(C.COMMON_PSSH_UUID)); in getSchemeDatas()
602 if (uuidMatches && (schemeData.data != null || allowMissingData)) { in getSchemeDatas()
603 matchingSchemeDatas.add(schemeData); in getSchemeDatas()
/external/exoplayer/tree/library/extractor/src/test/java/com/google/android/exoplayer2/extractor/mp4/
DPsshAtomUtilTest.java37 byte[] schemeData = new byte[]{0, 1, 2, 3, 4, 5}; in buildPsshAtom()
38 byte[] psshAtom = PsshAtomUtil.buildPsshAtom(C.WIDEVINE_UUID, schemeData); in buildPsshAtom()
48 assertThat(parsablePsshAtom.readUnsignedIntToInt()).isEqualTo(schemeData.length); in buildPsshAtom()
49 byte[] psshSchemeData = new byte[schemeData.length]; in buildPsshAtom()
50 parsablePsshAtom.readBytes(psshSchemeData, 0, schemeData.length); in buildPsshAtom()
51 assertThat(psshSchemeData).isEqualTo(schemeData); in buildPsshAtom()
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/mp4/
DPsshAtomUtil.java145 return parsedAtom.schemeData; in parseSchemeSpecificData()
199 private final byte[] schemeData; field in PsshAtomUtil.PsshAtom
201 public PsshAtom(UUID uuid, int version, byte[] schemeData) { in PsshAtom() argument
204 this.schemeData = schemeData; in PsshAtom()
/external/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/drm/
DDrmInitData.java157 for (SchemeData schemeData : schemeDatas) { in get()
158 if (schemeData.matches(uuid)) { in get()
159 return schemeData; in get()
/external/exoplayer/tree/library/hls/src/main/java/com/google/android/exoplayer2/source/hls/playlist/
DHlsPlaylistParser.java301 SchemeData schemeData = parseDrmSchemeData(line, keyFormat, variableDefinitions); in parseMasterPlaylist() local
302 if (schemeData != null) { in parseMasterPlaylist()
305 sessionKeyDrmInitData.add(new DrmInitData(scheme, schemeData)); in parseMasterPlaylist()
690 SchemeData schemeData = parseDrmSchemeData(line, keyFormat, variableDefinitions); in parseMediaPlaylist() local
691 if (schemeData != null) { in parseMediaPlaylist()
693 currentSchemeDatas.put(keyFormat, schemeData); in parseMediaPlaylist()
/external/exoplayer/tree/library/dash/src/main/java/com/google/android/exoplayer2/source/dash/manifest/
DDashManifestParser.java481 SchemeData schemeData = in parseContentProtection() local
483 return Pair.create(schemeType, schemeData); in parseContentProtection()
1311 SchemeData schemeData = schemeDatas.get(i); in filterRedundantIncompleteSchemeDatas() local
1312 if (!schemeData.hasData()) { in filterRedundantIncompleteSchemeDatas()
1314 if (schemeDatas.get(j).canReplace(schemeData)) { in filterRedundantIncompleteSchemeDatas()