Home
last modified time | relevance | path

Searched refs:DrmInitData (Results 1 – 25 of 34) sorted by relevance

12

/external/exoplayer/tree/library/common/src/test/java/com/google/android/exoplayer2/drm/
DDrmInitDataTest.java27 import com.google.android.exoplayer2.drm.DrmInitData.SchemeData;
51 DrmInitData drmInitDataToParcel = new DrmInitData(DATA_1, DATA_2); in parcelable()
57 DrmInitData drmInitDataFromParcel = DrmInitData.CREATOR.createFromParcel(parcel); in parcelable()
65 DrmInitData drmInitData = new DrmInitData(DATA_1, DATA_2); in equals()
68 DrmInitData testInitData = new DrmInitData(DATA_1, DATA_2); in equals()
73 testInitData = new DrmInitData(DATA_1B, DATA_2B); in equals()
78 testInitData = new DrmInitData(DATA_2, DATA_1); in equals()
83 testInitData = new DrmInitData(DATA_2B, DATA_1B); in equals()
88 testInitData = new DrmInitData(DATA_1); in equals()
92 testInitData = new DrmInitData(DATA_1, DATA_UNIVERSAL); in equals()
[all …]
/external/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/drm/
DDrmInitData.java23 import com.google.android.exoplayer2.drm.DrmInitData.SchemeData;
35 public final class DrmInitData implements Comparator<SchemeData>, Parcelable { class
56 public static @Nullable DrmInitData createSessionCreationData( in createSessionCreationData()
57 @Nullable DrmInitData manifestData, @Nullable DrmInitData mediaData) { in createSessionCreationData()
81 return result.isEmpty() ? null : new DrmInitData(schemeType, result); in createSessionCreationData()
100 public DrmInitData(List<SchemeData> schemeDatas) { in DrmInitData() method in DrmInitData
108 public DrmInitData(@Nullable String schemeType, List<SchemeData> schemeDatas) { in DrmInitData() method in DrmInitData
115 public DrmInitData(SchemeData... schemeDatas) { in DrmInitData() method in DrmInitData
123 public DrmInitData(@Nullable String schemeType, SchemeData... schemeDatas) { in DrmInitData() method in DrmInitData
127 private DrmInitData(@Nullable String schemeType, boolean cloneSchemeDatas, in DrmInitData() method in DrmInitData
[all …]
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/drm/
DDrmSessionManager.java21 import com.google.android.exoplayer2.drm.DrmInitData.SchemeData;
37 public boolean canAcquireSession(DrmInitData drmInitData) {
45 DrmInitData drmInitData) {
53 public Class<ExoMediaCrypto> getExoMediaCryptoType(DrmInitData drmInitData) {
81 boolean canAcquireSession(DrmInitData drmInitData); in canAcquireSession()
118 DrmInitData drmInitData); in acquireSession()
125 Class<? extends ExoMediaCrypto> getExoMediaCryptoType(DrmInitData drmInitData); in getExoMediaCryptoType()
DOfflineLicenseHelper.java37 private static final DrmInitData DUMMY_DRM_INIT_DATA = new DrmInitData();
189 public synchronized byte[] downloadLicense(DrmInitData drmInitData) throws DrmSessionException { in downloadLicense()
257 @Mode int licenseMode, @Nullable byte[] offlineLicenseKeySetId, DrmInitData drmInitData) in blockingKeyRequest()
273 @Mode int licenseMode, @Nullable byte[] offlineLicenseKeySetId, DrmInitData drmInitData) { in openBlockingKeyRequest()
DDefaultDrmSessionManager.java26 import com.google.android.exoplayer2.drm.DrmInitData.SchemeData;
420 public boolean canAcquireSession(DrmInitData drmInitData) { in canAcquireSession()
481 DrmInitData drmInitData) { in acquireSession()
527 public Class<? extends ExoMediaCrypto> getExoMediaCryptoType(DrmInitData drmInitData) { in getExoMediaCryptoType()
594 DrmInitData drmInitData, UUID uuid, boolean allowMissingData) { in getSchemeDatas()
DDummyExoMediaDrm.java64 @Nullable List<DrmInitData.SchemeData> schemeDatas, in getKeyRequest()
DExoMediaDrm.java26 import com.google.android.exoplayer2.drm.DrmInitData.SchemeData;
/external/exoplayer/tree/library/dash/src/test/java/com/google/android/exoplayer2/source/dash/
DDashUtilTest.java23 import com.google.android.exoplayer2.drm.DrmInitData;
24 import com.google.android.exoplayer2.drm.DrmInitData.SchemeData;
43 DrmInitData drmInitData = DashUtil.loadDrmInitData(DummyDataSource.INSTANCE, period); in loadDrmInitDataFromManifest()
50 DrmInitData drmInitData = DashUtil.loadDrmInitData(DummyDataSource.INSTANCE, period); in loadDrmInitDataMissing()
57 DrmInitData drmInitData = DashUtil.loadDrmInitData(DummyDataSource.INSTANCE, period); in loadDrmInitDataNoRepresentations()
64 DrmInitData drmInitData = DashUtil.loadDrmInitData(DummyDataSource.INSTANCE, period); in loadDrmInitDataNoAdaptationSets()
82 private static Representation newRepresentation(DrmInitData drmInitData) { in newRepresentation()
92 private static DrmInitData newDrmInitData() { in newDrmInitData()
93 return new DrmInitData( in newDrmInitData()
/external/exoplayer/tree/library/common/src/test/java/com/google/android/exoplayer2/
DFormatTest.java25 import com.google.android.exoplayer2.drm.DrmInitData;
71 DrmInitData.SchemeData drmData1 = in createTestFormat()
72 new DrmInitData.SchemeData( in createTestFormat()
74 DrmInitData.SchemeData drmData2 = in createTestFormat()
75 new DrmInitData.SchemeData( in createTestFormat()
77 DrmInitData drmInitData = new DrmInitData(drmData1, drmData2); in createTestFormat()
/external/exoplayer/tree/library/hls/src/main/java/com/google/android/exoplayer2/source/hls/playlist/
DHlsMediaPlaylist.java21 import com.google.android.exoplayer2.drm.DrmInitData;
62 @Nullable public final DrmInitData drmInitData;
133 @Nullable DrmInitData drmInitData, in Segment()
222 @Nullable public final DrmInitData protectionSchemes;
263 @Nullable DrmInitData protectionSchemes, in HlsMediaPlaylist()
DHlsMasterPlaylist.java21 import com.google.android.exoplayer2.drm.DrmInitData;
178 public final List<DrmInitData> sessionKeyDrmInitData;
206 List<DrmInitData> sessionKeyDrmInitData) { in HlsMasterPlaylist()
DHlsPlaylistParser.java25 import com.google.android.exoplayer2.drm.DrmInitData;
26 import com.google.android.exoplayer2.drm.DrmInitData.SchemeData;
271 ArrayList<DrmInitData> sessionKeyDrmInitData = new ArrayList<>(); in parseMasterPlaylist()
305 sessionKeyDrmInitData.add(new DrmInitData(scheme, schemeData)); in parseMasterPlaylist()
590 DrmInitData playlistProtectionSchemes = null; in parseMediaPlaylist()
595 DrmInitData cachedDrmInitData = null; in parseMediaPlaylist()
755 cachedDrmInitData = new DrmInitData(encryptionScheme, schemeDatas); in parseMediaPlaylist()
761 playlistProtectionSchemes = new DrmInitData(encryptionScheme, playlistSchemeDatas); in parseMediaPlaylist()
/external/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/
DFormat.java21 import com.google.android.exoplayer2.drm.DrmInitData;
140 @Nullable private DrmInitData drmInitData;
400 public Builder setDrmInitData(@Nullable DrmInitData drmInitData) { in setDrmInitData()
717 @Nullable public final DrmInitData drmInitData;
845 @Nullable DrmInitData drmInitData) { in createVideoSampleFormat()
875 @Nullable DrmInitData drmInitData) { in createVideoSampleFormat()
910 @Nullable DrmInitData drmInitData) { in createVideoSampleFormat()
978 @Nullable DrmInitData drmInitData, in createAudioSampleFormat()
1009 @Nullable DrmInitData drmInitData, in createAudioSampleFormat()
1043 @Nullable DrmInitData drmInitData, in createAudioSampleFormat()
[all …]
/external/exoplayer/tree/library/hls/src/main/java/com/google/android/exoplayer2/source/hls/
DHlsMediaPeriod.java24 import com.google.android.exoplayer2.drm.DrmInitData;
467 Map<String, DrmInitData> overridingDrmInitData =
562 Map<String, DrmInitData> overridingDrmInitData) {
681 Map<String, DrmInitData> overridingDrmInitData) {
739 Map<String, DrmInitData> overridingDrmInitData,
765 private static Map<String, DrmInitData> deriveOverridingDrmInitData(
766 List<DrmInitData> sessionKeyDrmInitData) {
767 ArrayList<DrmInitData> mutableSessionKeyDrmInitData = new ArrayList<>(sessionKeyDrmInitData);
768 HashMap<String, DrmInitData> drmInitDataBySchemeType = new HashMap<>();
770 DrmInitData drmInitData = sessionKeyDrmInitData.get(i);
[all …]
DHlsSampleStreamWrapper.java28 import com.google.android.exoplayer2.drm.DrmInitData;
132 private final Map<String, DrmInitData> overridingDrmInitData;
168 @Nullable private DrmInitData drmInitData;
191 Map<String, DrmInitData> overridingDrmInitData, in HlsSampleStreamWrapper()
1008 public void setDrmInitData(@Nullable DrmInitData drmInitData) {
1384 private final Map<String, DrmInitData> overridingDrmInitData;
1385 @Nullable private DrmInitData drmInitData;
1392 Map<String, DrmInitData> overridingDrmInitData) {
1410 public void setDrmInitData(@Nullable DrmInitData drmInitData) {
1419 DrmInitData drmInitData = this.drmInitData != null ? this.drmInitData : format.drmInitData;
[all …]
DHlsMediaChunk.java22 import com.google.android.exoplayer2.drm.DrmInitData;
209 @Nullable private final DrmInitData drmInitData;
245 @Nullable DrmInitData drmInitData, in HlsMediaChunk()
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/drm/
DOfflineLicenseHelperTest.java27 import com.google.android.exoplayer2.drm.DrmInitData.SchemeData;
179 private static DrmInitData newDrmInitData() { in newDrmInitData()
180 return new DrmInitData( in newDrmInitData()
/external/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/audio/
DAc4Util.java21 import com.google.android.exoplayer2.drm.DrmInitData;
107 ParsableByteArray data, String trackId, String language, @Nullable DrmInitData drmInitData) { in parseAc4AnnexEFormat()
DDtsUtil.java20 import com.google.android.exoplayer2.drm.DrmInitData;
96 @Nullable DrmInitData drmInitData) { in parseDtsFormat()
DAc3Util.java23 import com.google.android.exoplayer2.drm.DrmInitData;
166 ParsableByteArray data, String trackId, String language, @Nullable DrmInitData drmInitData) { in parseAc3AnnexFFormat()
195 ParsableByteArray data, String trackId, String language, @Nullable DrmInitData drmInitData) { in parseEAc3AnnexFFormat()
/external/exoplayer/tree/library/dash/src/main/java/com/google/android/exoplayer2/source/dash/
DDashUtil.java22 import com.google.android.exoplayer2.drm.DrmInitData;
85 public static DrmInitData loadDrmInitData(DataSource dataSource, Period period) in loadDrmInitData()
/external/exoplayer/tree/playbacktests/src/androidTest/java/com/google/android/exoplayer2/playbacktests/gts/
DDashWidevineOfflineTest.java28 import com.google.android.exoplayer2.drm.DrmInitData;
214 DrmInitData drmInitData = DashUtil.loadDrmInitData(dataSource, dashManifest.getPeriod(0));
/external/exoplayer/tree/library/smoothstreaming/src/main/java/com/google/android/exoplayer2/source/smoothstreaming/manifest/
DSsManifestParser.java27 import com.google.android.exoplayer2.drm.DrmInitData;
28 import com.google.android.exoplayer2.drm.DrmInitData.SchemeData;
383 DrmInitData drmInitData = new DrmInitData(new SchemeData(protectionElement.uuid, in build()
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/mp4/
DFragmentedMp4Extractor.java26 import com.google.android.exoplayer2.drm.DrmInitData;
27 import com.google.android.exoplayer2.drm.DrmInitData.SchemeData;
465 @Nullable DrmInitData drmInitData = getDrmInitDataFromAtoms(moov.leafChildren); in onMoovContainerAtomRead()
545 @Nullable DrmInitData drmInitData = getDrmInitDataFromAtoms(moof.leafChildren); in onMoofContainerAtomRead()
1432 private static DrmInitData getDrmInitDataFromAtoms(List<Atom.LeafAtom> leafChildren) { in getDrmInitDataFromAtoms()
1450 return schemeDatas == null ? null : new DrmInitData(schemeDatas); in getDrmInitDataFromAtoms()
1522 public void updateDrmInitData(DrmInitData drmInitData) { in updateDrmInitData()
1527 DrmInitData updatedDrmInitData = drmInitData.copyWithSchemeType(schemeType); in updateDrmInitData()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/source/
DSampleQueue.java26 import com.google.android.exoplayer2.drm.DrmInitData;
795 @Nullable DrmInitData oldDrmInitData = isFirstFormat ? null : downstreamFormat.drmInitData; in onFormatResult()
797 @Nullable DrmInitData newDrmInitData = newFormat.drmInitData; in onFormatResult()

12