/external/exoplayer/tree/library/dash/src/test/java/com/google/android/exoplayer2/source/dash/ |
D | DashUtilTest.java | 43 DrmInitData drmInitData = DashUtil.loadDrmInitData(DummyDataSource.INSTANCE, period); in loadDrmInitDataFromManifest() local 44 assertThat(drmInitData).isEqualTo(newDrmInitData()); in loadDrmInitDataFromManifest() 50 DrmInitData drmInitData = DashUtil.loadDrmInitData(DummyDataSource.INSTANCE, period); in loadDrmInitDataMissing() local 51 assertThat(drmInitData).isNull(); in loadDrmInitDataMissing() 57 DrmInitData drmInitData = DashUtil.loadDrmInitData(DummyDataSource.INSTANCE, period); in loadDrmInitDataNoRepresentations() local 58 assertThat(drmInitData).isNull(); in loadDrmInitDataNoRepresentations() 64 DrmInitData drmInitData = DashUtil.loadDrmInitData(DummyDataSource.INSTANCE, period); in loadDrmInitDataNoAdaptationSets() local 65 assertThat(drmInitData).isNull(); in loadDrmInitDataNoAdaptationSets() 82 private static Representation newRepresentation(DrmInitData drmInitData) { in newRepresentation() argument 87 .setDrmInitData(drmInitData) in newRepresentation()
|
/external/exoplayer/tree/library/common/src/test/java/com/google/android/exoplayer2/drm/ |
D | DrmInitDataTest.java | 65 DrmInitData drmInitData = new DrmInitData(DATA_1, DATA_2); in equals() local 69 assertThat(testInitData).isEqualTo(drmInitData); in equals() 70 assertThat(testInitData.hashCode()).isEqualTo(drmInitData.hashCode()); in equals() 74 assertThat(testInitData).isEqualTo(drmInitData); in equals() 75 assertThat(testInitData.hashCode()).isEqualTo(drmInitData.hashCode()); in equals() 79 assertThat(testInitData).isEqualTo(drmInitData); in equals() 80 assertThat(testInitData.hashCode()).isEqualTo(drmInitData.hashCode()); in equals() 84 assertThat(testInitData).isEqualTo(drmInitData); in equals() 85 assertThat(testInitData.hashCode()).isEqualTo(drmInitData.hashCode()); in equals() 89 assertThat(drmInitData).isNotEqualTo(testInitData); in equals() [all …]
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/drm/ |
D | DrmSessionManager.java | 37 public boolean canAcquireSession(DrmInitData drmInitData) { 45 DrmInitData drmInitData) { 53 public Class<ExoMediaCrypto> getExoMediaCryptoType(DrmInitData drmInitData) { 81 boolean canAcquireSession(DrmInitData drmInitData); in canAcquireSession() argument 118 DrmInitData drmInitData); in acquireSession() argument 125 Class<? extends ExoMediaCrypto> getExoMediaCryptoType(DrmInitData drmInitData); in getExoMediaCryptoType() argument
|
D | OfflineLicenseHelper.java | 189 public synchronized byte[] downloadLicense(DrmInitData drmInitData) throws DrmSessionException { in downloadLicense() argument 190 Assertions.checkArgument(drmInitData != null); in downloadLicense() 191 return blockingKeyRequest(DefaultDrmSessionManager.MODE_DOWNLOAD, null, drmInitData); in downloadLicense() 257 @Mode int licenseMode, @Nullable byte[] offlineLicenseKeySetId, DrmInitData drmInitData) in blockingKeyRequest() argument 261 openBlockingKeyRequest(licenseMode, offlineLicenseKeySetId, drmInitData); in blockingKeyRequest() 273 @Mode int licenseMode, @Nullable byte[] offlineLicenseKeySetId, DrmInitData drmInitData) { in openBlockingKeyRequest() argument 277 drmSessionManager.acquireSession(handlerThread.getLooper(), eventDispatcher, drmInitData); in openBlockingKeyRequest()
|
D | DefaultDrmSessionManager.java | 420 public boolean canAcquireSession(DrmInitData drmInitData) { in canAcquireSession() argument 425 List<SchemeData> schemeDatas = getSchemeDatas(drmInitData, uuid, true); in canAcquireSession() 427 if (drmInitData.schemeDataCount == 1 && drmInitData.get(0).matches(C.COMMON_PSSH_UUID)) { in canAcquireSession() 436 String schemeType = drmInitData.schemeType; in canAcquireSession() 481 DrmInitData drmInitData) { in acquireSession() argument 487 schemeDatas = getSchemeDatas(drmInitData, uuid, false); in acquireSession() 527 public Class<? extends ExoMediaCrypto> getExoMediaCryptoType(DrmInitData drmInitData) { in getExoMediaCryptoType() argument 528 return canAcquireSession(drmInitData) in getExoMediaCryptoType() 594 DrmInitData drmInitData, UUID uuid, boolean allowMissingData) { in getSchemeDatas() argument 596 List<SchemeData> matchingSchemeDatas = new ArrayList<>(drmInitData.schemeDataCount); in getSchemeDatas() [all …]
|
/external/exoplayer/tree/library/hls/src/test/java/com/google/android/exoplayer2/source/hls/playlist/ |
D | HlsMediaPlaylistParserTest.java | 175 assertThat(playlist.segments.get(0).drmInitData).isNull(); in parseSampleAesMethod() 177 assertThat(playlist.segments.get(1).drmInitData.get(0).matches(C.WIDEVINE_UUID)).isTrue(); in parseSampleAesMethod() 178 assertThat(playlist.segments.get(1).drmInitData.get(0).hasData()).isTrue(); in parseSampleAesMethod() 284 assertThat(playlist.segments.get(0).drmInitData).isNull(); in multipleExtXKeysForSingleSegment() 286 assertThat(playlist.segments.get(1).drmInitData.get(0).matches(C.PLAYREADY_UUID)).isTrue(); in multipleExtXKeysForSingleSegment() 287 assertThat(playlist.segments.get(1).drmInitData.get(0).hasData()).isTrue(); in multipleExtXKeysForSingleSegment() 288 assertThat(playlist.segments.get(1).drmInitData.get(1).matches(C.WIDEVINE_UUID)).isTrue(); in multipleExtXKeysForSingleSegment() 289 assertThat(playlist.segments.get(1).drmInitData.get(1).hasData()).isTrue(); in multipleExtXKeysForSingleSegment() 291 assertThat(playlist.segments.get(1).drmInitData) in multipleExtXKeysForSingleSegment() 292 .isEqualTo(playlist.segments.get(2).drmInitData); in multipleExtXKeysForSingleSegment() [all …]
|
/external/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/ |
D | Format.java | 140 @Nullable private DrmInitData drmInitData; field in Format.Builder 212 this.drmInitData = format.drmInitData; in Builder() 400 public Builder setDrmInitData(@Nullable DrmInitData drmInitData) { in setDrmInitData() argument 401 this.drmInitData = drmInitData; in setDrmInitData() 607 drmInitData, in build() 717 @Nullable public final DrmInitData drmInitData; field in Format 845 @Nullable DrmInitData drmInitData) { in createVideoSampleFormat() argument 854 .setDrmInitData(drmInitData) in createVideoSampleFormat() 875 @Nullable DrmInitData drmInitData) { in createVideoSampleFormat() argument 884 .setDrmInitData(drmInitData) in createVideoSampleFormat() [all …]
|
/external/exoplayer/tree/library/hls/src/main/java/com/google/android/exoplayer2/source/hls/ |
D | HlsSampleStreamWrapper.java | 168 @Nullable private DrmInitData drmInitData; field in HlsSampleStreamWrapper 921 sampleQueue.setDrmInitData(drmInitData); 1008 public void setDrmInitData(@Nullable DrmInitData drmInitData) { 1009 if (!Util.areEqual(this.drmInitData, drmInitData)) { 1010 this.drmInitData = drmInitData; 1013 sampleQueues[i].setDrmInitData(drmInitData); 1203 if (format.drmInitData != null) { 1206 drmSessionManager.getExoMediaCryptoType(format.drmInitData)); 1385 @Nullable private DrmInitData drmInitData; 1410 public void setDrmInitData(@Nullable DrmInitData drmInitData) { [all …]
|
D | HlsMediaChunk.java | 171 mediaSegment.drmInitData, in createInstance() 209 @Nullable private final DrmInitData drmInitData; field in HlsMediaChunk 245 @Nullable DrmInitData drmInitData, in HlsMediaChunk() argument 271 this.drmInitData = drmInitData; in HlsMediaChunk() 424 output.setDrmInitData(drmInitData); in prepareExtraction()
|
D | HlsMediaPeriod.java | 770 DrmInitData drmInitData = sessionKeyDrmInitData.get(i); 771 String scheme = drmInitData.schemeType; 780 drmInitData = drmInitData.merge(nextDrmInitData); 786 drmInitDataBySchemeType.put(scheme, drmInitData);
|
/external/exoplayer/tree/library/hls/src/main/java/com/google/android/exoplayer2/source/hls/playlist/ |
D | HlsMediaPlaylist.java | 62 @Nullable public final DrmInitData drmInitData; field in HlsMediaPlaylist.Segment 133 @Nullable DrmInitData drmInitData, in Segment() argument 145 this.drmInitData = drmInitData; in Segment()
|
/external/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/drm/ |
D | DrmInitData.java | 196 public DrmInitData merge(DrmInitData drmInitData) { in merge() argument 199 || drmInitData.schemeType == null in merge() 200 || TextUtils.equals(schemeType, drmInitData.schemeType)); in merge() 201 String mergedSchemeType = schemeType != null ? this.schemeType : drmInitData.schemeType; in merge() 203 Util.nullSafeArrayConcatenation(schemeDatas, drmInitData.schemeDatas); in merge()
|
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/mp4/ |
D | AtomParsers.java | 102 @Nullable DrmInitData drmInitData, in parseTrak() argument 128 tkhdData.rotationDegrees, mdhdData.second, drmInitData, isQuickTime); in parseTrak() 767 @Nullable DrmInitData drmInitData, in parseStsd() argument 793 rotationDegrees, drmInitData, out, i); in parseStsd() 815 language, isQuickTime, drmInitData, out, i); in parseStsd() 887 @Nullable DrmInitData drmInitData, in parseVideoSampleEntry() argument 907 drmInitData = drmInitData == null ? null in parseVideoSampleEntry() 908 : drmInitData.copyWithSchemeType(sampleEntryEncryptionData.second.schemeType); in parseVideoSampleEntry() 1023 .setDrmInitData(drmInitData) in parseVideoSampleEntry() 1076 @Nullable DrmInitData drmInitData, in parseAudioSampleEntry() argument [all …]
|
/external/exoplayer/tree/library/common/src/test/java/com/google/android/exoplayer2/ |
D | FormatTest.java | 77 DrmInitData drmInitData = new DrmInitData(drmData1, drmData2); in createTestFormat() local 107 drmInitData, in createTestFormat()
|
/external/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/audio/ |
D | Ac3Util.java | 166 ParsableByteArray data, String trackId, String language, @Nullable DrmInitData drmInitData) { in parseAc3AnnexFFormat() argument 179 .setDrmInitData(drmInitData) in parseAc3AnnexFFormat() 195 ParsableByteArray data, String trackId, String language, @Nullable DrmInitData drmInitData) { in parseEAc3AnnexFFormat() argument 230 .setDrmInitData(drmInitData) in parseEAc3AnnexFFormat()
|
D | Ac4Util.java | 107 ParsableByteArray data, String trackId, String language, @Nullable DrmInitData drmInitData) { in parseAc4AnnexEFormat() argument 115 .setDrmInitData(drmInitData) in parseAc4AnnexEFormat()
|
D | DtsUtil.java | 96 @Nullable DrmInitData drmInitData) { in parseDtsFormat() argument 114 .setDrmInitData(drmInitData) in parseDtsFormat()
|
/external/exoplayer/tree/testdata/src/test/assets/mkv/ |
D | subsample_encrypted_noaltref.webm.unknown_length.dump | 16 drmInitData = 1305012705
|
D | subsample_encrypted_altref.webm.unknown_length.dump | 16 drmInitData = 1305012705
|
D | subsample_encrypted_altref.webm.0.dump | 16 drmInitData = 1305012705
|
D | subsample_encrypted_noaltref.webm.0.dump | 16 drmInitData = 1305012705
|
/external/exoplayer/tree/testdata/src/test/assets/mp4/ |
D | sample_ac4_protected.mp4.3.dump | 18 drmInitData = -1683793742
|
D | sample_ac4_protected.mp4.2.dump | 18 drmInitData = -1683793742
|
/external/exoplayer/tree/library/dash/src/main/java/com/google/android/exoplayer2/source/dash/ |
D | DashUtil.java | 99 ? manifestFormat.drmInitData in loadDrmInitData() 100 : sampleFormat.withManifestFormatInfo(manifestFormat).drmInitData; in loadDrmInitData()
|
/external/exoplayer/tree/playbacktests/src/androidTest/java/com/google/android/exoplayer2/playbacktests/gts/ |
D | DashWidevineOfflineTest.java | 214 DrmInitData drmInitData = DashUtil.loadDrmInitData(dataSource, dashManifest.getPeriod(0)); 215 offlineLicenseKeySetId = offlineLicenseHelper.downloadLicense(drmInitData);
|