/external/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/drm/ |
D | DrmInitData.java | 59 String schemeType = null; in createSessionCreationData() local 61 schemeType = manifestData.schemeType; in createSessionCreationData() 70 if (schemeType == null) { in createSessionCreationData() 71 schemeType = mediaData.schemeType; in createSessionCreationData() 81 return result.isEmpty() ? null : new DrmInitData(schemeType, result); in createSessionCreationData() 90 @Nullable public final String schemeType; field in DrmInitData 108 public DrmInitData(@Nullable String schemeType, List<SchemeData> schemeDatas) { in DrmInitData() argument 109 this(schemeType, false, schemeDatas.toArray(new SchemeData[0])); in DrmInitData() 123 public DrmInitData(@Nullable String schemeType, SchemeData... schemeDatas) { in DrmInitData() argument 124 this(schemeType, true, schemeDatas); in DrmInitData() [all …]
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/ |
D | SchemeTypeBox.java | 35 String schemeType = " "; field in SchemeTypeBox 44 return schemeType; in getSchemeType() 55 public void setSchemeType(String schemeType) { in setSchemeType() argument 56 …assert schemeType != null && schemeType.length() == 4 : "SchemeType may not be null or not 4 bytes… in setSchemeType() 57 this.schemeType = schemeType; in setSchemeType() 75 schemeType = IsoTypeReader.read4cc(content); in _parseDetails() 85 byteBuffer.put(IsoFile.fourCCtoBytes(schemeType)); in getContent() 96 buffer.append("schemeType=").append(schemeType).append("; "); in toString()
|
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/mp4/ |
D | TrackEncryptionBox.java | 40 @Nullable public final String schemeType; field in TrackEncryptionBox 68 @Nullable String schemeType, in TrackEncryptionBox() argument 76 this.schemeType = schemeType; in TrackEncryptionBox() 79 cryptoData = new TrackOutput.CryptoData(schemeToCryptoMode(schemeType), keyId, in TrackEncryptionBox() 84 private static int schemeToCryptoMode(@Nullable String schemeType) { in schemeToCryptoMode() argument 85 if (schemeType == null) { in schemeToCryptoMode() 89 switch (schemeType) { in schemeToCryptoMode() 97 Log.w(TAG, "Unsupported protection scheme type '" + schemeType + "'. Assuming AES-CTR " in schemeToCryptoMode()
|
D | AtomParsers.java | 908 : drmInitData.copyWithSchemeType(sampleEntryEncryptionData.second.schemeType); in parseVideoSampleEntry() 1125 : drmInitData.copyWithSchemeType(sampleEntryEncryptionData.second.schemeType); in parseAudioSampleEntry() 1361 @Nullable String schemeType = null; in parseCommonEncryptionSinfFromParent() local 1372 schemeType = parent.readString(4); in parseCommonEncryptionSinfFromParent() 1380 if (C.CENC_TYPE_cenc.equals(schemeType) || C.CENC_TYPE_cbc1.equals(schemeType) in parseCommonEncryptionSinfFromParent() 1381 || C.CENC_TYPE_cens.equals(schemeType) || C.CENC_TYPE_cbcs.equals(schemeType)) { in parseCommonEncryptionSinfFromParent() 1388 parent, schemeInformationBoxPosition, schemeInformationBoxSize, schemeType), in parseCommonEncryptionSinfFromParent() 1398 ParsableByteArray parent, int position, int size, String schemeType) { in parseSchiFromParent() argument 1427 return new TrackEncryptionBox(defaultIsProtected, schemeType, defaultPerSampleIvSize, in parseSchiFromParent()
|
D | FragmentedMp4Extractor.java | 743 parseSgpd(sbgp.data, sgpd.data, encryptionBox != null ? encryptionBox.schemeType : null, in parseTraf() 1073 @Nullable String schemeType, in parseSgpd() argument 1125 out.trackEncryptionBox = new TrackEncryptionBox(isProtected, schemeType, perSampleIvSize, keyId, in parseSgpd() 1526 @Nullable String schemeType = encryptionBox != null ? encryptionBox.schemeType : null; in updateDrmInitData() local 1527 DrmInitData updatedDrmInitData = drmInitData.copyWithSchemeType(schemeType); in updateDrmInitData()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/drm/ |
D | DefaultDrmSessionManager.java | 436 String schemeType = drmInitData.schemeType; in canAcquireSession() local 437 if (schemeType == null || C.CENC_TYPE_cenc.equals(schemeType)) { in canAcquireSession() 440 } else if (C.CENC_TYPE_cbc1.equals(schemeType) in canAcquireSession() 441 || C.CENC_TYPE_cbcs.equals(schemeType) in canAcquireSession() 442 || C.CENC_TYPE_cens.equals(schemeType)) { in canAcquireSession()
|
/external/exoplayer/tree/library/hls/src/test/java/com/google/android/exoplayer2/source/hls/playlist/ |
D | HlsMediaPlaylistParserTest.java | 171 assertThat(playlist.protectionSchemes.schemeType).isEqualTo(C.CENC_TYPE_cbcs); in parseSampleAesMethod() 200 assertThat(playlist.protectionSchemes.schemeType).isEqualTo(C.CENC_TYPE_cenc); in parseSampleAesCencMethod() 224 assertThat(playlist.protectionSchemes.schemeType).isEqualTo(C.CENC_TYPE_cenc); in parseSampleAesCtrMethod() 276 assertThat(playlist.protectionSchemes.schemeType).isEqualTo(C.CENC_TYPE_cbcs); in multipleExtXKeysForSingleSegment()
|
/external/exoplayer/tree/library/hls/src/main/java/com/google/android/exoplayer2/source/hls/ |
D | HlsMediaPeriod.java | 771 String scheme = drmInitData.schemeType; 779 if (TextUtils.equals(nextDrmInitData.schemeType, scheme)) {
|
D | HlsSampleStreamWrapper.java | 1422 DrmInitData overridingDrmInitData = this.overridingDrmInitData.get(drmInitData.schemeType);
|
/external/exoplayer/tree/library/dash/src/main/java/com/google/android/exoplayer2/source/dash/manifest/ |
D | DashManifestParser.java | 422 String schemeType = null; in parseContentProtection() local 431 schemeType = xpp.getAttributeValue(null, "value"); in parseContentProtection() 483 return Pair.create(schemeType, schemeData); in parseContentProtection()
|